Migrate cafy to 14.0 (#4240)

This commit is contained in:
syuilo 2019-02-13 16:33:07 +09:00 committed by GitHub
parent b083430011
commit 5aa58da918
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
77 changed files with 334 additions and 345 deletions

View file

@ -32,11 +32,11 @@ export const meta = {
},
text: {
validator: $.str.optional.pipe(isValidText)
validator: $.optional.str.pipe(isValidText)
},
fileId: {
validator: $.type(ID).optional,
validator: $.optional.type(ID),
transform: transform,
}
}