forked from mirrors/iceshrimp
91b8b7b76b
Co-authored-by: Luna <luna.dragon@suse.com> Reviewed-on: https://iceshrimp.dev/iceshrimp/iceshrimp/pulls/125 Co-authored-by: Luna D Dragon <lunarequest@nullrequest.com> Co-committed-by: Luna D Dragon <lunarequest@nullrequest.com>
42 lines
736 B
TypeScript
42 lines
736 B
TypeScript
export const packedHashtagSchema = {
|
|
type: "object",
|
|
properties: {
|
|
tag: {
|
|
type: "string",
|
|
optional: false,
|
|
nullable: false,
|
|
example: "iceshrimp",
|
|
},
|
|
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;
|