@budibase/types 2.29.30 → 2.30.1

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/dist/index.js CHANGED
@@ -82,6 +82,7 @@ __export(src_exports, {
82
82
  JsonTypes: () => JsonTypes,
83
83
  LockName: () => LockName,
84
84
  LockType: () => LockType,
85
+ LogicalOperator: () => LogicalOperator,
85
86
  LoopStepType: () => LoopStepType,
86
87
  MaintenanceType: () => MaintenanceType,
87
88
  MigrationName: () => MigrationName,
@@ -134,6 +135,7 @@ __export(src_exports, {
134
135
  isCreatePasswordAccount: () => isCreatePasswordAccount,
135
136
  isDocument: () => isDocument,
136
137
  isGoogleConfig: () => isGoogleConfig,
138
+ isLogicalSearchOperator: () => isLogicalSearchOperator,
137
139
  isManyToMany: () => isManyToMany,
138
140
  isManyToOne: () => isManyToOne,
139
141
  isMonthlyQuota: () => isMonthlyQuota,
@@ -691,6 +693,14 @@ var RangeOperator = /* @__PURE__ */ ((RangeOperator2) => {
691
693
  RangeOperator2["RANGE"] = "range";
692
694
  return RangeOperator2;
693
695
  })(RangeOperator || {});
696
+ var LogicalOperator = /* @__PURE__ */ ((LogicalOperator2) => {
697
+ LogicalOperator2["AND"] = "$and";
698
+ LogicalOperator2["OR"] = "$or";
699
+ return LogicalOperator2;
700
+ })(LogicalOperator || {});
701
+ function isLogicalSearchOperator(value) {
702
+ return value === "$and" /* AND */ || value === "$or" /* OR */;
703
+ }
694
704
  var InternalSearchFilterOperator = /* @__PURE__ */ ((InternalSearchFilterOperator2) => {
695
705
  InternalSearchFilterOperator2["COMPLEX_ID_OPERATOR"] = "_complexIdOperator";
696
706
  return InternalSearchFilterOperator2;
@@ -1391,6 +1401,7 @@ var MaintenanceType = /* @__PURE__ */ ((MaintenanceType2) => {
1391
1401
  JsonTypes,
1392
1402
  LockName,
1393
1403
  LockType,
1404
+ LogicalOperator,
1394
1405
  LoopStepType,
1395
1406
  MaintenanceType,
1396
1407
  MigrationName,
@@ -1443,6 +1454,7 @@ var MaintenanceType = /* @__PURE__ */ ((MaintenanceType2) => {
1443
1454
  isCreatePasswordAccount,
1444
1455
  isDocument,
1445
1456
  isGoogleConfig,
1457
+ isLogicalSearchOperator,
1446
1458
  isManyToMany,
1447
1459
  isManyToOne,
1448
1460
  isMonthlyQuota,