fix
This commit is contained in:
parent
a46b98b617
commit
2aa3139dbe
|
@ -176,12 +176,12 @@ const noteBlockSchema = {
|
||||||
properties: {
|
properties: {
|
||||||
...blockBaseSchema.properties,
|
...blockBaseSchema.properties,
|
||||||
type: { type: 'string', nullable: false, enum: ['note']},
|
type: { type: 'string', nullable: false, enum: ['note']},
|
||||||
detailed: { type: 'boolean', nullable: false },
|
detailed: { type: 'boolean', nullable: true },
|
||||||
note: { type: 'string', format: 'misskey:id', nullable: true },
|
note: { type: 'string', format: 'misskey:id', nullable: false },
|
||||||
},
|
},
|
||||||
required: [
|
required: [
|
||||||
...blockBaseSchema.required,
|
...blockBaseSchema.required,
|
||||||
'detailed',
|
'note',
|
||||||
],
|
],
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue