|
|
@ -28,6 +28,7 @@ validateValue(data, {
|
|
|
|
one: [ required, isString ],
|
|
|
|
one: [ required, isString ],
|
|
|
|
two: [ required, isNumber ],
|
|
|
|
two: [ required, isNumber ],
|
|
|
|
three: [ required, isBoolean ],
|
|
|
|
three: [ required, isBoolean ],
|
|
|
|
|
|
|
|
optional: [ isString ],
|
|
|
|
array: [ required, arrayOf([ required, isString ]) ],
|
|
|
|
array: [ required, arrayOf([ required, isString ]) ],
|
|
|
|
mapping: [ required, anyProperty({
|
|
|
|
mapping: [ required, anyProperty({
|
|
|
|
key: [ required ],
|
|
|
|
key: [ required ],
|
|
|
|