mirror of
https://git.joinfirefish.org/firefish/firefish.git
synced 2024-05-18 19:01:10 +02:00
42 lines
735 B
TypeScript
42 lines
735 B
TypeScript
export const packedHashtagSchema = {
|
|
type: "object",
|
|
properties: {
|
|
tag: {
|
|
type: "string",
|
|
optional: false,
|
|
nullable: false,
|
|
example: "firefish",
|
|
},
|
|
mentionedUsersCount: {
|
|
type: "number",
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
mentionedLocalUsersCount: {
|
|
type: "number",
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
mentionedRemoteUsersCount: {
|
|
type: "number",
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
attachedUsersCount: {
|
|
type: "number",
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
attachedLocalUsersCount: {
|
|
type: "number",
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
attachedRemoteUsersCount: {
|
|
type: "number",
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
},
|
|
} as const;
|