chore: フォルダ名には最低1文字要求する様に
This commit is contained in:
parent
bae2d3cfd7
commit
f39f749f3a
|
@ -43,7 +43,7 @@ export const meta = {
|
||||||
export const paramDef = {
|
export const paramDef = {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
properties: {
|
properties: {
|
||||||
name: { type: 'string', default: 'Untitled', maxLength: 200 },
|
name: { type: 'string', default: 'Untitled', minLength: 1, maxLength: 200 },
|
||||||
parentId: { type: 'string', format: 'misskey:id', nullable: true },
|
parentId: { type: 'string', format: 'misskey:id', nullable: true },
|
||||||
},
|
},
|
||||||
required: [],
|
required: [],
|
||||||
|
|
|
@ -49,7 +49,7 @@ export const paramDef = {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
properties: {
|
properties: {
|
||||||
folderId: { type: 'string', format: 'misskey:id' },
|
folderId: { type: 'string', format: 'misskey:id' },
|
||||||
name: { type: 'string', maxLength: 200 },
|
name: { type: 'string', minLength: 1, maxLength: 200 },
|
||||||
parentId: { type: 'string', format: 'misskey:id', nullable: true },
|
parentId: { type: 'string', format: 'misskey:id', nullable: true },
|
||||||
},
|
},
|
||||||
required: ['folderId'],
|
required: ['folderId'],
|
||||||
|
|
Loading…
Reference in New Issue