Add containsAny validator
This commit is contained in:
parent
d6e1bcb382
commit
8d1c658c7c
|
@ -95,6 +95,7 @@ function filterObject() {
|
|||
oneOf: Joi.object().optional(),
|
||||
contains: Joi.object().optional(),
|
||||
notContains: Joi.object().optional(),
|
||||
containsAny: Joi.object().optional(),
|
||||
allOr: Joi.boolean().optional(),
|
||||
}
|
||||
return Joi.object(filtersValidators).unknown(true)
|
||||
|
|
Loading…
Reference in New Issue