1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-15 12:45:50 +02:00
Files
misskey/packages/backend/src/models/json-schema/blocking.ts
2023-03-10 14:22:37 +09:00

27 lines
489 B
TypeScript

export const packedBlockingSchema = {
type: 'object',
properties: {
id: {
type: 'string',
optional: false, nullable: false,
format: 'id',
example: 'xxxxxxxxxx',
},
createdAt: {
type: 'string',
optional: false, nullable: false,
format: 'date-time',
},
blockeeId: {
type: 'string',
optional: false, nullable: false,
format: 'id',
},
blockee: {
type: 'object',
optional: false, nullable: false,
ref: 'UserDetailed',
},
},
} as const;