@dataloop-ai/components 0.19.239 → 0.19.240
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -475,11 +475,14 @@ const getError = (
|
|
|
475
475
|
return (acc = errors.FORBIDDEN_KEY(field))
|
|
476
476
|
}
|
|
477
477
|
|
|
478
|
-
const valid =
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
478
|
+
const valid =
|
|
479
|
+
operator === operators.$exists ||
|
|
480
|
+
operator === operators.$doesnt_exist_dummy ||
|
|
481
|
+
isValidByDataType(
|
|
482
|
+
validateBracketValues(value),
|
|
483
|
+
getDataType(schema, aliases, fieldKey),
|
|
484
|
+
operator
|
|
485
|
+
)
|
|
483
486
|
|
|
484
487
|
if (!valid) {
|
|
485
488
|
arr.splice(1)
|