forked from mirrors/firefish
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;
|