Migrate cafy to 14.0 (#4240)
This commit is contained in:
parent
b083430011
commit
5aa58da918
77 changed files with 334 additions and 345 deletions
|
|
@ -26,7 +26,7 @@ export const meta = {
|
|||
},
|
||||
|
||||
folderId: {
|
||||
validator: $.type(ID).optional.nullable,
|
||||
validator: $.optional.nullable.type(ID),
|
||||
transform: transform,
|
||||
default: undefined as any,
|
||||
desc: {
|
||||
|
|
@ -35,7 +35,7 @@ export const meta = {
|
|||
},
|
||||
|
||||
name: {
|
||||
validator: $.str.optional.pipe(validateFileName),
|
||||
validator: $.optional.str.pipe(validateFileName),
|
||||
default: undefined as any,
|
||||
desc: {
|
||||
'ja-JP': 'ファイル名',
|
||||
|
|
@ -44,7 +44,7 @@ export const meta = {
|
|||
},
|
||||
|
||||
isSensitive: {
|
||||
validator: $.bool.optional,
|
||||
validator: $.optional.bool,
|
||||
default: undefined as any,
|
||||
desc: {
|
||||
'ja-JP': 'このメディアが「閲覧注意」(NSFW)かどうか',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue