27 lines
483 B
TypeScript
27 lines
483 B
TypeScript
|
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',
|
||
|
},
|
||
|
muteeId: {
|
||
|
type: 'string',
|
||
|
optional: false, nullable: false,
|
||
|
format: 'id',
|
||
|
},
|
||
|
mutee: {
|
||
|
type: 'object',
|
||
|
optional: false, nullable: false,
|
||
|
ref: 'UserDetailed',
|
||
|
},
|
||
|
},
|
||
|
} as const;
|