@elyx-code/project-logic-tree 0.0.6062 → 0.0.6064
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 +308 -286
- package/dist/index.umd.cjs +65 -65
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var rT = Object.defineProperty;
|
|
2
2
|
var iT = (r, e, t) => e in r ? rT(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
3
|
var c = (r, e, t) => (iT(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
-
var n = /* @__PURE__ */ ((r) => (r.CustomEntity = "custom-entity", r.BuiltInBaseEntity = "built-in-base-entity", r.Project = "project", r.InstalledProject = "installed-project", r.GlobalEvent = "global-event", r.DataType = "data-type", r.FunctionCall = "function-call", r.FunctionDeclaration = "function-declaration", r.ActionDescriptor = "action-descriptor", r.ValueDescriptor = "value-descriptor", r.ArgumentDeclaration = "argument-declaration", r.InputMap = "input-map", r.ReturnStatement = "return-statement", r.BreakStatement = "break-statement", r.ContinueStatement = "continue-statement", r.ReturnDeclaration = "return-declaration", r.OutputMap = "output-map", r.PrimitiveEntity = "primitive-entity", r.PrimitiveValue = "primitive-value", r.Property = "property", r.Operation = "operation", r.Condition = "condition", r.VariableDeclaration = "variable-declaration", r.VariableInstance = "variable-instance", r.Search = "search", r.Loop = "loop", r.InternalCall = "internal-call", r.GenericReference = "generic-reference", r))(n || {}),
|
|
4
|
+
var n = /* @__PURE__ */ ((r) => (r.CustomEntity = "custom-entity", r.BuiltInBaseEntity = "built-in-base-entity", r.Project = "project", r.InstalledProject = "installed-project", r.GlobalEvent = "global-event", r.DataType = "data-type", r.FunctionCall = "function-call", r.FunctionDeclaration = "function-declaration", r.ActionDescriptor = "action-descriptor", r.ValueDescriptor = "value-descriptor", r.ArgumentDeclaration = "argument-declaration", r.InputMap = "input-map", r.ReturnStatement = "return-statement", r.BreakStatement = "break-statement", r.ContinueStatement = "continue-statement", r.ReturnDeclaration = "return-declaration", r.OutputMap = "output-map", r.PrimitiveEntity = "primitive-entity", r.PrimitiveValue = "primitive-value", r.Property = "property", r.Operation = "operation", r.Condition = "condition", r.VariableDeclaration = "variable-declaration", r.VariableInstance = "variable-instance", r.Search = "search", r.Loop = "loop", r.InternalCall = "internal-call", r.GenericReference = "generic-reference", r))(n || {}), G = /* @__PURE__ */ ((r) => (r.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", r.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", r.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", r.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", r.EXECUTION = "BUILT_IN_EXECUTION_ENTITY", r.KEY_VALUE_PARAM = "BUILT_IN_KEY_VALUE_PARAM_ENTITY", r))(G || {}), ke = /* @__PURE__ */ ((r) => (r.CurrentDateAndTime = "current-date-and-time", r.Unique = "unique", r.Random = "random", r))(ke || {}), I = /* @__PURE__ */ ((r) => (r.EntityTemplate = "entity-template", r.ActionDescriptor = "action-descriptor", r.String = "string", r.Number = "number", r.Boolean = "boolean", r.Null = "null", r.Enum = "enum", r.JSON = "json", r.Date = "date", r.UUID = "uuid", r.File = "file", r))(I || {}), Oe = /* @__PURE__ */ ((r) => (r.Addition = "addition", r.Subtraction = "subtraction", r.Multiplication = "multiplication", r.Division = "division", r.Remainder = "remainder", r.Exponentiation = "exponentiation", r))(Oe || {}), Z = /* @__PURE__ */ ((r) => (r.Join = "string-join", r.Split = "string-split", r.DeleteLast = "string-delete-last", r.DeleteFirst = "string-delete-first", r.DeleteIndex = "string-delete-index", r.AddIndex = "string-add-index", r.ReplaceFirst = "string-replace-first", r.ReplaceLast = "string-replace-last", r.ReplaceIndex = "string-replace-index", r.ReplaceSingleMatch = "string-replace-single-match", r.ReplaceAllMatches = "string-replace-all-matches", r.GetIndex = "string-get-index", r.GetFirst = "string-get-first", r.GetLast = "string-get-last", r.Append = "string-append", r.Prepend = "string-prepend", r))(Z || {}), Y = /* @__PURE__ */ ((r) => (r.Join = "list-join", r.Split = "list-split", r.DeleteLast = "list-delete-last", r.DeleteFirst = "list-delete-first", r.DeleteIndex = "list-delete-index", r.AddIndex = "list-add-index", r.ReplaceFirst = "list-replace-first", r.ReplaceLast = "list-replace-last", r.ReplaceIndex = "list-replace-index", r.ReplaceSingleMatch = "list-replace-single-match", r.ReplaceAllMatches = "list-replace-all-matches", r.GetIndex = "list-get-index", r.GetFirst = "list-get-first", r.GetLast = "list-get-last", r.Append = "list-append", r.Prepend = "list-prepend", r))(Y || {}), Me = /* @__PURE__ */ ((r) => (r.Parallel = "parallel", r.Sequential = "sequential", r.Wait = "wait", r))(Me || {}), Se = /* @__PURE__ */ ((r) => (r.CreateNewInstance = "create-new-instance", r.Validate = "validate", r))(Se || {}), at = /* @__PURE__ */ ((r) => (r.HttpRequest = "base-http-request", r))(at || {}), xe = /* @__PURE__ */ ((r) => (r.Equal = "equal", r.NotEqual = "not-equal", r.And = "and", r.Or = "or", r.LessThan = "less-than", r.MoreThan = "more-than", r.LessThanOrEqual = "less-than-or-equal", r.MoreThanOrEqual = "more-than-or-equal", r))(xe || {}), Ut = /* @__PURE__ */ ((r) => (r.Empty = "empty", r.NotEmpty = "not-empty", r))(Ut || {}), j = /* @__PURE__ */ ((r) => (r.ManualFlow = "manual-flow-loop", r.Counted = "counted-loop", r.List = "list-loop", r.ObjectKeys = "object-keys-loop", r.ObjectValues = "object-values-loop", r.String = "string-loop", r))(j || {}), A = /* @__PURE__ */ ((r) => (r.FixedArguments = "fixed-arguments", r.FixedReturns = "fixed-returns", r.ReturnedError = "returned-error", r.OngoingProcessExecution = "ongoing-process-execution", r.DynamicArgument = "dynamic-argument-types", r.DynamicReturn = "dynamic-return-types", r))(A || {}), Ke = /* @__PURE__ */ ((r) => (r.OrDataTypeGroup = "or-data-type-group", r.AndDataTypeGroup = "and-data-type-group", r))(Ke || {}), gn = /* @__PURE__ */ ((r) => (r.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", r))(gn || {}), Bt = /* @__PURE__ */ ((r) => (r.DeletePersistedEntity = "base-delete-persisted-entity", r.SoftDeletePersistedEntity = "base-soft-delete-persisted-entity", r.AbortExecution = "base-abort-execution", r))(Bt || {}), aT = /* @__PURE__ */ ((r) => (r.Error = "error", r.Task = "task", r.Return = "return", r))(aT || {});
|
|
5
5
|
const jn = [
|
|
6
6
|
n.VariableDeclaration,
|
|
7
7
|
n.VariableInstance,
|
|
@@ -202,11 +202,11 @@ const w = {
|
|
|
202
202
|
}
|
|
203
203
|
},
|
|
204
204
|
[n.BuiltInBaseEntity]: {
|
|
205
|
-
[
|
|
206
|
-
id:
|
|
205
|
+
[G.KEY_VALUE_PARAM]: {
|
|
206
|
+
id: G.KEY_VALUE_PARAM
|
|
207
207
|
},
|
|
208
|
-
[
|
|
209
|
-
id:
|
|
208
|
+
[G.HTTP_ENDPOINT]: {
|
|
209
|
+
id: G.HTTP_ENDPOINT,
|
|
210
210
|
properties: {
|
|
211
211
|
method: {
|
|
212
212
|
id: "http-endpoint-built-in-method-property-id"
|
|
@@ -219,8 +219,8 @@ const w = {
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
},
|
|
222
|
-
[
|
|
223
|
-
id:
|
|
222
|
+
[G.PERSISTED_ENTITY]: {
|
|
223
|
+
id: G.PERSISTED_ENTITY,
|
|
224
224
|
properties: {
|
|
225
225
|
database: {
|
|
226
226
|
id: "persisted-built-in-base-entity-database-property-id"
|
|
@@ -230,8 +230,8 @@ const w = {
|
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
},
|
|
233
|
-
[
|
|
234
|
-
id:
|
|
233
|
+
[G.RELATIONAL_DATABASE]: {
|
|
234
|
+
id: G.RELATIONAL_DATABASE,
|
|
235
235
|
properties: {
|
|
236
236
|
identifier: {
|
|
237
237
|
id: "relational-database-built-in-base-entity-identifier-property-id"
|
|
@@ -253,8 +253,8 @@ const w = {
|
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
},
|
|
256
|
-
[
|
|
257
|
-
id:
|
|
256
|
+
[G.CRON_JOB]: {
|
|
257
|
+
id: G.CRON_JOB,
|
|
258
258
|
properties: {
|
|
259
259
|
expression: {
|
|
260
260
|
id: "cron-job-built-in-base-entity-expression-property-id"
|
|
@@ -4020,7 +4020,7 @@ const bv = {
|
|
|
4020
4020
|
outputs: [lI],
|
|
4021
4021
|
error: null,
|
|
4022
4022
|
parent: null
|
|
4023
|
-
}, Ma = w[n.BuiltInBaseEntity][
|
|
4023
|
+
}, Ma = w[n.BuiltInBaseEntity][G.KEY_VALUE_PARAM], f2 = {
|
|
4024
4024
|
id: "key-value-param-built-in-base-entity-name-property-data-type-ref",
|
|
4025
4025
|
type: n.GenericReference,
|
|
4026
4026
|
entityId: "key-value-param-built-in-base-entity-name-property-data-type",
|
|
@@ -4126,7 +4126,7 @@ const bv = {
|
|
|
4126
4126
|
abstractMethods: [],
|
|
4127
4127
|
methods: [],
|
|
4128
4128
|
extends: []
|
|
4129
|
-
}, Zi = w[n.BuiltInBaseEntity][
|
|
4129
|
+
}, Zi = w[n.BuiltInBaseEntity][G.HTTP_ENDPOINT].properties, TI = {
|
|
4130
4130
|
id: "endpointBuiltInCorsPropertyDataTypeRef",
|
|
4131
4131
|
type: n.GenericReference,
|
|
4132
4132
|
entityType: n.DataType,
|
|
@@ -4164,7 +4164,7 @@ const bv = {
|
|
|
4164
4164
|
id: "endpointBuiltInBaseEntityRef",
|
|
4165
4165
|
type: n.GenericReference,
|
|
4166
4166
|
entityType: n.BuiltInBaseEntity,
|
|
4167
|
-
entityId:
|
|
4167
|
+
entityId: G.HTTP_ENDPOINT
|
|
4168
4168
|
}, RI = {
|
|
4169
4169
|
hidden: !0,
|
|
4170
4170
|
required: !0,
|
|
@@ -4218,7 +4218,7 @@ const bv = {
|
|
|
4218
4218
|
id: "endpointBuiltInBaseEntityRefTwo",
|
|
4219
4219
|
type: n.GenericReference,
|
|
4220
4220
|
entityType: n.BuiltInBaseEntity,
|
|
4221
|
-
entityId:
|
|
4221
|
+
entityId: G.HTTP_ENDPOINT
|
|
4222
4222
|
}, hu = {
|
|
4223
4223
|
hidden: !1,
|
|
4224
4224
|
required: !0,
|
|
@@ -4284,7 +4284,7 @@ const bv = {
|
|
|
4284
4284
|
id: "endpointBuiltInBaseEntityRefThree",
|
|
4285
4285
|
type: n.GenericReference,
|
|
4286
4286
|
entityType: n.BuiltInBaseEntity,
|
|
4287
|
-
entityId:
|
|
4287
|
+
entityId: G.HTTP_ENDPOINT
|
|
4288
4288
|
}, fu = {
|
|
4289
4289
|
hidden: !1,
|
|
4290
4290
|
required: !0,
|
|
@@ -4612,7 +4612,7 @@ const bv = {
|
|
|
4612
4612
|
id: "endpointBuiltInBaseEntityRefFour",
|
|
4613
4613
|
type: n.GenericReference,
|
|
4614
4614
|
entityType: n.BuiltInBaseEntity,
|
|
4615
|
-
entityId:
|
|
4615
|
+
entityId: G.HTTP_ENDPOINT
|
|
4616
4616
|
}, Iu = {
|
|
4617
4617
|
id: "endpointReachedTriggerActionDescriptor",
|
|
4618
4618
|
type: n.ActionDescriptor,
|
|
@@ -4633,10 +4633,10 @@ const bv = {
|
|
|
4633
4633
|
error: null,
|
|
4634
4634
|
parent: tD
|
|
4635
4635
|
}, Wo = {
|
|
4636
|
-
id:
|
|
4636
|
+
id: G.HTTP_ENDPOINT,
|
|
4637
4637
|
version: 1,
|
|
4638
4638
|
description: "An HTTP endpoint that can be reached by a client from the internet.",
|
|
4639
|
-
name:
|
|
4639
|
+
name: G.HTTP_ENDPOINT,
|
|
4640
4640
|
type: n.BuiltInBaseEntity,
|
|
4641
4641
|
interactive: !1,
|
|
4642
4642
|
abstract: !0,
|
|
@@ -4649,7 +4649,7 @@ const bv = {
|
|
|
4649
4649
|
abstractMethods: [Iu],
|
|
4650
4650
|
extends: [],
|
|
4651
4651
|
methods: []
|
|
4652
|
-
},
|
|
4652
|
+
}, Mt = w[n.BuiltInBaseEntity].BUILT_IN_RELATIONAL_DATABASE_ENTITY, nD = {
|
|
4653
4653
|
id: "relational-database-built-in-base-entity-identifier-property-data-type-ref-id",
|
|
4654
4654
|
type: n.GenericReference,
|
|
4655
4655
|
entityId: "relational-database-built-in-base-entity-identifier-property-data-type-id",
|
|
@@ -4657,7 +4657,7 @@ const bv = {
|
|
|
4657
4657
|
}, rD = {
|
|
4658
4658
|
id: "relational-database-built-in-base-entity-identifier-property-ref-id",
|
|
4659
4659
|
type: n.GenericReference,
|
|
4660
|
-
entityId:
|
|
4660
|
+
entityId: Mt.properties.identifier.id,
|
|
4661
4661
|
entityType: n.Property
|
|
4662
4662
|
}, iD = {
|
|
4663
4663
|
like: !1,
|
|
@@ -4690,12 +4690,12 @@ const bv = {
|
|
|
4690
4690
|
}, Ki = {
|
|
4691
4691
|
id: "relational-database-built-in-base-entity-ref-id",
|
|
4692
4692
|
type: n.GenericReference,
|
|
4693
|
-
entityId:
|
|
4693
|
+
entityId: G.PERSISTED_ENTITY,
|
|
4694
4694
|
entityType: n.BuiltInBaseEntity
|
|
4695
4695
|
}, Yo = {
|
|
4696
4696
|
hidden: !1,
|
|
4697
4697
|
required: !0,
|
|
4698
|
-
id:
|
|
4698
|
+
id: Mt.properties.identifier.id,
|
|
4699
4699
|
name: "Identifier name",
|
|
4700
4700
|
version: 1,
|
|
4701
4701
|
type: n.Property,
|
|
@@ -4715,7 +4715,7 @@ const bv = {
|
|
|
4715
4715
|
}, aD = {
|
|
4716
4716
|
id: "relational-database-built-in-base-entity-username-property-ref-id",
|
|
4717
4717
|
type: n.GenericReference,
|
|
4718
|
-
entityId:
|
|
4718
|
+
entityId: Mt.properties.username.id,
|
|
4719
4719
|
entityType: n.Property
|
|
4720
4720
|
}, sD = {
|
|
4721
4721
|
like: !1,
|
|
@@ -4749,7 +4749,7 @@ const bv = {
|
|
|
4749
4749
|
}, Ho = {
|
|
4750
4750
|
hidden: !1,
|
|
4751
4751
|
required: !0,
|
|
4752
|
-
id:
|
|
4752
|
+
id: Mt.properties.username.id,
|
|
4753
4753
|
name: "Username",
|
|
4754
4754
|
version: 1,
|
|
4755
4755
|
type: n.Property,
|
|
@@ -4769,7 +4769,7 @@ const bv = {
|
|
|
4769
4769
|
}, oD = {
|
|
4770
4770
|
id: "relational-database-built-in-base-entity-password-property-ref-id",
|
|
4771
4771
|
type: n.GenericReference,
|
|
4772
|
-
entityId:
|
|
4772
|
+
entityId: Mt.properties.password.id,
|
|
4773
4773
|
entityType: n.Property
|
|
4774
4774
|
}, lD = {
|
|
4775
4775
|
like: !1,
|
|
@@ -4789,7 +4789,7 @@ const bv = {
|
|
|
4789
4789
|
}, zo = {
|
|
4790
4790
|
hidden: !1,
|
|
4791
4791
|
required: !0,
|
|
4792
|
-
id:
|
|
4792
|
+
id: Mt.properties.password.id,
|
|
4793
4793
|
name: "Password",
|
|
4794
4794
|
version: 1,
|
|
4795
4795
|
type: n.Property,
|
|
@@ -4809,7 +4809,7 @@ const bv = {
|
|
|
4809
4809
|
}, dD = {
|
|
4810
4810
|
id: "relational-database-built-in-base-entity-min-size-property-ref-id",
|
|
4811
4811
|
type: n.GenericReference,
|
|
4812
|
-
entityId:
|
|
4812
|
+
entityId: Mt.properties.minSize.id,
|
|
4813
4813
|
entityType: n.Property
|
|
4814
4814
|
}, uD = {
|
|
4815
4815
|
like: !1,
|
|
@@ -4838,7 +4838,7 @@ const bv = {
|
|
|
4838
4838
|
}, Zo = {
|
|
4839
4839
|
hidden: !0,
|
|
4840
4840
|
required: !0,
|
|
4841
|
-
id:
|
|
4841
|
+
id: Mt.properties.minSize.id,
|
|
4842
4842
|
name: "Minimum GB size",
|
|
4843
4843
|
version: 1,
|
|
4844
4844
|
type: n.Property,
|
|
@@ -4858,7 +4858,7 @@ const bv = {
|
|
|
4858
4858
|
}, yD = {
|
|
4859
4859
|
id: "relational-database-built-in-base-entity-default-property-ref-id",
|
|
4860
4860
|
type: n.GenericReference,
|
|
4861
|
-
entityId:
|
|
4861
|
+
entityId: Mt.properties.default.id,
|
|
4862
4862
|
entityType: n.Property
|
|
4863
4863
|
}, hD = {
|
|
4864
4864
|
like: !1,
|
|
@@ -4887,7 +4887,7 @@ const bv = {
|
|
|
4887
4887
|
}, Du = {
|
|
4888
4888
|
hidden: !0,
|
|
4889
4889
|
required: !0,
|
|
4890
|
-
id:
|
|
4890
|
+
id: Mt.properties.default.id,
|
|
4891
4891
|
name: "Default",
|
|
4892
4892
|
version: 1,
|
|
4893
4893
|
type: n.Property,
|
|
@@ -4902,7 +4902,7 @@ const bv = {
|
|
|
4902
4902
|
}, fD = {
|
|
4903
4903
|
id: "relational-database-built-in-base-entity-autoscaling-property-ref-id",
|
|
4904
4904
|
type: n.GenericReference,
|
|
4905
|
-
entityId:
|
|
4905
|
+
entityId: Mt.properties.autoscaling.id,
|
|
4906
4906
|
entityType: n.Property
|
|
4907
4907
|
}, mD = {
|
|
4908
4908
|
id: "relational-database-built-in-base-entity-autoscaling-property-data-type-ref-id",
|
|
@@ -4936,12 +4936,12 @@ const bv = {
|
|
|
4936
4936
|
}, bD = {
|
|
4937
4937
|
id: "relational-database-built-in-base-entity-autoscaling-property-parent-ref-id",
|
|
4938
4938
|
type: n.GenericReference,
|
|
4939
|
-
entityId:
|
|
4939
|
+
entityId: G.PERSISTED_ENTITY,
|
|
4940
4940
|
entityType: n.BuiltInBaseEntity
|
|
4941
4941
|
}, Pu = {
|
|
4942
4942
|
hidden: !0,
|
|
4943
4943
|
required: !0,
|
|
4944
|
-
id:
|
|
4944
|
+
id: Mt.properties.autoscaling.id,
|
|
4945
4945
|
name: "Auto-scaling",
|
|
4946
4946
|
version: 1,
|
|
4947
4947
|
type: n.Property,
|
|
@@ -4954,10 +4954,10 @@ const bv = {
|
|
|
4954
4954
|
description: "If true, this database will automatically scale up or down in memory size, based on the usage.",
|
|
4955
4955
|
parent: bD
|
|
4956
4956
|
}, ar = {
|
|
4957
|
-
id:
|
|
4957
|
+
id: G.RELATIONAL_DATABASE,
|
|
4958
4958
|
version: 1,
|
|
4959
4959
|
description: "This entity provisions a relational database in the cloud.",
|
|
4960
|
-
name:
|
|
4960
|
+
name: G.RELATIONAL_DATABASE,
|
|
4961
4961
|
type: n.BuiltInBaseEntity,
|
|
4962
4962
|
abstract: !0,
|
|
4963
4963
|
static: !0,
|
|
@@ -4977,11 +4977,11 @@ const bv = {
|
|
|
4977
4977
|
type: n.GenericReference,
|
|
4978
4978
|
entityId: "persisted-built-in-base-entity-ref-id",
|
|
4979
4979
|
entityType: n.BuiltInBaseEntity,
|
|
4980
|
-
id:
|
|
4980
|
+
id: Bt.DeletePersistedEntity
|
|
4981
4981
|
}, Au = {
|
|
4982
4982
|
type: n.FunctionDeclaration,
|
|
4983
|
-
id:
|
|
4984
|
-
name:
|
|
4983
|
+
id: Bt.DeletePersistedEntity,
|
|
4984
|
+
name: Bt.DeletePersistedEntity,
|
|
4985
4985
|
description: "Permanently deletes the current copy of an entity from the database",
|
|
4986
4986
|
version: 1,
|
|
4987
4987
|
parent: ED,
|
|
@@ -4998,11 +4998,11 @@ const bv = {
|
|
|
4998
4998
|
type: n.GenericReference,
|
|
4999
4999
|
entityId: "persisted-built-in-base-entity-ref-id",
|
|
5000
5000
|
entityType: n.BuiltInBaseEntity,
|
|
5001
|
-
id:
|
|
5001
|
+
id: Bt.SoftDeletePersistedEntity
|
|
5002
5002
|
}, RD = {
|
|
5003
5003
|
type: n.FunctionDeclaration,
|
|
5004
|
-
id:
|
|
5005
|
-
name:
|
|
5004
|
+
id: Bt.SoftDeletePersistedEntity,
|
|
5005
|
+
name: Bt.SoftDeletePersistedEntity,
|
|
5006
5006
|
description: "Designates the entity as deleted, but does not remove it from the database.",
|
|
5007
5007
|
version: 1,
|
|
5008
5008
|
parent: vD,
|
|
@@ -5015,7 +5015,7 @@ const bv = {
|
|
|
5015
5015
|
private: !1,
|
|
5016
5016
|
x: 0,
|
|
5017
5017
|
y: 0
|
|
5018
|
-
}, Su = w[n.BuiltInBaseEntity][
|
|
5018
|
+
}, Su = w[n.BuiltInBaseEntity][G.PERSISTED_ENTITY].properties, E2 = {
|
|
5019
5019
|
id: "persisted-built-in-base-entity-database-property-data-type-ref-id",
|
|
5020
5020
|
type: n.GenericReference,
|
|
5021
5021
|
entityId: "persisted-built-in-base-entity-database-property-data-type-id",
|
|
@@ -5043,7 +5043,7 @@ const bv = {
|
|
|
5043
5043
|
}, DD = {
|
|
5044
5044
|
id: "persisted-built-in-base-entity-database-property-parent-ref-id",
|
|
5045
5045
|
type: n.GenericReference,
|
|
5046
|
-
entityId:
|
|
5046
|
+
entityId: G.PERSISTED_ENTITY,
|
|
5047
5047
|
entityType: n.BuiltInBaseEntity
|
|
5048
5048
|
}, ns = {
|
|
5049
5049
|
hidden: !0,
|
|
@@ -5101,7 +5101,7 @@ const bv = {
|
|
|
5101
5101
|
}, OD = {
|
|
5102
5102
|
id: "persisted-built-in-base-entity-identifier-property-parent-ref-id",
|
|
5103
5103
|
type: n.GenericReference,
|
|
5104
|
-
entityId:
|
|
5104
|
+
entityId: G.PERSISTED_ENTITY,
|
|
5105
5105
|
entityType: n.BuiltInBaseEntity
|
|
5106
5106
|
}, CD = {
|
|
5107
5107
|
hidden: !1,
|
|
@@ -5146,7 +5146,7 @@ const bv = {
|
|
|
5146
5146
|
}, _D = {
|
|
5147
5147
|
id: "persisted-built-in-base-entity-deleted-at-property-parent-ref-id",
|
|
5148
5148
|
type: n.GenericReference,
|
|
5149
|
-
entityId:
|
|
5149
|
+
entityId: G.PERSISTED_ENTITY,
|
|
5150
5150
|
entityType: n.BuiltInBaseEntity
|
|
5151
5151
|
}, MD = {
|
|
5152
5152
|
hidden: !1,
|
|
@@ -5191,7 +5191,7 @@ const bv = {
|
|
|
5191
5191
|
}, xD = {
|
|
5192
5192
|
id: "persisted-built-in-base-entity-created-at-property-parent-ref-id",
|
|
5193
5193
|
type: n.GenericReference,
|
|
5194
|
-
entityId:
|
|
5194
|
+
entityId: G.PERSISTED_ENTITY,
|
|
5195
5195
|
entityType: n.BuiltInBaseEntity
|
|
5196
5196
|
}, $D = {
|
|
5197
5197
|
hidden: !1,
|
|
@@ -5236,7 +5236,7 @@ const bv = {
|
|
|
5236
5236
|
}, FD = {
|
|
5237
5237
|
id: "persisted-built-in-base-entity-updated-at-property-parent-ref-id",
|
|
5238
5238
|
type: n.GenericReference,
|
|
5239
|
-
entityId:
|
|
5239
|
+
entityId: G.PERSISTED_ENTITY,
|
|
5240
5240
|
entityType: n.BuiltInBaseEntity
|
|
5241
5241
|
}, UD = {
|
|
5242
5242
|
hidden: !1,
|
|
@@ -5254,10 +5254,10 @@ const bv = {
|
|
|
5254
5254
|
description: "The date and time when the entity was last updated.",
|
|
5255
5255
|
parent: FD
|
|
5256
5256
|
}, Ge = {
|
|
5257
|
-
id:
|
|
5257
|
+
id: G.PERSISTED_ENTITY,
|
|
5258
5258
|
version: 1,
|
|
5259
5259
|
description: "An entity that is permanently stored in the database and can be accessed at any point.",
|
|
5260
|
-
name:
|
|
5260
|
+
name: G.PERSISTED_ENTITY,
|
|
5261
5261
|
type: n.BuiltInBaseEntity,
|
|
5262
5262
|
abstract: !0,
|
|
5263
5263
|
static: !1,
|
|
@@ -5276,7 +5276,7 @@ const bv = {
|
|
|
5276
5276
|
id: "cron-job-triggered-function-declaration-blueprint-parent-ref-id",
|
|
5277
5277
|
type: n.GenericReference,
|
|
5278
5278
|
entityType: n.BuiltInBaseEntity,
|
|
5279
|
-
entityId:
|
|
5279
|
+
entityId: G.HTTP_ENDPOINT
|
|
5280
5280
|
}, Ou = {
|
|
5281
5281
|
id: "cron-job-triggered-function-declaration-blueprint-id",
|
|
5282
5282
|
name: "Cron job triggered",
|
|
@@ -5315,7 +5315,7 @@ const bv = {
|
|
|
5315
5315
|
}, JD = {
|
|
5316
5316
|
id: "cron-job-built-in-base-entity-ref",
|
|
5317
5317
|
type: n.GenericReference,
|
|
5318
|
-
entityId:
|
|
5318
|
+
entityId: G.CRON_JOB,
|
|
5319
5319
|
entityType: n.BuiltInBaseEntity
|
|
5320
5320
|
}, WD = {
|
|
5321
5321
|
hidden: !1,
|
|
@@ -5333,10 +5333,10 @@ const bv = {
|
|
|
5333
5333
|
description: "The cron-job expression that defines when the cron-job job should be triggered. The expression should be in the format of a cron-job expression.",
|
|
5334
5334
|
parent: JD
|
|
5335
5335
|
}, wu = {
|
|
5336
|
-
id:
|
|
5336
|
+
id: G.CRON_JOB,
|
|
5337
5337
|
version: 1,
|
|
5338
5338
|
description: "This entity represents a scheduled trigger. The action on this entity will be executed one the time set by the cron-job expression is reached.",
|
|
5339
|
-
name:
|
|
5339
|
+
name: G.CRON_JOB,
|
|
5340
5340
|
type: n.BuiltInBaseEntity,
|
|
5341
5341
|
abstract: !0,
|
|
5342
5342
|
static: !0,
|
|
@@ -5354,7 +5354,7 @@ const bv = {
|
|
|
5354
5354
|
id: "execution-built-in-entity-abort-method-id",
|
|
5355
5355
|
type: n.FunctionDeclaration,
|
|
5356
5356
|
version: 1,
|
|
5357
|
-
name:
|
|
5357
|
+
name: Bt.AbortExecution,
|
|
5358
5358
|
description: "Aborts the execution of the entity",
|
|
5359
5359
|
inputs: [],
|
|
5360
5360
|
returnStatements: [],
|
|
@@ -5367,10 +5367,10 @@ const bv = {
|
|
|
5367
5367
|
y: 0,
|
|
5368
5368
|
parent: YD
|
|
5369
5369
|
}, _u = {
|
|
5370
|
-
id:
|
|
5370
|
+
id: G.EXECUTION,
|
|
5371
5371
|
type: n.BuiltInBaseEntity,
|
|
5372
5372
|
version: 1,
|
|
5373
|
-
name:
|
|
5373
|
+
name: G.EXECUTION,
|
|
5374
5374
|
description: "A reference to an ongoing execution of any entity that can be called. Eg: Operations, custom trigger calls, etc.",
|
|
5375
5375
|
static: !1,
|
|
5376
5376
|
abstract: !1,
|
|
@@ -9060,7 +9060,7 @@ const W = "e7eb5382-3d99-44fd-972a-b8b1e819f6be", rl = "global-user-variable-id"
|
|
|
9060
9060
|
}, ms = {
|
|
9061
9061
|
id: "alternative-relational-database-entity-ref-id",
|
|
9062
9062
|
type: n.GenericReference,
|
|
9063
|
-
entityId:
|
|
9063
|
+
entityId: G.PERSISTED_ENTITY,
|
|
9064
9064
|
entityType: n.BuiltInBaseEntity
|
|
9065
9065
|
}, SS = {
|
|
9066
9066
|
hidden: !1,
|
|
@@ -9384,7 +9384,7 @@ const BS = {
|
|
|
9384
9384
|
}, Qr = {
|
|
9385
9385
|
id: "default-relational-database-entity-ref-id",
|
|
9386
9386
|
type: n.GenericReference,
|
|
9387
|
-
entityId:
|
|
9387
|
+
entityId: G.PERSISTED_ENTITY,
|
|
9388
9388
|
entityType: n.BuiltInBaseEntity
|
|
9389
9389
|
}, QS = {
|
|
9390
9390
|
hidden: !1,
|
|
@@ -12002,7 +12002,7 @@ const iO = {
|
|
|
12002
12002
|
id: "employee-prototype-parent-ref-id",
|
|
12003
12003
|
entityType: n.Project,
|
|
12004
12004
|
entityId: W
|
|
12005
|
-
},
|
|
12005
|
+
}, Nt = {
|
|
12006
12006
|
type: n.CustomEntity,
|
|
12007
12007
|
id: "employee-entity-id",
|
|
12008
12008
|
version: 1,
|
|
@@ -12155,7 +12155,7 @@ const iO = {
|
|
|
12155
12155
|
andChildrenGroup: null,
|
|
12156
12156
|
orChildrenGroup: null,
|
|
12157
12157
|
version: 1,
|
|
12158
|
-
entity:
|
|
12158
|
+
entity: Nt,
|
|
12159
12159
|
isList: !0,
|
|
12160
12160
|
asType: !1,
|
|
12161
12161
|
isNullable: !1,
|
|
@@ -12187,7 +12187,7 @@ const iO = {
|
|
|
12187
12187
|
id: "e3c03b6b-2ea0-4d99-865d-5e6a348672d0",
|
|
12188
12188
|
entityType: n.Project,
|
|
12189
12189
|
entityId: W
|
|
12190
|
-
},
|
|
12190
|
+
}, St = {
|
|
12191
12191
|
type: n.CustomEntity,
|
|
12192
12192
|
id: "ed3a6098-12ee-4632-a6dd-c2e6c542f66d",
|
|
12193
12193
|
version: 1,
|
|
@@ -12769,7 +12769,7 @@ const Y_ = {
|
|
|
12769
12769
|
id: "getCompanyByIdEndpointBaseEntityRefTwo",
|
|
12770
12770
|
type: n.GenericReference,
|
|
12771
12771
|
entityType: n.BuiltInBaseEntity,
|
|
12772
|
-
entityId:
|
|
12772
|
+
entityId: G.HTTP_ENDPOINT
|
|
12773
12773
|
}, YM = {
|
|
12774
12774
|
hidden: !1,
|
|
12775
12775
|
required: !0,
|
|
@@ -12835,7 +12835,7 @@ const Y_ = {
|
|
|
12835
12835
|
id: "getCompanyByIdEndpointBaseEntityRefThree",
|
|
12836
12836
|
type: n.GenericReference,
|
|
12837
12837
|
entityType: n.BuiltInBaseEntity,
|
|
12838
|
-
entityId:
|
|
12838
|
+
entityId: G.HTTP_ENDPOINT
|
|
12839
12839
|
}, XM = {
|
|
12840
12840
|
hidden: !1,
|
|
12841
12841
|
required: !0,
|
|
@@ -14470,7 +14470,7 @@ const L0 = {
|
|
|
14470
14470
|
andChildrenGroup: null,
|
|
14471
14471
|
orChildrenGroup: null,
|
|
14472
14472
|
version: 1,
|
|
14473
|
-
entity:
|
|
14473
|
+
entity: null,
|
|
14474
14474
|
asType: !1,
|
|
14475
14475
|
isList: !1,
|
|
14476
14476
|
isNullable: !1,
|
|
@@ -14690,7 +14690,7 @@ const L0 = {
|
|
|
14690
14690
|
andChildrenGroup: null,
|
|
14691
14691
|
orChildrenGroup: null,
|
|
14692
14692
|
version: 1,
|
|
14693
|
-
entity:
|
|
14693
|
+
entity: St,
|
|
14694
14694
|
asType: !1,
|
|
14695
14695
|
isList: !1,
|
|
14696
14696
|
isNullable: !1,
|
|
@@ -14887,7 +14887,7 @@ const L0 = {
|
|
|
14887
14887
|
andChildrenGroup: null,
|
|
14888
14888
|
orChildrenGroup: null,
|
|
14889
14889
|
version: 1,
|
|
14890
|
-
entity:
|
|
14890
|
+
entity: Nt,
|
|
14891
14891
|
asType: !1,
|
|
14892
14892
|
isList: !1,
|
|
14893
14893
|
isNullable: !0,
|
|
@@ -14935,7 +14935,7 @@ const $y = {
|
|
|
14935
14935
|
id: wy,
|
|
14936
14936
|
type: n.OutputMap,
|
|
14937
14937
|
version: 1,
|
|
14938
|
-
declaration:
|
|
14938
|
+
declaration: Nt.properties[2],
|
|
14939
14939
|
index: 3,
|
|
14940
14940
|
writesValues: [$y],
|
|
14941
14941
|
parent: ZV
|
|
@@ -14948,7 +14948,7 @@ const $y = {
|
|
|
14948
14948
|
id: Cy,
|
|
14949
14949
|
type: n.OutputMap,
|
|
14950
14950
|
version: 1,
|
|
14951
|
-
declaration:
|
|
14951
|
+
declaration: Nt.properties[0],
|
|
14952
14952
|
index: 2,
|
|
14953
14953
|
writesValues: [Ny],
|
|
14954
14954
|
parent: XV
|
|
@@ -14991,7 +14991,7 @@ const $y = {
|
|
|
14991
14991
|
andChildrenGroup: null,
|
|
14992
14992
|
orChildrenGroup: null,
|
|
14993
14993
|
version: 1,
|
|
14994
|
-
entity:
|
|
14994
|
+
entity: Nt,
|
|
14995
14995
|
asType: !1,
|
|
14996
14996
|
isList: !1,
|
|
14997
14997
|
isNullable: !0,
|
|
@@ -15049,7 +15049,7 @@ const $y = {
|
|
|
15049
15049
|
orChildrenGroup: null,
|
|
15050
15050
|
id: "employee-dto-func-declaration-employee-input-declaration-data-type-id",
|
|
15051
15051
|
version: 1,
|
|
15052
|
-
entity:
|
|
15052
|
+
entity: Nt,
|
|
15053
15053
|
asType: !1,
|
|
15054
15054
|
isList: !1,
|
|
15055
15055
|
isNullable: !1,
|
|
@@ -15110,7 +15110,7 @@ const $y = {
|
|
|
15110
15110
|
orChildrenGroup: null,
|
|
15111
15111
|
version: 1,
|
|
15112
15112
|
defaultValue: null,
|
|
15113
|
-
entity:
|
|
15113
|
+
entity: null,
|
|
15114
15114
|
isList: !1,
|
|
15115
15115
|
isNullable: !1,
|
|
15116
15116
|
asType: !1,
|
|
@@ -15244,7 +15244,7 @@ const $y = {
|
|
|
15244
15244
|
orChildrenGroup: null,
|
|
15245
15245
|
version: 1,
|
|
15246
15246
|
defaultValue: null,
|
|
15247
|
-
entity:
|
|
15247
|
+
entity: Nt,
|
|
15248
15248
|
isList: !1,
|
|
15249
15249
|
isNullable: !1,
|
|
15250
15250
|
asType: !1,
|
|
@@ -15381,7 +15381,7 @@ const $y = {
|
|
|
15381
15381
|
andChildrenGroup: null,
|
|
15382
15382
|
orChildrenGroup: null,
|
|
15383
15383
|
version: 1,
|
|
15384
|
-
entity:
|
|
15384
|
+
entity: St,
|
|
15385
15385
|
asType: !1,
|
|
15386
15386
|
isList: !1,
|
|
15387
15387
|
isNullable: !0,
|
|
@@ -15446,7 +15446,7 @@ const ky = {
|
|
|
15446
15446
|
andChildrenGroup: null,
|
|
15447
15447
|
orChildrenGroup: null,
|
|
15448
15448
|
version: 1,
|
|
15449
|
-
entity:
|
|
15449
|
+
entity: St,
|
|
15450
15450
|
asType: !1,
|
|
15451
15451
|
isList: !1,
|
|
15452
15452
|
isNullable: !0,
|
|
@@ -15494,7 +15494,7 @@ const qy = {
|
|
|
15494
15494
|
id: fy,
|
|
15495
15495
|
type: n.OutputMap,
|
|
15496
15496
|
version: 1,
|
|
15497
|
-
declaration:
|
|
15497
|
+
declaration: St.properties[2],
|
|
15498
15498
|
index: 4,
|
|
15499
15499
|
writesValues: [qy],
|
|
15500
15500
|
parent: Xx
|
|
@@ -15507,7 +15507,7 @@ const qy = {
|
|
|
15507
15507
|
id: Ty,
|
|
15508
15508
|
type: n.OutputMap,
|
|
15509
15509
|
version: 1,
|
|
15510
|
-
declaration:
|
|
15510
|
+
declaration: St.properties[2],
|
|
15511
15511
|
index: 3,
|
|
15512
15512
|
writesValues: [ky],
|
|
15513
15513
|
parent: e$
|
|
@@ -15520,7 +15520,7 @@ const qy = {
|
|
|
15520
15520
|
id: hy,
|
|
15521
15521
|
type: n.OutputMap,
|
|
15522
15522
|
version: 1,
|
|
15523
|
-
declaration:
|
|
15523
|
+
declaration: St.properties[0],
|
|
15524
15524
|
index: 2,
|
|
15525
15525
|
writesValues: [gy],
|
|
15526
15526
|
parent: n$
|
|
@@ -15533,7 +15533,7 @@ const qy = {
|
|
|
15533
15533
|
id: yy,
|
|
15534
15534
|
type: n.OutputMap,
|
|
15535
15535
|
version: 1,
|
|
15536
|
-
declaration:
|
|
15536
|
+
declaration: St.properties[3],
|
|
15537
15537
|
index: 1,
|
|
15538
15538
|
writesValues: [jy],
|
|
15539
15539
|
parent: i$
|
|
@@ -15563,7 +15563,7 @@ const qy = {
|
|
|
15563
15563
|
andChildrenGroup: null,
|
|
15564
15564
|
orChildrenGroup: null,
|
|
15565
15565
|
version: 1,
|
|
15566
|
-
entity:
|
|
15566
|
+
entity: St,
|
|
15567
15567
|
asType: !1,
|
|
15568
15568
|
isList: !1,
|
|
15569
15569
|
isNullable: !0,
|
|
@@ -15626,7 +15626,7 @@ const qy = {
|
|
|
15626
15626
|
orChildrenGroup: null,
|
|
15627
15627
|
id: "company-dto-func-declaration-company-input-declaration-data-type-id",
|
|
15628
15628
|
version: 1,
|
|
15629
|
-
entity:
|
|
15629
|
+
entity: St,
|
|
15630
15630
|
asType: !1,
|
|
15631
15631
|
isList: !1,
|
|
15632
15632
|
isNullable: !1,
|
|
@@ -15686,7 +15686,7 @@ const qy = {
|
|
|
15686
15686
|
andChildrenGroup: null,
|
|
15687
15687
|
orChildrenGroup: null,
|
|
15688
15688
|
version: 1,
|
|
15689
|
-
entity:
|
|
15689
|
+
entity: St,
|
|
15690
15690
|
asType: !1,
|
|
15691
15691
|
isList: !1,
|
|
15692
15692
|
isNullable: !1,
|
|
@@ -16411,7 +16411,7 @@ const cG = {
|
|
|
16411
16411
|
andChildrenGroup: null,
|
|
16412
16412
|
orChildrenGroup: null,
|
|
16413
16413
|
version: 1,
|
|
16414
|
-
entity:
|
|
16414
|
+
entity: St,
|
|
16415
16415
|
isList: !1,
|
|
16416
16416
|
asType: !1,
|
|
16417
16417
|
isNullable: !1,
|
|
@@ -17202,7 +17202,7 @@ const zL = {
|
|
|
17202
17202
|
orChildrenGroup: null,
|
|
17203
17203
|
id: "company-variable-declaration-data-type-id",
|
|
17204
17204
|
version: 1,
|
|
17205
|
-
entity:
|
|
17205
|
+
entity: St,
|
|
17206
17206
|
asType: !1,
|
|
17207
17207
|
isList: !1,
|
|
17208
17208
|
isNullable: !1,
|
|
@@ -18683,7 +18683,7 @@ const vU = {
|
|
|
18683
18683
|
andChildrenGroup: null,
|
|
18684
18684
|
orChildrenGroup: null,
|
|
18685
18685
|
version: 1,
|
|
18686
|
-
entity:
|
|
18686
|
+
entity: Nt,
|
|
18687
18687
|
asType: !1,
|
|
18688
18688
|
isList: !1,
|
|
18689
18689
|
isNullable: !0,
|
|
@@ -18729,7 +18729,7 @@ const vU = {
|
|
|
18729
18729
|
id: kh,
|
|
18730
18730
|
type: n.OutputMap,
|
|
18731
18731
|
version: 1,
|
|
18732
|
-
declaration:
|
|
18732
|
+
declaration: Nt.properties[2],
|
|
18733
18733
|
index: 3,
|
|
18734
18734
|
writesValues: [uf],
|
|
18735
18735
|
parent: jU
|
|
@@ -18742,7 +18742,7 @@ const vU = {
|
|
|
18742
18742
|
id: jh,
|
|
18743
18743
|
type: n.OutputMap,
|
|
18744
18744
|
version: 1,
|
|
18745
|
-
declaration:
|
|
18745
|
+
declaration: Nt.properties[0],
|
|
18746
18746
|
index: 2,
|
|
18747
18747
|
writesValues: [of],
|
|
18748
18748
|
parent: qU
|
|
@@ -18785,7 +18785,7 @@ const vU = {
|
|
|
18785
18785
|
andChildrenGroup: null,
|
|
18786
18786
|
orChildrenGroup: null,
|
|
18787
18787
|
version: 1,
|
|
18788
|
-
entity:
|
|
18788
|
+
entity: Nt,
|
|
18789
18789
|
asType: !1,
|
|
18790
18790
|
isList: !1,
|
|
18791
18791
|
isNullable: !0,
|
|
@@ -19099,13 +19099,13 @@ const vU = {
|
|
|
19099
19099
|
al,
|
|
19100
19100
|
ut,
|
|
19101
19101
|
uN,
|
|
19102
|
-
|
|
19102
|
+
Nt,
|
|
19103
19103
|
bs,
|
|
19104
19104
|
bp,
|
|
19105
19105
|
Ep,
|
|
19106
19106
|
ei,
|
|
19107
19107
|
aM,
|
|
19108
|
-
|
|
19108
|
+
St,
|
|
19109
19109
|
eN,
|
|
19110
19110
|
np,
|
|
19111
19111
|
zS,
|
|
@@ -19411,7 +19411,7 @@ function F8() {
|
|
|
19411
19411
|
function U8() {
|
|
19412
19412
|
return d.object({
|
|
19413
19413
|
properties: d.array(dr()),
|
|
19414
|
-
methods: d.array(
|
|
19414
|
+
methods: d.array(Ot()),
|
|
19415
19415
|
abstractMethods: d.array(Kt()),
|
|
19416
19416
|
extends: d.array(
|
|
19417
19417
|
d.union([
|
|
@@ -19487,11 +19487,11 @@ function W8() {
|
|
|
19487
19487
|
}
|
|
19488
19488
|
function Y8() {
|
|
19489
19489
|
return d.enum([
|
|
19490
|
-
|
|
19491
|
-
|
|
19492
|
-
|
|
19493
|
-
|
|
19494
|
-
|
|
19490
|
+
G.CRON_JOB,
|
|
19491
|
+
G.EXECUTION,
|
|
19492
|
+
G.HTTP_ENDPOINT,
|
|
19493
|
+
G.PERSISTED_ENTITY,
|
|
19494
|
+
G.RELATIONAL_DATABASE
|
|
19495
19495
|
]);
|
|
19496
19496
|
}
|
|
19497
19497
|
function wr() {
|
|
@@ -19540,7 +19540,7 @@ function z8() {
|
|
|
19540
19540
|
function Z8() {
|
|
19541
19541
|
return d.object({
|
|
19542
19542
|
properties: d.array(dr()),
|
|
19543
|
-
methods: d.array(
|
|
19543
|
+
methods: d.array(Ot()),
|
|
19544
19544
|
abstractMethods: d.array(Kt()),
|
|
19545
19545
|
extends: d.array(
|
|
19546
19546
|
d.union([
|
|
@@ -19642,7 +19642,7 @@ function t9() {
|
|
|
19642
19642
|
function n9() {
|
|
19643
19643
|
return If().merge(
|
|
19644
19644
|
d.object({
|
|
19645
|
-
declaration: d.union([d.string(),
|
|
19645
|
+
declaration: d.union([d.string(), Ot()])
|
|
19646
19646
|
// calledBySuccess: z.array(
|
|
19647
19647
|
// z.union([z.string(), getPassThroughCallableEntityReferenceSchema()])
|
|
19648
19648
|
// ),
|
|
@@ -19672,7 +19672,7 @@ function r9() {
|
|
|
19672
19672
|
successCalls: d.array(Ye()),
|
|
19673
19673
|
errorCalls: d.array(Ye()),
|
|
19674
19674
|
error: ct(),
|
|
19675
|
-
body:
|
|
19675
|
+
body: Ot(),
|
|
19676
19676
|
parent: d.union([
|
|
19677
19677
|
xn(),
|
|
19678
19678
|
Et()
|
|
@@ -20061,7 +20061,7 @@ function S9() {
|
|
|
20061
20061
|
calledByError: d.array(Ce()),
|
|
20062
20062
|
calledByEntry: d.array(Je()),
|
|
20063
20063
|
writesValues: d.array(Vn()),
|
|
20064
|
-
declaration:
|
|
20064
|
+
declaration: Ot(),
|
|
20065
20065
|
inputs: d.array(qt()),
|
|
20066
20066
|
outputs: d.array(ct()),
|
|
20067
20067
|
error: d.optional(ct()),
|
|
@@ -20272,7 +20272,7 @@ function G9() {
|
|
|
20272
20272
|
function L9() {
|
|
20273
20273
|
return lc().merge(
|
|
20274
20274
|
d.object({
|
|
20275
|
-
declaration: d.union([d.string(),
|
|
20275
|
+
declaration: d.union([d.string(), Ot()])
|
|
20276
20276
|
// calledBySuccess: z.array(
|
|
20277
20277
|
// z.union([z.string(), getPassThroughCallableEntityReferenceSchema()])
|
|
20278
20278
|
// ),
|
|
@@ -20297,7 +20297,7 @@ function F9() {
|
|
|
20297
20297
|
calledByError: d.array(Ce()),
|
|
20298
20298
|
calledByEntry: d.array(Je()),
|
|
20299
20299
|
writesValues: d.array(Vn()),
|
|
20300
|
-
declaration:
|
|
20300
|
+
declaration: Ot(),
|
|
20301
20301
|
inputs: d.array(qt()),
|
|
20302
20302
|
outputs: d.array(ct()),
|
|
20303
20303
|
parent: yr(),
|
|
@@ -20895,7 +20895,7 @@ function O6() {
|
|
|
20895
20895
|
return d.object({
|
|
20896
20896
|
implements: Et(),
|
|
20897
20897
|
description: d.string().nullable(),
|
|
20898
|
-
functions: d.array(
|
|
20898
|
+
functions: d.array(Ot()),
|
|
20899
20899
|
events: d.array(Tc()),
|
|
20900
20900
|
parent: Et()
|
|
20901
20901
|
});
|
|
@@ -21108,7 +21108,7 @@ function L6() {
|
|
|
21108
21108
|
}
|
|
21109
21109
|
function hr() {
|
|
21110
21110
|
return d.union([
|
|
21111
|
-
|
|
21111
|
+
Ot(),
|
|
21112
21112
|
bc()
|
|
21113
21113
|
]);
|
|
21114
21114
|
}
|
|
@@ -21219,7 +21219,7 @@ function W2() {
|
|
|
21219
21219
|
H6(),
|
|
21220
21220
|
mc(),
|
|
21221
21221
|
Br(),
|
|
21222
|
-
|
|
21222
|
+
Ot(),
|
|
21223
21223
|
bc(),
|
|
21224
21224
|
hi(),
|
|
21225
21225
|
qt(),
|
|
@@ -21279,7 +21279,7 @@ function H2() {
|
|
|
21279
21279
|
return d.union([
|
|
21280
21280
|
mc(),
|
|
21281
21281
|
Br(),
|
|
21282
|
-
|
|
21282
|
+
Ot(),
|
|
21283
21283
|
bc(),
|
|
21284
21284
|
hi(),
|
|
21285
21285
|
fa(),
|
|
@@ -21370,7 +21370,7 @@ function j6() {
|
|
|
21370
21370
|
function k6() {
|
|
21371
21371
|
return F6().merge(j6());
|
|
21372
21372
|
}
|
|
21373
|
-
function
|
|
21373
|
+
function Ot() {
|
|
21374
21374
|
return d.union([
|
|
21375
21375
|
d.object({
|
|
21376
21376
|
type: d.literal(n.FunctionDeclaration)
|
|
@@ -21465,7 +21465,7 @@ function Z6() {
|
|
|
21465
21465
|
function K6() {
|
|
21466
21466
|
return d.object({
|
|
21467
21467
|
entities: d.array(Br()),
|
|
21468
|
-
functions: d.array(
|
|
21468
|
+
functions: d.array(Ot()),
|
|
21469
21469
|
events: d.array(Tc()),
|
|
21470
21470
|
projects: d.array(mc()),
|
|
21471
21471
|
variableDeclarations: d.array(yc()),
|
|
@@ -21541,7 +21541,7 @@ function tj() {
|
|
|
21541
21541
|
function nj() {
|
|
21542
21542
|
return d.object({
|
|
21543
21543
|
properties: d.array(dr()),
|
|
21544
|
-
methods: d.array(
|
|
21544
|
+
methods: d.array(Ot()),
|
|
21545
21545
|
abstractMethods: d.array(Kt()),
|
|
21546
21546
|
extends: d.array(
|
|
21547
21547
|
d.union([Br(), wr()])
|
|
@@ -22377,11 +22377,11 @@ function Lc(r, e) {
|
|
|
22377
22377
|
return am(r, e, 1 / 0);
|
|
22378
22378
|
}
|
|
22379
22379
|
ie.iteratee = Lc;
|
|
22380
|
-
function
|
|
22380
|
+
function It(r, e, t) {
|
|
22381
22381
|
return ie.iteratee !== Lc ? ie.iteratee(r, e) : am(r, e, t);
|
|
22382
22382
|
}
|
|
22383
22383
|
function a3(r, e, t) {
|
|
22384
|
-
e =
|
|
22384
|
+
e = It(e, t);
|
|
22385
22385
|
for (var i = He(r), a = i.length, s = {}, o = 0; o < a; o++) {
|
|
22386
22386
|
var l = i[o];
|
|
22387
22387
|
s[l] = e(r[l], l, r);
|
|
@@ -22526,7 +22526,7 @@ const dm = vt(function(r, e, t) {
|
|
|
22526
22526
|
return cm(r, i, e, this, t.concat(a));
|
|
22527
22527
|
});
|
|
22528
22528
|
return i;
|
|
22529
|
-
}),
|
|
22529
|
+
}), Ct = qf(Rt);
|
|
22530
22530
|
function br(r, e, t, i) {
|
|
22531
22531
|
if (i = i || [], !e && e !== 0)
|
|
22532
22532
|
e = 1 / 0;
|
|
@@ -22534,7 +22534,7 @@ function br(r, e, t, i) {
|
|
|
22534
22534
|
return i.concat(r);
|
|
22535
22535
|
for (var a = i.length, s = 0, o = Rt(r); s < o; s++) {
|
|
22536
22536
|
var l = r[s];
|
|
22537
|
-
if (
|
|
22537
|
+
if (Ct(l) && (Tr(l) || Bc(l)))
|
|
22538
22538
|
if (e > 1)
|
|
22539
22539
|
br(l, e - 1, t, i), a = i.length;
|
|
22540
22540
|
else
|
|
@@ -22624,14 +22624,14 @@ function pm(r, e) {
|
|
|
22624
22624
|
}
|
|
22625
22625
|
const C3 = mi(pm, 2);
|
|
22626
22626
|
function ym(r, e, t) {
|
|
22627
|
-
e =
|
|
22627
|
+
e = It(e, t);
|
|
22628
22628
|
for (var i = He(r), a, s = 0, o = i.length; s < o; s++)
|
|
22629
22629
|
if (a = i[s], e(r[a], a, r))
|
|
22630
22630
|
return a;
|
|
22631
22631
|
}
|
|
22632
22632
|
function hm(r) {
|
|
22633
22633
|
return function(e, t, i) {
|
|
22634
|
-
t =
|
|
22634
|
+
t = It(t, i);
|
|
22635
22635
|
for (var a = Rt(e), s = r > 0 ? 0 : a - 1; s >= 0 && s < a; s += r)
|
|
22636
22636
|
if (t(e[s], s, e))
|
|
22637
22637
|
return s;
|
|
@@ -22640,7 +22640,7 @@ function hm(r) {
|
|
|
22640
22640
|
}
|
|
22641
22641
|
const Uc = hm(1), fm = hm(-1);
|
|
22642
22642
|
function mm(r, e, t, i) {
|
|
22643
|
-
t =
|
|
22643
|
+
t = It(t, i, 1);
|
|
22644
22644
|
for (var a = t(e), s = 0, o = Rt(r); s < o; ) {
|
|
22645
22645
|
var l = Math.floor((s + o) / 2);
|
|
22646
22646
|
t(r[l]) < a ? s = l + 1 : o = l;
|
|
@@ -22664,7 +22664,7 @@ function Tm(r, e, t) {
|
|
|
22664
22664
|
}
|
|
22665
22665
|
const bm = Tm(1, Uc, mm), w3 = Tm(-1, fm);
|
|
22666
22666
|
function go(r, e, t) {
|
|
22667
|
-
var i =
|
|
22667
|
+
var i = Ct(r) ? Uc : ym, a = i(r, e, t);
|
|
22668
22668
|
if (a !== void 0 && a !== -1)
|
|
22669
22669
|
return r[a];
|
|
22670
22670
|
}
|
|
@@ -22674,7 +22674,7 @@ function B3(r, e) {
|
|
|
22674
22674
|
function pn(r, e, t) {
|
|
22675
22675
|
e = Ia(e, t);
|
|
22676
22676
|
var i, a;
|
|
22677
|
-
if (
|
|
22677
|
+
if (Ct(r))
|
|
22678
22678
|
for (i = 0, a = r.length; i < a; i++)
|
|
22679
22679
|
e(r[i], i, r);
|
|
22680
22680
|
else {
|
|
@@ -22685,8 +22685,8 @@ function pn(r, e, t) {
|
|
|
22685
22685
|
return r;
|
|
22686
22686
|
}
|
|
22687
22687
|
function Yn(r, e, t) {
|
|
22688
|
-
e =
|
|
22689
|
-
for (var i = !
|
|
22688
|
+
e = It(e, t);
|
|
22689
|
+
for (var i = !Ct(r) && He(r), a = (i || r).length, s = Array(a), o = 0; o < a; o++) {
|
|
22690
22690
|
var l = i ? i[o] : o;
|
|
22691
22691
|
s[o] = e(r[l], l, r);
|
|
22692
22692
|
}
|
|
@@ -22694,7 +22694,7 @@ function Yn(r, e, t) {
|
|
|
22694
22694
|
}
|
|
22695
22695
|
function Em(r) {
|
|
22696
22696
|
var e = function(t, i, a, s) {
|
|
22697
|
-
var o = !
|
|
22697
|
+
var o = !Ct(t) && He(t), l = (o || t).length, u = r > 0 ? 0 : l - 1;
|
|
22698
22698
|
for (s || (a = t[o ? o[u] : u], u += r); u >= 0 && u < l; u += r) {
|
|
22699
22699
|
var p = o ? o[u] : u;
|
|
22700
22700
|
a = i(a, t[p], p, t);
|
|
@@ -22709,16 +22709,16 @@ function Em(r) {
|
|
|
22709
22709
|
const no = Em(1), bd = Em(-1);
|
|
22710
22710
|
function _r(r, e, t) {
|
|
22711
22711
|
var i = [];
|
|
22712
|
-
return e =
|
|
22712
|
+
return e = It(e, t), pn(r, function(a, s, o) {
|
|
22713
22713
|
e(a, s, o) && i.push(a);
|
|
22714
22714
|
}), i;
|
|
22715
22715
|
}
|
|
22716
22716
|
function _3(r, e, t) {
|
|
22717
|
-
return _r(r, Fc(
|
|
22717
|
+
return _r(r, Fc(It(e)), t);
|
|
22718
22718
|
}
|
|
22719
22719
|
function Ed(r, e, t) {
|
|
22720
|
-
e =
|
|
22721
|
-
for (var i = !
|
|
22720
|
+
e = It(e, t);
|
|
22721
|
+
for (var i = !Ct(r) && He(r), a = (i || r).length, s = 0; s < a; s++) {
|
|
22722
22722
|
var o = i ? i[s] : s;
|
|
22723
22723
|
if (!e(r[o], o, r))
|
|
22724
22724
|
return !1;
|
|
@@ -22726,8 +22726,8 @@ function Ed(r, e, t) {
|
|
|
22726
22726
|
return !0;
|
|
22727
22727
|
}
|
|
22728
22728
|
function vd(r, e, t) {
|
|
22729
|
-
e =
|
|
22730
|
-
for (var i = !
|
|
22729
|
+
e = It(e, t);
|
|
22730
|
+
for (var i = !Ct(r) && He(r), a = (i || r).length, s = 0; s < a; s++) {
|
|
22731
22731
|
var o = i ? i[s] : s;
|
|
22732
22732
|
if (e(r[o], o, r))
|
|
22733
22733
|
return !0;
|
|
@@ -22735,7 +22735,7 @@ function vd(r, e, t) {
|
|
|
22735
22735
|
return !1;
|
|
22736
22736
|
}
|
|
22737
22737
|
function on(r, e, t, i) {
|
|
22738
|
-
return
|
|
22738
|
+
return Ct(r) || (r = fi(r)), (typeof t != "number" || i) && (t = 0), bm(r, e, t) >= 0;
|
|
22739
22739
|
}
|
|
22740
22740
|
const M3 = vt(function(r, e, t) {
|
|
22741
22741
|
var i, a;
|
|
@@ -22758,11 +22758,11 @@ function N3(r, e) {
|
|
|
22758
22758
|
function vm(r, e, t) {
|
|
22759
22759
|
var i = -1 / 0, a = -1 / 0, s, o;
|
|
22760
22760
|
if (e == null || typeof e == "number" && typeof r[0] != "object" && r != null) {
|
|
22761
|
-
r =
|
|
22761
|
+
r = Ct(r) ? r : fi(r);
|
|
22762
22762
|
for (var l = 0, u = r.length; l < u; l++)
|
|
22763
22763
|
s = r[l], s != null && s > i && (i = s);
|
|
22764
22764
|
} else
|
|
22765
|
-
e =
|
|
22765
|
+
e = It(e, t), pn(r, function(p, h, f) {
|
|
22766
22766
|
o = e(p, h, f), (o > a || o === -1 / 0 && i === -1 / 0) && (i = p, a = o);
|
|
22767
22767
|
});
|
|
22768
22768
|
return i;
|
|
@@ -22770,22 +22770,22 @@ function vm(r, e, t) {
|
|
|
22770
22770
|
function V3(r, e, t) {
|
|
22771
22771
|
var i = 1 / 0, a = 1 / 0, s, o;
|
|
22772
22772
|
if (e == null || typeof e == "number" && typeof r[0] != "object" && r != null) {
|
|
22773
|
-
r =
|
|
22773
|
+
r = Ct(r) ? r : fi(r);
|
|
22774
22774
|
for (var l = 0, u = r.length; l < u; l++)
|
|
22775
22775
|
s = r[l], s != null && s < i && (i = s);
|
|
22776
22776
|
} else
|
|
22777
|
-
e =
|
|
22777
|
+
e = It(e, t), pn(r, function(p, h, f) {
|
|
22778
22778
|
o = e(p, h, f), (o < a || o === 1 / 0 && i === 1 / 0) && (i = p, a = o);
|
|
22779
22779
|
});
|
|
22780
22780
|
return i;
|
|
22781
22781
|
}
|
|
22782
22782
|
var x3 = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;
|
|
22783
22783
|
function Rm(r) {
|
|
22784
|
-
return r ? Tr(r) ? va.call(r) : Cc(r) ? r.match(x3) :
|
|
22784
|
+
return r ? Tr(r) ? va.call(r) : Cc(r) ? r.match(x3) : Ct(r) ? Yn(r, $c) : fi(r) : [];
|
|
22785
22785
|
}
|
|
22786
22786
|
function gm(r, e, t) {
|
|
22787
22787
|
if (e == null || t)
|
|
22788
|
-
return
|
|
22788
|
+
return Ct(r) || (r = fi(r)), r[Ro(r.length - 1)];
|
|
22789
22789
|
var i = Rm(r), a = Rt(i);
|
|
22790
22790
|
e = Math.max(Math.min(e, a), 0);
|
|
22791
22791
|
for (var s = a - 1, o = 0; o < e; o++) {
|
|
@@ -22799,7 +22799,7 @@ function $3(r) {
|
|
|
22799
22799
|
}
|
|
22800
22800
|
function G3(r, e, t) {
|
|
22801
22801
|
var i = 0;
|
|
22802
|
-
return e =
|
|
22802
|
+
return e = It(e, t), jc(Yn(r, function(a, s, o) {
|
|
22803
22803
|
return {
|
|
22804
22804
|
value: a,
|
|
22805
22805
|
index: i++,
|
|
@@ -22819,7 +22819,7 @@ function G3(r, e, t) {
|
|
|
22819
22819
|
function Us(r, e) {
|
|
22820
22820
|
return function(t, i, a) {
|
|
22821
22821
|
var s = e ? [[], []] : {};
|
|
22822
|
-
return i =
|
|
22822
|
+
return i = It(i, a), pn(t, function(o, l) {
|
|
22823
22823
|
var u = i(o, l, t);
|
|
22824
22824
|
r(s, o, u);
|
|
22825
22825
|
}), s;
|
|
@@ -22835,7 +22835,7 @@ const L3 = Us(function(r, e, t) {
|
|
|
22835
22835
|
r[t ? 0 : 1].push(e);
|
|
22836
22836
|
}, !0);
|
|
22837
22837
|
function k3(r) {
|
|
22838
|
-
return r == null ? 0 :
|
|
22838
|
+
return r == null ? 0 : Ct(r) ? r.length : He(r).length;
|
|
22839
22839
|
}
|
|
22840
22840
|
function q3(r, e, t) {
|
|
22841
22841
|
return e in t;
|
|
@@ -22882,7 +22882,7 @@ const Pm = vt(function(r, e) {
|
|
|
22882
22882
|
return Pm(r, e);
|
|
22883
22883
|
});
|
|
22884
22884
|
function Io(r, e, t, i) {
|
|
22885
|
-
Vf(e) || (i = t, t = e, e = !1), t != null && (t =
|
|
22885
|
+
Vf(e) || (i = t, t = e, e = !1), t != null && (t = It(t, i));
|
|
22886
22886
|
for (var a = [], s = [], o = 0, l = Rt(r); o < l; o++) {
|
|
22887
22887
|
var u = r[o], p = t ? t(u, o, r) : u;
|
|
22888
22888
|
e && !t ? ((!o || s !== p) && a.push(u), s = p) : t ? on(s, p) || (s.push(p), a.push(u)) : on(a, u) || a.push(u);
|
|
@@ -23270,7 +23270,7 @@ function Ht(r, e) {
|
|
|
23270
23270
|
}
|
|
23271
23271
|
function Z2(r) {
|
|
23272
23272
|
const e = r.project.builtInBaseEntities.find(
|
|
23273
|
-
(a) => a.id ===
|
|
23273
|
+
(a) => a.id === G.EXECUTION
|
|
23274
23274
|
), t = {
|
|
23275
23275
|
id: r.id + "--infered-data-type",
|
|
23276
23276
|
version: 1,
|
|
@@ -23473,17 +23473,17 @@ function io(r) {
|
|
|
23473
23473
|
}
|
|
23474
23474
|
}
|
|
23475
23475
|
function p5(r) {
|
|
23476
|
-
return r.includes(
|
|
23476
|
+
return r.includes(G.HTTP_ENDPOINT) ? "HTTP endpoint" : r.includes(G.PERSISTED_ENTITY) ? "Persisted entity" : r.includes(G.CRON_JOB) ? "Scheduled execution" : r.includes(G.RELATIONAL_DATABASE) ? "Relational database" : "Entity";
|
|
23477
23477
|
}
|
|
23478
23478
|
function y5(r) {
|
|
23479
23479
|
switch (r.name) {
|
|
23480
|
-
case
|
|
23480
|
+
case G.HTTP_ENDPOINT:
|
|
23481
23481
|
return "HTTP endpoint";
|
|
23482
|
-
case
|
|
23482
|
+
case G.PERSISTED_ENTITY:
|
|
23483
23483
|
return "Persisted entity";
|
|
23484
|
-
case
|
|
23484
|
+
case G.CRON_JOB:
|
|
23485
23485
|
return "Scheduled execution";
|
|
23486
|
-
case
|
|
23486
|
+
case G.RELATIONAL_DATABASE:
|
|
23487
23487
|
return "Relational database";
|
|
23488
23488
|
}
|
|
23489
23489
|
return "Entity";
|
|
@@ -23492,7 +23492,7 @@ function h5(r) {
|
|
|
23492
23492
|
const e = Ck(r);
|
|
23493
23493
|
if (!e) {
|
|
23494
23494
|
const t = Sk(r);
|
|
23495
|
-
return t.includes(
|
|
23495
|
+
return t.includes(G.HTTP_ENDPOINT) ? "HTTP endpoint" : t.includes(G.PERSISTED_ENTITY) ? "Persisted entity" : t.includes(G.CRON_JOB) ? "Scheduled execution" : t.includes(G.RELATIONAL_DATABASE) ? "Relational database" : O(r, r.project) + " entity";
|
|
23496
23496
|
}
|
|
23497
23497
|
return O(e, r.project) + " entity";
|
|
23498
23498
|
}
|
|
@@ -23643,13 +23643,13 @@ function O(r, e) {
|
|
|
23643
23643
|
var t;
|
|
23644
23644
|
if (n.FunctionDeclaration === r.type) {
|
|
23645
23645
|
const i = r.name;
|
|
23646
|
-
if (Object.values(
|
|
23646
|
+
if (Object.values(Bt).includes(i))
|
|
23647
23647
|
switch (i) {
|
|
23648
|
-
case
|
|
23648
|
+
case Bt.AbortExecution:
|
|
23649
23649
|
return "Abort execution";
|
|
23650
|
-
case
|
|
23650
|
+
case Bt.DeletePersistedEntity:
|
|
23651
23651
|
return "Delete persisted entity";
|
|
23652
|
-
case
|
|
23652
|
+
case Bt.SoftDeletePersistedEntity:
|
|
23653
23653
|
return "Soft delete persisted entity";
|
|
23654
23654
|
default:
|
|
23655
23655
|
return Po(r.type).replaceAll("-", " ");
|
|
@@ -23666,18 +23666,18 @@ function O(r, e) {
|
|
|
23666
23666
|
case n.Operation:
|
|
23667
23667
|
case n.InternalCall:
|
|
23668
23668
|
case n.Loop:
|
|
23669
|
-
const i =
|
|
23669
|
+
const i = wt(r.declaration, e);
|
|
23670
23670
|
return O(i, e);
|
|
23671
23671
|
case n.ActionDescriptor:
|
|
23672
23672
|
return T5(r);
|
|
23673
23673
|
case n.BreakStatement:
|
|
23674
|
-
const a =
|
|
23674
|
+
const a = wt(
|
|
23675
23675
|
r.parent,
|
|
23676
23676
|
e
|
|
23677
23677
|
);
|
|
23678
23678
|
return `Stop loop ${O(a, e)}`;
|
|
23679
23679
|
case n.ContinueStatement:
|
|
23680
|
-
const s =
|
|
23680
|
+
const s = wt(
|
|
23681
23681
|
r.parent,
|
|
23682
23682
|
e
|
|
23683
23683
|
);
|
|
@@ -23686,7 +23686,7 @@ function O(r, e) {
|
|
|
23686
23686
|
e
|
|
23687
23687
|
)}`;
|
|
23688
23688
|
case n.FunctionCall:
|
|
23689
|
-
return
|
|
23689
|
+
return wt(
|
|
23690
23690
|
r.declaration,
|
|
23691
23691
|
e
|
|
23692
23692
|
).name;
|
|
@@ -23710,12 +23710,12 @@ function O(r, e) {
|
|
|
23710
23710
|
return `If ${io(l)}`;
|
|
23711
23711
|
}
|
|
23712
23712
|
case n.ReturnStatement: {
|
|
23713
|
-
const l =
|
|
23713
|
+
const l = wt(r.parent, e);
|
|
23714
23714
|
return `Output of ${O(l, e)}`;
|
|
23715
23715
|
}
|
|
23716
23716
|
case n.InputMap:
|
|
23717
23717
|
if (r.declaration) {
|
|
23718
|
-
const l =
|
|
23718
|
+
const l = wt(
|
|
23719
23719
|
r.declaration,
|
|
23720
23720
|
e
|
|
23721
23721
|
);
|
|
@@ -23723,7 +23723,7 @@ function O(r, e) {
|
|
|
23723
23723
|
} else
|
|
23724
23724
|
return r.name || "";
|
|
23725
23725
|
case n.VariableInstance: {
|
|
23726
|
-
const l =
|
|
23726
|
+
const l = wt(
|
|
23727
23727
|
r.declaration,
|
|
23728
23728
|
e
|
|
23729
23729
|
);
|
|
@@ -23731,7 +23731,7 @@ function O(r, e) {
|
|
|
23731
23731
|
}
|
|
23732
23732
|
case n.OutputMap:
|
|
23733
23733
|
if (r.declaration) {
|
|
23734
|
-
const l =
|
|
23734
|
+
const l = wt(
|
|
23735
23735
|
r.declaration,
|
|
23736
23736
|
e
|
|
23737
23737
|
);
|
|
@@ -23817,7 +23817,7 @@ function Mm(r, e) {
|
|
|
23817
23817
|
issue: null
|
|
23818
23818
|
})
|
|
23819
23819
|
);
|
|
23820
|
-
const i = r.parent &&
|
|
23820
|
+
const i = r.parent && wt(r.parent, e) || e;
|
|
23821
23821
|
if (!i)
|
|
23822
23822
|
t.push(
|
|
23823
23823
|
new T({
|
|
@@ -24588,12 +24588,14 @@ ${So}`,
|
|
|
24588
24588
|
return ((e = this.dataType) == null ? void 0 : e.defaultValue) || null;
|
|
24589
24589
|
}
|
|
24590
24590
|
clone(e = null, t = null, i = !0) {
|
|
24591
|
-
var
|
|
24591
|
+
var f;
|
|
24592
24592
|
const a = t || We(
|
|
24593
24593
|
O(this, this.project),
|
|
24594
24594
|
n.Property,
|
|
24595
24595
|
this.project
|
|
24596
|
-
), s = a.split("-id"), o = s[s.length - 1 || 0] || a
|
|
24596
|
+
), s = a.split("-id"), o = s[s.length - 1 || 0] || a;
|
|
24597
|
+
let l = e || this.parent;
|
|
24598
|
+
const u = {
|
|
24597
24599
|
hidden: !1,
|
|
24598
24600
|
id: a,
|
|
24599
24601
|
version: this.version,
|
|
@@ -24607,18 +24609,18 @@ ${So}`,
|
|
|
24607
24609
|
static: this.static,
|
|
24608
24610
|
dataType: null,
|
|
24609
24611
|
implements: null,
|
|
24610
|
-
parent:
|
|
24611
|
-
},
|
|
24612
|
-
|
|
24612
|
+
parent: l
|
|
24613
|
+
}, p = Yt(
|
|
24614
|
+
u,
|
|
24613
24615
|
this.project
|
|
24614
24616
|
);
|
|
24615
|
-
i &&
|
|
24616
|
-
const
|
|
24617
|
-
|
|
24617
|
+
i && p.subscribe(), p.setParent(l);
|
|
24618
|
+
const h = ((f = this.dataType) == null ? void 0 : f.clone(
|
|
24619
|
+
p,
|
|
24618
24620
|
o + "-data-type-id",
|
|
24619
24621
|
i
|
|
24620
24622
|
)) || null;
|
|
24621
|
-
return
|
|
24623
|
+
return h && p.setDataType(h), p;
|
|
24622
24624
|
}
|
|
24623
24625
|
setDataType(e) {
|
|
24624
24626
|
return this.dataType = e, this;
|
|
@@ -24667,7 +24669,7 @@ let Mr = pe;
|
|
|
24667
24669
|
function R5(r) {
|
|
24668
24670
|
const e = Y6(), t = r.toJSON();
|
|
24669
24671
|
e.safeParse(t).success;
|
|
24670
|
-
const a = g5(r), s = I5(r), o =
|
|
24672
|
+
const a = g5(r), s = I5(r), o = At(r);
|
|
24671
24673
|
r.inputs.forEach((u) => u.validate()), o.forEach((u) => u.validate());
|
|
24672
24674
|
const l = [...a, ...s];
|
|
24673
24675
|
if (r.id === "getCompanyByIdEndpointReachedEntityEvent") {
|
|
@@ -24834,8 +24836,8 @@ ${zn}`, a.push(
|
|
|
24834
24836
|
} else {
|
|
24835
24837
|
const D = f.methods.find(
|
|
24836
24838
|
(x) => {
|
|
24837
|
-
var
|
|
24838
|
-
return ((
|
|
24839
|
+
var $;
|
|
24840
|
+
return (($ = x.implements) == null ? void 0 : $.id) === i.implements;
|
|
24839
24841
|
}
|
|
24840
24842
|
);
|
|
24841
24843
|
D && a.push(
|
|
@@ -25032,7 +25034,7 @@ Please consider that any updates might affect the overlap with the signature of
|
|
|
25032
25034
|
seenEntities: t
|
|
25033
25035
|
});
|
|
25034
25036
|
i.push(...l), a.push(...u);
|
|
25035
|
-
}),
|
|
25037
|
+
}), At(this).forEach((o) => {
|
|
25036
25038
|
const { affected: l, removed: u } = o.remove({
|
|
25037
25039
|
ignoreUpstream: !0,
|
|
25038
25040
|
seenEntities: t
|
|
@@ -25053,7 +25055,7 @@ Please consider that any updates might affect the overlap with the signature of
|
|
|
25053
25055
|
return e.has(this.id) ? { affected: [], self: this } : (e.add(this.id), this.subscribe(), this.inputs.forEach((a) => {
|
|
25054
25056
|
const { affected: s } = a.restore({ seenEntities: e });
|
|
25055
25057
|
t.push(...s);
|
|
25056
|
-
}),
|
|
25058
|
+
}), At(this).forEach((a) => {
|
|
25057
25059
|
const { affected: s } = a.restore({ seenEntities: e });
|
|
25058
25060
|
t.push(...s);
|
|
25059
25061
|
}), {
|
|
@@ -25065,7 +25067,7 @@ Please consider that any updates might affect the overlap with the signature of
|
|
|
25065
25067
|
if (e.has(this.id))
|
|
25066
25068
|
return [];
|
|
25067
25069
|
e.add(this.id);
|
|
25068
|
-
const t =
|
|
25070
|
+
const t = At(this);
|
|
25069
25071
|
return [
|
|
25070
25072
|
this,
|
|
25071
25073
|
...this.inputs.flatMap((a) => a.toFlat(e)),
|
|
@@ -25081,7 +25083,7 @@ Please consider that any updates might affect the overlap with the signature of
|
|
|
25081
25083
|
if (e.has(this.id))
|
|
25082
25084
|
return [];
|
|
25083
25085
|
e.add(this.id);
|
|
25084
|
-
const t =
|
|
25086
|
+
const t = At(this);
|
|
25085
25087
|
return [
|
|
25086
25088
|
this.id,
|
|
25087
25089
|
...this.inputs.flatMap((a) => a.toFlatIds(e)),
|
|
@@ -25193,7 +25195,7 @@ Please consider that any updates might affect the overlap with the signature of
|
|
|
25193
25195
|
}
|
|
25194
25196
|
// Returns the errors of this entity and all its nested entities recursively
|
|
25195
25197
|
getErrors() {
|
|
25196
|
-
const e =
|
|
25198
|
+
const e = At(this);
|
|
25197
25199
|
return [
|
|
25198
25200
|
...this.errors,
|
|
25199
25201
|
...this.inputs.flatMap((i) => i.getErrors()),
|
|
@@ -25913,47 +25915,63 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
25913
25915
|
return this.errors;
|
|
25914
25916
|
}
|
|
25915
25917
|
clone(e = null, t = null, i = !0) {
|
|
25916
|
-
var
|
|
25917
|
-
|
|
25918
|
+
var R, D, P, g;
|
|
25919
|
+
let a = e || this.parent;
|
|
25920
|
+
const s = t || We(
|
|
25918
25921
|
Bm(this),
|
|
25919
25922
|
n.DataType,
|
|
25920
25923
|
this.project
|
|
25921
|
-
), o = s.split("-id"), l = o[o.length - 1 || 0] || s
|
|
25922
|
-
|
|
25923
|
-
|
|
25924
|
-
|
|
25924
|
+
), o = s.split("-id"), l = o[o.length - 1 || 0] || s, u = {
|
|
25925
|
+
id: s,
|
|
25926
|
+
version: 1,
|
|
25927
|
+
type: n.DataType,
|
|
25928
|
+
isNullable: this.isNullable,
|
|
25929
|
+
isList: this.isList,
|
|
25930
|
+
constant: this.constant,
|
|
25931
|
+
asType: this.asType,
|
|
25932
|
+
options: this.options,
|
|
25933
|
+
parentRelationType: this.parentRelationType,
|
|
25934
|
+
like: this.like,
|
|
25935
|
+
inferred: this.inferred,
|
|
25936
|
+
defaultValue: null,
|
|
25937
|
+
andChildrenGroup: null,
|
|
25938
|
+
orChildrenGroup: null,
|
|
25939
|
+
entity: null,
|
|
25940
|
+
parent: a.toReference()
|
|
25941
|
+
}, p = Yt(
|
|
25942
|
+
u,
|
|
25925
25943
|
this.project
|
|
25926
25944
|
);
|
|
25927
|
-
e &&
|
|
25928
|
-
const
|
|
25929
|
-
|
|
25945
|
+
e && p.setParent(e), i && p.subscribe(), p.initChildren();
|
|
25946
|
+
const h = (R = this.defaultValue) == null ? void 0 : R.clone(
|
|
25947
|
+
p,
|
|
25930
25948
|
l + "-default-value-id",
|
|
25931
25949
|
i
|
|
25932
25950
|
);
|
|
25933
|
-
|
|
25934
|
-
const
|
|
25935
|
-
(
|
|
25951
|
+
p.defaultValue = h || null;
|
|
25952
|
+
const f = (D = this.andChildrenGroup) == null ? void 0 : D.map(
|
|
25953
|
+
(x, $) => x.clone(
|
|
25936
25954
|
this,
|
|
25937
|
-
l + "-and-group-data-type-" +
|
|
25955
|
+
l + "-and-group-data-type-" + $ + "-id",
|
|
25938
25956
|
i
|
|
25939
25957
|
)
|
|
25940
|
-
),
|
|
25941
|
-
(
|
|
25958
|
+
), b = (P = this.orChildrenGroup) == null ? void 0 : P.map(
|
|
25959
|
+
(x, $) => x.clone(
|
|
25942
25960
|
this,
|
|
25943
|
-
l + "-or-group-data-type-" +
|
|
25961
|
+
l + "-or-group-data-type-" + $ + "-id",
|
|
25944
25962
|
i
|
|
25945
25963
|
)
|
|
25946
25964
|
);
|
|
25947
|
-
if (
|
|
25948
|
-
const
|
|
25949
|
-
|
|
25965
|
+
if (p.andChildrenGroup = f || null, p.orChildrenGroup = b || null, this.entity && this.entity.type === n.CustomEntity && ((g = this.entity) == null ? void 0 : g.parent) === this) {
|
|
25966
|
+
const x = this.entity.clone(
|
|
25967
|
+
p,
|
|
25950
25968
|
l + "-inferred-entity-id",
|
|
25951
25969
|
i
|
|
25952
25970
|
);
|
|
25953
|
-
|
|
25971
|
+
p.setEntity(x);
|
|
25954
25972
|
} else
|
|
25955
|
-
this.entity &&
|
|
25956
|
-
return
|
|
25973
|
+
this.entity && p.setEntity(this.entity);
|
|
25974
|
+
return p;
|
|
25957
25975
|
}
|
|
25958
25976
|
// This function merges a given source entity with the current one
|
|
25959
25977
|
// The goal is to keep the current instance with the current id
|
|
@@ -26814,7 +26832,7 @@ let Vr = se;
|
|
|
26814
26832
|
function O5(r) {
|
|
26815
26833
|
const e = N6(), t = r.toJSON();
|
|
26816
26834
|
e.safeParse(t).success;
|
|
26817
|
-
const a =
|
|
26835
|
+
const a = At(r);
|
|
26818
26836
|
r.inputs.forEach((o) => o.validate()), a.forEach((o) => o.validate());
|
|
26819
26837
|
const s = [];
|
|
26820
26838
|
return ae(r.errors, s);
|
|
@@ -27077,7 +27095,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
27077
27095
|
seenEntities: t
|
|
27078
27096
|
});
|
|
27079
27097
|
i.push(...l), a.push(...u);
|
|
27080
|
-
}),
|
|
27098
|
+
}), At(this).forEach((o) => {
|
|
27081
27099
|
const { affected: l, removed: u } = o.remove({
|
|
27082
27100
|
ignoreUpstream: !0,
|
|
27083
27101
|
seenEntities: t
|
|
@@ -27098,7 +27116,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
27098
27116
|
return e.has(this.id) ? { affected: [], self: this } : (e.add(this.id), this.subscribe(), this.inputs.forEach((a) => {
|
|
27099
27117
|
const { affected: s } = a.restore({ seenEntities: e });
|
|
27100
27118
|
t.push(...s);
|
|
27101
|
-
}),
|
|
27119
|
+
}), At(this).forEach((a) => {
|
|
27102
27120
|
const { affected: s } = a.restore({ seenEntities: e });
|
|
27103
27121
|
t.push(...s);
|
|
27104
27122
|
}), {
|
|
@@ -27110,7 +27128,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
27110
27128
|
if (e.has(this.id))
|
|
27111
27129
|
return [];
|
|
27112
27130
|
e.add(this.id);
|
|
27113
|
-
const t =
|
|
27131
|
+
const t = At(this);
|
|
27114
27132
|
return [
|
|
27115
27133
|
this,
|
|
27116
27134
|
...this.inputs.flatMap((a) => a.toFlat(e)),
|
|
@@ -27126,7 +27144,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
27126
27144
|
if (e.has(this.id))
|
|
27127
27145
|
return [];
|
|
27128
27146
|
e.add(this.id);
|
|
27129
|
-
const t =
|
|
27147
|
+
const t = At(this);
|
|
27130
27148
|
return [
|
|
27131
27149
|
this.id,
|
|
27132
27150
|
...this.inputs.flatMap((a) => a.toFlatIds(e)),
|
|
@@ -27222,7 +27240,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
27222
27240
|
}
|
|
27223
27241
|
// Returns the errors of this entity and all its nested entities recursively
|
|
27224
27242
|
getErrors() {
|
|
27225
|
-
const e =
|
|
27243
|
+
const e = At(this);
|
|
27226
27244
|
return [
|
|
27227
27245
|
...this.errors,
|
|
27228
27246
|
...this.inputs.flatMap((i) => i.getErrors()),
|
|
@@ -28010,18 +28028,18 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28010
28028
|
}), l.forEach((b) => {
|
|
28011
28029
|
const R = b.getDataType();
|
|
28012
28030
|
let P = u.find(
|
|
28013
|
-
(
|
|
28031
|
+
($) => O($, this.project) === J.fromReturnDeclarationToBodyArgumentDeclarationName(
|
|
28014
28032
|
b
|
|
28015
|
-
) && Ht(
|
|
28033
|
+
) && Ht($.dataType, b.dataType)
|
|
28016
28034
|
);
|
|
28017
28035
|
if (!P) {
|
|
28018
|
-
const
|
|
28036
|
+
const $ = J.fromReturnDeclarationToBodyArgumentDeclarationName(
|
|
28019
28037
|
b
|
|
28020
28038
|
), ee = {
|
|
28021
28039
|
id: B.UUID.uuid(),
|
|
28022
28040
|
version: 1,
|
|
28023
28041
|
type: n.ArgumentDeclaration,
|
|
28024
|
-
name:
|
|
28042
|
+
name: $,
|
|
28025
28043
|
description: `Aggretated list of all previously outputted values from each iteration by the output '${O(
|
|
28026
28044
|
b,
|
|
28027
28045
|
this.project
|
|
@@ -28047,14 +28065,14 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28047
28065
|
R
|
|
28048
28066
|
)) {
|
|
28049
28067
|
if (!x) {
|
|
28050
|
-
const
|
|
28051
|
-
|
|
28068
|
+
const $ = R.clone(P);
|
|
28069
|
+
$.addSelfToProject(), x = $, t.push($), e.push(P);
|
|
28052
28070
|
}
|
|
28053
28071
|
x.merge(R), x.sync({ isList: !0 });
|
|
28054
28072
|
} else
|
|
28055
28073
|
x.isList || (x.sync({ isList: !0 }), e.push(x));
|
|
28056
28074
|
if (!R && !x) {
|
|
28057
|
-
const
|
|
28075
|
+
const $ = {
|
|
28058
28076
|
id: B.UUID.uuid(),
|
|
28059
28077
|
version: 1,
|
|
28060
28078
|
type: n.DataType,
|
|
@@ -28070,7 +28088,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28070
28088
|
orChildrenGroup: [],
|
|
28071
28089
|
parent: P.toReference()
|
|
28072
28090
|
}, ee = E(
|
|
28073
|
-
|
|
28091
|
+
$,
|
|
28074
28092
|
this.project
|
|
28075
28093
|
);
|
|
28076
28094
|
ee.sync({ isList: !0 }), ee.setParent(P), ee.initChildren(), ee.addSelfToProject(), t.push(ee);
|
|
@@ -28382,8 +28400,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28382
28400
|
);
|
|
28383
28401
|
we.setParent(P), we.initChildren(), we.addSelfToProject(), t.push(we), x = we;
|
|
28384
28402
|
}
|
|
28385
|
-
const
|
|
28386
|
-
x.merge(
|
|
28403
|
+
const $ = R.getDataType();
|
|
28404
|
+
x.merge($), x.sync({ isList: !1 });
|
|
28387
28405
|
} else {
|
|
28388
28406
|
const P = {
|
|
28389
28407
|
id: B.UUID.uuid(),
|
|
@@ -28427,12 +28445,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28427
28445
|
D && (!b.implements || b.implements.id !== D.id) && (b.setImplements(D), e.push(b));
|
|
28428
28446
|
let x = b.getDataType();
|
|
28429
28447
|
if (x) {
|
|
28430
|
-
const
|
|
28448
|
+
const $ = this.project.getBuiltIn(
|
|
28431
28449
|
w["primitive-entity"].string.id
|
|
28432
28450
|
);
|
|
28433
|
-
((l = x.entity) == null ? void 0 : l.id) !==
|
|
28451
|
+
((l = x.entity) == null ? void 0 : l.id) !== $.id && (x.setEntity($), e.push(x));
|
|
28434
28452
|
} else {
|
|
28435
|
-
const
|
|
28453
|
+
const $ = {
|
|
28436
28454
|
id: B.UUID.uuid(),
|
|
28437
28455
|
version: 1,
|
|
28438
28456
|
type: n.DataType,
|
|
@@ -28448,7 +28466,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28448
28466
|
orChildrenGroup: [],
|
|
28449
28467
|
parent: P.toReference()
|
|
28450
28468
|
}, ee = E(
|
|
28451
|
-
|
|
28469
|
+
$,
|
|
28452
28470
|
this.project
|
|
28453
28471
|
);
|
|
28454
28472
|
ee.setParent(P), ee.initChildren(), ee.addSelfToProject(), x = ee;
|
|
@@ -28492,24 +28510,24 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28492
28510
|
D && (!b.implements || b.implements.id !== D.id) && (b.setImplements(D), e.push(b));
|
|
28493
28511
|
let x = b.getDataType();
|
|
28494
28512
|
if (x) {
|
|
28495
|
-
const
|
|
28513
|
+
const $ = R.getDataType(), ee = ((p = $ == null ? void 0 : $.entity) == null ? void 0 : p.properties) || [];
|
|
28496
28514
|
(h = x.orChildrenGroup) == null || h.forEach((we) => {
|
|
28497
|
-
const { affected:
|
|
28515
|
+
const { affected: Dt, removed: Pt } = we.remove({
|
|
28498
28516
|
ignoreUpstream: !1,
|
|
28499
28517
|
seenEntities: /* @__PURE__ */ new Set()
|
|
28500
28518
|
});
|
|
28501
|
-
e.push(...
|
|
28519
|
+
e.push(...Dt), i.push(...Pt);
|
|
28502
28520
|
}), ee.forEach((we) => {
|
|
28503
|
-
const
|
|
28504
|
-
if (
|
|
28505
|
-
const
|
|
28521
|
+
const Dt = we.getDataType();
|
|
28522
|
+
if (Dt) {
|
|
28523
|
+
const Pt = Dt.clone(
|
|
28506
28524
|
x
|
|
28507
28525
|
);
|
|
28508
|
-
|
|
28526
|
+
Pt.sync({
|
|
28509
28527
|
parentRelationType: Ke.OrDataTypeGroup
|
|
28510
|
-
}),
|
|
28528
|
+
}), Pt.addSelfToProject(), t.push(Pt);
|
|
28511
28529
|
} else {
|
|
28512
|
-
const
|
|
28530
|
+
const Pt = {
|
|
28513
28531
|
id: B.UUID.uuid(),
|
|
28514
28532
|
version: 1,
|
|
28515
28533
|
type: n.DataType,
|
|
@@ -28526,14 +28544,14 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28526
28544
|
parentRelationType: Ke.OrDataTypeGroup,
|
|
28527
28545
|
parent: x.toReference()
|
|
28528
28546
|
}, Fn = E(
|
|
28529
|
-
|
|
28547
|
+
Pt,
|
|
28530
28548
|
this.project
|
|
28531
28549
|
);
|
|
28532
28550
|
Fn.setParent(x), Fn.initChildren(), Fn.addSelfToProject(), t.push(Fn);
|
|
28533
28551
|
}
|
|
28534
28552
|
});
|
|
28535
28553
|
} else {
|
|
28536
|
-
const
|
|
28554
|
+
const $ = {
|
|
28537
28555
|
id: B.UUID.uuid(),
|
|
28538
28556
|
version: 1,
|
|
28539
28557
|
type: n.DataType,
|
|
@@ -28549,13 +28567,13 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28549
28567
|
orChildrenGroup: [],
|
|
28550
28568
|
parent: P.toReference()
|
|
28551
28569
|
}, ee = E(
|
|
28552
|
-
|
|
28570
|
+
$,
|
|
28553
28571
|
this.project
|
|
28554
28572
|
);
|
|
28555
28573
|
ee.setParent(P), ee.initChildren(), ee.addSelfToProject(), x = ee;
|
|
28556
28574
|
const we = R.getDataType();
|
|
28557
|
-
(((u = we == null ? void 0 : we.entity) == null ? void 0 : u.properties) || []).forEach((
|
|
28558
|
-
const Fn =
|
|
28575
|
+
(((u = we == null ? void 0 : we.entity) == null ? void 0 : u.properties) || []).forEach((Pt) => {
|
|
28576
|
+
const Fn = Pt.getDataType();
|
|
28559
28577
|
if (Fn) {
|
|
28560
28578
|
const bi = Fn.clone(
|
|
28561
28579
|
ee
|
|
@@ -28627,12 +28645,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28627
28645
|
D && (!b.implements || b.implements.id !== D.id) && (b.setImplements(D), e.push(b));
|
|
28628
28646
|
let x = b.getDataType();
|
|
28629
28647
|
if (x) {
|
|
28630
|
-
const
|
|
28648
|
+
const $ = this.project.getBuiltIn(
|
|
28631
28649
|
w["primitive-entity"].string.id
|
|
28632
28650
|
);
|
|
28633
|
-
((f = x.entity) == null ? void 0 : f.id) !==
|
|
28651
|
+
((f = x.entity) == null ? void 0 : f.id) !== $.id && (x.setEntity($), e.push(x));
|
|
28634
28652
|
} else {
|
|
28635
|
-
const
|
|
28653
|
+
const $ = {
|
|
28636
28654
|
id: B.UUID.uuid(),
|
|
28637
28655
|
version: 1,
|
|
28638
28656
|
type: n.DataType,
|
|
@@ -28648,7 +28666,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28648
28666
|
orChildrenGroup: [],
|
|
28649
28667
|
parent: P.toReference()
|
|
28650
28668
|
}, ee = E(
|
|
28651
|
-
|
|
28669
|
+
$,
|
|
28652
28670
|
this.project
|
|
28653
28671
|
);
|
|
28654
28672
|
ee.setParent(P), ee.initChildren(), ee.addSelfToProject(), t.push(ee), x = ee;
|
|
@@ -28998,15 +29016,15 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28998
29016
|
const {
|
|
28999
29017
|
updated: g,
|
|
29000
29018
|
added: x,
|
|
29001
|
-
removed:
|
|
29019
|
+
removed: $
|
|
29002
29020
|
} = this.syncOutputsDeclarations();
|
|
29003
|
-
e.push(...g), t.push(...x), i.push(
|
|
29021
|
+
e.push(...g), t.push(...x), i.push(...$);
|
|
29004
29022
|
const {
|
|
29005
29023
|
updated: ee,
|
|
29006
29024
|
added: we,
|
|
29007
|
-
removed:
|
|
29025
|
+
removed: Dt
|
|
29008
29026
|
} = this.syncOutputMaps();
|
|
29009
|
-
return e.push(...ee), t.push(...we), i.push(...
|
|
29027
|
+
return e.push(...ee), t.push(...we), i.push(...Dt), {
|
|
29010
29028
|
self: this,
|
|
29011
29029
|
updated: v(e),
|
|
29012
29030
|
added: v(t),
|
|
@@ -29616,7 +29634,7 @@ class js {
|
|
|
29616
29634
|
e.project
|
|
29617
29635
|
);
|
|
29618
29636
|
else if (e.initialData.readsValue && e.initialData.readsValue.type === n.GenericReference) {
|
|
29619
|
-
const t =
|
|
29637
|
+
const t = wt(
|
|
29620
29638
|
e.initialData.readsValue,
|
|
29621
29639
|
e.project
|
|
29622
29640
|
);
|
|
@@ -31604,22 +31622,22 @@ ${Dd}`,
|
|
|
31604
31622
|
const f = h.implements;
|
|
31605
31623
|
if (f) {
|
|
31606
31624
|
const b = f.outputs.find(
|
|
31607
|
-
(
|
|
31608
|
-
), R = f.outputs.filter((
|
|
31609
|
-
(we) => we.type === n.ReturnDeclaration && we.name ===
|
|
31625
|
+
($) => $.name === i.name
|
|
31626
|
+
), R = f.outputs.filter(($) => !p.outputs.find(
|
|
31627
|
+
(we) => we.type === n.ReturnDeclaration && we.name === $.name
|
|
31610
31628
|
)), D = p.outputs.filter(
|
|
31611
|
-
(
|
|
31629
|
+
($) => $.type === n.ReturnDeclaration
|
|
31612
31630
|
), P = D.find(
|
|
31613
|
-
(
|
|
31631
|
+
($) => $.name === i.name
|
|
31614
31632
|
), g = D.length ? `The parent entity already implements the following return declarations: ${L(
|
|
31615
31633
|
D.map(
|
|
31616
|
-
(
|
|
31634
|
+
($) => `'${$.id}' (${$.name})`
|
|
31617
31635
|
),
|
|
31618
31636
|
", ",
|
|
31619
31637
|
" and "
|
|
31620
31638
|
)}.` : "The parent entity does not yet have any implemented return declarations.", x = R.length ? `The parent entity is still missing the following returns in the implementation: ${L(
|
|
31621
31639
|
R.map(
|
|
31622
|
-
(
|
|
31640
|
+
($) => `'${$.id}' (${$.name})`
|
|
31623
31641
|
),
|
|
31624
31642
|
", ",
|
|
31625
31643
|
" and "
|
|
@@ -31978,7 +31996,7 @@ c(me, "MUTABLE_DOWNSTREAM_PROPERTIES", []), c(me, "INMUTABLE_DOWNSTREAM_PROPERTI
|
|
|
31978
31996
|
...me.UPSTREAM_PROPERTIES,
|
|
31979
31997
|
...me.DOWNSTREAM_PROPERTIES
|
|
31980
31998
|
]);
|
|
31981
|
-
let
|
|
31999
|
+
let _t = me;
|
|
31982
32000
|
function V5(r) {
|
|
31983
32001
|
var o;
|
|
31984
32002
|
const e = $9(), t = r.toJSON();
|
|
@@ -32618,9 +32636,9 @@ c(Be, "MUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
|
32618
32636
|
...Be.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
32619
32637
|
...Be.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
32620
32638
|
]), c(Be, "PROPERTIES", [
|
|
32621
|
-
...
|
|
32622
|
-
...
|
|
32623
|
-
...
|
|
32639
|
+
..._t.META_PROPERTIES,
|
|
32640
|
+
..._t.UPSTREAM_PROPERTIES,
|
|
32641
|
+
..._t.DOWNSTREAM_PROPERTIES
|
|
32624
32642
|
]);
|
|
32625
32643
|
let Fr = Be;
|
|
32626
32644
|
function x5(r) {
|
|
@@ -36438,9 +36456,9 @@ c(it, "MUTABLE_DOWNSTREAM_PROPERTIES", ["outputs", "throws"]), c(it, "INMUTABLE_
|
|
|
36438
36456
|
...ft.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
36439
36457
|
...ft.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
36440
36458
|
]), c(it, "PROPERTIES", [
|
|
36441
|
-
...
|
|
36442
|
-
...
|
|
36443
|
-
...
|
|
36459
|
+
..._t.META_PROPERTIES,
|
|
36460
|
+
..._t.UPSTREAM_PROPERTIES,
|
|
36461
|
+
..._t.DOWNSTREAM_PROPERTIES
|
|
36444
36462
|
]);
|
|
36445
36463
|
let kr = it;
|
|
36446
36464
|
function W5(r) {
|
|
@@ -38173,7 +38191,7 @@ If you are trying to create a new entity, please use a different id, for example
|
|
|
38173
38191
|
e
|
|
38174
38192
|
);
|
|
38175
38193
|
case n.ReturnDeclaration:
|
|
38176
|
-
return
|
|
38194
|
+
return _t.validateGenerationTarget(
|
|
38177
38195
|
t,
|
|
38178
38196
|
e
|
|
38179
38197
|
);
|
|
@@ -41272,11 +41290,11 @@ function Yc(r, e, t) {
|
|
|
41272
41290
|
...P,
|
|
41273
41291
|
implements: R,
|
|
41274
41292
|
parent: g
|
|
41275
|
-
},
|
|
41293
|
+
}, $ = E(
|
|
41276
41294
|
x,
|
|
41277
41295
|
r.project
|
|
41278
41296
|
);
|
|
41279
|
-
return p.addMethod(
|
|
41297
|
+
return p.addMethod($), $.setParent(p), $.initChildren(), $.implements = R, $;
|
|
41280
41298
|
}
|
|
41281
41299
|
);
|
|
41282
41300
|
o.properties = h, o.methods = f;
|
|
@@ -41519,7 +41537,7 @@ function Jm(r, e, t, i) {
|
|
|
41519
41537
|
e.project
|
|
41520
41538
|
);
|
|
41521
41539
|
x.setParent(e), x.initChildren(), x.addSelfToProject();
|
|
41522
|
-
const
|
|
41540
|
+
const $ = Jm(
|
|
41523
41541
|
D,
|
|
41524
41542
|
x,
|
|
41525
41543
|
{
|
|
@@ -41528,7 +41546,7 @@ function Jm(r, e, t, i) {
|
|
|
41528
41546
|
},
|
|
41529
41547
|
i
|
|
41530
41548
|
);
|
|
41531
|
-
a.push(
|
|
41549
|
+
a.push(...$.updated), s.push(...$.added), o.push(...$.removed);
|
|
41532
41550
|
}
|
|
41533
41551
|
});
|
|
41534
41552
|
}
|
|
@@ -41621,7 +41639,7 @@ function po(r, e, t, i) {
|
|
|
41621
41639
|
e
|
|
41622
41640
|
);
|
|
41623
41641
|
x.setParent(b), x.initChildren(), x.addSelfToProject(), s.push(x);
|
|
41624
|
-
const
|
|
41642
|
+
const $ = r[R], we = {
|
|
41625
41643
|
id: P + "--data-type-id",
|
|
41626
41644
|
version: 1,
|
|
41627
41645
|
type: n.DataType,
|
|
@@ -41636,14 +41654,14 @@ function po(r, e, t, i) {
|
|
|
41636
41654
|
inferred: !1,
|
|
41637
41655
|
constant: !1,
|
|
41638
41656
|
parent: x.toReference()
|
|
41639
|
-
},
|
|
41657
|
+
}, Dt = E(
|
|
41640
41658
|
we,
|
|
41641
41659
|
e
|
|
41642
41660
|
);
|
|
41643
|
-
|
|
41644
|
-
const
|
|
41645
|
-
|
|
41646
|
-
|
|
41661
|
+
Dt.setParent(x), Dt.initChildren(), Dt.addSelfToProject(), s.push(Dt);
|
|
41662
|
+
const Pt = Jm(
|
|
41663
|
+
$,
|
|
41664
|
+
Dt,
|
|
41647
41665
|
{
|
|
41648
41666
|
...t,
|
|
41649
41667
|
name: R,
|
|
@@ -41651,7 +41669,7 @@ function po(r, e, t, i) {
|
|
|
41651
41669
|
},
|
|
41652
41670
|
i || b
|
|
41653
41671
|
);
|
|
41654
|
-
a.push(...
|
|
41672
|
+
a.push(...Pt.updated), s.push(...Pt.added), o.push(...Pt.removed);
|
|
41655
41673
|
}), {
|
|
41656
41674
|
hasCreated: !0,
|
|
41657
41675
|
changeSet: {
|
|
@@ -41969,11 +41987,11 @@ function re(r, e = /* @__PURE__ */ new Set()) {
|
|
|
41969
41987
|
}
|
|
41970
41988
|
return [];
|
|
41971
41989
|
}
|
|
41972
|
-
function
|
|
41990
|
+
function At(r, e = /* @__PURE__ */ new Set()) {
|
|
41973
41991
|
return e.has(r.id) ? [] : (e.add(r.id), [...Zn(r).reduce((a, s) => [
|
|
41974
41992
|
...a,
|
|
41975
41993
|
s,
|
|
41976
|
-
...
|
|
41994
|
+
...At(s, e)
|
|
41977
41995
|
], [])]);
|
|
41978
41996
|
}
|
|
41979
41997
|
function cn(r) {
|
|
@@ -42289,7 +42307,7 @@ function Sk(r) {
|
|
|
42289
42307
|
}
|
|
42290
42308
|
function Ok(r) {
|
|
42291
42309
|
return r.implements.length === 0 && r.extends.length === 0 ? null : r.implements.find(
|
|
42292
|
-
(i) => i.type === n.BuiltInBaseEntity && i.name ===
|
|
42310
|
+
(i) => i.type === n.BuiltInBaseEntity && i.name === G.PERSISTED_ENTITY
|
|
42293
42311
|
) ? r : [
|
|
42294
42312
|
...r.implements,
|
|
42295
42313
|
...r.extends
|
|
@@ -42431,7 +42449,7 @@ function Kc(r) {
|
|
|
42431
42449
|
case n.ArgumentDeclaration:
|
|
42432
42450
|
return jr;
|
|
42433
42451
|
case n.ReturnDeclaration:
|
|
42434
|
-
return
|
|
42452
|
+
return _t;
|
|
42435
42453
|
case n.Property:
|
|
42436
42454
|
return Mr;
|
|
42437
42455
|
case n.InstalledProject:
|
|
@@ -42464,7 +42482,7 @@ function mt(r, e) {
|
|
|
42464
42482
|
function nT(r, e) {
|
|
42465
42483
|
if (Yi.includes(r.type) || e.getBuiltIn(r.id))
|
|
42466
42484
|
return null;
|
|
42467
|
-
const t =
|
|
42485
|
+
const t = wt(
|
|
42468
42486
|
r.parent,
|
|
42469
42487
|
e
|
|
42470
42488
|
);
|
|
@@ -42600,7 +42618,7 @@ function Vk(r) {
|
|
|
42600
42618
|
return !a || a === i ? t : i;
|
|
42601
42619
|
}, r[0]);
|
|
42602
42620
|
}
|
|
42603
|
-
function
|
|
42621
|
+
function wt(r, e) {
|
|
42604
42622
|
let t;
|
|
42605
42623
|
return typeof r == "string" ? t = r : r.type === n.GenericReference ? t = _(r) : t = r.id, t === e.id ? e : e.get(t);
|
|
42606
42624
|
}
|
|
@@ -42619,7 +42637,7 @@ function Kn(r) {
|
|
|
42619
42637
|
function Ws(r, e) {
|
|
42620
42638
|
var t;
|
|
42621
42639
|
if (r.readsValue) {
|
|
42622
|
-
const i =
|
|
42640
|
+
const i = wt(
|
|
42623
42641
|
r.readsValue,
|
|
42624
42642
|
e.project
|
|
42625
42643
|
);
|
|
@@ -43363,19 +43381,23 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
43363
43381
|
e && u.setParent(e), i && u.subscribe(), u.initChildren();
|
|
43364
43382
|
const p = (b = this.properties) == null ? void 0 : b.map(
|
|
43365
43383
|
(P, g) => P.clone(
|
|
43366
|
-
|
|
43384
|
+
u,
|
|
43367
43385
|
l + "-property-" + g + "-id",
|
|
43368
43386
|
i
|
|
43369
43387
|
)
|
|
43370
43388
|
);
|
|
43371
43389
|
u.properties = p;
|
|
43372
43390
|
const h = (R = this.methods) == null ? void 0 : R.map(
|
|
43373
|
-
(P, g) => P.clone(
|
|
43391
|
+
(P, g) => P.clone(
|
|
43392
|
+
u,
|
|
43393
|
+
l + "-method-" + g + "-id",
|
|
43394
|
+
i
|
|
43395
|
+
)
|
|
43374
43396
|
);
|
|
43375
43397
|
u.methods = h;
|
|
43376
43398
|
const f = (D = this.abstractMethods) == null ? void 0 : D.map(
|
|
43377
43399
|
(P, g) => P.clone(
|
|
43378
|
-
|
|
43400
|
+
u,
|
|
43379
43401
|
l + "-abstract-method-" + g + "-id",
|
|
43380
43402
|
i
|
|
43381
43403
|
)
|
|
@@ -44013,7 +44035,7 @@ function Yt(r, e) {
|
|
|
44013
44035
|
case n.OutputMap:
|
|
44014
44036
|
return t || new wn(r, e);
|
|
44015
44037
|
case n.ReturnDeclaration:
|
|
44016
|
-
return t || new
|
|
44038
|
+
return t || new _t(r, e);
|
|
44017
44039
|
case n.ArgumentDeclaration:
|
|
44018
44040
|
return t || new jr(r, e);
|
|
44019
44041
|
case n.InputMap:
|
|
@@ -44091,7 +44113,7 @@ function W7(r, e) {
|
|
|
44091
44113
|
case n.OutputMap:
|
|
44092
44114
|
return wn.fromGenerationTarget(r, e);
|
|
44093
44115
|
case n.ReturnDeclaration:
|
|
44094
|
-
return
|
|
44116
|
+
return _t.fromGenerationTarget(
|
|
44095
44117
|
r,
|
|
44096
44118
|
e
|
|
44097
44119
|
);
|
|
@@ -45101,7 +45123,7 @@ const X = class X {
|
|
|
45101
45123
|
}
|
|
45102
45124
|
getBuiltInPersistedEntity() {
|
|
45103
45125
|
return this.builtInBaseEntities.find(
|
|
45104
|
-
(e) => e.name ===
|
|
45126
|
+
(e) => e.name === G.PERSISTED_ENTITY
|
|
45105
45127
|
) || null;
|
|
45106
45128
|
}
|
|
45107
45129
|
};
|
|
@@ -45543,9 +45565,9 @@ class Xk extends Lt {
|
|
|
45543
45565
|
constructor(t) {
|
|
45544
45566
|
super(Ge, t);
|
|
45545
45567
|
c(this, "initialData");
|
|
45546
|
-
c(this, "id",
|
|
45568
|
+
c(this, "id", G.PERSISTED_ENTITY);
|
|
45547
45569
|
c(this, "version", 1);
|
|
45548
|
-
c(this, "name",
|
|
45570
|
+
c(this, "name", G.PERSISTED_ENTITY);
|
|
45549
45571
|
c(this, "description", Ge.description);
|
|
45550
45572
|
c(this, "type", n.BuiltInBaseEntity);
|
|
45551
45573
|
c(this, "abstract", Ge.abstract);
|
|
@@ -45732,7 +45754,7 @@ export {
|
|
|
45732
45754
|
w as BUILT_IN_BASE_ENTITY_IDS,
|
|
45733
45755
|
Yi as BUILT_IN_ENTITY_TYPES,
|
|
45734
45756
|
i7 as BaseCanvasDraggableState,
|
|
45735
|
-
|
|
45757
|
+
G as BaseEntityNames,
|
|
45736
45758
|
r7 as BaseState,
|
|
45737
45759
|
Bd as BaseValueDescriptorIds,
|
|
45738
45760
|
Ji as BreakStatementState,
|
|
@@ -45818,14 +45840,14 @@ export {
|
|
|
45818
45840
|
$E as ParallelExecutionOperationOutputIds,
|
|
45819
45841
|
l7 as PassThroughCallableEntityClass,
|
|
45820
45842
|
Xk as PersistedEntity,
|
|
45821
|
-
|
|
45843
|
+
Bt as PersistedEntityMethods,
|
|
45822
45844
|
$t as PrimitiveEntityState,
|
|
45823
45845
|
I as PrimitiveTypes,
|
|
45824
45846
|
qi as PrimitiveValueState,
|
|
45825
45847
|
B as ProjectState,
|
|
45826
45848
|
Mr as PropertyState,
|
|
45827
45849
|
E7 as RETURN_STATEMENT_RETURN_DECLARATIONS_EXPLANATION,
|
|
45828
|
-
|
|
45850
|
+
_t as ReturnDeclarationState,
|
|
45829
45851
|
kr as ReturnStatementState,
|
|
45830
45852
|
KD as STANDALONE_CONDITIONS,
|
|
45831
45853
|
Ob as STRING_OPERATIONS,
|
|
@@ -46016,7 +46038,7 @@ export {
|
|
|
46016
46038
|
Km as flattenCustomEntityExtensions,
|
|
46017
46039
|
Xm as flattenCustomEntityImplementations,
|
|
46018
46040
|
zc as flattenCustomEntityImplementionTypes,
|
|
46019
|
-
|
|
46041
|
+
At as flattenDerivedCanvasEntities,
|
|
46020
46042
|
_k as flattenDetachedBranch,
|
|
46021
46043
|
_e as flattenElementCalls,
|
|
46022
46044
|
V7 as flattenElementCallsOnTheSameScope,
|
|
@@ -46539,7 +46561,7 @@ export {
|
|
|
46539
46561
|
gd as suggestNewIdForEntity,
|
|
46540
46562
|
z7 as test_primitive_entities_export,
|
|
46541
46563
|
X2 as toCamelCase,
|
|
46542
|
-
|
|
46564
|
+
wt as toEntityState,
|
|
46543
46565
|
u5 as toKebabCase,
|
|
46544
46566
|
Ao as toLowerCaseKebabCase,
|
|
46545
46567
|
Q2 as toPascalCase,
|