@base44-preview/cli 0.0.50-pr.445.45116f6 → 0.0.50-pr.445.6527e7d
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 +43 -3
- package/dist/cli/index.js.map +4 -4
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -242751,11 +242751,51 @@ var EntityAutomationSchema = AutomationBaseSchema.extend({
|
|
|
242751
242751
|
entity_name: exports_external.string().min(1, "Entity name cannot be empty"),
|
|
242752
242752
|
event_types: exports_external.array(exports_external.enum(["create", "update", "delete"])).min(1, "At least one event type is required")
|
|
242753
242753
|
});
|
|
242754
|
+
var KnownConditionOperators = [
|
|
242755
|
+
"equals",
|
|
242756
|
+
"not_equals",
|
|
242757
|
+
"gt",
|
|
242758
|
+
"gte",
|
|
242759
|
+
"lt",
|
|
242760
|
+
"lte",
|
|
242761
|
+
"contains",
|
|
242762
|
+
"not_contains",
|
|
242763
|
+
"starts_with",
|
|
242764
|
+
"ends_with",
|
|
242765
|
+
"in_list",
|
|
242766
|
+
"not_in_list",
|
|
242767
|
+
"exists",
|
|
242768
|
+
"not_exists",
|
|
242769
|
+
"is_empty",
|
|
242770
|
+
"is_not_empty"
|
|
242771
|
+
];
|
|
242772
|
+
var ConditionOperatorSchema = exports_external.union([
|
|
242773
|
+
exports_external.enum(KnownConditionOperators),
|
|
242774
|
+
exports_external.string().min(1)
|
|
242775
|
+
]);
|
|
242776
|
+
var TriggerConditionSchema = exports_external.object({
|
|
242777
|
+
field: exports_external.string().min(1),
|
|
242778
|
+
operator: ConditionOperatorSchema,
|
|
242779
|
+
value: exports_external.unknown().nullable().optional()
|
|
242780
|
+
});
|
|
242781
|
+
var TriggerLogicSchema = exports_external.enum(["and", "or"]);
|
|
242782
|
+
var TriggerConditionGroupSchema = exports_external.lazy(() => exports_external.object({
|
|
242783
|
+
logic: TriggerLogicSchema.optional(),
|
|
242784
|
+
conditions: exports_external.array(exports_external.union([TriggerConditionSchema, TriggerConditionGroupSchema])).min(1)
|
|
242785
|
+
}));
|
|
242786
|
+
var ConnectorAutomationSchema = AutomationBaseSchema.extend({
|
|
242787
|
+
type: exports_external.literal("connector"),
|
|
242788
|
+
integration_type: IntegrationTypeSchema,
|
|
242789
|
+
events: exports_external.array(exports_external.string()),
|
|
242790
|
+
resource_id: exports_external.string().nullable().optional(),
|
|
242791
|
+
trigger_conditions: TriggerConditionGroupSchema.nullable().optional()
|
|
242792
|
+
});
|
|
242754
242793
|
var AutomationSchema = exports_external.union([
|
|
242755
242794
|
ScheduledOneTimeSchema,
|
|
242756
242795
|
ScheduledCronSchema,
|
|
242757
242796
|
ScheduledSimpleSchema,
|
|
242758
|
-
EntityAutomationSchema
|
|
242797
|
+
EntityAutomationSchema,
|
|
242798
|
+
ConnectorAutomationSchema
|
|
242759
242799
|
]);
|
|
242760
242800
|
var FunctionConfigSchema = exports_external.object({
|
|
242761
242801
|
name: FunctionNameSchema,
|
|
@@ -250906,7 +250946,7 @@ var PROVIDER_LABELS = {
|
|
|
250906
250946
|
var VALID_PROVIDER_NAMES = Object.keys(SOCIAL_PROVIDERS);
|
|
250907
250947
|
var PROVIDER_OAUTH_CLI = {
|
|
250908
250948
|
google: {
|
|
250909
|
-
envVar: "
|
|
250949
|
+
envVar: "google_oauth_client_secret",
|
|
250910
250950
|
promptMessage: "Enter Google OAuth client secret"
|
|
250911
250951
|
}
|
|
250912
250952
|
};
|
|
@@ -260423,4 +260463,4 @@ export {
|
|
|
260423
260463
|
CLIExitError
|
|
260424
260464
|
};
|
|
260425
260465
|
|
|
260426
|
-
//# debugId=
|
|
260466
|
+
//# debugId=98345FFC5B7D0AE164756E2164756E21
|