@budibase/types 3.0.3 → 3.1.0

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.
@@ -1,5 +1,5 @@
1
1
  import { SortOrder } from "../../../api";
2
- import { SearchFilters, EmptyFilterOption } from "../../../sdk";
2
+ import { SearchFilters, EmptyFilterOption, BasicOperator, LogicalOperator } from "../../../sdk";
3
3
  import { HttpMethod } from "../query";
4
4
  import { Row } from "../row";
5
5
  import { LoopStepType, EmailAttachment, AutomationResults } from "./automation";
@@ -94,9 +94,11 @@ export type BranchStepInputs = {
94
94
  children?: Record<string, AutomationStep[]>;
95
95
  };
96
96
  export type Branch = {
97
+ id: any;
97
98
  name: string;
98
- condition: SearchFilters;
99
+ condition: BranchSearchFilters;
99
100
  };
101
+ export type BranchSearchFilters = Pick<SearchFilters, BasicOperator.EQUAL | BasicOperator.NOT_EQUAL | LogicalOperator.AND | LogicalOperator.OR>;
100
102
  export type MakeIntegrationInputs = {
101
103
  url: string;
102
104
  body: any;
package/dist/index.js CHANGED
@@ -844,7 +844,6 @@ var FeatureFlag = /* @__PURE__ */ ((FeatureFlag2) => {
844
844
  FeatureFlag2["AI_CUSTOM_CONFIGS"] = "AI_CUSTOM_CONFIGS";
845
845
  FeatureFlag2["DEFAULT_VALUES"] = "DEFAULT_VALUES";
846
846
  FeatureFlag2["ENRICHED_RELATIONSHIPS"] = "ENRICHED_RELATIONSHIPS";
847
- FeatureFlag2["TABLES_DEFAULT_ADMIN"] = "TABLES_DEFAULT_ADMIN";
848
847
  FeatureFlag2["BUDIBASE_AI"] = "BUDIBASE_AI";
849
848
  return FeatureFlag2;
850
849
  })(FeatureFlag || {});