@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.19.239",
3
+ "version": "0.19.240",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -475,11 +475,14 @@ const getError = (
475
475
  return (acc = errors.FORBIDDEN_KEY(field))
476
476
  }
477
477
 
478
- const valid = isValidByDataType(
479
- validateBracketValues(value),
480
- getDataType(schema, aliases, fieldKey),
481
- operator
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)