@elyx-code/project-logic-tree 0.0.6056 → 0.0.6057
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
|
@@ -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 || {}), x = /* @__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))(x || {}), ke = /* @__PURE__ */ ((r) => (r.CurrentDateAndTime = "current-date-and-time", r.Unique = "unique", r.Random = "random", r))(ke || {}), g = /* @__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))(g || {}), 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 || {}), it = /* @__PURE__ */ ((r) => (r.HttpRequest = "base-http-request", r))(it || {}), 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 || {}), jt = /* @__PURE__ */ ((r) => (r.Empty = "empty", r.NotEmpty = "not-empty", r))(jt || {}), 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 || {}),
|
|
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 || {}), x = /* @__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))(x || {}), ke = /* @__PURE__ */ ((r) => (r.CurrentDateAndTime = "current-date-and-time", r.Unique = "unique", r.Random = "random", r))(ke || {}), g = /* @__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))(g || {}), 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 || {}), it = /* @__PURE__ */ ((r) => (r.HttpRequest = "base-http-request", r))(it || {}), 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 || {}), jt = /* @__PURE__ */ ((r) => (r.Empty = "empty", r.NotEmpty = "not-empty", r))(jt || {}), 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 || {}), I = /* @__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))(I || {}), Tt = /* @__PURE__ */ ((r) => (r.OrDataTypeGroup = "or-data-type-group", r.AndDataTypeGroup = "and-data-type-group", r))(Tt || {}), In = /* @__PURE__ */ ((r) => (r.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", r))(In || {}), Mt = /* @__PURE__ */ ((r) => (r.DeletePersistedEntity = "base-delete-persisted-entity", r.SoftDeletePersistedEntity = "base-soft-delete-persisted-entity", r.AbortExecution = "base-abort-execution", r))(Mt || {}), aT = /* @__PURE__ */ ((r) => (r.Error = "error", r.Task = "task", r.Return = "return", r))(aT || {});
|
|
5
5
|
const kn = [
|
|
6
6
|
n.VariableDeclaration,
|
|
7
7
|
n.VariableInstance,
|
|
@@ -148,7 +148,7 @@ const kn = [
|
|
|
148
148
|
n.InternalCall
|
|
149
149
|
];
|
|
150
150
|
var _d = /* @__PURE__ */ ((r) => (r.ActionOngoingProcessOutputValue = "action-ongoing-process-output-value-descriptor-id", r))(_d || {});
|
|
151
|
-
const
|
|
151
|
+
const _ = {
|
|
152
152
|
[n.PrimitiveEntity]: {
|
|
153
153
|
[g.String]: {
|
|
154
154
|
id: "8b5fbe15-4c2b-48c0-9fd8-e5efbe3978dc",
|
|
@@ -566,7 +566,7 @@ const B = {
|
|
|
566
566
|
id: In.PROJECT_PUBLICATION_COMPLETED
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
}, Xt =
|
|
569
|
+
}, Xt = _["primitive-entity"], F = {
|
|
570
570
|
type: n.PrimitiveEntity,
|
|
571
571
|
id: Xt.string.id,
|
|
572
572
|
description: "A string of characters.",
|
|
@@ -716,7 +716,7 @@ const B = {
|
|
|
716
716
|
extends: [],
|
|
717
717
|
properties: [],
|
|
718
718
|
methods: []
|
|
719
|
-
}, hn =
|
|
719
|
+
}, hn = _[n.Operation][Oe.Addition], hT = {
|
|
720
720
|
type: n.GenericReference,
|
|
721
721
|
id: "3bd4aeb2-e3b7-4120-b289-011ebb03dba5",
|
|
722
722
|
entityId: hn.inputs.firstSummand.id,
|
|
@@ -789,7 +789,7 @@ const B = {
|
|
|
789
789
|
description: "The first number to add",
|
|
790
790
|
dataType: fT,
|
|
791
791
|
required: !0,
|
|
792
|
-
parentRelationType:
|
|
792
|
+
parentRelationType: I.FixedArguments,
|
|
793
793
|
index: 0,
|
|
794
794
|
parent: vT
|
|
795
795
|
}, RT = {
|
|
@@ -805,7 +805,7 @@ const B = {
|
|
|
805
805
|
name: "Summand",
|
|
806
806
|
dataType: TT,
|
|
807
807
|
required: !0,
|
|
808
|
-
parentRelationType:
|
|
808
|
+
parentRelationType: I.FixedArguments,
|
|
809
809
|
index: 1,
|
|
810
810
|
parent: RT
|
|
811
811
|
}, xd = {
|
|
@@ -814,7 +814,7 @@ const B = {
|
|
|
814
814
|
entityId: Oe.Addition,
|
|
815
815
|
entityType: n.ActionDescriptor
|
|
816
816
|
}, $d = {
|
|
817
|
-
parentRelationType:
|
|
817
|
+
parentRelationType: I.FixedReturns,
|
|
818
818
|
id: hn.outputs.result.id,
|
|
819
819
|
type: n.ValueDescriptor,
|
|
820
820
|
description: "The result number of the addition",
|
|
@@ -830,7 +830,7 @@ const B = {
|
|
|
830
830
|
entityId: Oe.Addition,
|
|
831
831
|
entityType: n.ActionDescriptor
|
|
832
832
|
}, IT = {
|
|
833
|
-
parentRelationType:
|
|
833
|
+
parentRelationType: I.FixedReturns,
|
|
834
834
|
id: hn.outputs.error.id,
|
|
835
835
|
type: n.ValueDescriptor,
|
|
836
836
|
version: 1,
|
|
@@ -861,7 +861,7 @@ const B = {
|
|
|
861
861
|
constant: !1,
|
|
862
862
|
parent: DT
|
|
863
863
|
}, AT = {
|
|
864
|
-
parentRelationType:
|
|
864
|
+
parentRelationType: I.DynamicArgument,
|
|
865
865
|
id: hn.inputs.dynamicSummand.id,
|
|
866
866
|
type: n.ValueDescriptor,
|
|
867
867
|
description: "A number to add",
|
|
@@ -885,7 +885,7 @@ const B = {
|
|
|
885
885
|
error: IT,
|
|
886
886
|
outputs: [$d],
|
|
887
887
|
parent: null
|
|
888
|
-
}, fn =
|
|
888
|
+
}, fn = _[n.Operation][Oe.Subtraction], ST = {
|
|
889
889
|
type: n.GenericReference,
|
|
890
890
|
id: "3bd4aeb2-e3b7-4120-b289-011ebb03dba5",
|
|
891
891
|
entityId: fn.inputs.minuend.id,
|
|
@@ -958,7 +958,7 @@ const B = {
|
|
|
958
958
|
description: "Base number to substract from",
|
|
959
959
|
dataType: OT,
|
|
960
960
|
required: !0,
|
|
961
|
-
parentRelationType:
|
|
961
|
+
parentRelationType: I.FixedArguments,
|
|
962
962
|
index: 0,
|
|
963
963
|
parent: Gd
|
|
964
964
|
}, NT = {
|
|
@@ -974,7 +974,7 @@ const B = {
|
|
|
974
974
|
name: "Subtrahend",
|
|
975
975
|
dataType: wT,
|
|
976
976
|
required: !0,
|
|
977
|
-
parentRelationType:
|
|
977
|
+
parentRelationType: I.FixedArguments,
|
|
978
978
|
index: 1,
|
|
979
979
|
parent: NT
|
|
980
980
|
}, xT = {
|
|
@@ -983,7 +983,7 @@ const B = {
|
|
|
983
983
|
entityId: Oe.Subtraction,
|
|
984
984
|
entityType: n.ActionDescriptor
|
|
985
985
|
}, $T = {
|
|
986
|
-
parentRelationType:
|
|
986
|
+
parentRelationType: I.FixedReturns,
|
|
987
987
|
id: fn.outputs.result.id,
|
|
988
988
|
type: n.ValueDescriptor,
|
|
989
989
|
description: "The result number of the subtraction",
|
|
@@ -999,7 +999,7 @@ const B = {
|
|
|
999
999
|
entityId: Oe.Subtraction,
|
|
1000
1000
|
entityType: n.ActionDescriptor
|
|
1001
1001
|
}, LT = {
|
|
1002
|
-
parentRelationType:
|
|
1002
|
+
parentRelationType: I.FixedReturns,
|
|
1003
1003
|
id: fn.outputs.error.id,
|
|
1004
1004
|
type: n.ValueDescriptor,
|
|
1005
1005
|
version: 1,
|
|
@@ -1037,7 +1037,7 @@ const B = {
|
|
|
1037
1037
|
description: "A number to substract",
|
|
1038
1038
|
dataType: UT,
|
|
1039
1039
|
required: !0,
|
|
1040
|
-
parentRelationType:
|
|
1040
|
+
parentRelationType: I.DynamicArgument,
|
|
1041
1041
|
index: 2,
|
|
1042
1042
|
parent: Gd
|
|
1043
1043
|
}, Ld = {
|
|
@@ -1057,7 +1057,7 @@ const B = {
|
|
|
1057
1057
|
}, kT = {
|
|
1058
1058
|
[Oe.Addition]: _o,
|
|
1059
1059
|
[Oe.Subtraction]: Ld
|
|
1060
|
-
}, Jt =
|
|
1060
|
+
}, Jt = _[n.Operation][Z.Join], qT = {
|
|
1061
1061
|
type: n.GenericReference,
|
|
1062
1062
|
id: "join-strings-first-string-argument-declaration",
|
|
1063
1063
|
entityId: Jt.inputs.first.id,
|
|
@@ -1129,7 +1129,7 @@ const B = {
|
|
|
1129
1129
|
name: "First value",
|
|
1130
1130
|
description: "The first text to join to the second one. Its value will be at the beginning of the resulting text.",
|
|
1131
1131
|
dataType: JT,
|
|
1132
|
-
parentRelationType:
|
|
1132
|
+
parentRelationType: I.FixedArguments,
|
|
1133
1133
|
required: !0,
|
|
1134
1134
|
index: 1,
|
|
1135
1135
|
parent: ZT
|
|
@@ -1179,7 +1179,7 @@ const B = {
|
|
|
1179
1179
|
name: "Separator",
|
|
1180
1180
|
description: "The text value that will be inserted between each of the values that are joined.",
|
|
1181
1181
|
dataType: eb,
|
|
1182
|
-
parentRelationType:
|
|
1182
|
+
parentRelationType: I.FixedArguments,
|
|
1183
1183
|
required: !1,
|
|
1184
1184
|
index: 0,
|
|
1185
1185
|
parent: tb
|
|
@@ -1195,7 +1195,7 @@ const B = {
|
|
|
1195
1195
|
name: "Second value",
|
|
1196
1196
|
description: "The second text to join to the first one. Its value will be at the end of the resulting text.",
|
|
1197
1197
|
dataType: YT,
|
|
1198
|
-
parentRelationType:
|
|
1198
|
+
parentRelationType: I.FixedArguments,
|
|
1199
1199
|
required: !0,
|
|
1200
1200
|
index: 2,
|
|
1201
1201
|
parent: rb
|
|
@@ -1205,7 +1205,7 @@ const B = {
|
|
|
1205
1205
|
entityId: Z.Join,
|
|
1206
1206
|
entityType: n.ActionDescriptor
|
|
1207
1207
|
}, Ka = {
|
|
1208
|
-
parentRelationType:
|
|
1208
|
+
parentRelationType: I.FixedReturns,
|
|
1209
1209
|
id: Jt.outputs.result.id,
|
|
1210
1210
|
type: n.ValueDescriptor,
|
|
1211
1211
|
version: 1,
|
|
@@ -1221,7 +1221,7 @@ const B = {
|
|
|
1221
1221
|
entityId: Z.Join,
|
|
1222
1222
|
entityType: n.ActionDescriptor
|
|
1223
1223
|
}, sb = {
|
|
1224
|
-
parentRelationType:
|
|
1224
|
+
parentRelationType: I.FixedReturns,
|
|
1225
1225
|
id: Jt.outputs.error.id,
|
|
1226
1226
|
type: n.ValueDescriptor,
|
|
1227
1227
|
version: 1,
|
|
@@ -1263,7 +1263,7 @@ const B = {
|
|
|
1263
1263
|
name: "Value",
|
|
1264
1264
|
description: "Text to join to the previous ones. Its value will be at the end of the resulting text.",
|
|
1265
1265
|
dataType: lb,
|
|
1266
|
-
parentRelationType:
|
|
1266
|
+
parentRelationType: I.DynamicArgument,
|
|
1267
1267
|
required: !0,
|
|
1268
1268
|
index: 3,
|
|
1269
1269
|
parent: cb
|
|
@@ -1282,7 +1282,7 @@ const B = {
|
|
|
1282
1282
|
outputs: [Ka],
|
|
1283
1283
|
error: sb,
|
|
1284
1284
|
parent: null
|
|
1285
|
-
}, mn =
|
|
1285
|
+
}, mn = _[n.Operation][Z.Split], ub = {
|
|
1286
1286
|
type: n.GenericReference,
|
|
1287
1287
|
id: "split-string-string-argument-declaration",
|
|
1288
1288
|
entityId: mn.inputs.stringValue.id,
|
|
@@ -1374,7 +1374,7 @@ const B = {
|
|
|
1374
1374
|
name: "Text value",
|
|
1375
1375
|
description: "The text value that will be split into two at the given index location.",
|
|
1376
1376
|
dataType: pb,
|
|
1377
|
-
parentRelationType:
|
|
1377
|
+
parentRelationType: I.FixedArguments,
|
|
1378
1378
|
required: !0,
|
|
1379
1379
|
index: 0,
|
|
1380
1380
|
parent: Eb
|
|
@@ -1390,7 +1390,7 @@ const B = {
|
|
|
1390
1390
|
name: "Index location",
|
|
1391
1391
|
description: "The index location where the text will be split into two. The text at this index will be the beginning of the second text.",
|
|
1392
1392
|
dataType: hb,
|
|
1393
|
-
parentRelationType:
|
|
1393
|
+
parentRelationType: I.FixedArguments,
|
|
1394
1394
|
required: !0,
|
|
1395
1395
|
index: 1,
|
|
1396
1396
|
parent: Rb
|
|
@@ -1400,7 +1400,7 @@ const B = {
|
|
|
1400
1400
|
entityId: Z.Join,
|
|
1401
1401
|
entityType: n.ActionDescriptor
|
|
1402
1402
|
}, y2 = {
|
|
1403
|
-
parentRelationType:
|
|
1403
|
+
parentRelationType: I.FixedReturns,
|
|
1404
1404
|
id: mn.outputs.secondPartResult.id,
|
|
1405
1405
|
type: n.ValueDescriptor,
|
|
1406
1406
|
version: 1,
|
|
@@ -1416,7 +1416,7 @@ const B = {
|
|
|
1416
1416
|
entityId: Z.Join,
|
|
1417
1417
|
entityType: n.ActionDescriptor
|
|
1418
1418
|
}, Pb = {
|
|
1419
|
-
parentRelationType:
|
|
1419
|
+
parentRelationType: I.FixedReturns,
|
|
1420
1420
|
id: mn.outputs.firstPartResult.id,
|
|
1421
1421
|
type: n.ValueDescriptor,
|
|
1422
1422
|
version: 1,
|
|
@@ -1432,7 +1432,7 @@ const B = {
|
|
|
1432
1432
|
entityId: Z.Join,
|
|
1433
1433
|
entityType: n.ActionDescriptor
|
|
1434
1434
|
}, Sb = {
|
|
1435
|
-
parentRelationType:
|
|
1435
|
+
parentRelationType: I.FixedReturns,
|
|
1436
1436
|
id: mn.outputs.error.id,
|
|
1437
1437
|
type: n.ValueDescriptor,
|
|
1438
1438
|
version: 1,
|
|
@@ -1532,7 +1532,7 @@ const Bb = {
|
|
|
1532
1532
|
name: "First value",
|
|
1533
1533
|
description: "The first list to join to the second one. Its values will be at the beginning of the resulting list.",
|
|
1534
1534
|
dataType: _b,
|
|
1535
|
-
parentRelationType:
|
|
1535
|
+
parentRelationType: I.FixedArguments,
|
|
1536
1536
|
required: !0,
|
|
1537
1537
|
index: 0,
|
|
1538
1538
|
parent: $b
|
|
@@ -1548,7 +1548,7 @@ const Bb = {
|
|
|
1548
1548
|
name: "Second value",
|
|
1549
1549
|
description: "The second list to join to the first one. Its values will be at the end of the resulting list.",
|
|
1550
1550
|
dataType: Nb,
|
|
1551
|
-
parentRelationType:
|
|
1551
|
+
parentRelationType: I.FixedArguments,
|
|
1552
1552
|
required: !0,
|
|
1553
1553
|
index: 1,
|
|
1554
1554
|
parent: Lb
|
|
@@ -1558,7 +1558,7 @@ const Bb = {
|
|
|
1558
1558
|
entityId: Y.Join,
|
|
1559
1559
|
entityType: n.ActionDescriptor
|
|
1560
1560
|
}, jb = {
|
|
1561
|
-
parentRelationType:
|
|
1561
|
+
parentRelationType: I.FixedReturns,
|
|
1562
1562
|
id: "join-list-result-list-return-delaration",
|
|
1563
1563
|
type: n.ValueDescriptor,
|
|
1564
1564
|
version: 1,
|
|
@@ -1574,7 +1574,7 @@ const Bb = {
|
|
|
1574
1574
|
entityId: Y.Join,
|
|
1575
1575
|
entityType: n.ActionDescriptor
|
|
1576
1576
|
}, qb = {
|
|
1577
|
-
parentRelationType:
|
|
1577
|
+
parentRelationType: I.FixedReturns,
|
|
1578
1578
|
id: "join-list-error-return-delaration",
|
|
1579
1579
|
type: n.ValueDescriptor,
|
|
1580
1580
|
version: 1,
|
|
@@ -1671,7 +1671,7 @@ const Yb = {
|
|
|
1671
1671
|
name: "List to split",
|
|
1672
1672
|
description: "The list to split at the given index",
|
|
1673
1673
|
dataType: Hb,
|
|
1674
|
-
parentRelationType:
|
|
1674
|
+
parentRelationType: I.FixedArguments,
|
|
1675
1675
|
required: !0,
|
|
1676
1676
|
index: 0,
|
|
1677
1677
|
parent: Xb
|
|
@@ -1687,7 +1687,7 @@ const Yb = {
|
|
|
1687
1687
|
name: "Split location",
|
|
1688
1688
|
description: "The index at which to split the list. The value at this index will be the first value of the second list.",
|
|
1689
1689
|
dataType: Zb,
|
|
1690
|
-
parentRelationType:
|
|
1690
|
+
parentRelationType: I.FixedArguments,
|
|
1691
1691
|
required: !0,
|
|
1692
1692
|
index: 1,
|
|
1693
1693
|
parent: eE
|
|
@@ -1697,7 +1697,7 @@ const Yb = {
|
|
|
1697
1697
|
entityId: Y.Split,
|
|
1698
1698
|
entityType: n.ActionDescriptor
|
|
1699
1699
|
}, rE = {
|
|
1700
|
-
parentRelationType:
|
|
1700
|
+
parentRelationType: I.FixedReturns,
|
|
1701
1701
|
id: "split-list-first-output-list-return-delaration",
|
|
1702
1702
|
type: n.ValueDescriptor,
|
|
1703
1703
|
version: 1,
|
|
@@ -1728,7 +1728,7 @@ const Yb = {
|
|
|
1728
1728
|
entityId: Y.Split,
|
|
1729
1729
|
entityType: n.ActionDescriptor
|
|
1730
1730
|
}, sE = {
|
|
1731
|
-
parentRelationType:
|
|
1731
|
+
parentRelationType: I.FixedReturns,
|
|
1732
1732
|
id: "split-list-second-output-list-return-delaration",
|
|
1733
1733
|
type: n.ValueDescriptor,
|
|
1734
1734
|
version: 1,
|
|
@@ -1744,7 +1744,7 @@ const Yb = {
|
|
|
1744
1744
|
entityId: Y.Split,
|
|
1745
1745
|
entityType: n.ActionDescriptor
|
|
1746
1746
|
}, lE = {
|
|
1747
|
-
parentRelationType:
|
|
1747
|
+
parentRelationType: I.FixedReturns,
|
|
1748
1748
|
id: "split-list-error-return-delaration",
|
|
1749
1749
|
type: n.ValueDescriptor,
|
|
1750
1750
|
version: 1,
|
|
@@ -1824,7 +1824,7 @@ const uE = {
|
|
|
1824
1824
|
name: "List",
|
|
1825
1825
|
description: "The list to get the last element from.",
|
|
1826
1826
|
dataType: pE,
|
|
1827
|
-
parentRelationType:
|
|
1827
|
+
parentRelationType: I.FixedArguments,
|
|
1828
1828
|
required: !0,
|
|
1829
1829
|
index: 0,
|
|
1830
1830
|
parent: fE
|
|
@@ -1834,7 +1834,7 @@ const uE = {
|
|
|
1834
1834
|
entityId: Y.GetLast,
|
|
1835
1835
|
entityType: n.ActionDescriptor
|
|
1836
1836
|
}, bE = {
|
|
1837
|
-
parentRelationType:
|
|
1837
|
+
parentRelationType: I.FixedReturns,
|
|
1838
1838
|
id: "get-last-in-list-output-element-return-delaration",
|
|
1839
1839
|
type: n.ValueDescriptor,
|
|
1840
1840
|
version: 1,
|
|
@@ -1850,7 +1850,7 @@ const uE = {
|
|
|
1850
1850
|
entityId: Y.GetLast,
|
|
1851
1851
|
entityType: n.ActionDescriptor
|
|
1852
1852
|
}, vE = {
|
|
1853
|
-
parentRelationType:
|
|
1853
|
+
parentRelationType: I.FixedReturns,
|
|
1854
1854
|
id: "get-last-in-list-error-return-delaration",
|
|
1855
1855
|
type: n.ValueDescriptor,
|
|
1856
1856
|
version: 1,
|
|
@@ -1944,7 +1944,7 @@ const IE = {
|
|
|
1944
1944
|
name: "List value",
|
|
1945
1945
|
description: "The list to which the element will be appended",
|
|
1946
1946
|
dataType: DE,
|
|
1947
|
-
parentRelationType:
|
|
1947
|
+
parentRelationType: I.FixedArguments,
|
|
1948
1948
|
required: !0,
|
|
1949
1949
|
index: 0,
|
|
1950
1950
|
parent: CE
|
|
@@ -1960,7 +1960,7 @@ const IE = {
|
|
|
1960
1960
|
name: "Element",
|
|
1961
1961
|
description: "The element that will be added at the end of the list",
|
|
1962
1962
|
dataType: AE,
|
|
1963
|
-
parentRelationType:
|
|
1963
|
+
parentRelationType: I.FixedArguments,
|
|
1964
1964
|
required: !0,
|
|
1965
1965
|
index: 1,
|
|
1966
1966
|
parent: wE
|
|
@@ -1970,7 +1970,7 @@ const IE = {
|
|
|
1970
1970
|
entityId: Y.Append,
|
|
1971
1971
|
entityType: n.ActionDescriptor
|
|
1972
1972
|
}, _E = {
|
|
1973
|
-
parentRelationType:
|
|
1973
|
+
parentRelationType: I.FixedReturns,
|
|
1974
1974
|
id: "append-to-list-result-list-return-delaration",
|
|
1975
1975
|
type: n.ValueDescriptor,
|
|
1976
1976
|
version: 1,
|
|
@@ -1986,7 +1986,7 @@ const IE = {
|
|
|
1986
1986
|
entityId: Y.Append,
|
|
1987
1987
|
entityType: n.ActionDescriptor
|
|
1988
1988
|
}, NE = {
|
|
1989
|
-
parentRelationType:
|
|
1989
|
+
parentRelationType: I.FixedReturns,
|
|
1990
1990
|
id: "append-to-list-error-return-delaration",
|
|
1991
1991
|
type: n.ValueDescriptor,
|
|
1992
1992
|
version: 1,
|
|
@@ -2026,7 +2026,7 @@ const GE = {
|
|
|
2026
2026
|
required: !1,
|
|
2027
2027
|
index: 0,
|
|
2028
2028
|
parent: null,
|
|
2029
|
-
parentRelationType:
|
|
2029
|
+
parentRelationType: I.DynamicArgument
|
|
2030
2030
|
}, LE = {
|
|
2031
2031
|
id: "parallel-execution-list-of-functions-blueprint-dynamic-input-id",
|
|
2032
2032
|
type: n.ValueDescriptor,
|
|
@@ -2037,7 +2037,7 @@ const GE = {
|
|
|
2037
2037
|
required: !1,
|
|
2038
2038
|
index: 0,
|
|
2039
2039
|
parent: null,
|
|
2040
|
-
parentRelationType:
|
|
2040
|
+
parentRelationType: I.DynamicArgument
|
|
2041
2041
|
}, FE = {
|
|
2042
2042
|
id: "parallel-execution-list-of-functions-blueprint-id",
|
|
2043
2043
|
type: n.ActionDescriptor,
|
|
@@ -2103,7 +2103,7 @@ const GE = {
|
|
|
2103
2103
|
required: !0,
|
|
2104
2104
|
index: 0,
|
|
2105
2105
|
parent: JE,
|
|
2106
|
-
parentRelationType:
|
|
2106
|
+
parentRelationType: I.FixedArguments
|
|
2107
2107
|
}, WE = {
|
|
2108
2108
|
type: n.GenericReference,
|
|
2109
2109
|
id: "caac2bc7-c23c-4f01-9581-a515c2e4637f",
|
|
@@ -2119,7 +2119,7 @@ const GE = {
|
|
|
2119
2119
|
required: !0,
|
|
2120
2120
|
index: 0,
|
|
2121
2121
|
parent: WE,
|
|
2122
|
-
parentRelationType:
|
|
2122
|
+
parentRelationType: I.FixedReturns
|
|
2123
2123
|
}, YE = {
|
|
2124
2124
|
type: n.GenericReference,
|
|
2125
2125
|
id: "parallel-execution-operation-error-parent-ref",
|
|
@@ -2135,7 +2135,7 @@ const GE = {
|
|
|
2135
2135
|
required: !0,
|
|
2136
2136
|
index: 1,
|
|
2137
2137
|
parent: YE,
|
|
2138
|
-
parentRelationType:
|
|
2138
|
+
parentRelationType: I.ReturnedError
|
|
2139
2139
|
}, zt = {
|
|
2140
2140
|
id: Me.Parallel,
|
|
2141
2141
|
type: n.ActionDescriptor,
|
|
@@ -2184,7 +2184,7 @@ const KE = {
|
|
|
2184
2184
|
required: !0,
|
|
2185
2185
|
index: 0,
|
|
2186
2186
|
parent: QE,
|
|
2187
|
-
parentRelationType:
|
|
2187
|
+
parentRelationType: I.FixedArguments
|
|
2188
2188
|
}, ev = {
|
|
2189
2189
|
type: n.GenericReference,
|
|
2190
2190
|
id: "wait-operation-error-parent-ref",
|
|
@@ -2200,7 +2200,7 @@ const KE = {
|
|
|
2200
2200
|
required: !0,
|
|
2201
2201
|
index: 1,
|
|
2202
2202
|
parent: ev,
|
|
2203
|
-
parentRelationType:
|
|
2203
|
+
parentRelationType: I.ReturnedError
|
|
2204
2204
|
}, ft = {
|
|
2205
2205
|
id: Me.Wait,
|
|
2206
2206
|
type: n.ActionDescriptor,
|
|
@@ -2223,7 +2223,7 @@ const iv = {
|
|
|
2223
2223
|
required: !1,
|
|
2224
2224
|
index: 0,
|
|
2225
2225
|
parent: null,
|
|
2226
|
-
parentRelationType:
|
|
2226
|
+
parentRelationType: I.DynamicArgument
|
|
2227
2227
|
}, av = {
|
|
2228
2228
|
id: "sequential-execution-list-of-functions-blueprint-dynamic-input-id",
|
|
2229
2229
|
type: n.ValueDescriptor,
|
|
@@ -2234,7 +2234,7 @@ const iv = {
|
|
|
2234
2234
|
required: !1,
|
|
2235
2235
|
index: 0,
|
|
2236
2236
|
parent: null,
|
|
2237
|
-
parentRelationType:
|
|
2237
|
+
parentRelationType: I.DynamicArgument
|
|
2238
2238
|
}, sv = {
|
|
2239
2239
|
id: "sequential-execution-list-of-functions-blueprint-id",
|
|
2240
2240
|
type: n.ActionDescriptor,
|
|
@@ -2302,7 +2302,7 @@ const iv = {
|
|
|
2302
2302
|
required: !0,
|
|
2303
2303
|
index: 0,
|
|
2304
2304
|
parent: uv,
|
|
2305
|
-
parentRelationType:
|
|
2305
|
+
parentRelationType: I.FixedArguments
|
|
2306
2306
|
}, pv = {
|
|
2307
2307
|
type: n.GenericReference,
|
|
2308
2308
|
id: "parallel-execution-operation-list-of-execution-results-return-parent-ref",
|
|
@@ -2318,7 +2318,7 @@ const iv = {
|
|
|
2318
2318
|
required: !0,
|
|
2319
2319
|
index: 0,
|
|
2320
2320
|
parent: pv,
|
|
2321
|
-
parentRelationType:
|
|
2321
|
+
parentRelationType: I.FixedReturns
|
|
2322
2322
|
}, yv = {
|
|
2323
2323
|
type: n.GenericReference,
|
|
2324
2324
|
id: "sequential-execution-operation-error-parent-ref",
|
|
@@ -2334,7 +2334,7 @@ const iv = {
|
|
|
2334
2334
|
required: !0,
|
|
2335
2335
|
index: 1,
|
|
2336
2336
|
parent: yv,
|
|
2337
|
-
parentRelationType:
|
|
2337
|
+
parentRelationType: I.ReturnedError
|
|
2338
2338
|
}, vn = {
|
|
2339
2339
|
id: Me.Sequential,
|
|
2340
2340
|
type: n.ActionDescriptor,
|
|
@@ -2386,7 +2386,7 @@ const bv = {
|
|
|
2386
2386
|
description: "The data to be used to create the new entity, with all the required properties",
|
|
2387
2387
|
dataType: vv,
|
|
2388
2388
|
required: !0,
|
|
2389
|
-
parentRelationType:
|
|
2389
|
+
parentRelationType: I.FixedArguments,
|
|
2390
2390
|
index: 1,
|
|
2391
2391
|
parent: bv
|
|
2392
2392
|
}, gv = {
|
|
@@ -2423,7 +2423,7 @@ const bv = {
|
|
|
2423
2423
|
description: "The entity of which a new copy will to be created",
|
|
2424
2424
|
dataType: Iv,
|
|
2425
2425
|
required: !0,
|
|
2426
|
-
parentRelationType:
|
|
2426
|
+
parentRelationType: I.FixedArguments,
|
|
2427
2427
|
index: 0,
|
|
2428
2428
|
parent: Dv
|
|
2429
2429
|
}, Av = {
|
|
@@ -2432,7 +2432,7 @@ const bv = {
|
|
|
2432
2432
|
entityId: Se.CreateNewInstance,
|
|
2433
2433
|
entityType: n.ActionDescriptor
|
|
2434
2434
|
}, Sv = {
|
|
2435
|
-
parentRelationType:
|
|
2435
|
+
parentRelationType: I.FixedReturns,
|
|
2436
2436
|
id: "create-new-instance-output-entity-declaration",
|
|
2437
2437
|
type: n.ValueDescriptor,
|
|
2438
2438
|
version: 1,
|
|
@@ -2448,7 +2448,7 @@ const bv = {
|
|
|
2448
2448
|
entityId: Se.CreateNewInstance,
|
|
2449
2449
|
entityType: n.ActionDescriptor
|
|
2450
2450
|
}, Cv = {
|
|
2451
|
-
parentRelationType:
|
|
2451
|
+
parentRelationType: I.FixedReturns,
|
|
2452
2452
|
id: "create-new-instance-error-return-delaration",
|
|
2453
2453
|
type: n.ValueDescriptor,
|
|
2454
2454
|
version: 1,
|
|
@@ -2471,7 +2471,7 @@ const bv = {
|
|
|
2471
2471
|
outputs: [Sv],
|
|
2472
2472
|
error: Cv,
|
|
2473
2473
|
parent: null
|
|
2474
|
-
}, Zr =
|
|
2474
|
+
}, Zr = _[n.Operation][Se.Validate], wv = {
|
|
2475
2475
|
type: n.GenericReference,
|
|
2476
2476
|
id: "validate-data-operation-data-to-validate-argument-declaration-ref",
|
|
2477
2477
|
entityType: n.ValueDescriptor,
|
|
@@ -2504,7 +2504,7 @@ const bv = {
|
|
|
2504
2504
|
description: "The value to validate against the given entity type",
|
|
2505
2505
|
dataType: Bv,
|
|
2506
2506
|
required: !0,
|
|
2507
|
-
parentRelationType:
|
|
2507
|
+
parentRelationType: I.FixedArguments,
|
|
2508
2508
|
index: 0,
|
|
2509
2509
|
parent: _v
|
|
2510
2510
|
}, Nv = {
|
|
@@ -2541,7 +2541,7 @@ const bv = {
|
|
|
2541
2541
|
dataType: Vv,
|
|
2542
2542
|
required: !0,
|
|
2543
2543
|
index: 0,
|
|
2544
|
-
parentRelationType:
|
|
2544
|
+
parentRelationType: I.FixedArguments,
|
|
2545
2545
|
parent: xv
|
|
2546
2546
|
}, Gv = {
|
|
2547
2547
|
type: n.GenericReference,
|
|
@@ -2558,7 +2558,7 @@ const bv = {
|
|
|
2558
2558
|
parent: Gv,
|
|
2559
2559
|
required: !0,
|
|
2560
2560
|
index: 0,
|
|
2561
|
-
parentRelationType:
|
|
2561
|
+
parentRelationType: I.FixedReturns
|
|
2562
2562
|
}, Fv = {
|
|
2563
2563
|
type: n.GenericReference,
|
|
2564
2564
|
id: "wait-operation-error-parent-ref",
|
|
@@ -2574,7 +2574,7 @@ const bv = {
|
|
|
2574
2574
|
required: !0,
|
|
2575
2575
|
index: 1,
|
|
2576
2576
|
parent: Fv,
|
|
2577
|
-
parentRelationType:
|
|
2577
|
+
parentRelationType: I.ReturnedError
|
|
2578
2578
|
}, Kr = {
|
|
2579
2579
|
id: Se.Validate,
|
|
2580
2580
|
type: n.ActionDescriptor,
|
|
@@ -2591,7 +2591,7 @@ const bv = {
|
|
|
2591
2591
|
}, jv = {
|
|
2592
2592
|
[Se.CreateNewInstance]: zr,
|
|
2593
2593
|
[Se.Validate]: Kr
|
|
2594
|
-
}, ze =
|
|
2594
|
+
}, ze = _[n.Operation]["base-http-request"], kv = {
|
|
2595
2595
|
type: n.GenericReference,
|
|
2596
2596
|
id: "d87cf943-57e1-4d19-9f05-190fa8c8ebc4",
|
|
2597
2597
|
entityType: n.DataType,
|
|
@@ -2833,7 +2833,7 @@ const bv = {
|
|
|
2833
2833
|
dataType: Xv,
|
|
2834
2834
|
required: !1,
|
|
2835
2835
|
index: 0,
|
|
2836
|
-
parentRelationType:
|
|
2836
|
+
parentRelationType: I.FixedArguments,
|
|
2837
2837
|
parent: uR
|
|
2838
2838
|
}, pR = {
|
|
2839
2839
|
type: n.GenericReference,
|
|
@@ -2849,7 +2849,7 @@ const bv = {
|
|
|
2849
2849
|
dataType: Wv,
|
|
2850
2850
|
required: !1,
|
|
2851
2851
|
index: 1,
|
|
2852
|
-
parentRelationType:
|
|
2852
|
+
parentRelationType: I.FixedArguments,
|
|
2853
2853
|
parent: pR
|
|
2854
2854
|
}, yR = {
|
|
2855
2855
|
type: n.GenericReference,
|
|
@@ -2865,7 +2865,7 @@ const bv = {
|
|
|
2865
2865
|
dataType: Hv,
|
|
2866
2866
|
required: !1,
|
|
2867
2867
|
index: 2,
|
|
2868
|
-
parentRelationType:
|
|
2868
|
+
parentRelationType: I.FixedArguments,
|
|
2869
2869
|
parent: yR
|
|
2870
2870
|
}, hR = {
|
|
2871
2871
|
type: n.GenericReference,
|
|
@@ -2882,7 +2882,7 @@ const bv = {
|
|
|
2882
2882
|
required: !1,
|
|
2883
2883
|
index: 3,
|
|
2884
2884
|
parent: hR,
|
|
2885
|
-
parentRelationType:
|
|
2885
|
+
parentRelationType: I.FixedArguments
|
|
2886
2886
|
}, fR = {
|
|
2887
2887
|
type: n.GenericReference,
|
|
2888
2888
|
id: "c3e2a4af-9b84-4574-8b30-5044ffc51776",
|
|
@@ -2897,7 +2897,7 @@ const bv = {
|
|
|
2897
2897
|
dataType: nR,
|
|
2898
2898
|
required: !1,
|
|
2899
2899
|
index: 4,
|
|
2900
|
-
parentRelationType:
|
|
2900
|
+
parentRelationType: I.FixedArguments,
|
|
2901
2901
|
parent: fR
|
|
2902
2902
|
}, mR = {
|
|
2903
2903
|
type: n.GenericReference,
|
|
@@ -2913,7 +2913,7 @@ const bv = {
|
|
|
2913
2913
|
dataType: iR,
|
|
2914
2914
|
required: !0,
|
|
2915
2915
|
index: 0,
|
|
2916
|
-
parentRelationType:
|
|
2916
|
+
parentRelationType: I.FixedReturns,
|
|
2917
2917
|
parent: mR
|
|
2918
2918
|
}, TR = {
|
|
2919
2919
|
type: n.GenericReference,
|
|
@@ -2921,7 +2921,7 @@ const bv = {
|
|
|
2921
2921
|
entityType: n.ActionDescriptor,
|
|
2922
2922
|
entityId: it.HttpRequest
|
|
2923
2923
|
}, Fo = {
|
|
2924
|
-
parentRelationType:
|
|
2924
|
+
parentRelationType: I.FixedReturns,
|
|
2925
2925
|
id: ze.outputs.headers.id,
|
|
2926
2926
|
type: n.ValueDescriptor,
|
|
2927
2927
|
description: "A set of any properties, with names and value that the server sent back to you. It represents metadata about the response, such as the server, date, content type, and more.",
|
|
@@ -2937,7 +2937,7 @@ const bv = {
|
|
|
2937
2937
|
entityType: n.ActionDescriptor,
|
|
2938
2938
|
entityId: it.HttpRequest
|
|
2939
2939
|
}, Qa = {
|
|
2940
|
-
parentRelationType:
|
|
2940
|
+
parentRelationType: I.FixedReturns,
|
|
2941
2941
|
id: ze.outputs.body.id,
|
|
2942
2942
|
type: n.ValueDescriptor,
|
|
2943
2943
|
description: "The main data payload of the response. This is the data that the server sent back to you. It could be anything, but it is usually a JSON data structure or a text value.",
|
|
@@ -2973,7 +2973,7 @@ const bv = {
|
|
|
2973
2973
|
defaultValue: null,
|
|
2974
2974
|
parent: vR
|
|
2975
2975
|
}, Qd = {
|
|
2976
|
-
parentRelationType:
|
|
2976
|
+
parentRelationType: I.ReturnedError,
|
|
2977
2977
|
id: ze.outputs.error.id,
|
|
2978
2978
|
type: n.ValueDescriptor,
|
|
2979
2979
|
description: "Http request error, if any. Contains a payload describing what went wrong.",
|
|
@@ -3012,7 +3012,7 @@ const bv = {
|
|
|
3012
3012
|
...fv,
|
|
3013
3013
|
...jv,
|
|
3014
3014
|
...gR
|
|
3015
|
-
}, IR =
|
|
3015
|
+
}, IR = _[n.Loop]["manual-flow-loop"], DR = {
|
|
3016
3016
|
id: "manual-flow-loop-dynamic-return-declaration-parent-ref-id",
|
|
3017
3017
|
type: n.GenericReference,
|
|
3018
3018
|
entityId: j.ManualFlow,
|
|
@@ -3027,7 +3027,7 @@ const bv = {
|
|
|
3027
3027
|
dataType: null,
|
|
3028
3028
|
index: 0,
|
|
3029
3029
|
parent: DR,
|
|
3030
|
-
parentRelationType:
|
|
3030
|
+
parentRelationType: I.DynamicReturn
|
|
3031
3031
|
}, eu = {
|
|
3032
3032
|
id: j.ManualFlow,
|
|
3033
3033
|
type: n.ActionDescriptor,
|
|
@@ -3040,7 +3040,7 @@ const bv = {
|
|
|
3040
3040
|
],
|
|
3041
3041
|
error: null,
|
|
3042
3042
|
parent: null
|
|
3043
|
-
}, zi =
|
|
3043
|
+
}, zi = _[n.Loop]["manual-flow-loop"], AR = {
|
|
3044
3044
|
id: "manual-flow-loop-current-iteration-number-declaration-data-type-parent-ref-id",
|
|
3045
3045
|
type: n.GenericReference,
|
|
3046
3046
|
entityId: "manual-flow-loop-current-iteration-number-declaration-id",
|
|
@@ -3074,7 +3074,7 @@ const bv = {
|
|
|
3074
3074
|
dataType: SR,
|
|
3075
3075
|
required: !0,
|
|
3076
3076
|
index: 0,
|
|
3077
|
-
parentRelationType:
|
|
3077
|
+
parentRelationType: I.FixedArguments,
|
|
3078
3078
|
parent: OR
|
|
3079
3079
|
}, CR = {
|
|
3080
3080
|
id: "manual-flow-loop-body-any-dynamic-argument-parent-ref-id",
|
|
@@ -3090,7 +3090,7 @@ const bv = {
|
|
|
3090
3090
|
dataType: null,
|
|
3091
3091
|
required: !1,
|
|
3092
3092
|
index: 1,
|
|
3093
|
-
parentRelationType:
|
|
3093
|
+
parentRelationType: I.DynamicArgument,
|
|
3094
3094
|
parent: CR
|
|
3095
3095
|
}, BR = {
|
|
3096
3096
|
id: "manual-flow-loop-body-any-dynamic-return-parent-ref-id",
|
|
@@ -3106,7 +3106,7 @@ const bv = {
|
|
|
3106
3106
|
dataType: null,
|
|
3107
3107
|
required: !1,
|
|
3108
3108
|
index: 0,
|
|
3109
|
-
parentRelationType:
|
|
3109
|
+
parentRelationType: I.DynamicReturn,
|
|
3110
3110
|
parent: BR
|
|
3111
3111
|
}, nu = {
|
|
3112
3112
|
id: zi.body.id,
|
|
@@ -3121,7 +3121,7 @@ const bv = {
|
|
|
3121
3121
|
outputs: [_R],
|
|
3122
3122
|
error: null,
|
|
3123
3123
|
parent: null
|
|
3124
|
-
}, ru =
|
|
3124
|
+
}, ru = _[n.Loop]["list-loop"], MR = {
|
|
3125
3125
|
id: "iterate-over-list-loop-list-argument-declaration-data-type-parent-ref-id",
|
|
3126
3126
|
type: n.GenericReference,
|
|
3127
3127
|
entityId: "iterate-over-list-loop-list-argument-declaration-id",
|
|
@@ -3156,7 +3156,7 @@ const bv = {
|
|
|
3156
3156
|
dataType: NR,
|
|
3157
3157
|
index: 0,
|
|
3158
3158
|
parent: VR,
|
|
3159
|
-
parentRelationType:
|
|
3159
|
+
parentRelationType: I.FixedArguments
|
|
3160
3160
|
}, $R = {
|
|
3161
3161
|
id: "iterate-over-list-loop-dynamic-return-declaration-parent-ref-id",
|
|
3162
3162
|
type: n.GenericReference,
|
|
@@ -3172,7 +3172,7 @@ const bv = {
|
|
|
3172
3172
|
dataType: null,
|
|
3173
3173
|
index: 0,
|
|
3174
3174
|
parent: $R,
|
|
3175
|
-
parentRelationType:
|
|
3175
|
+
parentRelationType: I.DynamicReturn
|
|
3176
3176
|
}, Xr = {
|
|
3177
3177
|
id: j.List,
|
|
3178
3178
|
type: n.ActionDescriptor,
|
|
@@ -3183,7 +3183,7 @@ const bv = {
|
|
|
3183
3183
|
outputs: [GR],
|
|
3184
3184
|
error: null,
|
|
3185
3185
|
parent: null
|
|
3186
|
-
}, nr =
|
|
3186
|
+
}, nr = _[n.Loop]["list-loop"], LR = {
|
|
3187
3187
|
id: "iterate-over-list-loop-body-current-value-declaration-data-type-parent-ref-id",
|
|
3188
3188
|
type: n.GenericReference,
|
|
3189
3189
|
entityId: "iterate-over-list-loop-body-current-value-declaration-id",
|
|
@@ -3217,7 +3217,7 @@ const bv = {
|
|
|
3217
3217
|
dataType: FR,
|
|
3218
3218
|
required: !0,
|
|
3219
3219
|
index: 1,
|
|
3220
|
-
parentRelationType:
|
|
3220
|
+
parentRelationType: I.FixedArguments,
|
|
3221
3221
|
parent: UR
|
|
3222
3222
|
}, jR = {
|
|
3223
3223
|
id: "iterate-over-list-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",
|
|
@@ -3253,7 +3253,7 @@ const bv = {
|
|
|
3253
3253
|
dataType: kR,
|
|
3254
3254
|
required: !0,
|
|
3255
3255
|
index: 0,
|
|
3256
|
-
parentRelationType:
|
|
3256
|
+
parentRelationType: I.FixedArguments,
|
|
3257
3257
|
parent: qR
|
|
3258
3258
|
}, WR = {
|
|
3259
3259
|
id: "iterate-over-list-loop-body-any-dynamic-argument-parent-ref-id",
|
|
@@ -3269,7 +3269,7 @@ const bv = {
|
|
|
3269
3269
|
dataType: null,
|
|
3270
3270
|
required: !1,
|
|
3271
3271
|
index: 2,
|
|
3272
|
-
parentRelationType:
|
|
3272
|
+
parentRelationType: I.DynamicArgument,
|
|
3273
3273
|
parent: WR
|
|
3274
3274
|
}, HR = {
|
|
3275
3275
|
id: "iterate-over-list-loop-body-any-dynamic-return-parent-ref-id",
|
|
@@ -3285,7 +3285,7 @@ const bv = {
|
|
|
3285
3285
|
dataType: null,
|
|
3286
3286
|
required: !1,
|
|
3287
3287
|
index: 0,
|
|
3288
|
-
parentRelationType:
|
|
3288
|
+
parentRelationType: I.DynamicReturn,
|
|
3289
3289
|
parent: HR
|
|
3290
3290
|
}, jo = {
|
|
3291
3291
|
id: nr.body.id,
|
|
@@ -3301,7 +3301,7 @@ const bv = {
|
|
|
3301
3301
|
outputs: [zR],
|
|
3302
3302
|
error: null,
|
|
3303
3303
|
parent: null
|
|
3304
|
-
}, iu =
|
|
3304
|
+
}, iu = _[n.Loop]["string-loop"], ZR = {
|
|
3305
3305
|
id: "iterate-over-string-loop-string-argument-declaration-data-type-parent-ref-id",
|
|
3306
3306
|
type: n.GenericReference,
|
|
3307
3307
|
entityId: "iterate-over-string-loop-string-argument-declaration-id",
|
|
@@ -3336,7 +3336,7 @@ const bv = {
|
|
|
3336
3336
|
dataType: KR,
|
|
3337
3337
|
index: 0,
|
|
3338
3338
|
parent: XR,
|
|
3339
|
-
parentRelationType:
|
|
3339
|
+
parentRelationType: I.FixedArguments
|
|
3340
3340
|
}, eg = {
|
|
3341
3341
|
id: "iterate-over-string-loop-dynamic-return-declaration-parent-ref-id",
|
|
3342
3342
|
type: n.GenericReference,
|
|
@@ -3352,7 +3352,7 @@ const bv = {
|
|
|
3352
3352
|
dataType: null,
|
|
3353
3353
|
index: 0,
|
|
3354
3354
|
parent: eg,
|
|
3355
|
-
parentRelationType:
|
|
3355
|
+
parentRelationType: I.DynamicReturn
|
|
3356
3356
|
}, ko = {
|
|
3357
3357
|
id: j.String,
|
|
3358
3358
|
type: n.ActionDescriptor,
|
|
@@ -3363,7 +3363,7 @@ const bv = {
|
|
|
3363
3363
|
outputs: [tg],
|
|
3364
3364
|
error: null,
|
|
3365
3365
|
parent: null
|
|
3366
|
-
}, rr =
|
|
3366
|
+
}, rr = _[n.Loop]["string-loop"], ng = {
|
|
3367
3367
|
id: "iterate-over-string-loop-body-current-value-declaration-data-type-parent-ref-id",
|
|
3368
3368
|
type: n.GenericReference,
|
|
3369
3369
|
entityId: "iterate-over-string-loop-body-current-value-declaration-id",
|
|
@@ -3397,7 +3397,7 @@ const bv = {
|
|
|
3397
3397
|
dataType: rg,
|
|
3398
3398
|
required: !0,
|
|
3399
3399
|
index: 1,
|
|
3400
|
-
parentRelationType:
|
|
3400
|
+
parentRelationType: I.FixedArguments,
|
|
3401
3401
|
parent: ig
|
|
3402
3402
|
}, ag = {
|
|
3403
3403
|
id: "iterate-over-string-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",
|
|
@@ -3433,7 +3433,7 @@ const bv = {
|
|
|
3433
3433
|
dataType: sg,
|
|
3434
3434
|
required: !0,
|
|
3435
3435
|
index: 0,
|
|
3436
|
-
parentRelationType:
|
|
3436
|
+
parentRelationType: I.FixedArguments,
|
|
3437
3437
|
parent: og
|
|
3438
3438
|
}, lg = {
|
|
3439
3439
|
id: "iterate-over-string-loop-body-any-dynamic-argument-parent-ref-id",
|
|
@@ -3449,7 +3449,7 @@ const bv = {
|
|
|
3449
3449
|
dataType: null,
|
|
3450
3450
|
required: !1,
|
|
3451
3451
|
index: 2,
|
|
3452
|
-
parentRelationType:
|
|
3452
|
+
parentRelationType: I.DynamicArgument,
|
|
3453
3453
|
parent: lg
|
|
3454
3454
|
}, dg = {
|
|
3455
3455
|
id: "iterate-over-string-loop-body-any-dynamic-return-parent-ref-id",
|
|
@@ -3465,7 +3465,7 @@ const bv = {
|
|
|
3465
3465
|
dataType: null,
|
|
3466
3466
|
required: !1,
|
|
3467
3467
|
index: 0,
|
|
3468
|
-
parentRelationType:
|
|
3468
|
+
parentRelationType: I.DynamicReturn,
|
|
3469
3469
|
parent: dg
|
|
3470
3470
|
}, ou = {
|
|
3471
3471
|
id: rr.body.id,
|
|
@@ -3481,7 +3481,7 @@ const bv = {
|
|
|
3481
3481
|
outputs: [ug],
|
|
3482
3482
|
error: null,
|
|
3483
3483
|
parent: null
|
|
3484
|
-
}, lu =
|
|
3484
|
+
}, lu = _[n.Loop]["object-keys-loop"], pg = {
|
|
3485
3485
|
id: "iterate-over-object-keys-loop-object-argument-declaration-data-type-parent-ref-id",
|
|
3486
3486
|
type: n.GenericReference,
|
|
3487
3487
|
entityId: "iterate-over-object-keys-loop-object-argument-declaration-id",
|
|
@@ -3516,7 +3516,7 @@ const bv = {
|
|
|
3516
3516
|
dataType: yg,
|
|
3517
3517
|
index: 0,
|
|
3518
3518
|
parent: hg,
|
|
3519
|
-
parentRelationType:
|
|
3519
|
+
parentRelationType: I.FixedArguments
|
|
3520
3520
|
}, mg = {
|
|
3521
3521
|
id: "iterate-over-object-keys-loop-dynamic-return-declaration-parent-ref-id",
|
|
3522
3522
|
type: n.GenericReference,
|
|
@@ -3532,7 +3532,7 @@ const bv = {
|
|
|
3532
3532
|
dataType: null,
|
|
3533
3533
|
index: 0,
|
|
3534
3534
|
parent: mg,
|
|
3535
|
-
parentRelationType:
|
|
3535
|
+
parentRelationType: I.DynamicReturn
|
|
3536
3536
|
}, ts = {
|
|
3537
3537
|
id: j.ObjectKeys,
|
|
3538
3538
|
type: n.ActionDescriptor,
|
|
@@ -3543,7 +3543,7 @@ const bv = {
|
|
|
3543
3543
|
outputs: [Tg],
|
|
3544
3544
|
error: null,
|
|
3545
3545
|
parent: null
|
|
3546
|
-
}, ir =
|
|
3546
|
+
}, ir = _[n.Loop]["object-keys-loop"], bg = {
|
|
3547
3547
|
id: "iterate-over-object-keys-loop-body-current-value-declaration-data-type-parent-ref-id",
|
|
3548
3548
|
type: n.GenericReference,
|
|
3549
3549
|
entityId: "iterate-over-object-keys-loop-body-current-value-declaration-id",
|
|
@@ -3577,7 +3577,7 @@ const bv = {
|
|
|
3577
3577
|
dataType: Eg,
|
|
3578
3578
|
required: !0,
|
|
3579
3579
|
index: 1,
|
|
3580
|
-
parentRelationType:
|
|
3580
|
+
parentRelationType: I.FixedArguments,
|
|
3581
3581
|
parent: vg
|
|
3582
3582
|
}, Rg = {
|
|
3583
3583
|
id: "iterate-over-object-keys-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",
|
|
@@ -3613,7 +3613,7 @@ const bv = {
|
|
|
3613
3613
|
dataType: gg,
|
|
3614
3614
|
required: !0,
|
|
3615
3615
|
index: 0,
|
|
3616
|
-
parentRelationType:
|
|
3616
|
+
parentRelationType: I.FixedArguments,
|
|
3617
3617
|
parent: Ig
|
|
3618
3618
|
}, Pg = {
|
|
3619
3619
|
id: "iterate-over-object-keys-loop-body-any-dynamic-argument-parent-ref-id",
|
|
@@ -3629,7 +3629,7 @@ const bv = {
|
|
|
3629
3629
|
dataType: null,
|
|
3630
3630
|
required: !1,
|
|
3631
3631
|
index: 2,
|
|
3632
|
-
parentRelationType:
|
|
3632
|
+
parentRelationType: I.DynamicArgument,
|
|
3633
3633
|
parent: Pg
|
|
3634
3634
|
}, Sg = {
|
|
3635
3635
|
id: "iterate-over-object-keys-loop-body-any-dynamic-return-parent-ref-id",
|
|
@@ -3645,7 +3645,7 @@ const bv = {
|
|
|
3645
3645
|
dataType: null,
|
|
3646
3646
|
required: !1,
|
|
3647
3647
|
index: 0,
|
|
3648
|
-
parentRelationType:
|
|
3648
|
+
parentRelationType: I.DynamicReturn,
|
|
3649
3649
|
parent: Sg
|
|
3650
3650
|
}, Cg = {
|
|
3651
3651
|
id: ir.body.id,
|
|
@@ -3663,7 +3663,7 @@ const bv = {
|
|
|
3663
3663
|
],
|
|
3664
3664
|
error: null,
|
|
3665
3665
|
parent: null
|
|
3666
|
-
}, du =
|
|
3666
|
+
}, du = _[n.Loop]["object-values-loop"], wg = {
|
|
3667
3667
|
id: "iterate-over-object-values-loop-object-argument-declaration-data-type-parent-ref-id",
|
|
3668
3668
|
type: n.GenericReference,
|
|
3669
3669
|
entityId: "iterate-over-object-values-loop-object-argument-declaration-id",
|
|
@@ -3698,7 +3698,7 @@ const bv = {
|
|
|
3698
3698
|
dataType: Bg,
|
|
3699
3699
|
index: 0,
|
|
3700
3700
|
parent: _g,
|
|
3701
|
-
parentRelationType:
|
|
3701
|
+
parentRelationType: I.FixedArguments
|
|
3702
3702
|
}, Ng = {
|
|
3703
3703
|
id: "iterate-over-object-values-loop-dynamic-return-declaration-parent-ref-id",
|
|
3704
3704
|
type: n.GenericReference,
|
|
@@ -3714,7 +3714,7 @@ const bv = {
|
|
|
3714
3714
|
dataType: null,
|
|
3715
3715
|
index: 0,
|
|
3716
3716
|
parent: Ng,
|
|
3717
|
-
parentRelationType:
|
|
3717
|
+
parentRelationType: I.DynamicReturn
|
|
3718
3718
|
}, ns = {
|
|
3719
3719
|
id: j.ObjectValues,
|
|
3720
3720
|
type: n.ActionDescriptor,
|
|
@@ -3729,7 +3729,7 @@ const bv = {
|
|
|
3729
3729
|
],
|
|
3730
3730
|
error: null,
|
|
3731
3731
|
parent: null
|
|
3732
|
-
}, ar =
|
|
3732
|
+
}, ar = _[n.Loop]["object-values-loop"], xg = {
|
|
3733
3733
|
id: "iterate-over-object-values-loop-body-current-value-declaration-data-type-parent-ref-id",
|
|
3734
3734
|
type: n.GenericReference,
|
|
3735
3735
|
entityId: "iterate-over-object-values-loop-body-current-value-declaration-id",
|
|
@@ -3763,7 +3763,7 @@ const bv = {
|
|
|
3763
3763
|
dataType: $g,
|
|
3764
3764
|
required: !0,
|
|
3765
3765
|
index: 1,
|
|
3766
|
-
parentRelationType:
|
|
3766
|
+
parentRelationType: I.FixedArguments,
|
|
3767
3767
|
parent: Gg
|
|
3768
3768
|
}, Lg = {
|
|
3769
3769
|
id: "iterate-over-object-values-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",
|
|
@@ -3799,7 +3799,7 @@ const bv = {
|
|
|
3799
3799
|
dataType: Fg,
|
|
3800
3800
|
required: !0,
|
|
3801
3801
|
index: 0,
|
|
3802
|
-
parentRelationType:
|
|
3802
|
+
parentRelationType: I.FixedArguments,
|
|
3803
3803
|
parent: Ug
|
|
3804
3804
|
}, kg = {
|
|
3805
3805
|
id: "iterate-over-object-values-loop-body-any-dynamic-argument-parent-ref-id",
|
|
@@ -3815,7 +3815,7 @@ const bv = {
|
|
|
3815
3815
|
dataType: null,
|
|
3816
3816
|
required: !1,
|
|
3817
3817
|
index: 2,
|
|
3818
|
-
parentRelationType:
|
|
3818
|
+
parentRelationType: I.DynamicArgument,
|
|
3819
3819
|
parent: kg
|
|
3820
3820
|
}, Jg = {
|
|
3821
3821
|
id: "iterate-over-object-values-loop-body-any-dynamic-return-parent-ref-id",
|
|
@@ -3831,7 +3831,7 @@ const bv = {
|
|
|
3831
3831
|
dataType: null,
|
|
3832
3832
|
required: !1,
|
|
3833
3833
|
index: 0,
|
|
3834
|
-
parentRelationType:
|
|
3834
|
+
parentRelationType: I.DynamicReturn,
|
|
3835
3835
|
parent: Jg
|
|
3836
3836
|
}, Yg = {
|
|
3837
3837
|
id: ar.body.id,
|
|
@@ -3847,7 +3847,7 @@ const bv = {
|
|
|
3847
3847
|
outputs: [Wg],
|
|
3848
3848
|
error: null,
|
|
3849
3849
|
parent: null
|
|
3850
|
-
}, pu =
|
|
3850
|
+
}, pu = _[n.Loop]["counted-loop"], Hg = {
|
|
3851
3851
|
id: "counted-loop-string-argument-declaration-data-type-default-value-parent-ref-id",
|
|
3852
3852
|
type: n.GenericReference,
|
|
3853
3853
|
entityId: "counted-loop-string-argument-declaration-data-type-id",
|
|
@@ -3896,7 +3896,7 @@ const bv = {
|
|
|
3896
3896
|
dataType: Kg,
|
|
3897
3897
|
index: 0,
|
|
3898
3898
|
parent: Xg,
|
|
3899
|
-
parentRelationType:
|
|
3899
|
+
parentRelationType: I.FixedArguments
|
|
3900
3900
|
}, eI = {
|
|
3901
3901
|
id: "counted-loop-dynamic-return-declaration-parent-ref-id",
|
|
3902
3902
|
type: n.GenericReference,
|
|
@@ -3912,7 +3912,7 @@ const bv = {
|
|
|
3912
3912
|
dataType: null,
|
|
3913
3913
|
index: 0,
|
|
3914
3914
|
parent: eI,
|
|
3915
|
-
parentRelationType:
|
|
3915
|
+
parentRelationType: I.DynamicReturn
|
|
3916
3916
|
}, qo = {
|
|
3917
3917
|
id: j.Counted,
|
|
3918
3918
|
type: n.ActionDescriptor,
|
|
@@ -3923,7 +3923,7 @@ const bv = {
|
|
|
3923
3923
|
outputs: [tI],
|
|
3924
3924
|
error: null,
|
|
3925
3925
|
parent: null
|
|
3926
|
-
}, Zi =
|
|
3926
|
+
}, Zi = _[n.Loop]["counted-loop"], nI = {
|
|
3927
3927
|
id: "counted-loop-body-current-iteration-number-declaration-data-type-parent-ref-id",
|
|
3928
3928
|
type: n.GenericReference,
|
|
3929
3929
|
entityId: "counted-loop-body-current-iteration-number-declaration-id",
|
|
@@ -3957,7 +3957,7 @@ const bv = {
|
|
|
3957
3957
|
dataType: rI,
|
|
3958
3958
|
required: !0,
|
|
3959
3959
|
index: 0,
|
|
3960
|
-
parentRelationType:
|
|
3960
|
+
parentRelationType: I.FixedArguments,
|
|
3961
3961
|
parent: iI
|
|
3962
3962
|
}, aI = {
|
|
3963
3963
|
id: "counted-loop-body-any-dynamic-argument-parent-ref-id",
|
|
@@ -3973,7 +3973,7 @@ const bv = {
|
|
|
3973
3973
|
dataType: null,
|
|
3974
3974
|
required: !1,
|
|
3975
3975
|
index: 1,
|
|
3976
|
-
parentRelationType:
|
|
3976
|
+
parentRelationType: I.DynamicArgument,
|
|
3977
3977
|
parent: aI
|
|
3978
3978
|
}, oI = {
|
|
3979
3979
|
id: "counted-loop-body-any-dynamic-return-parent-ref-id",
|
|
@@ -3989,7 +3989,7 @@ const bv = {
|
|
|
3989
3989
|
dataType: null,
|
|
3990
3990
|
required: !1,
|
|
3991
3991
|
index: 0,
|
|
3992
|
-
parentRelationType:
|
|
3992
|
+
parentRelationType: I.DynamicReturn,
|
|
3993
3993
|
parent: oI
|
|
3994
3994
|
}, hu = {
|
|
3995
3995
|
id: Zi.body.id,
|
|
@@ -4004,7 +4004,7 @@ const bv = {
|
|
|
4004
4004
|
outputs: [lI],
|
|
4005
4005
|
error: null,
|
|
4006
4006
|
parent: null
|
|
4007
|
-
}, Na =
|
|
4007
|
+
}, Na = _[n.BuiltInBaseEntity][x.KEY_VALUE_PARAM], f2 = {
|
|
4008
4008
|
id: "key-value-param-built-in-base-entity-name-property-data-type-ref",
|
|
4009
4009
|
type: n.GenericReference,
|
|
4010
4010
|
entityId: "key-value-param-built-in-base-entity-name-property-data-type",
|
|
@@ -4110,7 +4110,7 @@ const bv = {
|
|
|
4110
4110
|
abstractMethods: [],
|
|
4111
4111
|
methods: [],
|
|
4112
4112
|
extends: []
|
|
4113
|
-
}, Ki =
|
|
4113
|
+
}, Ki = _[n.BuiltInBaseEntity][x.HTTP_ENDPOINT].properties, TI = {
|
|
4114
4114
|
id: "endpointBuiltInCorsPropertyDataTypeRef",
|
|
4115
4115
|
type: n.GenericReference,
|
|
4116
4116
|
entityType: n.DataType,
|
|
@@ -4420,7 +4420,7 @@ const bv = {
|
|
|
4420
4420
|
dataType: _I,
|
|
4421
4421
|
required: !0,
|
|
4422
4422
|
index: 0,
|
|
4423
|
-
parentRelationType:
|
|
4423
|
+
parentRelationType: I.FixedArguments,
|
|
4424
4424
|
parent: UI
|
|
4425
4425
|
}, jI = {
|
|
4426
4426
|
id: "endpointReachedTriggerActionDescriptorRefTwo",
|
|
@@ -4436,7 +4436,7 @@ const bv = {
|
|
|
4436
4436
|
dataType: FI,
|
|
4437
4437
|
required: !0,
|
|
4438
4438
|
index: 1,
|
|
4439
|
-
parentRelationType:
|
|
4439
|
+
parentRelationType: I.FixedArguments,
|
|
4440
4440
|
parent: jI
|
|
4441
4441
|
}, kI = {
|
|
4442
4442
|
id: "endpointReachedTriggerActionDescriptorRefThree",
|
|
@@ -4452,7 +4452,7 @@ const bv = {
|
|
|
4452
4452
|
dataType: $I,
|
|
4453
4453
|
required: !0,
|
|
4454
4454
|
index: 2,
|
|
4455
|
-
parentRelationType:
|
|
4455
|
+
parentRelationType: I.FixedArguments,
|
|
4456
4456
|
parent: kI
|
|
4457
4457
|
}, qI = {
|
|
4458
4458
|
id: "endpointReachedTriggerActionDescriptorRefFour",
|
|
@@ -4468,7 +4468,7 @@ const bv = {
|
|
|
4468
4468
|
dataType: NI,
|
|
4469
4469
|
index: 3,
|
|
4470
4470
|
required: !0,
|
|
4471
|
-
parentRelationType:
|
|
4471
|
+
parentRelationType: I.FixedArguments,
|
|
4472
4472
|
parent: qI
|
|
4473
4473
|
}, JI = {
|
|
4474
4474
|
id: "endpointResponseCodeReturnDeclarationRef",
|
|
@@ -4504,7 +4504,7 @@ const bv = {
|
|
|
4504
4504
|
dataType: WI,
|
|
4505
4505
|
required: !0,
|
|
4506
4506
|
index: 0,
|
|
4507
|
-
parentRelationType:
|
|
4507
|
+
parentRelationType: I.FixedReturns,
|
|
4508
4508
|
parent: YI
|
|
4509
4509
|
}, HI = {
|
|
4510
4510
|
id: "endpointResponseHeadersDataTypeRef",
|
|
@@ -4554,7 +4554,7 @@ const bv = {
|
|
|
4554
4554
|
dataType: ZI,
|
|
4555
4555
|
required: !1,
|
|
4556
4556
|
index: 1,
|
|
4557
|
-
parentRelationType:
|
|
4557
|
+
parentRelationType: I.FixedReturns,
|
|
4558
4558
|
parent: KI
|
|
4559
4559
|
}, XI = {
|
|
4560
4560
|
id: "endpointResponseBodyReturnDeclarationRef",
|
|
@@ -4590,7 +4590,7 @@ const bv = {
|
|
|
4590
4590
|
dataType: QI,
|
|
4591
4591
|
required: !1,
|
|
4592
4592
|
index: 2,
|
|
4593
|
-
parentRelationType:
|
|
4593
|
+
parentRelationType: I.FixedReturns,
|
|
4594
4594
|
parent: eD
|
|
4595
4595
|
}, tD = {
|
|
4596
4596
|
id: "endpointBuiltInBaseEntityRefFour",
|
|
@@ -4633,7 +4633,7 @@ const bv = {
|
|
|
4633
4633
|
abstractMethods: [Du],
|
|
4634
4634
|
extends: [],
|
|
4635
4635
|
methods: []
|
|
4636
|
-
}, Vt =
|
|
4636
|
+
}, Vt = _[n.BuiltInBaseEntity].BUILT_IN_RELATIONAL_DATABASE_ENTITY, nD = {
|
|
4637
4637
|
id: "relational-database-built-in-base-entity-identifier-property-data-type-ref-id",
|
|
4638
4638
|
type: n.GenericReference,
|
|
4639
4639
|
entityId: "relational-database-built-in-base-entity-identifier-property-data-type-id",
|
|
@@ -4999,7 +4999,7 @@ const bv = {
|
|
|
4999
4999
|
private: !1,
|
|
5000
5000
|
x: 0,
|
|
5001
5001
|
y: 0
|
|
5002
|
-
}, Ou =
|
|
5002
|
+
}, Ou = _[n.BuiltInBaseEntity][x.PERSISTED_ENTITY].properties, E2 = {
|
|
5003
5003
|
id: "persisted-built-in-base-entity-database-property-data-type-ref-id",
|
|
5004
5004
|
type: n.GenericReference,
|
|
5005
5005
|
entityId: "persisted-built-in-base-entity-database-property-data-type-id",
|
|
@@ -5271,7 +5271,7 @@ const bv = {
|
|
|
5271
5271
|
error: null,
|
|
5272
5272
|
outputs: [],
|
|
5273
5273
|
parent: jD
|
|
5274
|
-
}, wu =
|
|
5274
|
+
}, wu = _[n.BuiltInBaseEntity].BUILT_IN_CRON_JOB_ENTITY, I2 = {
|
|
5275
5275
|
id: "cron-job-built-in-base-entity-expression-property-data-type-ref",
|
|
5276
5276
|
type: n.GenericReference,
|
|
5277
5277
|
entityId: "cron-job-built-in-base-entity-expression-property-data-type",
|
|
@@ -5363,7 +5363,7 @@ const bv = {
|
|
|
5363
5363
|
properties: [],
|
|
5364
5364
|
methods: [_u],
|
|
5365
5365
|
abstractMethods: []
|
|
5366
|
-
}, HD =
|
|
5366
|
+
}, HD = _[n.Condition]["not-empty"], zD = {
|
|
5367
5367
|
type: n.GenericReference,
|
|
5368
5368
|
id: "not-empty-condition-ref",
|
|
5369
5369
|
entityType: n.ActionDescriptor,
|
|
@@ -5376,7 +5376,7 @@ const bv = {
|
|
|
5376
5376
|
description: "The value to check if it is not empty",
|
|
5377
5377
|
dataType: null,
|
|
5378
5378
|
required: !0,
|
|
5379
|
-
parentRelationType:
|
|
5379
|
+
parentRelationType: I.FixedArguments,
|
|
5380
5380
|
index: 0,
|
|
5381
5381
|
parent: zD
|
|
5382
5382
|
}, Qr = {
|
|
@@ -5391,7 +5391,7 @@ const bv = {
|
|
|
5391
5391
|
error: null
|
|
5392
5392
|
}, KD = {
|
|
5393
5393
|
[jt.NotEmpty]: Qr
|
|
5394
|
-
}, Nu =
|
|
5394
|
+
}, Nu = _[n.Condition]["more-than-or-equal"], XD = {
|
|
5395
5395
|
type: n.GenericReference,
|
|
5396
5396
|
id: "more-than-or-equal-condition-left-hand-argument-parent-ref",
|
|
5397
5397
|
entityType: n.ActionDescriptor,
|
|
@@ -5404,7 +5404,7 @@ const bv = {
|
|
|
5404
5404
|
description: "The first value to compare",
|
|
5405
5405
|
dataType: null,
|
|
5406
5406
|
required: !0,
|
|
5407
|
-
parentRelationType:
|
|
5407
|
+
parentRelationType: I.FixedArguments,
|
|
5408
5408
|
index: 0,
|
|
5409
5409
|
parent: XD
|
|
5410
5410
|
}, eP = {
|
|
@@ -5420,7 +5420,7 @@ const bv = {
|
|
|
5420
5420
|
description: "The second value to compare",
|
|
5421
5421
|
dataType: null,
|
|
5422
5422
|
required: !0,
|
|
5423
|
-
parentRelationType:
|
|
5423
|
+
parentRelationType: I.FixedArguments,
|
|
5424
5424
|
index: 1,
|
|
5425
5425
|
parent: eP
|
|
5426
5426
|
}, Qi = {
|
|
@@ -5453,7 +5453,7 @@ const bv = {
|
|
|
5453
5453
|
error: null
|
|
5454
5454
|
}, P2 = {
|
|
5455
5455
|
[In.PROJECT_PUBLICATION_COMPLETED]: Ko
|
|
5456
|
-
}, Xo =
|
|
5456
|
+
}, Xo = _[n.ValueDescriptor][_d.ActionOngoingProcessOutputValue], rP = {
|
|
5457
5457
|
type: n.GenericReference,
|
|
5458
5458
|
id: "182f767f-50e8-4394-ba5f-43e78c232733",
|
|
5459
5459
|
entityType: n.ValueDescriptor,
|
|
@@ -5483,7 +5483,7 @@ const bv = {
|
|
|
5483
5483
|
required: !0,
|
|
5484
5484
|
index: 0,
|
|
5485
5485
|
parent: null,
|
|
5486
|
-
parentRelationType:
|
|
5486
|
+
parentRelationType: I.OngoingProcessExecution
|
|
5487
5487
|
};
|
|
5488
5488
|
var ne;
|
|
5489
5489
|
(function(r) {
|
|
@@ -8740,8 +8740,8 @@ function ZA(r) {
|
|
|
8740
8740
|
l[R] = Xs(l[R - 3] ^ l[R - 8] ^ l[R - 14] ^ l[R - 16], 1);
|
|
8741
8741
|
let u = t[0], p = t[1], h = t[2], f = t[3], b = t[4];
|
|
8742
8742
|
for (let R = 0; R < 80; ++R) {
|
|
8743
|
-
const
|
|
8744
|
-
b = f, f = h, h = Xs(p, 30) >>> 0, p = u, u =
|
|
8743
|
+
const D = Math.floor(R / 20), P = Xs(u, 5) + zA(D, p, h, f) + b + e[D] + l[R] >>> 0;
|
|
8744
|
+
b = f, f = h, h = Xs(p, 30) >>> 0, p = u, u = P;
|
|
8745
8745
|
}
|
|
8746
8746
|
t[0] = t[0] + u >>> 0, t[1] = t[1] + p >>> 0, t[2] = t[2] + h >>> 0, t[3] = t[3] + f >>> 0, t[4] = t[4] + b >>> 0;
|
|
8747
8747
|
}
|
|
@@ -8913,8 +8913,8 @@ var yS = (() => {
|
|
|
8913
8913
|
validate: (b, R = !1) => {
|
|
8914
8914
|
if (!b || typeof b != "string")
|
|
8915
8915
|
return !1;
|
|
8916
|
-
const
|
|
8917
|
-
return R === !1 ?
|
|
8916
|
+
const D = a.consistentLength ? b.length === s : b.length <= s, P = b.split("").every((A) => i.includes(A));
|
|
8917
|
+
return R === !1 ? D && P : D && P && dS(rd(b, u));
|
|
8918
8918
|
}
|
|
8919
8919
|
};
|
|
8920
8920
|
return Object.freeze(f), f;
|
|
@@ -24011,7 +24011,7 @@ function t7(r, e) {
|
|
|
24011
24011
|
}
|
|
24012
24012
|
function We(r, e, t) {
|
|
24013
24013
|
const a = `${Ao(r)}-${e}-id`;
|
|
24014
|
-
return t.instances[a] ?
|
|
24014
|
+
return t.instances[a] ? B.UUID.uuid() : a;
|
|
24015
24015
|
}
|
|
24016
24016
|
function gd(r, e) {
|
|
24017
24017
|
let t = "", i = null;
|
|
@@ -24026,7 +24026,7 @@ function gd(r, e) {
|
|
|
24026
24026
|
O(i, e)
|
|
24027
24027
|
)}-`), t = `${a}${Ao(
|
|
24028
24028
|
O(r, e)
|
|
24029
|
-
)}-id`, e.instances[t] ?
|
|
24029
|
+
)}-id`, e.instances[t] ? B.UUID.uuid() : t;
|
|
24030
24030
|
}
|
|
24031
24031
|
function bj(r) {
|
|
24032
24032
|
var o;
|
|
@@ -24492,7 +24492,7 @@ ${So}`,
|
|
|
24492
24492
|
}
|
|
24493
24493
|
toReference() {
|
|
24494
24494
|
return {
|
|
24495
|
-
id: this.id + "--" +
|
|
24495
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
24496
24496
|
type: n.GenericReference,
|
|
24497
24497
|
entityId: this.id,
|
|
24498
24498
|
entityType: this.type
|
|
@@ -24792,12 +24792,12 @@ const ye = class ye {
|
|
|
24792
24792
|
const o = Mm(i, t), l = i.parent ? t.get(i.parent) : null;
|
|
24793
24793
|
if (l && l.type === n.CustomEntity) {
|
|
24794
24794
|
const f = l, R = vr(f).filter(
|
|
24795
|
-
(
|
|
24795
|
+
(D) => !D.interactive
|
|
24796
24796
|
);
|
|
24797
24797
|
if (R.length) {
|
|
24798
|
-
let
|
|
24798
|
+
let D = R.length > 1 ? `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${f.id}' because it extends or implements multiple '${n.BuiltInBaseEntity}' entities that are non-interactive ("${$(
|
|
24799
24799
|
R.map(
|
|
24800
|
-
(
|
|
24800
|
+
(P) => O(P, P.project)
|
|
24801
24801
|
),
|
|
24802
24802
|
'", "',
|
|
24803
24803
|
'" and "'
|
|
@@ -24805,38 +24805,38 @@ const ye = class ye {
|
|
|
24805
24805
|
R[0],
|
|
24806
24806
|
R[0].project
|
|
24807
24807
|
)}").`;
|
|
24808
|
-
|
|
24808
|
+
D += `
|
|
24809
24809
|
${Zn}`, a.push(
|
|
24810
24810
|
new T({
|
|
24811
24811
|
id: `${e.id}--${y.NonInteractiveEntityReferenced}`,
|
|
24812
24812
|
code: y.NonInteractiveEntityReferenced,
|
|
24813
24813
|
severity: m.Error,
|
|
24814
|
-
message:
|
|
24814
|
+
message: D,
|
|
24815
24815
|
issue: null
|
|
24816
24816
|
})
|
|
24817
24817
|
);
|
|
24818
24818
|
} else {
|
|
24819
|
-
const
|
|
24819
|
+
const D = f.methods.find(
|
|
24820
24820
|
(G) => {
|
|
24821
24821
|
var U;
|
|
24822
24822
|
return ((U = G.implements) == null ? void 0 : U.id) === i.implements;
|
|
24823
24823
|
}
|
|
24824
24824
|
);
|
|
24825
|
-
|
|
24825
|
+
D && a.push(
|
|
24826
24826
|
new T({
|
|
24827
24827
|
id: `${i.id}--${S.MethodOverwrite}`,
|
|
24828
24828
|
code: S.MethodOverwrite,
|
|
24829
24829
|
severity: m.Error,
|
|
24830
|
-
message: `The '${n.FunctionDeclaration}' with id "${i.id}" is trying to implement the '${n.ActionDescriptor}' with id "${i.implements}", but the parent custom-entity already has a ${n.FunctionDeclaration} with id '${
|
|
24830
|
+
message: `The '${n.FunctionDeclaration}' with id "${i.id}" is trying to implement the '${n.ActionDescriptor}' with id "${i.implements}", but the parent custom-entity already has a ${n.FunctionDeclaration} with id '${D.id}' that implements the same base method.
|
|
24831
24831
|
A ${n.FunctionDeclaration} that has a parent of type '${n.CustomEntity}' is considered a method of that entity, and cannot implement the same '${n.ActionDescriptor}' more than once.
|
|
24832
24832
|
${n.ActionDescriptor} entities inside a ${n.CustomEntity} are considered abstract methods that can be implemented by ${n.FunctionDeclaration} entities inside the same parent.
|
|
24833
24833
|
If you want to modify the existing implementation, you can update the existing method instead, but it will have to match the same base ${n.ActionDescriptor} signature, otherwise the implementation will have a validation error.`,
|
|
24834
24834
|
issue: null
|
|
24835
24835
|
})
|
|
24836
24836
|
);
|
|
24837
|
-
const
|
|
24837
|
+
const P = i.implements;
|
|
24838
24838
|
f.abstractMethods.find(
|
|
24839
|
-
(G) => G.id ===
|
|
24839
|
+
(G) => G.id === P
|
|
24840
24840
|
) || a.push(
|
|
24841
24841
|
new T({
|
|
24842
24842
|
id: `${i.id}--${y.InvalidImplementsReference}`,
|
|
@@ -25101,7 +25101,7 @@ Please consider that any updates might affect the overlap with the signature of
|
|
|
25101
25101
|
}
|
|
25102
25102
|
toReference() {
|
|
25103
25103
|
return {
|
|
25104
|
-
id: this.id + "--" +
|
|
25104
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
25105
25105
|
type: n.GenericReference,
|
|
25106
25106
|
entityId: this.id,
|
|
25107
25107
|
entityType: this.type
|
|
@@ -25223,7 +25223,7 @@ Please consider that any updates might affect the overlap with the signature of
|
|
|
25223
25223
|
// Creates a call enitity for this function declaration
|
|
25224
25224
|
createCall(e = this.project, t = {}) {
|
|
25225
25225
|
const i = {
|
|
25226
|
-
id: t.id ||
|
|
25226
|
+
id: t.id || B.UUID.uuid(),
|
|
25227
25227
|
version: t.version || 1,
|
|
25228
25228
|
type: n.FunctionCall,
|
|
25229
25229
|
parent: e.toReference(),
|
|
@@ -25248,7 +25248,7 @@ Please consider that any updates might affect the overlap with the signature of
|
|
|
25248
25248
|
// Creates a call enitity for this function declaration
|
|
25249
25249
|
createInternalCall(e, t = {}) {
|
|
25250
25250
|
const i = {
|
|
25251
|
-
id: t.id ||
|
|
25251
|
+
id: t.id || B.UUID.uuid(),
|
|
25252
25252
|
version: t.version || 1,
|
|
25253
25253
|
type: n.InternalCall,
|
|
25254
25254
|
parent: e.toReference(),
|
|
@@ -25807,7 +25807,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
25807
25807
|
}
|
|
25808
25808
|
toReference() {
|
|
25809
25809
|
return {
|
|
25810
|
-
id: this.id + "--" +
|
|
25810
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
25811
25811
|
type: n.GenericReference,
|
|
25812
25812
|
entityId: this.id,
|
|
25813
25813
|
entityType: this.type
|
|
@@ -25897,7 +25897,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
25897
25897
|
return this.errors;
|
|
25898
25898
|
}
|
|
25899
25899
|
clone(e = null, t = null, i = !0) {
|
|
25900
|
-
var b, R,
|
|
25900
|
+
var b, R, D, P;
|
|
25901
25901
|
const a = this.toJSON(), s = t || We(
|
|
25902
25902
|
_m(this),
|
|
25903
25903
|
n.DataType,
|
|
@@ -25916,25 +25916,25 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
25916
25916
|
);
|
|
25917
25917
|
u.defaultValue = p || null;
|
|
25918
25918
|
const h = (R = this.andChildrenGroup) == null ? void 0 : R.map(
|
|
25919
|
-
(
|
|
25919
|
+
(A, G) => A.clone(
|
|
25920
25920
|
this,
|
|
25921
25921
|
l + "-and-group-data-type-" + G + "-id",
|
|
25922
25922
|
i
|
|
25923
25923
|
)
|
|
25924
|
-
), f = (
|
|
25925
|
-
(
|
|
25924
|
+
), f = (D = this.orChildrenGroup) == null ? void 0 : D.map(
|
|
25925
|
+
(A, G) => A.clone(
|
|
25926
25926
|
this,
|
|
25927
25927
|
l + "-or-group-data-type-" + G + "-id",
|
|
25928
25928
|
i
|
|
25929
25929
|
)
|
|
25930
25930
|
);
|
|
25931
|
-
if (u.andChildrenGroup = h || null, u.orChildrenGroup = f || null, this.entity && this.entity.type === n.CustomEntity && ((
|
|
25932
|
-
const
|
|
25931
|
+
if (u.andChildrenGroup = h || null, u.orChildrenGroup = f || null, this.entity && this.entity.type === n.CustomEntity && ((P = this.entity) == null ? void 0 : P.parent) === this) {
|
|
25932
|
+
const A = this.entity.clone(
|
|
25933
25933
|
u,
|
|
25934
25934
|
l + "-inferred-entity-id",
|
|
25935
25935
|
i
|
|
25936
25936
|
);
|
|
25937
|
-
u.setEntity(
|
|
25937
|
+
u.setEntity(A);
|
|
25938
25938
|
} else
|
|
25939
25939
|
this.entity && u.setEntity(this.entity);
|
|
25940
25940
|
return u;
|
|
@@ -26437,7 +26437,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
26437
26437
|
), this.error.setParent(this), this.error.initChildren()), this.initialData.process && (this.process = E(
|
|
26438
26438
|
this.initialData.process,
|
|
26439
26439
|
this.project
|
|
26440
|
-
), this.process.setParent(this), this.process.initChildren()), this.declaration.syncOperationInstance(this), this);
|
|
26440
|
+
), this.process.setParent(this), this.process.initChildren()), this.syncMissingFixedInputs(), this.syncMissingFixedOutputs(), this.declaration.syncOperationInstance(this), this);
|
|
26441
26441
|
}
|
|
26442
26442
|
subscribe() {
|
|
26443
26443
|
return this.project.subscribeInstance(this), this;
|
|
@@ -26599,7 +26599,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
26599
26599
|
}
|
|
26600
26600
|
toReference() {
|
|
26601
26601
|
return {
|
|
26602
|
-
id: this.id + "--" +
|
|
26602
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
26603
26603
|
type: n.GenericReference,
|
|
26604
26604
|
entityId: this.id,
|
|
26605
26605
|
entityType: this.type
|
|
@@ -26698,6 +26698,55 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
26698
26698
|
clone(e) {
|
|
26699
26699
|
return new se(this.toJSON(), this.project);
|
|
26700
26700
|
}
|
|
26701
|
+
// If the declaration has inputs (value-descriptor entities) that are not yet added to the operation,
|
|
26702
|
+
// create the input-map entities and add them to the operation
|
|
26703
|
+
syncMissingFixedInputs() {
|
|
26704
|
+
return this.declaration.inputs.filter(
|
|
26705
|
+
(t) => t.parentRelationType === I.FixedArguments && !this.inputs.find(
|
|
26706
|
+
(i) => i.declaration.id === t.id
|
|
26707
|
+
)
|
|
26708
|
+
).forEach((t) => {
|
|
26709
|
+
const i = {
|
|
26710
|
+
id: B.UUID.uuid(),
|
|
26711
|
+
version: 1,
|
|
26712
|
+
type: n.InputMap,
|
|
26713
|
+
declaration: t.toJSON(),
|
|
26714
|
+
readsValue: null,
|
|
26715
|
+
defaultValue: null,
|
|
26716
|
+
index: this.inputs.length,
|
|
26717
|
+
name: null,
|
|
26718
|
+
description: null,
|
|
26719
|
+
parent: this.toReference()
|
|
26720
|
+
}, a = E(
|
|
26721
|
+
i,
|
|
26722
|
+
this.project
|
|
26723
|
+
);
|
|
26724
|
+
a.setParent(this), a.initChildren(), a.addSelfToProject();
|
|
26725
|
+
}), this;
|
|
26726
|
+
}
|
|
26727
|
+
// If the declaration has outputs (value-descriptor entities) that are not yet added to the operation,
|
|
26728
|
+
// create the output-map entities and add them to the operation
|
|
26729
|
+
syncMissingFixedOutputs() {
|
|
26730
|
+
return this.declaration.outputs.filter(
|
|
26731
|
+
(t) => t.parentRelationType === I.FixedReturns && !this.outputs.find(
|
|
26732
|
+
(i) => i.declaration.id === t.id
|
|
26733
|
+
)
|
|
26734
|
+
).forEach((t) => {
|
|
26735
|
+
const i = {
|
|
26736
|
+
id: B.UUID.uuid(),
|
|
26737
|
+
version: 1,
|
|
26738
|
+
type: n.OutputMap,
|
|
26739
|
+
declaration: t.toJSON(),
|
|
26740
|
+
writesValues: [],
|
|
26741
|
+
index: this.outputs.length,
|
|
26742
|
+
parent: this.toReference()
|
|
26743
|
+
}, a = E(
|
|
26744
|
+
i,
|
|
26745
|
+
this.project
|
|
26746
|
+
);
|
|
26747
|
+
a.setParent(this), a.initChildren(), a.addSelfToProject();
|
|
26748
|
+
}), this;
|
|
26749
|
+
}
|
|
26701
26750
|
};
|
|
26702
26751
|
c(se, "MUTABLE_BASE_PROPERTIES", []), c(se, "INMUTABLE_BASE_PROPERTIES", ["id", "type", "version"]), c(se, "BASE_PROPERTIES", [
|
|
26703
26752
|
...se.MUTABLE_BASE_PROPERTIES,
|
|
@@ -27083,7 +27132,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
27083
27132
|
}
|
|
27084
27133
|
toReference() {
|
|
27085
27134
|
return {
|
|
27086
|
-
id: this.id + "--" +
|
|
27135
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
27087
27136
|
type: n.GenericReference,
|
|
27088
27137
|
entityId: this.id,
|
|
27089
27138
|
entityType: this.type
|
|
@@ -27724,7 +27773,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
27724
27773
|
}
|
|
27725
27774
|
toReference() {
|
|
27726
27775
|
return {
|
|
27727
|
-
id: this.id + "--" +
|
|
27776
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
27728
27777
|
type: n.GenericReference,
|
|
27729
27778
|
entityId: this.id,
|
|
27730
27779
|
entityType: this.type
|
|
@@ -27936,16 +27985,16 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
27936
27985
|
b.index !== R && (b.sync({ index: R }), e.push(b));
|
|
27937
27986
|
}), l.forEach((b) => {
|
|
27938
27987
|
const R = b.getDataType();
|
|
27939
|
-
let
|
|
27988
|
+
let P = u.find(
|
|
27940
27989
|
(U) => O(U, this.project) === J.fromReturnDeclarationToBodyArgumentDeclarationName(
|
|
27941
27990
|
b
|
|
27942
27991
|
) && Ht(U.dataType, b.dataType)
|
|
27943
27992
|
);
|
|
27944
|
-
if (!
|
|
27993
|
+
if (!P) {
|
|
27945
27994
|
const U = J.fromReturnDeclarationToBodyArgumentDeclarationName(
|
|
27946
27995
|
b
|
|
27947
27996
|
), ee = {
|
|
27948
|
-
id:
|
|
27997
|
+
id: B.UUID.uuid(),
|
|
27949
27998
|
version: 1,
|
|
27950
27999
|
type: n.ArgumentDeclaration,
|
|
27951
28000
|
name: U,
|
|
@@ -27963,26 +28012,26 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
27963
28012
|
ee,
|
|
27964
28013
|
this.project
|
|
27965
28014
|
);
|
|
27966
|
-
we.setParent(this.body), we.initChildren(), we.addSelfToProject(), t.push(we),
|
|
28015
|
+
we.setParent(this.body), we.initChildren(), we.addSelfToProject(), t.push(we), P = we;
|
|
27967
28016
|
}
|
|
27968
|
-
|
|
27969
|
-
const
|
|
27970
|
-
let G =
|
|
28017
|
+
P.index !== b.index && (P.sync({ index: b.index }), e.push(P));
|
|
28018
|
+
const A = P.getDataType();
|
|
28019
|
+
let G = A;
|
|
27971
28020
|
if (R)
|
|
27972
|
-
if (!
|
|
27973
|
-
|
|
28021
|
+
if (!A || !Ht(
|
|
28022
|
+
A,
|
|
27974
28023
|
R
|
|
27975
28024
|
)) {
|
|
27976
28025
|
if (!G) {
|
|
27977
|
-
const U = R.clone(
|
|
27978
|
-
U.addSelfToProject(), G = U, t.push(U), e.push(
|
|
28026
|
+
const U = R.clone(P);
|
|
28027
|
+
U.addSelfToProject(), G = U, t.push(U), e.push(P);
|
|
27979
28028
|
}
|
|
27980
28029
|
G.merge(R), G.sync({ isList: !0 });
|
|
27981
28030
|
} else
|
|
27982
28031
|
G.isList || (G.sync({ isList: !0 }), e.push(G));
|
|
27983
28032
|
if (!R && !G) {
|
|
27984
28033
|
const U = {
|
|
27985
|
-
id:
|
|
28034
|
+
id: B.UUID.uuid(),
|
|
27986
28035
|
version: 1,
|
|
27987
28036
|
type: n.DataType,
|
|
27988
28037
|
isList: !0,
|
|
@@ -27995,12 +28044,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
27995
28044
|
inferred: !1,
|
|
27996
28045
|
andChildrenGroup: [],
|
|
27997
28046
|
orChildrenGroup: [],
|
|
27998
|
-
parent:
|
|
28047
|
+
parent: P.toReference()
|
|
27999
28048
|
}, ee = E(
|
|
28000
28049
|
U,
|
|
28001
28050
|
this.project
|
|
28002
28051
|
);
|
|
28003
|
-
ee.sync({ isList: !0 }), ee.setParent(
|
|
28052
|
+
ee.sync({ isList: !0 }), ee.setParent(P), ee.initChildren(), ee.addSelfToProject(), t.push(ee);
|
|
28004
28053
|
}
|
|
28005
28054
|
});
|
|
28006
28055
|
const {
|
|
@@ -28037,8 +28086,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28037
28086
|
if (!h) {
|
|
28038
28087
|
const R = J.fromReturnDeclarationToLoopOutputDeclarationName(
|
|
28039
28088
|
l
|
|
28040
|
-
),
|
|
28041
|
-
id:
|
|
28089
|
+
), D = {
|
|
28090
|
+
id: B.UUID.uuid(),
|
|
28042
28091
|
version: 1,
|
|
28043
28092
|
type: n.ValueDescriptor,
|
|
28044
28093
|
name: R,
|
|
@@ -28050,11 +28099,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28050
28099
|
index: l.index,
|
|
28051
28100
|
required: l.required,
|
|
28052
28101
|
parent: this.toReference()
|
|
28053
|
-
},
|
|
28054
|
-
|
|
28102
|
+
}, P = E(
|
|
28103
|
+
D,
|
|
28055
28104
|
this.project
|
|
28056
28105
|
);
|
|
28057
|
-
|
|
28106
|
+
P.setParent(this), P.initChildren(), P.addSelfToProject(), t.push(P), h = P;
|
|
28058
28107
|
}
|
|
28059
28108
|
h.index !== l.index && (h.sync({ index: l.index }), e.push(h));
|
|
28060
28109
|
let b = h.getDataType();
|
|
@@ -28074,7 +28123,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28074
28123
|
b.isList || (b.sync({ isList: !0 }), e.push(b));
|
|
28075
28124
|
if (!u && !b) {
|
|
28076
28125
|
const R = {
|
|
28077
|
-
id:
|
|
28126
|
+
id: B.UUID.uuid(),
|
|
28078
28127
|
version: 1,
|
|
28079
28128
|
type: n.DataType,
|
|
28080
28129
|
isList: !0,
|
|
@@ -28088,11 +28137,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28088
28137
|
andChildrenGroup: [],
|
|
28089
28138
|
orChildrenGroup: [],
|
|
28090
28139
|
parent: h.toReference()
|
|
28091
|
-
},
|
|
28140
|
+
}, D = E(
|
|
28092
28141
|
R,
|
|
28093
28142
|
this.project
|
|
28094
28143
|
);
|
|
28095
|
-
|
|
28144
|
+
D.sync({ isList: !0 }), D.setParent(h), D.initChildren(), D.addSelfToProject(), t.push(D);
|
|
28096
28145
|
}
|
|
28097
28146
|
}), s.filter(
|
|
28098
28147
|
(l) => !a.find(
|
|
@@ -28130,7 +28179,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28130
28179
|
((h = p.declaration) == null ? void 0 : h.id) !== l.id && (p.setDeclaration(l), e.push(p));
|
|
28131
28180
|
else {
|
|
28132
28181
|
const f = {
|
|
28133
|
-
id:
|
|
28182
|
+
id: B.UUID.uuid(),
|
|
28134
28183
|
version: 1,
|
|
28135
28184
|
type: n.OutputMap,
|
|
28136
28185
|
index: l.index,
|
|
@@ -28176,7 +28225,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28176
28225
|
const o = this.getCurrentIterationNumberBuiltInValueDescriptor();
|
|
28177
28226
|
if (!s) {
|
|
28178
28227
|
const p = {
|
|
28179
|
-
id:
|
|
28228
|
+
id: B.UUID.uuid(),
|
|
28180
28229
|
version: 1,
|
|
28181
28230
|
type: n.ArgumentDeclaration,
|
|
28182
28231
|
name: J.CURRENT_ITERATION_NUMBER_ARG_NAME,
|
|
@@ -28197,7 +28246,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28197
28246
|
let u = s.getDataType();
|
|
28198
28247
|
if (!u) {
|
|
28199
28248
|
const p = {
|
|
28200
|
-
id:
|
|
28249
|
+
id: B.UUID.uuid(),
|
|
28201
28250
|
version: 1,
|
|
28202
28251
|
type: n.DataType,
|
|
28203
28252
|
isList: !1,
|
|
@@ -28217,9 +28266,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28217
28266
|
);
|
|
28218
28267
|
h.setParent(s), h.initChildren(), h.addSelfToProject(), t.push(h), u = h;
|
|
28219
28268
|
}
|
|
28220
|
-
if (!u.entity || u.entity.type !== n.PrimitiveEntity || u.entity.name !== g.Number || u.entity.id !==
|
|
28269
|
+
if (!u.entity || u.entity.type !== n.PrimitiveEntity || u.entity.name !== g.Number || u.entity.id !== _["primitive-entity"].number.id) {
|
|
28221
28270
|
const p = this.project.getBuiltIn(
|
|
28222
|
-
|
|
28271
|
+
_["primitive-entity"].number.id
|
|
28223
28272
|
);
|
|
28224
28273
|
u.setEntity(p), e.push(u);
|
|
28225
28274
|
}
|
|
@@ -28269,27 +28318,27 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28269
28318
|
const e = [], t = [], i = [];
|
|
28270
28319
|
switch (this.declaration.id) {
|
|
28271
28320
|
case j.List: {
|
|
28272
|
-
const b = this.body.inputs.find((
|
|
28273
|
-
var
|
|
28274
|
-
return
|
|
28321
|
+
const b = this.body.inputs.find((P) => {
|
|
28322
|
+
var A;
|
|
28323
|
+
return P.name === J.CURRENT_VALUE_ARG_NAME || P.id === ((A = this.currentValueArgumentDeclaration) == null ? void 0 : A.id);
|
|
28275
28324
|
}), R = this.inputs.find(
|
|
28276
|
-
(
|
|
28277
|
-
var
|
|
28278
|
-
return ((
|
|
28325
|
+
(P) => {
|
|
28326
|
+
var A;
|
|
28327
|
+
return ((A = P.declaration) == null ? void 0 : A.id) === _[n.Loop]["list-loop"].inputs.list.id;
|
|
28279
28328
|
}
|
|
28280
28329
|
);
|
|
28281
28330
|
if (!R)
|
|
28282
28331
|
break;
|
|
28283
|
-
const
|
|
28332
|
+
const D = this.getCurrentValueBuiltInValueDescriptor();
|
|
28284
28333
|
if (b) {
|
|
28285
|
-
const
|
|
28286
|
-
|
|
28334
|
+
const P = this.project.get(
|
|
28335
|
+
_[n.Loop]["list-loop"].inputs.list.id
|
|
28287
28336
|
);
|
|
28288
|
-
|
|
28337
|
+
D && (!b.implements || b.implements.id !== D.id) && (b.setImplements(D), e.push(b));
|
|
28289
28338
|
let G = b.getDataType();
|
|
28290
28339
|
if (!G) {
|
|
28291
28340
|
const ee = {
|
|
28292
|
-
id:
|
|
28341
|
+
id: B.UUID.uuid(),
|
|
28293
28342
|
version: 1,
|
|
28294
28343
|
type: n.DataType,
|
|
28295
28344
|
isList: !1,
|
|
@@ -28302,33 +28351,33 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28302
28351
|
inferred: !1,
|
|
28303
28352
|
andChildrenGroup: [],
|
|
28304
28353
|
orChildrenGroup: [],
|
|
28305
|
-
parent:
|
|
28354
|
+
parent: P.toReference()
|
|
28306
28355
|
}, we = E(
|
|
28307
28356
|
ee,
|
|
28308
28357
|
this.project
|
|
28309
28358
|
);
|
|
28310
|
-
we.setParent(
|
|
28359
|
+
we.setParent(P), we.initChildren(), we.addSelfToProject(), t.push(we), G = we;
|
|
28311
28360
|
}
|
|
28312
28361
|
const U = R.getDataType();
|
|
28313
28362
|
G.merge(U), G.sync({ isList: !1 });
|
|
28314
28363
|
} else {
|
|
28315
|
-
const
|
|
28316
|
-
id:
|
|
28364
|
+
const P = {
|
|
28365
|
+
id: B.UUID.uuid(),
|
|
28317
28366
|
version: 1,
|
|
28318
28367
|
type: n.ArgumentDeclaration,
|
|
28319
28368
|
name: J.CURRENT_VALUE_ARG_NAME,
|
|
28320
28369
|
description: null,
|
|
28321
28370
|
index: 0,
|
|
28322
28371
|
required: !0,
|
|
28323
|
-
implements:
|
|
28372
|
+
implements: D,
|
|
28324
28373
|
writesValues: [],
|
|
28325
28374
|
dataType: null,
|
|
28326
28375
|
parent: this.body.toReference()
|
|
28327
|
-
},
|
|
28328
|
-
|
|
28376
|
+
}, A = E(
|
|
28377
|
+
P,
|
|
28329
28378
|
this.project
|
|
28330
28379
|
);
|
|
28331
|
-
|
|
28380
|
+
A.initChildren(), A.setParent(this.body), A.addSelfToProject(), D && (!A.implements || A.implements.id !== D.id) && (A.setImplements(D), e.push(A)), t.push(A);
|
|
28332
28381
|
}
|
|
28333
28382
|
break;
|
|
28334
28383
|
}
|
|
@@ -28337,30 +28386,30 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28337
28386
|
case j.Counted:
|
|
28338
28387
|
break;
|
|
28339
28388
|
case j.ObjectKeys: {
|
|
28340
|
-
const b = this.body.inputs.find((
|
|
28341
|
-
var
|
|
28342
|
-
return
|
|
28389
|
+
const b = this.body.inputs.find((P) => {
|
|
28390
|
+
var A;
|
|
28391
|
+
return P.name === J.CURRENT_VALUE_ARG_NAME || P.id === ((A = this.currentValueArgumentDeclaration) == null ? void 0 : A.id);
|
|
28343
28392
|
});
|
|
28344
|
-
if (!this.inputs.find((
|
|
28345
|
-
var
|
|
28346
|
-
return ((
|
|
28393
|
+
if (!this.inputs.find((P) => {
|
|
28394
|
+
var A;
|
|
28395
|
+
return ((A = P.declaration) == null ? void 0 : A.id) === _[n.Loop]["object-keys-loop"].inputs.object.id;
|
|
28347
28396
|
}))
|
|
28348
28397
|
break;
|
|
28349
|
-
const
|
|
28398
|
+
const D = this.getCurrentValueBuiltInValueDescriptor();
|
|
28350
28399
|
if (b) {
|
|
28351
|
-
const
|
|
28352
|
-
|
|
28400
|
+
const P = this.project.get(
|
|
28401
|
+
_[n.Loop]["object-keys-loop"].inputs.object.id
|
|
28353
28402
|
);
|
|
28354
|
-
|
|
28403
|
+
D && (!b.implements || b.implements.id !== D.id) && (b.setImplements(D), e.push(b));
|
|
28355
28404
|
let G = b.getDataType();
|
|
28356
28405
|
if (G) {
|
|
28357
28406
|
const U = this.project.getBuiltIn(
|
|
28358
|
-
|
|
28407
|
+
_["primitive-entity"].string.id
|
|
28359
28408
|
);
|
|
28360
28409
|
((l = G.entity) == null ? void 0 : l.id) !== U.id && (G.setEntity(U), e.push(G));
|
|
28361
28410
|
} else {
|
|
28362
28411
|
const U = {
|
|
28363
|
-
id:
|
|
28412
|
+
id: B.UUID.uuid(),
|
|
28364
28413
|
version: 1,
|
|
28365
28414
|
type: n.DataType,
|
|
28366
28415
|
isList: !1,
|
|
@@ -28373,50 +28422,50 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28373
28422
|
inferred: !1,
|
|
28374
28423
|
andChildrenGroup: [],
|
|
28375
28424
|
orChildrenGroup: [],
|
|
28376
|
-
parent:
|
|
28425
|
+
parent: P.toReference()
|
|
28377
28426
|
}, ee = E(
|
|
28378
28427
|
U,
|
|
28379
28428
|
this.project
|
|
28380
28429
|
);
|
|
28381
|
-
ee.setParent(
|
|
28430
|
+
ee.setParent(P), ee.initChildren(), ee.addSelfToProject(), G = ee;
|
|
28382
28431
|
}
|
|
28383
28432
|
} else {
|
|
28384
|
-
const
|
|
28385
|
-
id:
|
|
28433
|
+
const P = {
|
|
28434
|
+
id: B.UUID.uuid(),
|
|
28386
28435
|
version: 1,
|
|
28387
28436
|
type: n.ArgumentDeclaration,
|
|
28388
28437
|
name: J.CURRENT_VALUE_ARG_NAME,
|
|
28389
28438
|
description: null,
|
|
28390
28439
|
index: 0,
|
|
28391
28440
|
required: !0,
|
|
28392
|
-
implements:
|
|
28441
|
+
implements: D,
|
|
28393
28442
|
writesValues: [],
|
|
28394
28443
|
dataType: null,
|
|
28395
28444
|
parent: this.body.toReference()
|
|
28396
|
-
},
|
|
28397
|
-
|
|
28445
|
+
}, A = E(
|
|
28446
|
+
P,
|
|
28398
28447
|
this.project
|
|
28399
28448
|
);
|
|
28400
|
-
|
|
28449
|
+
A.initChildren(), A.setParent(this.body), A.addSelfToProject(), D && (!A.implements || A.implements.id !== D.id) && (A.setImplements(D), e.push(A)), t.push(A);
|
|
28401
28450
|
}
|
|
28402
28451
|
break;
|
|
28403
28452
|
}
|
|
28404
28453
|
case j.ObjectValues: {
|
|
28405
|
-
const b = this.body.inputs.find((
|
|
28406
|
-
var
|
|
28407
|
-
return
|
|
28408
|
-
}), R = this.inputs.find((
|
|
28409
|
-
var
|
|
28410
|
-
return ((
|
|
28454
|
+
const b = this.body.inputs.find((P) => {
|
|
28455
|
+
var A;
|
|
28456
|
+
return P.name === J.CURRENT_VALUE_ARG_NAME || P.id === ((A = this.currentValueArgumentDeclaration) == null ? void 0 : A.id);
|
|
28457
|
+
}), R = this.inputs.find((P) => {
|
|
28458
|
+
var A;
|
|
28459
|
+
return ((A = P.declaration) == null ? void 0 : A.id) === _[n.Loop]["object-values-loop"].inputs.object.id;
|
|
28411
28460
|
});
|
|
28412
28461
|
if (!R)
|
|
28413
28462
|
break;
|
|
28414
|
-
const
|
|
28463
|
+
const D = this.getCurrentValueBuiltInValueDescriptor();
|
|
28415
28464
|
if (b) {
|
|
28416
|
-
const
|
|
28417
|
-
|
|
28465
|
+
const P = this.project.get(
|
|
28466
|
+
_[n.Loop]["object-values-loop"].inputs.object.id
|
|
28418
28467
|
);
|
|
28419
|
-
|
|
28468
|
+
D && (!b.implements || b.implements.id !== D.id) && (b.setImplements(D), e.push(b));
|
|
28420
28469
|
let G = b.getDataType();
|
|
28421
28470
|
if (G) {
|
|
28422
28471
|
const U = R.getDataType(), ee = ((p = U == null ? void 0 : U.entity) == null ? void 0 : p.properties) || [];
|
|
@@ -28437,7 +28486,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28437
28486
|
}), ht.addSelfToProject(), t.push(ht);
|
|
28438
28487
|
} else {
|
|
28439
28488
|
const ht = {
|
|
28440
|
-
id:
|
|
28489
|
+
id: B.UUID.uuid(),
|
|
28441
28490
|
version: 1,
|
|
28442
28491
|
type: n.DataType,
|
|
28443
28492
|
isList: !1,
|
|
@@ -28461,7 +28510,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28461
28510
|
});
|
|
28462
28511
|
} else {
|
|
28463
28512
|
const U = {
|
|
28464
|
-
id:
|
|
28513
|
+
id: B.UUID.uuid(),
|
|
28465
28514
|
version: 1,
|
|
28466
28515
|
type: n.DataType,
|
|
28467
28516
|
isList: !1,
|
|
@@ -28474,12 +28523,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28474
28523
|
inferred: !1,
|
|
28475
28524
|
andChildrenGroup: [],
|
|
28476
28525
|
orChildrenGroup: [],
|
|
28477
|
-
parent:
|
|
28526
|
+
parent: P.toReference()
|
|
28478
28527
|
}, ee = E(
|
|
28479
28528
|
U,
|
|
28480
28529
|
this.project
|
|
28481
28530
|
);
|
|
28482
|
-
ee.setParent(
|
|
28531
|
+
ee.setParent(P), ee.initChildren(), ee.addSelfToProject(), G = ee;
|
|
28483
28532
|
const we = R.getDataType();
|
|
28484
28533
|
(((u = we == null ? void 0 : we.entity) == null ? void 0 : u.properties) || []).forEach((ht) => {
|
|
28485
28534
|
const Bt = ht.getDataType();
|
|
@@ -28492,7 +28541,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28492
28541
|
}), Un.addSelfToProject(), t.push(Un);
|
|
28493
28542
|
} else {
|
|
28494
28543
|
const Un = {
|
|
28495
|
-
id:
|
|
28544
|
+
id: B.UUID.uuid(),
|
|
28496
28545
|
version: 1,
|
|
28497
28546
|
type: n.DataType,
|
|
28498
28547
|
isList: !1,
|
|
@@ -28516,51 +28565,51 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28516
28565
|
});
|
|
28517
28566
|
}
|
|
28518
28567
|
} else {
|
|
28519
|
-
const
|
|
28520
|
-
id:
|
|
28568
|
+
const P = {
|
|
28569
|
+
id: B.UUID.uuid(),
|
|
28521
28570
|
version: 1,
|
|
28522
28571
|
type: n.ArgumentDeclaration,
|
|
28523
28572
|
name: J.CURRENT_VALUE_ARG_NAME,
|
|
28524
28573
|
description: null,
|
|
28525
28574
|
index: 0,
|
|
28526
28575
|
required: !0,
|
|
28527
|
-
implements:
|
|
28576
|
+
implements: D,
|
|
28528
28577
|
writesValues: [],
|
|
28529
28578
|
dataType: null,
|
|
28530
28579
|
parent: this.body.toReference()
|
|
28531
|
-
},
|
|
28532
|
-
|
|
28580
|
+
}, A = E(
|
|
28581
|
+
P,
|
|
28533
28582
|
this.project
|
|
28534
28583
|
);
|
|
28535
|
-
|
|
28584
|
+
A.initChildren(), A.setParent(this.body), A.addSelfToProject(), D && (!A.implements || A.implements.id !== D.id) && (A.setImplements(D), e.push(A)), t.push(A);
|
|
28536
28585
|
}
|
|
28537
28586
|
break;
|
|
28538
28587
|
}
|
|
28539
28588
|
case j.String: {
|
|
28540
|
-
const b = this.body.inputs.find((
|
|
28541
|
-
var
|
|
28542
|
-
return
|
|
28589
|
+
const b = this.body.inputs.find((P) => {
|
|
28590
|
+
var A;
|
|
28591
|
+
return P.name === J.CURRENT_VALUE_ARG_NAME || P.id === ((A = this.currentValueArgumentDeclaration) == null ? void 0 : A.id);
|
|
28543
28592
|
});
|
|
28544
|
-
if (!this.inputs.find((
|
|
28545
|
-
var
|
|
28546
|
-
return ((
|
|
28593
|
+
if (!this.inputs.find((P) => {
|
|
28594
|
+
var A;
|
|
28595
|
+
return ((A = P.declaration) == null ? void 0 : A.id) === _[n.Loop]["string-loop"].inputs.string.id;
|
|
28547
28596
|
}))
|
|
28548
28597
|
break;
|
|
28549
|
-
const
|
|
28598
|
+
const D = this.getCurrentValueBuiltInValueDescriptor();
|
|
28550
28599
|
if (b) {
|
|
28551
|
-
const
|
|
28552
|
-
|
|
28600
|
+
const P = this.project.get(
|
|
28601
|
+
_[n.Loop]["string-loop"].inputs.string.id
|
|
28553
28602
|
);
|
|
28554
|
-
|
|
28603
|
+
D && (!b.implements || b.implements.id !== D.id) && (b.setImplements(D), e.push(b));
|
|
28555
28604
|
let G = b.getDataType();
|
|
28556
28605
|
if (G) {
|
|
28557
28606
|
const U = this.project.getBuiltIn(
|
|
28558
|
-
|
|
28607
|
+
_["primitive-entity"].string.id
|
|
28559
28608
|
);
|
|
28560
28609
|
((f = G.entity) == null ? void 0 : f.id) !== U.id && (G.setEntity(U), e.push(G));
|
|
28561
28610
|
} else {
|
|
28562
28611
|
const U = {
|
|
28563
|
-
id:
|
|
28612
|
+
id: B.UUID.uuid(),
|
|
28564
28613
|
version: 1,
|
|
28565
28614
|
type: n.DataType,
|
|
28566
28615
|
isList: !1,
|
|
@@ -28573,31 +28622,31 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28573
28622
|
inferred: !1,
|
|
28574
28623
|
andChildrenGroup: [],
|
|
28575
28624
|
orChildrenGroup: [],
|
|
28576
|
-
parent:
|
|
28625
|
+
parent: P.toReference()
|
|
28577
28626
|
}, ee = E(
|
|
28578
28627
|
U,
|
|
28579
28628
|
this.project
|
|
28580
28629
|
);
|
|
28581
|
-
ee.setParent(
|
|
28630
|
+
ee.setParent(P), ee.initChildren(), ee.addSelfToProject(), t.push(ee), G = ee;
|
|
28582
28631
|
}
|
|
28583
28632
|
} else {
|
|
28584
|
-
const
|
|
28585
|
-
id:
|
|
28633
|
+
const P = {
|
|
28634
|
+
id: B.UUID.uuid(),
|
|
28586
28635
|
version: 1,
|
|
28587
28636
|
type: n.ArgumentDeclaration,
|
|
28588
28637
|
name: J.CURRENT_VALUE_ARG_NAME,
|
|
28589
28638
|
description: null,
|
|
28590
28639
|
index: 0,
|
|
28591
28640
|
required: !0,
|
|
28592
|
-
implements:
|
|
28641
|
+
implements: D,
|
|
28593
28642
|
writesValues: [],
|
|
28594
28643
|
dataType: null,
|
|
28595
28644
|
parent: this.body.toReference()
|
|
28596
|
-
},
|
|
28597
|
-
|
|
28645
|
+
}, A = E(
|
|
28646
|
+
P,
|
|
28598
28647
|
this.project
|
|
28599
28648
|
);
|
|
28600
|
-
|
|
28649
|
+
A.initChildren(), A.setParent(this.body), A.addSelfToProject(), D && (!A.implements || A.implements.id !== D.id) && (A.setImplements(D), e.push(A)), t.push(A);
|
|
28601
28650
|
}
|
|
28602
28651
|
break;
|
|
28603
28652
|
}
|
|
@@ -28644,11 +28693,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28644
28693
|
let a = null;
|
|
28645
28694
|
if (this.inputs.forEach((s) => {
|
|
28646
28695
|
var o;
|
|
28647
|
-
((o = s.declaration) == null ? void 0 : o.id) ===
|
|
28696
|
+
((o = s.declaration) == null ? void 0 : o.id) === _[n.Loop]["list-loop"].inputs.list.id ? a = s : (s.remove(), i.push(s));
|
|
28648
28697
|
}), a) {
|
|
28649
|
-
if (a.declaration.id !==
|
|
28698
|
+
if (a.declaration.id !== _[n.Loop]["list-loop"].inputs.list.id) {
|
|
28650
28699
|
const s = this.project.get(
|
|
28651
|
-
|
|
28700
|
+
_[n.Loop]["list-loop"].inputs.list.id
|
|
28652
28701
|
);
|
|
28653
28702
|
a.setDeclaration(
|
|
28654
28703
|
s
|
|
@@ -28656,9 +28705,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28656
28705
|
}
|
|
28657
28706
|
} else {
|
|
28658
28707
|
const s = this.project.get(
|
|
28659
|
-
|
|
28708
|
+
_[n.Loop]["list-loop"].inputs.list.id
|
|
28660
28709
|
), o = {
|
|
28661
|
-
id:
|
|
28710
|
+
id: B.UUID.uuid(),
|
|
28662
28711
|
version: 1,
|
|
28663
28712
|
type: n.InputMap,
|
|
28664
28713
|
name: null,
|
|
@@ -28686,11 +28735,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28686
28735
|
let a = null;
|
|
28687
28736
|
if (this.inputs.forEach((s) => {
|
|
28688
28737
|
var o;
|
|
28689
|
-
((o = s.declaration) == null ? void 0 : o.id) ===
|
|
28738
|
+
((o = s.declaration) == null ? void 0 : o.id) === _[n.Loop]["counted-loop"].inputs.number.id ? a = s : (s.remove(), i.push(s));
|
|
28690
28739
|
}), a) {
|
|
28691
|
-
if (a.declaration.id !==
|
|
28740
|
+
if (a.declaration.id !== _[n.Loop]["counted-loop"].inputs.number.id) {
|
|
28692
28741
|
const s = this.project.get(
|
|
28693
|
-
|
|
28742
|
+
_[n.Loop]["counted-loop"].inputs.number.id
|
|
28694
28743
|
);
|
|
28695
28744
|
a.setDeclaration(
|
|
28696
28745
|
s
|
|
@@ -28698,9 +28747,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28698
28747
|
}
|
|
28699
28748
|
} else {
|
|
28700
28749
|
const s = this.project.get(
|
|
28701
|
-
|
|
28750
|
+
_[n.Loop]["counted-loop"].inputs.number.id
|
|
28702
28751
|
), o = {
|
|
28703
|
-
id:
|
|
28752
|
+
id: B.UUID.uuid(),
|
|
28704
28753
|
version: 1,
|
|
28705
28754
|
type: n.InputMap,
|
|
28706
28755
|
name: null,
|
|
@@ -28722,11 +28771,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28722
28771
|
let a = null;
|
|
28723
28772
|
if (this.inputs.forEach((s) => {
|
|
28724
28773
|
var o;
|
|
28725
|
-
((o = s.declaration) == null ? void 0 : o.id) ===
|
|
28774
|
+
((o = s.declaration) == null ? void 0 : o.id) === _[n.Loop]["object-keys-loop"].inputs.object.id ? a = s : (s.remove(), i.push(s));
|
|
28726
28775
|
}), a) {
|
|
28727
|
-
if (a.declaration.id !==
|
|
28776
|
+
if (a.declaration.id !== _[n.Loop]["object-keys-loop"].inputs.object.id) {
|
|
28728
28777
|
const s = this.project.get(
|
|
28729
|
-
|
|
28778
|
+
_[n.Loop]["object-keys-loop"].inputs.object.id
|
|
28730
28779
|
);
|
|
28731
28780
|
a.setDeclaration(
|
|
28732
28781
|
s
|
|
@@ -28734,9 +28783,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28734
28783
|
}
|
|
28735
28784
|
} else {
|
|
28736
28785
|
const s = this.project.get(
|
|
28737
|
-
|
|
28786
|
+
_[n.Loop]["object-keys-loop"].inputs.object.id
|
|
28738
28787
|
), o = {
|
|
28739
|
-
id:
|
|
28788
|
+
id: B.UUID.uuid(),
|
|
28740
28789
|
version: 1,
|
|
28741
28790
|
type: n.InputMap,
|
|
28742
28791
|
name: null,
|
|
@@ -28758,11 +28807,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28758
28807
|
let a = null;
|
|
28759
28808
|
if (this.inputs.forEach((s) => {
|
|
28760
28809
|
var o;
|
|
28761
|
-
((o = s.declaration) == null ? void 0 : o.id) ===
|
|
28810
|
+
((o = s.declaration) == null ? void 0 : o.id) === _[n.Loop]["object-values-loop"].inputs.object.id ? a = s : (s.remove(), i.push(s));
|
|
28762
28811
|
}), a) {
|
|
28763
|
-
if (a.declaration.id !==
|
|
28812
|
+
if (a.declaration.id !== _[n.Loop]["object-values-loop"].inputs.object.id) {
|
|
28764
28813
|
const s = this.project.get(
|
|
28765
|
-
|
|
28814
|
+
_[n.Loop]["object-values-loop"].inputs.object.id
|
|
28766
28815
|
);
|
|
28767
28816
|
a.setDeclaration(
|
|
28768
28817
|
s
|
|
@@ -28770,9 +28819,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28770
28819
|
}
|
|
28771
28820
|
} else {
|
|
28772
28821
|
const s = this.project.get(
|
|
28773
|
-
|
|
28822
|
+
_[n.Loop]["object-values-loop"].inputs.object.id
|
|
28774
28823
|
), o = {
|
|
28775
|
-
id:
|
|
28824
|
+
id: B.UUID.uuid(),
|
|
28776
28825
|
version: 1,
|
|
28777
28826
|
type: n.InputMap,
|
|
28778
28827
|
name: null,
|
|
@@ -28794,11 +28843,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28794
28843
|
let a = null;
|
|
28795
28844
|
if (this.inputs.forEach((s) => {
|
|
28796
28845
|
var o;
|
|
28797
|
-
((o = s.declaration) == null ? void 0 : o.id) ===
|
|
28846
|
+
((o = s.declaration) == null ? void 0 : o.id) === _[n.Loop]["string-loop"].inputs.string.id ? a = s : (s.remove(), i.push(s));
|
|
28798
28847
|
}), a) {
|
|
28799
|
-
if (a.declaration.id !==
|
|
28848
|
+
if (a.declaration.id !== _[n.Loop]["string-loop"].inputs.string.id) {
|
|
28800
28849
|
const s = this.project.get(
|
|
28801
|
-
|
|
28850
|
+
_[n.Loop]["string-loop"].inputs.string.id
|
|
28802
28851
|
);
|
|
28803
28852
|
a.setDeclaration(
|
|
28804
28853
|
s
|
|
@@ -28806,9 +28855,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28806
28855
|
}
|
|
28807
28856
|
} else {
|
|
28808
28857
|
const s = this.project.get(
|
|
28809
|
-
|
|
28858
|
+
_[n.Loop]["string-loop"].inputs.string.id
|
|
28810
28859
|
), o = {
|
|
28811
|
-
id:
|
|
28860
|
+
id: B.UUID.uuid(),
|
|
28812
28861
|
version: 1,
|
|
28813
28862
|
type: n.InputMap,
|
|
28814
28863
|
name: null,
|
|
@@ -28836,11 +28885,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28836
28885
|
}
|
|
28837
28886
|
getCurrentValueBuiltInValueDescriptor() {
|
|
28838
28887
|
var t;
|
|
28839
|
-
const e = (t =
|
|
28888
|
+
const e = (t = _[n.Loop][this.declaration.id].body.inputs.currentValue) == null ? void 0 : t.id;
|
|
28840
28889
|
return e ? this.project.get(e) : null;
|
|
28841
28890
|
}
|
|
28842
28891
|
getCurrentIterationNumberBuiltInValueDescriptor() {
|
|
28843
|
-
const e =
|
|
28892
|
+
const e = _[n.Loop][this.declaration.id].body.inputs.iterationNumber.id;
|
|
28844
28893
|
return this.project.get(e);
|
|
28845
28894
|
}
|
|
28846
28895
|
// This function makes sure that the function-declaration entity as the body of the loop
|
|
@@ -28848,14 +28897,14 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28848
28897
|
// If no body exists, it creates one first
|
|
28849
28898
|
syncBody() {
|
|
28850
28899
|
var o;
|
|
28851
|
-
const e = [], t = [], i = [], a =
|
|
28900
|
+
const e = [], t = [], i = [], a = _[n.Loop][this.declaration.id].body.id, s = this.project.getBuiltIn(
|
|
28852
28901
|
a
|
|
28853
28902
|
);
|
|
28854
28903
|
if (this.body)
|
|
28855
28904
|
((o = this.body.implements) == null ? void 0 : o.id) !== s.id && (this.body.setImplements(s), this.body.setParent(this), e.push(this.body));
|
|
28856
28905
|
else {
|
|
28857
28906
|
const l = {
|
|
28858
|
-
id:
|
|
28907
|
+
id: B.UUID.uuid(),
|
|
28859
28908
|
version: 1,
|
|
28860
28909
|
type: n.FunctionDeclaration,
|
|
28861
28910
|
name: s.name,
|
|
@@ -28918,16 +28967,16 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28918
28967
|
e.push(...h), t.push(...f), i.push(...b);
|
|
28919
28968
|
const {
|
|
28920
28969
|
updated: R,
|
|
28921
|
-
added:
|
|
28922
|
-
removed:
|
|
28970
|
+
added: D,
|
|
28971
|
+
removed: P
|
|
28923
28972
|
} = this.syncBodyArgumentsDeclarations();
|
|
28924
|
-
e.push(...R), t.push(...
|
|
28973
|
+
e.push(...R), t.push(...D), i.push(...P);
|
|
28925
28974
|
const {
|
|
28926
|
-
updated:
|
|
28975
|
+
updated: A,
|
|
28927
28976
|
added: G,
|
|
28928
28977
|
removed: U
|
|
28929
28978
|
} = this.syncOutputsDeclarations();
|
|
28930
|
-
e.push(...
|
|
28979
|
+
e.push(...A), t.push(...G), i.push(...U);
|
|
28931
28980
|
const {
|
|
28932
28981
|
updated: ee,
|
|
28933
28982
|
added: we,
|
|
@@ -29369,7 +29418,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
29369
29418
|
}
|
|
29370
29419
|
toReference() {
|
|
29371
29420
|
return {
|
|
29372
|
-
id: this.id + "--" +
|
|
29421
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
29373
29422
|
type: n.GenericReference,
|
|
29374
29423
|
entityId: this.id,
|
|
29375
29424
|
entityType: this.type
|
|
@@ -29451,6 +29500,32 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
29451
29500
|
clone(e) {
|
|
29452
29501
|
return new fe(this.toJSON(), this.project);
|
|
29453
29502
|
}
|
|
29503
|
+
// If the declaration has inputs (value-descriptor entities) that are not yet added to the operation,
|
|
29504
|
+
// create the input-map entities and add them to the operation
|
|
29505
|
+
syncMissingFixedInputs() {
|
|
29506
|
+
return this.declaration.inputs.filter(
|
|
29507
|
+
(t) => t.parentRelationType === I.FixedArguments && !this.inputs.find(
|
|
29508
|
+
(i) => i.declaration.id === t.id
|
|
29509
|
+
)
|
|
29510
|
+
).forEach((t) => {
|
|
29511
|
+
const i = {
|
|
29512
|
+
id: B.UUID.uuid(),
|
|
29513
|
+
version: 1,
|
|
29514
|
+
type: n.InputMap,
|
|
29515
|
+
declaration: t.toJSON(),
|
|
29516
|
+
readsValue: null,
|
|
29517
|
+
defaultValue: null,
|
|
29518
|
+
index: this.inputs.length,
|
|
29519
|
+
name: null,
|
|
29520
|
+
description: null,
|
|
29521
|
+
parent: this.toReference()
|
|
29522
|
+
}, a = E(
|
|
29523
|
+
i,
|
|
29524
|
+
this.project
|
|
29525
|
+
);
|
|
29526
|
+
a.setParent(this), a.initChildren(), a.addSelfToProject();
|
|
29527
|
+
}), this;
|
|
29528
|
+
}
|
|
29454
29529
|
};
|
|
29455
29530
|
c(fe, "MUTABLE_BASE_PROPERTIES", ["operator"]), c(fe, "INMUTABLE_BASE_PROPERTIES", ["id", "version", "type"]), c(fe, "BASE_PROPERTIES", [
|
|
29456
29531
|
...fe.MUTABLE_BASE_PROPERTIES,
|
|
@@ -30164,7 +30239,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
30164
30239
|
}
|
|
30165
30240
|
toReference() {
|
|
30166
30241
|
return {
|
|
30167
|
-
id: this.id + "--" +
|
|
30242
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
30168
30243
|
type: n.GenericReference,
|
|
30169
30244
|
entityId: this.id,
|
|
30170
30245
|
entityType: this.type
|
|
@@ -30289,7 +30364,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
30289
30364
|
// Creates an instance enitity for this variable declaration
|
|
30290
30365
|
createInstance(e = this.project, t = {}) {
|
|
30291
30366
|
const i = {
|
|
30292
|
-
id: t.id ||
|
|
30367
|
+
id: t.id || B.UUID.uuid(),
|
|
30293
30368
|
version: t.version || 1,
|
|
30294
30369
|
type: n.VariableInstance,
|
|
30295
30370
|
parent: e.toReference(),
|
|
@@ -30352,7 +30427,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
30352
30427
|
}
|
|
30353
30428
|
)).forEach((s) => {
|
|
30354
30429
|
const o = {
|
|
30355
|
-
id:
|
|
30430
|
+
id: B.UUID.uuid(),
|
|
30356
30431
|
version: 1,
|
|
30357
30432
|
type: n.InputMap,
|
|
30358
30433
|
parent: this.toReference(),
|
|
@@ -30395,7 +30470,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
30395
30470
|
...this.dataType.entity.extendedProperties
|
|
30396
30471
|
].filter((i) => !this.outputs.find((a) => a.declaration === i)).map((i) => {
|
|
30397
30472
|
const a = {
|
|
30398
|
-
id:
|
|
30473
|
+
id: B.UUID.uuid(),
|
|
30399
30474
|
version: 1,
|
|
30400
30475
|
type: n.OutputMap,
|
|
30401
30476
|
parent: this.toReference(),
|
|
@@ -31030,7 +31105,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
31030
31105
|
}
|
|
31031
31106
|
toReference() {
|
|
31032
31107
|
return {
|
|
31033
|
-
id: this.id + "--" +
|
|
31108
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
31034
31109
|
type: n.GenericReference,
|
|
31035
31110
|
entityId: this.id,
|
|
31036
31111
|
entityType: this.type
|
|
@@ -31196,7 +31271,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
31196
31271
|
}
|
|
31197
31272
|
)).forEach((s) => {
|
|
31198
31273
|
const o = {
|
|
31199
|
-
id:
|
|
31274
|
+
id: B.UUID.uuid(),
|
|
31200
31275
|
version: 1,
|
|
31201
31276
|
type: n.InputMap,
|
|
31202
31277
|
parent: this.toReference(),
|
|
@@ -31239,7 +31314,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
31239
31314
|
...this.declaration.dataType.entity.extendedProperties
|
|
31240
31315
|
].filter((i) => !this.outputs.find((a) => a.declaration === i)).map((i) => {
|
|
31241
31316
|
const a = {
|
|
31242
|
-
id:
|
|
31317
|
+
id: B.UUID.uuid(),
|
|
31243
31318
|
version: 1,
|
|
31244
31319
|
type: n.OutputMap,
|
|
31245
31320
|
parent: this.toReference(),
|
|
@@ -31472,8 +31547,8 @@ const me = class me {
|
|
|
31472
31547
|
p.type
|
|
31473
31548
|
)) {
|
|
31474
31549
|
const h = p, f = h.parent, b = [
|
|
31475
|
-
...f.breakStatements.filter((
|
|
31476
|
-
...f.continueStatements.filter((
|
|
31550
|
+
...f.breakStatements.filter((D) => D.id !== p.id),
|
|
31551
|
+
...f.continueStatements.filter((D) => D.id !== p.id)
|
|
31477
31552
|
];
|
|
31478
31553
|
if (h.outputs.length)
|
|
31479
31554
|
a.push(
|
|
@@ -31487,13 +31562,13 @@ ${Dd}`,
|
|
|
31487
31562
|
})
|
|
31488
31563
|
);
|
|
31489
31564
|
else {
|
|
31490
|
-
const
|
|
31491
|
-
|
|
31565
|
+
const D = (u = (l = b[0]) == null ? void 0 : l.outputs[0]) == null ? void 0 : u.name;
|
|
31566
|
+
D !== i.name && a.push(
|
|
31492
31567
|
new T({
|
|
31493
31568
|
id: `${i.id}--${S.NoOverlapWithImplementedSignature}`,
|
|
31494
31569
|
code: S.NoOverlapWithImplementedSignature,
|
|
31495
31570
|
severity: m.Error,
|
|
31496
|
-
message: `Entity of type '${n.ReturnDeclaration}' with id '${i.id}' cannot be added to the parent entity of type '${h.type}' with id '${h.id}'. This new 'return-declaration' doesn't have the same name "${
|
|
31571
|
+
message: `Entity of type '${n.ReturnDeclaration}' with id '${i.id}' cannot be added to the parent entity of type '${h.type}' with id '${h.id}'. This new 'return-declaration' doesn't have the same name "${D}" as the return declarations on the other statements in the same scope.
|
|
31497
31572
|
${Dd}`,
|
|
31498
31573
|
issue: null
|
|
31499
31574
|
})
|
|
@@ -31508,12 +31583,12 @@ ${Dd}`,
|
|
|
31508
31583
|
(U) => U.name === i.name
|
|
31509
31584
|
), R = f.outputs.filter((U) => !p.outputs.find(
|
|
31510
31585
|
(we) => we.type === n.ReturnDeclaration && we.name === U.name
|
|
31511
|
-
)),
|
|
31586
|
+
)), D = p.outputs.filter(
|
|
31512
31587
|
(U) => U.type === n.ReturnDeclaration
|
|
31513
|
-
),
|
|
31588
|
+
), P = D.find(
|
|
31514
31589
|
(U) => U.name === i.name
|
|
31515
|
-
),
|
|
31516
|
-
|
|
31590
|
+
), A = D.length ? `The parent entity already implements the following return declarations: ${$(
|
|
31591
|
+
D.map(
|
|
31517
31592
|
(U) => `'${U.id}' (${U.name})`
|
|
31518
31593
|
),
|
|
31519
31594
|
", ",
|
|
@@ -31525,14 +31600,14 @@ ${Dd}`,
|
|
|
31525
31600
|
", ",
|
|
31526
31601
|
" and "
|
|
31527
31602
|
)}.` : "The parent entity has all the returns it needs implemented.";
|
|
31528
|
-
b ?
|
|
31603
|
+
b ? P && a.push(
|
|
31529
31604
|
new T({
|
|
31530
31605
|
id: `${i.id}--${S.NoOverlapWithImplementedSignature}`,
|
|
31531
31606
|
code: S.NoOverlapWithImplementedSignature,
|
|
31532
31607
|
severity: m.Error,
|
|
31533
31608
|
message: `Entity of type '${n.ReturnDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${p.type}' with id '${p.id}' that implements a ${n.ActionDescriptor} with fixed outputs.
|
|
31534
31609
|
Adding a new return would make the implementation invalid. An return with the same name already exists in the parent entity.
|
|
31535
|
-
${
|
|
31610
|
+
${A}
|
|
31536
31611
|
${G}`,
|
|
31537
31612
|
issue: null
|
|
31538
31613
|
})
|
|
@@ -31543,7 +31618,7 @@ ${G}`,
|
|
|
31543
31618
|
severity: m.Error,
|
|
31544
31619
|
message: `Entity of type '${n.ReturnDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${p.type}' with id '${p.id}' that implements a ${n.ActionDescriptor} with fixed outputs.
|
|
31545
31620
|
Adding a new return would make the implementation invalid. There are no returns in the descriptor with the same name.
|
|
31546
|
-
${
|
|
31621
|
+
${A}
|
|
31547
31622
|
${G}`,
|
|
31548
31623
|
issue: null
|
|
31549
31624
|
})
|
|
@@ -31731,7 +31806,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
31731
31806
|
}
|
|
31732
31807
|
toReference() {
|
|
31733
31808
|
return {
|
|
31734
|
-
id: this.id + "--" +
|
|
31809
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
31735
31810
|
type: n.GenericReference,
|
|
31736
31811
|
entityId: this.id,
|
|
31737
31812
|
entityType: this.type
|
|
@@ -32363,7 +32438,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
32363
32438
|
}
|
|
32364
32439
|
toReference() {
|
|
32365
32440
|
return {
|
|
32366
|
-
id: this.id + "--" +
|
|
32441
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
32367
32442
|
type: n.GenericReference,
|
|
32368
32443
|
entityId: this.id,
|
|
32369
32444
|
entityType: this.type
|
|
@@ -32573,7 +32648,7 @@ const Te = class Te {
|
|
|
32573
32648
|
entityId: e.implements,
|
|
32574
32649
|
entityType: n.Project,
|
|
32575
32650
|
type: n.GenericReference,
|
|
32576
|
-
id:
|
|
32651
|
+
id: B.UUID.uuid()
|
|
32577
32652
|
},
|
|
32578
32653
|
x: 0,
|
|
32579
32654
|
y: 0,
|
|
@@ -32732,7 +32807,7 @@ const Te = class Te {
|
|
|
32732
32807
|
}
|
|
32733
32808
|
toReference() {
|
|
32734
32809
|
return {
|
|
32735
|
-
id: this.id + "--" +
|
|
32810
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
32736
32811
|
type: n.GenericReference,
|
|
32737
32812
|
entityId: this.id,
|
|
32738
32813
|
entityType: this.type
|
|
@@ -33062,7 +33137,7 @@ This variable's data-type has an 'entity' field that references an entity with i
|
|
|
33062
33137
|
let f = "";
|
|
33063
33138
|
h ? p.methods.length ? f = `
|
|
33064
33139
|
All 'function-declaration' entities attached as methods to the parent data-type 'entity' field, available to be called as 'internal-calls' in this variable are:
|
|
33065
|
-
- ${p.methods.map((
|
|
33140
|
+
- ${p.methods.map((P) => P.id).join(
|
|
33066
33141
|
`
|
|
33067
33142
|
- `
|
|
33068
33143
|
)}
|
|
@@ -33091,18 +33166,18 @@ ${Zn}`);
|
|
|
33091
33166
|
})
|
|
33092
33167
|
);
|
|
33093
33168
|
else {
|
|
33094
|
-
const
|
|
33169
|
+
const D = [];
|
|
33095
33170
|
[
|
|
33096
33171
|
n.CustomEntity,
|
|
33097
33172
|
n.BuiltInBaseEntity,
|
|
33098
33173
|
n.PrimitiveEntity
|
|
33099
|
-
].includes(p.type) &&
|
|
33174
|
+
].includes(p.type) && D.push(
|
|
33100
33175
|
...p.getAllInteractiveMethods()
|
|
33101
33176
|
);
|
|
33102
|
-
const
|
|
33103
|
-
(
|
|
33177
|
+
const P = D.find(
|
|
33178
|
+
(A) => A.id === i.declaration
|
|
33104
33179
|
);
|
|
33105
|
-
|
|
33180
|
+
P ? P.type !== n.FunctionDeclaration && a.push(
|
|
33106
33181
|
new T({
|
|
33107
33182
|
id: `${i.id}--${S.InternalCallDeclarationIsNotFunctionDeclaration}`,
|
|
33108
33183
|
code: S.InternalCallDeclarationIsNotFunctionDeclaration,
|
|
@@ -33474,7 +33549,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
33474
33549
|
}
|
|
33475
33550
|
toReference() {
|
|
33476
33551
|
return {
|
|
33477
|
-
id: this.id + "--" +
|
|
33552
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
33478
33553
|
type: n.GenericReference,
|
|
33479
33554
|
entityId: this.id,
|
|
33480
33555
|
entityType: this.type
|
|
@@ -33820,7 +33895,7 @@ This means it can hold a function-call or operation as its value, to be executed
|
|
|
33820
33895
|
Input maps can only be added to variables which hold an entity with properties.`,
|
|
33821
33896
|
issue: null
|
|
33822
33897
|
})
|
|
33823
|
-
) : R && !(b != null && b.inferred) && (R.properties.find((
|
|
33898
|
+
) : R && !(b != null && b.inferred) && (R.properties.find((P) => P.id === l.id) || a.push(
|
|
33824
33899
|
new T({
|
|
33825
33900
|
id: `${i.id}--${S.NoOverlapWithImplementedSignature}`,
|
|
33826
33901
|
code: S.NoOverlapWithImplementedSignature,
|
|
@@ -33828,7 +33903,7 @@ Input maps can only be added to variables which hold an entity with properties.`
|
|
|
33828
33903
|
message: `Entity of type '${n.InputMap}' with id '${i.id}' cannot be added to the parent entity of type '${o.type}' with id '${o.id}'. The 'declaration' with '${l.id}' of the 'input-map' does not exist in the entity of the 'data-type'.
|
|
33829
33904
|
The entity of the data-type has the following properties that can be reads as input maps, ids: '${$(
|
|
33830
33905
|
R.properties.map(
|
|
33831
|
-
(
|
|
33906
|
+
(P) => P.id
|
|
33832
33907
|
),
|
|
33833
33908
|
"', '",
|
|
33834
33909
|
"' and '"
|
|
@@ -33840,9 +33915,9 @@ The entity of the data-type has the following properties that can be reads as in
|
|
|
33840
33915
|
(h) => je.includes(h)
|
|
33841
33916
|
).includes(o.type)) {
|
|
33842
33917
|
const f = Hm(o), b = f.find(
|
|
33843
|
-
(
|
|
33918
|
+
(D) => D.id === i.declaration
|
|
33844
33919
|
), R = `The parent entity has the following argument declarations that can be referenced by input-maps, ids: '${$(
|
|
33845
|
-
f.map((
|
|
33920
|
+
f.map((D) => D.id),
|
|
33846
33921
|
"', '",
|
|
33847
33922
|
"' and '"
|
|
33848
33923
|
)}'`;
|
|
@@ -34008,7 +34083,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
34008
34083
|
}
|
|
34009
34084
|
toReference() {
|
|
34010
34085
|
return {
|
|
34011
|
-
id: this.id + "--" +
|
|
34086
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
34012
34087
|
type: n.GenericReference,
|
|
34013
34088
|
entityId: this.id,
|
|
34014
34089
|
entityType: this.type
|
|
@@ -34310,7 +34385,7 @@ Output maps can only be added to variables which hold an entity with properties.
|
|
|
34310
34385
|
issue: null
|
|
34311
34386
|
})
|
|
34312
34387
|
) : b.properties.find(
|
|
34313
|
-
(
|
|
34388
|
+
(D) => D.id === p.id
|
|
34314
34389
|
) || a.push(
|
|
34315
34390
|
new T({
|
|
34316
34391
|
id: `${i.id}--${S.NoOverlapWithImplementedSignature}`,
|
|
@@ -34318,7 +34393,7 @@ Output maps can only be added to variables which hold an entity with properties.
|
|
|
34318
34393
|
severity: m.Error,
|
|
34319
34394
|
message: `Entity of type '${n.OutputMap}' with id '${i.id}' cannot be added to the parent entity of type '${o.type}' with id '${o.id}'. The 'declaration' with '${p.id}' of the 'output-map' does not exist in the entity of the 'data-type'.
|
|
34320
34395
|
The entity of the data-type has the following properties that can be reads as output maps, ids: '${$(
|
|
34321
|
-
b.properties.map((
|
|
34396
|
+
b.properties.map((D) => D.id),
|
|
34322
34397
|
"', '",
|
|
34323
34398
|
"' and '"
|
|
34324
34399
|
)}'`,
|
|
@@ -34501,7 +34576,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
34501
34576
|
}
|
|
34502
34577
|
toReference() {
|
|
34503
34578
|
return {
|
|
34504
|
-
id: this.id + "--" +
|
|
34579
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
34505
34580
|
type: n.GenericReference,
|
|
34506
34581
|
entityId: this.id,
|
|
34507
34582
|
entityType: this.type
|
|
@@ -34739,34 +34814,34 @@ const Ee = class Ee {
|
|
|
34739
34814
|
const u = l.implements;
|
|
34740
34815
|
if (u) {
|
|
34741
34816
|
const p = u.inputs.find(
|
|
34742
|
-
(
|
|
34743
|
-
), h = u.inputs.filter((
|
|
34817
|
+
(P) => P.name === i.name
|
|
34818
|
+
), h = u.inputs.filter((P) => !l.inputs.find(
|
|
34744
34819
|
// @ts-ignore
|
|
34745
34820
|
(G) => (
|
|
34746
34821
|
// @ts-ignore
|
|
34747
34822
|
G.type === n.ArgumentDeclaration && // @ts-ignore
|
|
34748
|
-
G.name ===
|
|
34823
|
+
G.name === P.name
|
|
34749
34824
|
)
|
|
34750
34825
|
)), f = (
|
|
34751
34826
|
// @ts-ignore
|
|
34752
34827
|
l.inputs.filter(
|
|
34753
34828
|
// @ts-ignore
|
|
34754
|
-
(
|
|
34829
|
+
(P) => (
|
|
34755
34830
|
// @ts-ignore
|
|
34756
|
-
|
|
34831
|
+
P.type === n.ArgumentDeclaration
|
|
34757
34832
|
)
|
|
34758
34833
|
)
|
|
34759
34834
|
), b = f.find(
|
|
34760
|
-
(
|
|
34835
|
+
(P) => P.name === i.name
|
|
34761
34836
|
), R = f.length ? `The parent entity already implements the following arguments: ${$(
|
|
34762
34837
|
f.map(
|
|
34763
|
-
(
|
|
34838
|
+
(P) => `'${P.id}' (${P.name})`
|
|
34764
34839
|
),
|
|
34765
34840
|
", ",
|
|
34766
34841
|
" and "
|
|
34767
|
-
)}.` : "The parent entity does not yet have any implemented arguments.",
|
|
34842
|
+
)}.` : "The parent entity does not yet have any implemented arguments.", D = h.length ? `The parent entity is still missing the following arguments in the implementation: ${$(
|
|
34768
34843
|
h.map(
|
|
34769
|
-
(
|
|
34844
|
+
(P) => `'${P.id}' (${P.name})`
|
|
34770
34845
|
),
|
|
34771
34846
|
", ",
|
|
34772
34847
|
" and "
|
|
@@ -34779,7 +34854,7 @@ const Ee = class Ee {
|
|
|
34779
34854
|
message: `Entity of type '${n.ArgumentDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${l.type}' with id '${l.id}' that implements a ${n.ActionDescriptor} with fixed arguments.
|
|
34780
34855
|
Adding a new argument would make the implementation invalid. An argument with the same name already exists in the parent entity.
|
|
34781
34856
|
${R}
|
|
34782
|
-
${
|
|
34857
|
+
${D}`,
|
|
34783
34858
|
issue: null
|
|
34784
34859
|
})
|
|
34785
34860
|
) : a.push(
|
|
@@ -34790,7 +34865,7 @@ ${I}`,
|
|
|
34790
34865
|
message: `Entity of type '${n.ArgumentDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${l.type}' with id '${l.id}' that implements a ${n.ActionDescriptor} with fixed arguments.
|
|
34791
34866
|
Adding a new argument would make the implementation invalid. There are no arguments in the descriptor with the same name.
|
|
34792
34867
|
${R}
|
|
34793
|
-
${
|
|
34868
|
+
${D}`,
|
|
34794
34869
|
issue: null
|
|
34795
34870
|
})
|
|
34796
34871
|
);
|
|
@@ -34971,7 +35046,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
34971
35046
|
}
|
|
34972
35047
|
toReference() {
|
|
34973
35048
|
return {
|
|
34974
|
-
id: this.id + "--" +
|
|
35049
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
34975
35050
|
type: n.GenericReference,
|
|
34976
35051
|
entityId: this.id,
|
|
34977
35052
|
entityType: this.type
|
|
@@ -35416,7 +35491,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
35416
35491
|
}
|
|
35417
35492
|
toReference() {
|
|
35418
35493
|
return {
|
|
35419
|
-
id: this.id + "--" +
|
|
35494
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
35420
35495
|
type: n.GenericReference,
|
|
35421
35496
|
entityId: this.id,
|
|
35422
35497
|
entityType: this.type
|
|
@@ -35836,7 +35911,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
35836
35911
|
}
|
|
35837
35912
|
toReference() {
|
|
35838
35913
|
return {
|
|
35839
|
-
id: this.id + "--" +
|
|
35914
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
35840
35915
|
type: n.GenericReference,
|
|
35841
35916
|
entityId: this.id,
|
|
35842
35917
|
entityType: this.type
|
|
@@ -36239,7 +36314,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
36239
36314
|
}
|
|
36240
36315
|
toReference() {
|
|
36241
36316
|
return {
|
|
36242
|
-
id: this.id + "--" +
|
|
36317
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
36243
36318
|
type: n.GenericReference,
|
|
36244
36319
|
entityId: this.id,
|
|
36245
36320
|
entityType: this.type
|
|
@@ -36644,7 +36719,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
36644
36719
|
}
|
|
36645
36720
|
toReference() {
|
|
36646
36721
|
return {
|
|
36647
|
-
id: this.id + "--" +
|
|
36722
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
36648
36723
|
type: n.GenericReference,
|
|
36649
36724
|
entityId: this.id,
|
|
36650
36725
|
entityType: this.type
|
|
@@ -37057,7 +37132,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37057
37132
|
}
|
|
37058
37133
|
toReference() {
|
|
37059
37134
|
return {
|
|
37060
|
-
id: this.id + "--" +
|
|
37135
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
37061
37136
|
type: n.GenericReference,
|
|
37062
37137
|
entityId: this.id,
|
|
37063
37138
|
entityType: this.type
|
|
@@ -37202,7 +37277,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37202
37277
|
}
|
|
37203
37278
|
// This function returns an instance of an loop, which is an implementation of this loop declaration
|
|
37204
37279
|
implementAsLoop(e) {
|
|
37205
|
-
const t = e || this.project, i = this.id + "--instance-" +
|
|
37280
|
+
const t = e || this.project, i = this.id + "--instance-" + B.UUID.fromUUID(B.UUID.uuid()), a = {
|
|
37206
37281
|
id: i,
|
|
37207
37282
|
version: this.version,
|
|
37208
37283
|
type: n.Loop,
|
|
@@ -37236,7 +37311,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37236
37311
|
readsValue: null,
|
|
37237
37312
|
index: u,
|
|
37238
37313
|
parent: {
|
|
37239
|
-
id:
|
|
37314
|
+
id: B.UUID.uuid(),
|
|
37240
37315
|
type: n.GenericReference,
|
|
37241
37316
|
entityId: i,
|
|
37242
37317
|
entityType: n.Loop
|
|
@@ -37252,7 +37327,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37252
37327
|
writesValues: [],
|
|
37253
37328
|
index: u,
|
|
37254
37329
|
parent: {
|
|
37255
|
-
id:
|
|
37330
|
+
id: B.UUID.uuid(),
|
|
37256
37331
|
type: n.GenericReference,
|
|
37257
37332
|
entityId: i,
|
|
37258
37333
|
entityType: n.Loop
|
|
@@ -37276,7 +37351,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37276
37351
|
x: 0,
|
|
37277
37352
|
y: 0,
|
|
37278
37353
|
parent: {
|
|
37279
|
-
id:
|
|
37354
|
+
id: B.UUID.uuid(),
|
|
37280
37355
|
type: n.GenericReference,
|
|
37281
37356
|
entityId: i,
|
|
37282
37357
|
entityType: n.Loop
|
|
@@ -37284,7 +37359,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37284
37359
|
};
|
|
37285
37360
|
s.inputs = [
|
|
37286
37361
|
{
|
|
37287
|
-
id:
|
|
37362
|
+
id: B.UUID.uuid(),
|
|
37288
37363
|
version: this.version,
|
|
37289
37364
|
type: n.ArgumentDeclaration,
|
|
37290
37365
|
name: "Current iteration number",
|
|
@@ -37302,7 +37377,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37302
37377
|
}
|
|
37303
37378
|
},
|
|
37304
37379
|
{
|
|
37305
|
-
id:
|
|
37380
|
+
id: B.UUID.uuid(),
|
|
37306
37381
|
version: this.version,
|
|
37307
37382
|
type: n.ArgumentDeclaration,
|
|
37308
37383
|
name: "Previous iterations results",
|
|
@@ -37328,7 +37403,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37328
37403
|
}
|
|
37329
37404
|
// This function returns an instance of an operation, which is an implementation of this operation declaration
|
|
37330
37405
|
implementAsOperation(e, t) {
|
|
37331
|
-
const i = e || this.project, a = t || this.id + "--instance-" +
|
|
37406
|
+
const i = e || this.project, a = t || this.id + "--instance-" + B.UUID.fromUUID(B.UUID.uuid()), s = {
|
|
37332
37407
|
id: a,
|
|
37333
37408
|
version: this.version,
|
|
37334
37409
|
type: n.Operation,
|
|
@@ -37358,7 +37433,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37358
37433
|
readsValue: null,
|
|
37359
37434
|
index: u,
|
|
37360
37435
|
parent: {
|
|
37361
|
-
id:
|
|
37436
|
+
id: B.UUID.uuid(),
|
|
37362
37437
|
type: n.GenericReference,
|
|
37363
37438
|
entityId: a,
|
|
37364
37439
|
entityType: n.Operation
|
|
@@ -37374,7 +37449,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37374
37449
|
writesValues: [],
|
|
37375
37450
|
index: u,
|
|
37376
37451
|
parent: {
|
|
37377
|
-
id:
|
|
37452
|
+
id: B.UUID.uuid(),
|
|
37378
37453
|
type: n.GenericReference,
|
|
37379
37454
|
entityId: a,
|
|
37380
37455
|
entityType: n.Operation
|
|
@@ -37390,7 +37465,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37390
37465
|
writesValues: [],
|
|
37391
37466
|
index: -1,
|
|
37392
37467
|
parent: {
|
|
37393
|
-
id:
|
|
37468
|
+
id: B.UUID.uuid(),
|
|
37394
37469
|
type: n.GenericReference,
|
|
37395
37470
|
entityId: a,
|
|
37396
37471
|
entityType: n.Operation
|
|
@@ -37405,7 +37480,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37405
37480
|
return o.setParent(i), o.initChildren(), o;
|
|
37406
37481
|
}
|
|
37407
37482
|
implementAsCondition(e) {
|
|
37408
|
-
const t = e || this.project, i = this.id + "--instance-" +
|
|
37483
|
+
const t = e || this.project, i = this.id + "--instance-" + B.UUID.fromUUID(B.UUID.uuid()), a = {
|
|
37409
37484
|
id: i,
|
|
37410
37485
|
version: this.version,
|
|
37411
37486
|
type: n.Condition,
|
|
@@ -37434,7 +37509,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37434
37509
|
readsValue: null,
|
|
37435
37510
|
index: l,
|
|
37436
37511
|
parent: {
|
|
37437
|
-
id:
|
|
37512
|
+
id: B.UUID.uuid(),
|
|
37438
37513
|
type: n.GenericReference,
|
|
37439
37514
|
entityId: i,
|
|
37440
37515
|
entityType: n.Condition
|
|
@@ -37485,17 +37560,17 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37485
37560
|
);
|
|
37486
37561
|
e ? u.setParent(e) : this.parent && u.setParent(this.parent), i && u.subscribe(), u.initChildren();
|
|
37487
37562
|
const p = (f = this.inputs) == null ? void 0 : f.map(
|
|
37488
|
-
(R,
|
|
37563
|
+
(R, D) => R.clone(
|
|
37489
37564
|
this,
|
|
37490
|
-
l + "-argument-value-descriptor-" +
|
|
37565
|
+
l + "-argument-value-descriptor-" + D + "-id",
|
|
37491
37566
|
i
|
|
37492
37567
|
)
|
|
37493
37568
|
);
|
|
37494
37569
|
u.inputs = p;
|
|
37495
37570
|
const h = (b = this.outputs) == null ? void 0 : b.map(
|
|
37496
|
-
(R,
|
|
37571
|
+
(R, D) => R.clone(
|
|
37497
37572
|
this,
|
|
37498
|
-
l + "-return-value-descriptor-" +
|
|
37573
|
+
l + "-return-value-descriptor-" + D + "-id",
|
|
37499
37574
|
i
|
|
37500
37575
|
)
|
|
37501
37576
|
);
|
|
@@ -37581,7 +37656,7 @@ const De = class De {
|
|
|
37581
37656
|
Then creates a new instance of the entity
|
|
37582
37657
|
*/
|
|
37583
37658
|
static fromGenerationTarget(e, t) {
|
|
37584
|
-
const i = e.parent ? w(e.parent) : null, a = i ? t.get(i) : null, s = e.parentRelationType ===
|
|
37659
|
+
const i = e.parent ? w(e.parent) : null, a = i ? t.get(i) : null, s = e.parentRelationType === I.FixedArguments ? a == null ? void 0 : a.inputs.length : a == null ? void 0 : a.outputs.length, o = {
|
|
37585
37660
|
id: e.id,
|
|
37586
37661
|
version: 1,
|
|
37587
37662
|
name: e.name,
|
|
@@ -37627,15 +37702,15 @@ const De = class De {
|
|
|
37627
37702
|
You can't modify system entities that are built-in.`,
|
|
37628
37703
|
issue: null
|
|
37629
37704
|
})
|
|
37630
|
-
), o && o.type === n.ActionDescriptor && (!i.parentRelationType || !(i.parentRelationType ===
|
|
37705
|
+
), o && o.type === n.ActionDescriptor && (!i.parentRelationType || !(i.parentRelationType === I.FixedArguments || i.parentRelationType === I.FixedReturns || i.parentRelationType === I.ReturnedError || i.parentRelationType === I.DynamicArgument || i.parentRelationType === I.DynamicReturn) ? a.push(
|
|
37631
37706
|
new T({
|
|
37632
37707
|
id: `${e.id}--${y.InvalidParentRelationType}`,
|
|
37633
37708
|
code: y.InvalidParentRelationType,
|
|
37634
37709
|
severity: m.Error,
|
|
37635
|
-
message: `The entity with id '${e.id}' and type '${e.type}', must have a 'parentRelationType' property set to either '${
|
|
37710
|
+
message: `The entity with id '${e.id}' and type '${e.type}', must have a 'parentRelationType' property set to either '${I.FixedArguments}', '${I.FixedReturns}', or '${I.ReturnedError}' when being added as a child to an entity of type 'action-descriptor'.`,
|
|
37636
37711
|
issue: null
|
|
37637
37712
|
})
|
|
37638
|
-
) : i.parentRelationType ===
|
|
37713
|
+
) : i.parentRelationType === I.ReturnedError && o.error && a.push(
|
|
37639
37714
|
new T({
|
|
37640
37715
|
id: `${e.id}--${y.NewEntityWouldOverriteExisting}`,
|
|
37641
37716
|
code: y.NewEntityWouldOverriteExisting,
|
|
@@ -37663,7 +37738,7 @@ ${on(
|
|
|
37663
37738
|
addSelfToProject() {
|
|
37664
37739
|
var a, s, o, l;
|
|
37665
37740
|
const e = [this], t = [], i = [];
|
|
37666
|
-
return this.parentRelationType ===
|
|
37741
|
+
return this.parentRelationType === I.FixedArguments || this.parentRelationType === I.DynamicArgument ? (s = (a = this.parent) == null ? void 0 : a.addInput) == null || s.call(a, this) : this.parentRelationType === I.FixedReturns || this.parentRelationType === I.DynamicReturn ? (l = (o = this.parent) == null ? void 0 : o.addOutput) == null || l.call(o, this) : this.parentRelationType === I.ReturnedError && this.parent && (this.parent.error = this), this.parent && ([n.Search, n.Loop].includes(this.parent.type) && this.parent.addOutputDeclaration(this), e.push(this.parent)), {
|
|
37667
37742
|
updated: v(e),
|
|
37668
37743
|
added: v(t),
|
|
37669
37744
|
removed: v(i),
|
|
@@ -37777,7 +37852,7 @@ ${on(
|
|
|
37777
37852
|
}
|
|
37778
37853
|
toReference() {
|
|
37779
37854
|
return {
|
|
37780
|
-
id: this.id + "--" +
|
|
37855
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
37781
37856
|
type: n.GenericReference,
|
|
37782
37857
|
entityId: this.id,
|
|
37783
37858
|
entityType: this.type
|
|
@@ -38005,7 +38080,7 @@ If you are trying to create a new entity, please use a different id, for example
|
|
|
38005
38080
|
};
|
|
38006
38081
|
switch (t.type) {
|
|
38007
38082
|
case n.Project:
|
|
38008
|
-
return
|
|
38083
|
+
return B.validateGenerationTarget(
|
|
38009
38084
|
t,
|
|
38010
38085
|
e
|
|
38011
38086
|
);
|
|
@@ -38298,13 +38373,13 @@ ${jn}`,
|
|
|
38298
38373
|
const a = Kc(e.type);
|
|
38299
38374
|
if (a) {
|
|
38300
38375
|
// @ts-ignore
|
|
38301
|
-
(a.INMUTABLE_META_PROPERTIES || []).forEach((
|
|
38302
|
-
["type", "id"].includes(
|
|
38303
|
-
r[
|
|
38304
|
-
!Ii(r[
|
|
38376
|
+
(a.INMUTABLE_META_PROPERTIES || []).forEach((A) => {
|
|
38377
|
+
["type", "id"].includes(A) || // @ts-ignore
|
|
38378
|
+
r[A] && // @ts-ignore
|
|
38379
|
+
!Ii(r[A]) && (t.push(
|
|
38305
38380
|
new T({
|
|
38306
38381
|
id: `${e.id}--${y.InvalidInmutablePropertyOverride}`,
|
|
38307
|
-
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "${
|
|
38382
|
+
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "${A}" updated. It is an inmutable property that is set only when the entity is created.
|
|
38308
38383
|
If you need to update this property, you should delete the entity and create a new one with the updated value.`,
|
|
38309
38384
|
severity: m.Error,
|
|
38310
38385
|
code: y.InvalidInmutablePropertyOverride,
|
|
@@ -38312,28 +38387,28 @@ If you need to update this property, you should delete the entity and create a n
|
|
|
38312
38387
|
})
|
|
38313
38388
|
), i = !0);
|
|
38314
38389
|
}), // @ts-ignore
|
|
38315
|
-
(a.DOWNSTREAM_PROPERTIES || []).forEach((
|
|
38390
|
+
(a.DOWNSTREAM_PROPERTIES || []).forEach((A) => {
|
|
38316
38391
|
// @ts-ignore
|
|
38317
|
-
r[
|
|
38318
|
-
!Ii(r[
|
|
38392
|
+
r[A] && // @ts-ignore
|
|
38393
|
+
!Ii(r[A]) && (t.push(
|
|
38319
38394
|
new T({
|
|
38320
38395
|
id: `${e.id}--${y.InvalidDownstreamPropertyOverride}`,
|
|
38321
|
-
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "${
|
|
38396
|
+
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "${A}" set directly. It is a downstream property that points to a downstream nested entity.
|
|
38322
38397
|
All downstream references are managed by the downstream entity. Entities only manage their own upstream references.
|
|
38323
|
-
To modify '${
|
|
38398
|
+
To modify '${A}', target the entity that it points to and its equivalent property.`,
|
|
38324
38399
|
severity: m.Error,
|
|
38325
38400
|
code: y.InvalidDownstreamPropertyOverride,
|
|
38326
38401
|
issue: null
|
|
38327
38402
|
})
|
|
38328
38403
|
), i = !0);
|
|
38329
38404
|
}), // @ts-ignore
|
|
38330
|
-
(a.INMUTABLE_UPSTREAM_PROPERTIES || []).forEach((
|
|
38405
|
+
(a.INMUTABLE_UPSTREAM_PROPERTIES || []).forEach((A) => {
|
|
38331
38406
|
// @ts-ignore
|
|
38332
|
-
r[
|
|
38333
|
-
!Ii(r[
|
|
38407
|
+
r[A] && // @ts-ignore
|
|
38408
|
+
!Ii(r[A]) && (t.push(
|
|
38334
38409
|
new T({
|
|
38335
38410
|
id: `${e.id}--${y.InvalidInmutablePropertyOverride}`,
|
|
38336
|
-
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "${
|
|
38411
|
+
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "${A}" updated. It is an inmutable property that is set only when the entity is created.
|
|
38337
38412
|
If you need to update this property, you should delete the entity and create a new one with the updated value.`,
|
|
38338
38413
|
severity: m.Error,
|
|
38339
38414
|
code: y.InvalidInmutablePropertyOverride,
|
|
@@ -38341,12 +38416,12 @@ If you need to update this property, you should delete the entity and create a n
|
|
|
38341
38416
|
})
|
|
38342
38417
|
), i = !0);
|
|
38343
38418
|
});
|
|
38344
|
-
const
|
|
38345
|
-
|
|
38346
|
-
|
|
38419
|
+
const P = a.PROPERTIES || [];
|
|
38420
|
+
P.length > 0 && Object.keys(r).forEach((A) => {
|
|
38421
|
+
P.includes(A) || t.push(
|
|
38347
38422
|
new T({
|
|
38348
38423
|
id: `${e.id}--${y.UnrecognizedProperty}`,
|
|
38349
|
-
message: `Entity of type "${e.type}" with id "${e.id}" has an unrecognized property "${
|
|
38424
|
+
message: `Entity of type "${e.type}" with id "${e.id}" has an unrecognized property "${A}" that will be ignored.`,
|
|
38350
38425
|
severity: m.Warning,
|
|
38351
38426
|
code: y.UnrecognizedProperty,
|
|
38352
38427
|
issue: null
|
|
@@ -39202,9 +39277,9 @@ function nk(r, e) {
|
|
|
39202
39277
|
b,
|
|
39203
39278
|
e
|
|
39204
39279
|
) ? (Ve.includes(i.type) && ((i.calledBySuccess || []).find(
|
|
39205
|
-
(
|
|
39280
|
+
(D) => D === f.id
|
|
39206
39281
|
) ? (f.successCalls || []).find(
|
|
39207
|
-
(
|
|
39282
|
+
(A) => Ve.includes(A.type)
|
|
39208
39283
|
) && t.push(
|
|
39209
39284
|
new T({
|
|
39210
39285
|
id: `${i.id}--${f.id}--${S.UnreachableEntity}`,
|
|
@@ -39215,9 +39290,9 @@ The new termination statement is redundant because both entities would be called
|
|
|
39215
39290
|
issue: null
|
|
39216
39291
|
})
|
|
39217
39292
|
) : (i.calledByError || []).find(
|
|
39218
|
-
(
|
|
39293
|
+
(D) => D === f.id
|
|
39219
39294
|
) ? (f.errorCalls || []).find(
|
|
39220
|
-
(
|
|
39295
|
+
(A) => Ve.includes(A.type)
|
|
39221
39296
|
) && t.push(
|
|
39222
39297
|
new T({
|
|
39223
39298
|
id: `${i.id}--${f.id}--${S.UnreachableEntity}`,
|
|
@@ -39228,9 +39303,9 @@ The new termination statement is redundant because both entities would be called
|
|
|
39228
39303
|
issue: null
|
|
39229
39304
|
})
|
|
39230
39305
|
) : (i.calledByEntry || []).find(
|
|
39231
|
-
(
|
|
39306
|
+
(D) => D === f.id
|
|
39232
39307
|
) && (f.calls || []).find(
|
|
39233
|
-
(
|
|
39308
|
+
(A) => Ve.includes(A.type)
|
|
39234
39309
|
) && t.push(
|
|
39235
39310
|
new T({
|
|
39236
39311
|
id: `${i.id}--${f.id}--${S.UnreachableEntity}`,
|
|
@@ -39265,9 +39340,9 @@ The new termination statement is redundant because both entities would be called
|
|
|
39265
39340
|
e
|
|
39266
39341
|
);
|
|
39267
39342
|
R ? (Ve.includes(i.type) && ((i.calledBySuccess || []).find(
|
|
39268
|
-
(
|
|
39343
|
+
(D) => D === f.id
|
|
39269
39344
|
) ? (f.successCalls || []).find(
|
|
39270
|
-
(
|
|
39345
|
+
(A) => Ve.includes(A.type)
|
|
39271
39346
|
) && t.push(
|
|
39272
39347
|
new T({
|
|
39273
39348
|
id: `${i.id}--${f.id}--${S.UnreachableEntity}`,
|
|
@@ -39278,9 +39353,9 @@ The new termination statement is redundant because both entities would be called
|
|
|
39278
39353
|
issue: null
|
|
39279
39354
|
})
|
|
39280
39355
|
) : (i.calledByError || []).find(
|
|
39281
|
-
(
|
|
39356
|
+
(D) => D === f.id
|
|
39282
39357
|
) ? (f.errorCalls || []).find(
|
|
39283
|
-
(
|
|
39358
|
+
(A) => Ve.includes(A.type)
|
|
39284
39359
|
) && t.push(
|
|
39285
39360
|
new T({
|
|
39286
39361
|
id: `${i.id}--${f.id}--${S.UnreachableEntity}`,
|
|
@@ -39291,9 +39366,9 @@ The new termination statement is redundant because both entities would be called
|
|
|
39291
39366
|
issue: null
|
|
39292
39367
|
})
|
|
39293
39368
|
) : (i.calledByEntry || []).find(
|
|
39294
|
-
(
|
|
39369
|
+
(D) => D === f.id
|
|
39295
39370
|
) && (f.calls || []).find(
|
|
39296
|
-
(
|
|
39371
|
+
(A) => Ve.includes(A.type)
|
|
39297
39372
|
) && t.push(
|
|
39298
39373
|
new T({
|
|
39299
39374
|
id: `${i.id}--${f.id}--${S.UnreachableEntity}`,
|
|
@@ -39602,12 +39677,12 @@ ${Ad}`,
|
|
|
39602
39677
|
if (p.list)
|
|
39603
39678
|
if (Array.isArray(b))
|
|
39604
39679
|
for (const R of b) {
|
|
39605
|
-
const
|
|
39680
|
+
const D = Id(
|
|
39606
39681
|
o,
|
|
39607
39682
|
{ key: u, types: h, optional: f },
|
|
39608
39683
|
t
|
|
39609
39684
|
);
|
|
39610
|
-
a.push(...
|
|
39685
|
+
a.push(...D);
|
|
39611
39686
|
}
|
|
39612
39687
|
else {
|
|
39613
39688
|
a.push(
|
|
@@ -40685,7 +40760,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
40685
40760
|
const a = i.map(
|
|
40686
40761
|
(s, o) => {
|
|
40687
40762
|
const l = e.includes(s.index) ? this.outputs.length - 1 + o : s.index, u = {
|
|
40688
|
-
id:
|
|
40763
|
+
id: B.UUID.uuid(),
|
|
40689
40764
|
type: n.OutputMap,
|
|
40690
40765
|
version: 1,
|
|
40691
40766
|
declaration: s,
|
|
@@ -40859,7 +40934,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
40859
40934
|
}
|
|
40860
40935
|
toReference() {
|
|
40861
40936
|
return {
|
|
40862
|
-
id: this.id + "--" +
|
|
40937
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
40863
40938
|
type: n.GenericReference,
|
|
40864
40939
|
entityId: this.id,
|
|
40865
40940
|
entityType: this.type
|
|
@@ -40997,21 +41072,21 @@ let Wr = Pe;
|
|
|
40997
41072
|
function lk(r) {
|
|
40998
41073
|
var e, t, i;
|
|
40999
41074
|
switch (r.id) {
|
|
41000
|
-
case
|
|
41075
|
+
case _["built-in-base-entity"].BUILT_IN_PERSISTED_ENTITY_ENTITY.id: {
|
|
41001
41076
|
const a = r.project.entities.filter(
|
|
41002
41077
|
(h) => !!h.implements.find(
|
|
41003
|
-
(f) => f.id ===
|
|
41078
|
+
(f) => f.id === _["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.id
|
|
41004
41079
|
)
|
|
41005
41080
|
);
|
|
41006
41081
|
if (a.find((h) => !!h.properties.find((f) => {
|
|
41007
41082
|
var b;
|
|
41008
|
-
return f.implements && f.implements.id ===
|
|
41083
|
+
return f.implements && f.implements.id === _["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id && ((b = f.getDefaultValue()) == null ? void 0 : b.value) === !0;
|
|
41009
41084
|
}))) {
|
|
41010
|
-
const f = a[0].properties.find((R) => R.implements && R.implements.id ===
|
|
41085
|
+
const f = a[0].properties.find((R) => R.implements && R.implements.id === _["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id), b = (e = f == null ? void 0 : f.dataType) == null ? void 0 : e.defaultValue;
|
|
41011
41086
|
if (b)
|
|
41012
41087
|
b.value = !0;
|
|
41013
41088
|
else if (f != null && f.dataType) {
|
|
41014
|
-
const R = (t = f == null ? void 0 : f.dataType) == null ? void 0 : t.id.split("-id")[0],
|
|
41089
|
+
const R = (t = f == null ? void 0 : f.dataType) == null ? void 0 : t.id.split("-id")[0], D = E(
|
|
41015
41090
|
{
|
|
41016
41091
|
id: R + "-default-value-id",
|
|
41017
41092
|
version: 1,
|
|
@@ -41024,8 +41099,8 @@ function lk(r) {
|
|
|
41024
41099
|
},
|
|
41025
41100
|
r.project
|
|
41026
41101
|
);
|
|
41027
|
-
return
|
|
41028
|
-
newEntities: [
|
|
41102
|
+
return D.setParent(f == null ? void 0 : f.dataType), D.initChildren(), D.addSelfToProject(), {
|
|
41103
|
+
newEntities: [D]
|
|
41029
41104
|
};
|
|
41030
41105
|
}
|
|
41031
41106
|
return {
|
|
@@ -41033,13 +41108,13 @@ function lk(r) {
|
|
|
41033
41108
|
};
|
|
41034
41109
|
}
|
|
41035
41110
|
const o = r.project.get(
|
|
41036
|
-
|
|
41111
|
+
_["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.id
|
|
41037
41112
|
), l = Yc(o, "Main database");
|
|
41038
41113
|
if (l.errors.length > 0)
|
|
41039
41114
|
return {
|
|
41040
41115
|
newEntities: []
|
|
41041
41116
|
};
|
|
41042
|
-
const u = l.implemented.properties.find((h) => h.implements && h.implements.id ===
|
|
41117
|
+
const u = l.implemented.properties.find((h) => h.implements && h.implements.id === _["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id), p = (i = u == null ? void 0 : u.dataType) == null ? void 0 : i.defaultValue;
|
|
41043
41118
|
if (p)
|
|
41044
41119
|
p.value = !0;
|
|
41045
41120
|
else if (u != null && u.dataType) {
|
|
@@ -41073,20 +41148,20 @@ function ck(r) {
|
|
|
41073
41148
|
).map((t) => {
|
|
41074
41149
|
var i;
|
|
41075
41150
|
switch (t.id) {
|
|
41076
|
-
case
|
|
41151
|
+
case _["built-in-base-entity"].BUILT_IN_PERSISTED_ENTITY_ENTITY.id: {
|
|
41077
41152
|
const s = r.project.entities.filter(
|
|
41078
41153
|
(u) => u.implements.find(
|
|
41079
|
-
(p) => p.id ===
|
|
41154
|
+
(p) => p.id === _["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.id
|
|
41080
41155
|
)
|
|
41081
41156
|
).find((u) => !!u.properties.find((p) => {
|
|
41082
41157
|
var h;
|
|
41083
|
-
return p.implements && p.implements.id ===
|
|
41158
|
+
return p.implements && p.implements.id === _["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id && ((h = p.getDefaultValue()) == null ? void 0 : h.value) === !0;
|
|
41084
41159
|
}));
|
|
41085
41160
|
if (!s)
|
|
41086
41161
|
return {
|
|
41087
41162
|
newEntities: []
|
|
41088
41163
|
};
|
|
41089
|
-
const o = r.properties.find((u) => u.implements && u.implements.id ===
|
|
41164
|
+
const o = r.properties.find((u) => u.implements && u.implements.id === _["built-in-base-entity"].BUILT_IN_PERSISTED_ENTITY_ENTITY.properties.database.id), l = (i = o == null ? void 0 : o.dataType) == null ? void 0 : i.defaultValue;
|
|
41090
41165
|
if (o && (o != null && o.dataType) && !l) {
|
|
41091
41166
|
const u = o == null ? void 0 : o.dataType.id.split("-id")[0], p = E(
|
|
41092
41167
|
{
|
|
@@ -41148,27 +41223,27 @@ function Yc(r, e, t) {
|
|
|
41148
41223
|
);
|
|
41149
41224
|
p.setParent(r.project), p.initChildren();
|
|
41150
41225
|
const h = r.properties.map((R) => {
|
|
41151
|
-
const
|
|
41226
|
+
const D = s + "-" + We(
|
|
41152
41227
|
O(R, r.project),
|
|
41153
41228
|
n.Property,
|
|
41154
41229
|
r.project
|
|
41155
|
-
),
|
|
41156
|
-
return
|
|
41230
|
+
), P = R.clone(p, D);
|
|
41231
|
+
return P.abstract = !1, P.implements = R, P.setParent(p), p.addProperty(P), P;
|
|
41157
41232
|
}), f = r.abstractMethods.map(
|
|
41158
41233
|
(R) => {
|
|
41159
|
-
const
|
|
41234
|
+
const D = s + We(
|
|
41160
41235
|
R.name,
|
|
41161
41236
|
n.FunctionDeclaration,
|
|
41162
41237
|
r.project
|
|
41163
|
-
),
|
|
41164
|
-
id:
|
|
41238
|
+
), P = R.implementAsFunctionDeclaration(D), A = {
|
|
41239
|
+
id: D + "-parent-ref-id",
|
|
41165
41240
|
type: n.GenericReference,
|
|
41166
41241
|
entityId: i,
|
|
41167
41242
|
entityType: n.CustomEntity
|
|
41168
41243
|
}, G = {
|
|
41169
|
-
...
|
|
41244
|
+
...P,
|
|
41170
41245
|
implements: R,
|
|
41171
|
-
parent:
|
|
41246
|
+
parent: A
|
|
41172
41247
|
}, U = E(
|
|
41173
41248
|
G,
|
|
41174
41249
|
r.project
|
|
@@ -41316,13 +41391,13 @@ function Sd(r, e, t, i) {
|
|
|
41316
41391
|
f,
|
|
41317
41392
|
e
|
|
41318
41393
|
);
|
|
41319
|
-
return b.setParent(e), b.initChildren(), b.addSelfToProject(), s.push(b), l.forEach((R,
|
|
41320
|
-
const
|
|
41394
|
+
return b.setParent(e), b.initChildren(), b.addSelfToProject(), s.push(b), l.forEach((R, D) => {
|
|
41395
|
+
const P = We(
|
|
41321
41396
|
t.name + " " + R,
|
|
41322
41397
|
n.Property,
|
|
41323
41398
|
e
|
|
41324
|
-
),
|
|
41325
|
-
id:
|
|
41399
|
+
), A = {
|
|
41400
|
+
id: P,
|
|
41326
41401
|
version: 1,
|
|
41327
41402
|
name: R,
|
|
41328
41403
|
type: n.Property,
|
|
@@ -41331,17 +41406,17 @@ function Sd(r, e, t, i) {
|
|
|
41331
41406
|
abstract: !1,
|
|
41332
41407
|
dataType: null,
|
|
41333
41408
|
implements: null,
|
|
41334
|
-
index:
|
|
41409
|
+
index: D,
|
|
41335
41410
|
hidden: !1,
|
|
41336
41411
|
private: !1,
|
|
41337
41412
|
required: !1,
|
|
41338
41413
|
parent: b.toReference()
|
|
41339
41414
|
}, G = E(
|
|
41340
|
-
|
|
41415
|
+
A,
|
|
41341
41416
|
e
|
|
41342
41417
|
);
|
|
41343
41418
|
G.setParent(b), G.initChildren(), G.addSelfToProject(), s.push(G);
|
|
41344
|
-
const U = r[R], ee =
|
|
41419
|
+
const U = r[R], ee = P + "--data-type-id", we = {
|
|
41345
41420
|
id: ee,
|
|
41346
41421
|
version: 1,
|
|
41347
41422
|
type: n.DataType,
|
|
@@ -42178,7 +42253,7 @@ function Kc(r) {
|
|
|
42178
42253
|
case n.InstalledProject:
|
|
42179
42254
|
return jr;
|
|
42180
42255
|
case n.Project:
|
|
42181
|
-
return
|
|
42256
|
+
return B;
|
|
42182
42257
|
case n.BuiltInBaseEntity:
|
|
42183
42258
|
return Ft;
|
|
42184
42259
|
default:
|
|
@@ -42988,7 +43063,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
42988
43063
|
}
|
|
42989
43064
|
toReference() {
|
|
42990
43065
|
return {
|
|
42991
|
-
id: this.id + "--" +
|
|
43066
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
42992
43067
|
type: n.GenericReference,
|
|
42993
43068
|
entityId: this.id,
|
|
42994
43069
|
entityType: this.type
|
|
@@ -43088,7 +43163,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
43088
43163
|
return this.errors;
|
|
43089
43164
|
}
|
|
43090
43165
|
clone(e = null, t = null, i = !0) {
|
|
43091
|
-
var b, R,
|
|
43166
|
+
var b, R, D;
|
|
43092
43167
|
const a = this.toJSON(), s = t || We(
|
|
43093
43168
|
O(this, this.project),
|
|
43094
43169
|
n.CustomEntity,
|
|
@@ -43103,21 +43178,21 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
43103
43178
|
);
|
|
43104
43179
|
e && u.setParent(e), i && u.subscribe(), u.initChildren();
|
|
43105
43180
|
const p = (b = this.properties) == null ? void 0 : b.map(
|
|
43106
|
-
(
|
|
43181
|
+
(P, A) => P.clone(
|
|
43107
43182
|
this,
|
|
43108
|
-
l + "-property-" +
|
|
43183
|
+
l + "-property-" + A + "-id",
|
|
43109
43184
|
i
|
|
43110
43185
|
)
|
|
43111
43186
|
);
|
|
43112
43187
|
u.properties = p;
|
|
43113
43188
|
const h = (R = this.methods) == null ? void 0 : R.map(
|
|
43114
|
-
(
|
|
43189
|
+
(P, A) => P.clone(this, l + "-method-" + A + "-id", i)
|
|
43115
43190
|
);
|
|
43116
43191
|
u.methods = h;
|
|
43117
|
-
const f = (
|
|
43118
|
-
(
|
|
43192
|
+
const f = (D = this.abstractMethods) == null ? void 0 : D.map(
|
|
43193
|
+
(P, A) => P.clone(
|
|
43119
43194
|
this,
|
|
43120
|
-
l + "-abstract-method-" +
|
|
43195
|
+
l + "-abstract-method-" + A + "-id",
|
|
43121
43196
|
i
|
|
43122
43197
|
)
|
|
43123
43198
|
);
|
|
@@ -43187,18 +43262,18 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
43187
43262
|
);
|
|
43188
43263
|
if (o) {
|
|
43189
43264
|
if (s.setDeclaration(o), !o.getDataType()) {
|
|
43190
|
-
const
|
|
43265
|
+
const D = Ar(
|
|
43191
43266
|
s.parent
|
|
43192
43267
|
).getMasterInputWithValueWritterFromAllInstances(
|
|
43193
43268
|
s
|
|
43194
|
-
),
|
|
43195
|
-
|
|
43196
|
-
),
|
|
43269
|
+
), P = cn(
|
|
43270
|
+
D
|
|
43271
|
+
), A = P == null ? void 0 : P.clone(
|
|
43197
43272
|
o,
|
|
43198
43273
|
o.id + "--data-type",
|
|
43199
43274
|
!0
|
|
43200
43275
|
);
|
|
43201
|
-
|
|
43276
|
+
A && o.setDataType(A);
|
|
43202
43277
|
}
|
|
43203
43278
|
return;
|
|
43204
43279
|
}
|
|
@@ -43402,7 +43477,7 @@ class Ft {
|
|
|
43402
43477
|
}
|
|
43403
43478
|
toReference() {
|
|
43404
43479
|
return {
|
|
43405
|
-
id: this.id + "--" +
|
|
43480
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
43406
43481
|
type: n.GenericReference,
|
|
43407
43482
|
entityId: this.id,
|
|
43408
43483
|
entityType: this.type
|
|
@@ -43627,7 +43702,7 @@ class Gt {
|
|
|
43627
43702
|
}
|
|
43628
43703
|
toReference() {
|
|
43629
43704
|
return {
|
|
43630
|
-
id: this.id + "--" +
|
|
43705
|
+
id: this.id + "--" + B.UUID.uuid() + "--ref",
|
|
43631
43706
|
type: n.GenericReference,
|
|
43632
43707
|
entityId: this.id,
|
|
43633
43708
|
entityType: this.type
|
|
@@ -43760,7 +43835,7 @@ function Yt(r, e) {
|
|
|
43760
43835
|
case n.InputMap:
|
|
43761
43836
|
return t || new wn(r, e);
|
|
43762
43837
|
case n.Project:
|
|
43763
|
-
return t || new
|
|
43838
|
+
return t || new B(r);
|
|
43764
43839
|
case n.InstalledProject:
|
|
43765
43840
|
return t || new jr(r, e);
|
|
43766
43841
|
case n.ActionDescriptor:
|
|
@@ -44898,7 +44973,7 @@ c(X, "MUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
|
44898
44973
|
...X.UPSTREAM_PROPERTIES,
|
|
44899
44974
|
...X.DOWNSTREAM_PROPERTIES
|
|
44900
44975
|
]);
|
|
44901
|
-
let
|
|
44976
|
+
let B = X;
|
|
44902
44977
|
class Fk extends te {
|
|
44903
44978
|
constructor(t) {
|
|
44904
44979
|
super(zt, t);
|
|
@@ -45062,7 +45137,7 @@ class Jk extends te {
|
|
|
45062
45137
|
return e.inputs.find(
|
|
45063
45138
|
(t) => {
|
|
45064
45139
|
var i;
|
|
45065
|
-
return ((i = t.declaration) == null ? void 0 : i.id) ===
|
|
45140
|
+
return ((i = t.declaration) == null ? void 0 : i.id) === _.operation[Se.Validate].inputs.entityToMatch.id;
|
|
45066
45141
|
}
|
|
45067
45142
|
) || null;
|
|
45068
45143
|
}
|
|
@@ -45070,7 +45145,7 @@ class Jk extends te {
|
|
|
45070
45145
|
return e.inputs.find(
|
|
45071
45146
|
(t) => {
|
|
45072
45147
|
var i;
|
|
45073
|
-
return ((i = t.declaration) == null ? void 0 : i.id) ===
|
|
45148
|
+
return ((i = t.declaration) == null ? void 0 : i.id) === _.operation[Se.Validate].inputs.dataToValidate.id;
|
|
45074
45149
|
}
|
|
45075
45150
|
) || null;
|
|
45076
45151
|
}
|
|
@@ -45078,7 +45153,7 @@ class Jk extends te {
|
|
|
45078
45153
|
return e.outputs.find(
|
|
45079
45154
|
(t) => {
|
|
45080
45155
|
var i;
|
|
45081
|
-
return ((i = t.declaration) == null ? void 0 : i.id) ===
|
|
45156
|
+
return ((i = t.declaration) == null ? void 0 : i.id) === _.operation[Se.Validate].outputs.outputEntity.id;
|
|
45082
45157
|
}
|
|
45083
45158
|
) || null;
|
|
45084
45159
|
}
|
|
@@ -45101,7 +45176,7 @@ class Jk extends te {
|
|
|
45101
45176
|
}
|
|
45102
45177
|
syncEntityToMatchInputMapDataType(e) {
|
|
45103
45178
|
var i, a, s;
|
|
45104
|
-
if (((i = e.declaration) == null ? void 0 : i.id) !==
|
|
45179
|
+
if (((i = e.declaration) == null ? void 0 : i.id) !== _.operation[Se.Validate].inputs.entityToMatch.id)
|
|
45105
45180
|
return null;
|
|
45106
45181
|
if (!e.dataType) {
|
|
45107
45182
|
const o = {
|
|
@@ -45135,7 +45210,7 @@ class Jk extends te {
|
|
|
45135
45210
|
}
|
|
45136
45211
|
syncDataToValidateInputMapDataType(e) {
|
|
45137
45212
|
var s, o, l;
|
|
45138
|
-
if (((s = e.declaration) == null ? void 0 : s.id) !==
|
|
45213
|
+
if (((s = e.declaration) == null ? void 0 : s.id) !== _.operation[Se.Validate].inputs.dataToValidate.id)
|
|
45139
45214
|
return null;
|
|
45140
45215
|
const t = this.getEntityToMatchInputMap(
|
|
45141
45216
|
e.parent
|
|
@@ -45176,7 +45251,7 @@ class Jk extends te {
|
|
|
45176
45251
|
}
|
|
45177
45252
|
syncOutputDataOutputMapDataType(e) {
|
|
45178
45253
|
var s, o, l;
|
|
45179
|
-
if (((s = e.declaration) == null ? void 0 : s.id) !==
|
|
45254
|
+
if (((s = e.declaration) == null ? void 0 : s.id) !== _.operation[Se.Validate].outputs.outputEntity.id)
|
|
45180
45255
|
return null;
|
|
45181
45256
|
const t = this.getEntityToMatchInputMap(
|
|
45182
45257
|
e.parent
|
|
@@ -45221,11 +45296,11 @@ class Jk extends te {
|
|
|
45221
45296
|
*/
|
|
45222
45297
|
inferInputMapDataType(e) {
|
|
45223
45298
|
var t, i;
|
|
45224
|
-
return ((t = e.declaration) == null ? void 0 : t.id) ===
|
|
45299
|
+
return ((t = e.declaration) == null ? void 0 : t.id) === _.operation[Se.Validate].inputs.entityToMatch.id ? this.syncEntityToMatchInputMapDataType(e) : ((i = e.declaration) == null ? void 0 : i.id) === _.operation[Se.Validate].inputs.dataToValidate.id ? this.syncDataToValidateInputMapDataType(e) : null;
|
|
45225
45300
|
}
|
|
45226
45301
|
inferOutputMapDataType(e) {
|
|
45227
45302
|
var t;
|
|
45228
|
-
return ((t = e.declaration) == null ? void 0 : t.id) ===
|
|
45303
|
+
return ((t = e.declaration) == null ? void 0 : t.id) === _.operation[Se.Validate].outputs.outputEntity.id ? this.syncOutputDataOutputMapDataType(e) : null;
|
|
45229
45304
|
}
|
|
45230
45305
|
}
|
|
45231
45306
|
class Wk extends te {
|
|
@@ -45437,7 +45512,7 @@ async function s2(r, e = {}) {
|
|
|
45437
45512
|
} : { data: t };
|
|
45438
45513
|
}
|
|
45439
45514
|
function o2(r) {
|
|
45440
|
-
const e = new
|
|
45515
|
+
const e = new B(r);
|
|
45441
45516
|
return t2(e), e2(e), Xk(e), n2(e), r2(e), i2(e), a2(e), e.getAllBuiltIn().forEach((i) => {
|
|
45442
45517
|
e.builtInInstances[i.id] || (e.builtInInstances[i.id] = i, delete e.instances[i.id]);
|
|
45443
45518
|
}), e.initChildren(), e;
|
|
@@ -45469,7 +45544,7 @@ export {
|
|
|
45469
45544
|
gE as AppendToListOperationOutputIds,
|
|
45470
45545
|
kr as ArgumentDeclarationState,
|
|
45471
45546
|
Dd as BREAK_AND_CONTINUE_STATEMENTS_RETURN_DECLARATIONS_EXPLANATION,
|
|
45472
|
-
|
|
45547
|
+
_ as BUILT_IN_BASE_ENTITY_IDS,
|
|
45473
45548
|
Hi as BUILT_IN_ENTITY_TYPES,
|
|
45474
45549
|
i7 as BaseCanvasDraggableState,
|
|
45475
45550
|
x as BaseEntityNames,
|
|
@@ -45562,7 +45637,7 @@ export {
|
|
|
45562
45637
|
Gt as PrimitiveEntityState,
|
|
45563
45638
|
g as PrimitiveTypes,
|
|
45564
45639
|
Ji as PrimitiveValueState,
|
|
45565
|
-
|
|
45640
|
+
B as ProjectState,
|
|
45566
45641
|
Nr as PropertyState,
|
|
45567
45642
|
E7 as RETURN_STATEMENT_RETURN_DECLARATIONS_EXPLANATION,
|
|
45568
45643
|
Nt as ReturnDeclarationState,
|
|
@@ -45590,7 +45665,7 @@ export {
|
|
|
45590
45665
|
Pd as VARIABLE_DATA_TYPE_INFERRANCE_EXPLANATION,
|
|
45591
45666
|
je as VARIABLE_TYPES,
|
|
45592
45667
|
ke as ValueAutogenerationType,
|
|
45593
|
-
|
|
45668
|
+
I as ValueDescriptorParentChildRelation,
|
|
45594
45669
|
Jr as ValueDescriptorState,
|
|
45595
45670
|
ks as ValueReadingEntityClass,
|
|
45596
45671
|
qs as ValueWritingEntityClass,
|