Files
FrozenFriendsYume/packages/backend/built/models/schema/muting.js
T
2026-07-26 18:25:37 +09:00

37 lines
839 B
JavaScript

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