mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 19:33:09 +02:00
27 lines
489 B
TypeScript
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;
|