fix note.ts

This commit is contained in:
osamu 2023-11-21 11:10:35 +09:00
parent 3a50c7fa47
commit f1dfd31991
1 changed files with 12 additions and 16 deletions

View File

@ -127,22 +127,18 @@ export const packedNoteSchema = {
channel: { channel: {
type: 'object', type: 'object',
optional: true, nullable: true, optional: true, nullable: true,
items: { properties: {
type: 'object', id: {
optional: false, nullable: false, type: 'string',
properties: { optional: false, nullable: false,
id: { },
type: 'string', name: {
optional: false, nullable: false, type: 'string',
}, optional: false, nullable: true,
name: { },
type: 'string', isSensitive: {
optional: false, nullable: true, type: 'boolean',
}, optional: true, nullable: false,
isSensitive: {
type: 'boolean',
optional: true, nullable: false,
},
}, },
}, },
}, },