iceshrimp-legacy/packages/backend/src/models/schema/hashtag.ts
ThatOneCalculator 6da5a5b89b
find and replace
2023-07-02 15:18:30 -07:00

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;