27 lines
489 B
TypeScript
27 lines
489 B
TypeScript
|
export const packedRenoteMutingSchema = {
|
||
|
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;
|