1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-31 18:34:10 +02:00

/schemas/Note

This commit is contained in:
tamaina
2023-05-02 16:51:41 +00:00
parent 6c53d1fdb7
commit 3fcee7c4bd
26 changed files with 184 additions and 191 deletions

View File

@@ -0,0 +1,31 @@
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',
},
},
} as const;