@base44-preview/cli 0.0.50-pr.471.246cbbe → 0.0.50-pr.471.adfbd2f
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/cli/index.js +24 -2
- package/dist/cli/index.js.map +3 -3
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -242594,9 +242594,31 @@ var EntityAutomationSchema = AutomationBaseSchema.extend({
|
|
|
242594
242594
|
entity_name: exports_external.string().min(1, "Entity name cannot be empty"),
|
|
242595
242595
|
event_types: exports_external.array(exports_external.enum(["create", "update", "delete"])).min(1, "At least one event type is required")
|
|
242596
242596
|
});
|
|
242597
|
+
var KnownConditionOperators = [
|
|
242598
|
+
"equals",
|
|
242599
|
+
"not_equals",
|
|
242600
|
+
"gt",
|
|
242601
|
+
"gte",
|
|
242602
|
+
"lt",
|
|
242603
|
+
"lte",
|
|
242604
|
+
"contains",
|
|
242605
|
+
"not_contains",
|
|
242606
|
+
"starts_with",
|
|
242607
|
+
"ends_with",
|
|
242608
|
+
"in_list",
|
|
242609
|
+
"not_in_list",
|
|
242610
|
+
"exists",
|
|
242611
|
+
"not_exists",
|
|
242612
|
+
"is_empty",
|
|
242613
|
+
"is_not_empty"
|
|
242614
|
+
];
|
|
242615
|
+
var ConditionOperatorSchema = exports_external.union([
|
|
242616
|
+
exports_external.enum(KnownConditionOperators),
|
|
242617
|
+
exports_external.string().min(1)
|
|
242618
|
+
]);
|
|
242597
242619
|
var TriggerConditionSchema = exports_external.object({
|
|
242598
242620
|
field: exports_external.string().min(1),
|
|
242599
|
-
operator:
|
|
242621
|
+
operator: ConditionOperatorSchema,
|
|
242600
242622
|
value: exports_external.unknown().nullable().optional()
|
|
242601
242623
|
});
|
|
242602
242624
|
var TriggerLogicSchema = exports_external.enum(["and", "or"]);
|
|
@@ -260211,4 +260233,4 @@ export {
|
|
|
260211
260233
|
CLIExitError
|
|
260212
260234
|
};
|
|
260213
260235
|
|
|
260214
|
-
//# debugId=
|
|
260236
|
+
//# debugId=F9B21F75C8F3595964756E2164756E21
|