Add containsAny validator

This commit is contained in:
Adria Navarro 2024-08-07 13:57:34 +02:00
parent d6e1bcb382
commit 8d1c658c7c
1 changed files with 1 additions and 0 deletions

View File

@ -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)