This commit is contained in:
tamaina
2023-05-10 19:18:48 +00:00
parent ac99cdce8b
commit 4f5d77391f
50 changed files with 218 additions and 171 deletions

View File

@@ -17,10 +17,10 @@ export const packedNoteSchema = {
}, { type: 'null' }],
},
text: {
type: 'string',
type: ['string', 'null'],
},
cw: {
oneOf: [{ type: 'string' }, { type: 'null' }],
type: ['string', 'null'],
},
userId: {
$ref: 'https://misskey-hub.net/api/schemas/Id',