hippofish/packages/firefish-js/src/schema/reply-muting.ts

30 lines
500 B
TypeScript

export const packedReplyMutingSchema = {
type: "object",
properties: {
id: {
type: "string",
optional: false,
nullable: false,
format: "id",
example: "xxxxxxxxxx",
},
createdAt: {
type: "string",
optional: false,
nullable: false,
format: "date-time",
},
muteeId: {
type: "string",
optional: false,
nullable: false,
format: "id",
},
mutee: {
type: "object",
optional: false,
nullable: false,
ref: "UserDetailed",
},
},
} as const;