@elyx-code/project-logic-tree 0.0.6063 → 0.0.6064

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js 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 || {}), $ = /* @__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))($ || {}), ke = /* @__PURE__ */ ((r) => (r.CurrentDateAndTime = "current-date-and-time", r.Unique = "unique", r.Random = "random", r))(ke || {}), I = /* @__PURE__ */ ((r) => (r.EntityTemplate = "entity-template", r.ActionDescriptor = "action-descriptor", r.String = "string", r.Number = "number", r.Boolean = "boolean", r.Null = "null", r.Enum = "enum", r.JSON = "json", r.Date = "date", r.UUID = "uuid", r.File = "file", r))(I || {}), Oe = /* @__PURE__ */ ((r) => (r.Addition = "addition", r.Subtraction = "subtraction", r.Multiplication = "multiplication", r.Division = "division", r.Remainder = "remainder", r.Exponentiation = "exponentiation", r))(Oe || {}), Z = /* @__PURE__ */ ((r) => (r.Join = "string-join", r.Split = "string-split", r.DeleteLast = "string-delete-last", r.DeleteFirst = "string-delete-first", r.DeleteIndex = "string-delete-index", r.AddIndex = "string-add-index", r.ReplaceFirst = "string-replace-first", r.ReplaceLast = "string-replace-last", r.ReplaceIndex = "string-replace-index", r.ReplaceSingleMatch = "string-replace-single-match", r.ReplaceAllMatches = "string-replace-all-matches", r.GetIndex = "string-get-index", r.GetFirst = "string-get-first", r.GetLast = "string-get-last", r.Append = "string-append", r.Prepend = "string-prepend", r))(Z || {}), Y = /* @__PURE__ */ ((r) => (r.Join = "list-join", r.Split = "list-split", r.DeleteLast = "list-delete-last", r.DeleteFirst = "list-delete-first", r.DeleteIndex = "list-delete-index", r.AddIndex = "list-add-index", r.ReplaceFirst = "list-replace-first", r.ReplaceLast = "list-replace-last", r.ReplaceIndex = "list-replace-index", r.ReplaceSingleMatch = "list-replace-single-match", r.ReplaceAllMatches = "list-replace-all-matches", r.GetIndex = "list-get-index", r.GetFirst = "list-get-first", r.GetLast = "list-get-last", r.Append = "list-append", r.Prepend = "list-prepend", r))(Y || {}), Me = /* @__PURE__ */ ((r) => (r.Parallel = "parallel", r.Sequential = "sequential", r.Wait = "wait", r))(Me || {}), Se = /* @__PURE__ */ ((r) => (r.CreateNewInstance = "create-new-instance", r.Validate = "validate", r))(Se || {}), at = /* @__PURE__ */ ((r) => (r.HttpRequest = "base-http-request", r))(at || {}), xe = /* @__PURE__ */ ((r) => (r.Equal = "equal", r.NotEqual = "not-equal", r.And = "and", r.Or = "or", r.LessThan = "less-than", r.MoreThan = "more-than", r.LessThanOrEqual = "less-than-or-equal", r.MoreThanOrEqual = "more-than-or-equal", r))(xe || {}), Ut = /* @__PURE__ */ ((r) => (r.Empty = "empty", r.NotEmpty = "not-empty", r))(Ut || {}), j = /* @__PURE__ */ ((r) => (r.ManualFlow = "manual-flow-loop", r.Counted = "counted-loop", r.List = "list-loop", r.ObjectKeys = "object-keys-loop", r.ObjectValues = "object-values-loop", r.String = "string-loop", r))(j || {}), A = /* @__PURE__ */ ((r) => (r.FixedArguments = "fixed-arguments", r.FixedReturns = "fixed-returns", r.ReturnedError = "returned-error", r.OngoingProcessExecution = "ongoing-process-execution", r.DynamicArgument = "dynamic-argument-types", r.DynamicReturn = "dynamic-return-types", r))(A || {}), Ke = /* @__PURE__ */ ((r) => (r.OrDataTypeGroup = "or-data-type-group", r.AndDataTypeGroup = "and-data-type-group", r))(Ke || {}), gn = /* @__PURE__ */ ((r) => (r.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", r))(gn || {}), Bt = /* @__PURE__ */ ((r) => (r.DeletePersistedEntity = "base-delete-persisted-entity", r.SoftDeletePersistedEntity = "base-soft-delete-persisted-entity", r.AbortExecution = "base-abort-execution", r))(Bt || {}), aT = /* @__PURE__ */ ((r) => (r.Error = "error", r.Task = "task", r.Return = "return", r))(aT || {});
4
+ var n = /* @__PURE__ */ ((r) => (r.CustomEntity = "custom-entity", r.BuiltInBaseEntity = "built-in-base-entity", r.Project = "project", r.InstalledProject = "installed-project", r.GlobalEvent = "global-event", r.DataType = "data-type", r.FunctionCall = "function-call", r.FunctionDeclaration = "function-declaration", r.ActionDescriptor = "action-descriptor", r.ValueDescriptor = "value-descriptor", r.ArgumentDeclaration = "argument-declaration", r.InputMap = "input-map", r.ReturnStatement = "return-statement", r.BreakStatement = "break-statement", r.ContinueStatement = "continue-statement", r.ReturnDeclaration = "return-declaration", r.OutputMap = "output-map", r.PrimitiveEntity = "primitive-entity", r.PrimitiveValue = "primitive-value", r.Property = "property", r.Operation = "operation", r.Condition = "condition", r.VariableDeclaration = "variable-declaration", r.VariableInstance = "variable-instance", r.Search = "search", r.Loop = "loop", r.InternalCall = "internal-call", r.GenericReference = "generic-reference", r))(n || {}), G = /* @__PURE__ */ ((r) => (r.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", r.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", r.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", r.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", r.EXECUTION = "BUILT_IN_EXECUTION_ENTITY", r.KEY_VALUE_PARAM = "BUILT_IN_KEY_VALUE_PARAM_ENTITY", r))(G || {}), ke = /* @__PURE__ */ ((r) => (r.CurrentDateAndTime = "current-date-and-time", r.Unique = "unique", r.Random = "random", r))(ke || {}), I = /* @__PURE__ */ ((r) => (r.EntityTemplate = "entity-template", r.ActionDescriptor = "action-descriptor", r.String = "string", r.Number = "number", r.Boolean = "boolean", r.Null = "null", r.Enum = "enum", r.JSON = "json", r.Date = "date", r.UUID = "uuid", r.File = "file", r))(I || {}), Oe = /* @__PURE__ */ ((r) => (r.Addition = "addition", r.Subtraction = "subtraction", r.Multiplication = "multiplication", r.Division = "division", r.Remainder = "remainder", r.Exponentiation = "exponentiation", r))(Oe || {}), Z = /* @__PURE__ */ ((r) => (r.Join = "string-join", r.Split = "string-split", r.DeleteLast = "string-delete-last", r.DeleteFirst = "string-delete-first", r.DeleteIndex = "string-delete-index", r.AddIndex = "string-add-index", r.ReplaceFirst = "string-replace-first", r.ReplaceLast = "string-replace-last", r.ReplaceIndex = "string-replace-index", r.ReplaceSingleMatch = "string-replace-single-match", r.ReplaceAllMatches = "string-replace-all-matches", r.GetIndex = "string-get-index", r.GetFirst = "string-get-first", r.GetLast = "string-get-last", r.Append = "string-append", r.Prepend = "string-prepend", r))(Z || {}), Y = /* @__PURE__ */ ((r) => (r.Join = "list-join", r.Split = "list-split", r.DeleteLast = "list-delete-last", r.DeleteFirst = "list-delete-first", r.DeleteIndex = "list-delete-index", r.AddIndex = "list-add-index", r.ReplaceFirst = "list-replace-first", r.ReplaceLast = "list-replace-last", r.ReplaceIndex = "list-replace-index", r.ReplaceSingleMatch = "list-replace-single-match", r.ReplaceAllMatches = "list-replace-all-matches", r.GetIndex = "list-get-index", r.GetFirst = "list-get-first", r.GetLast = "list-get-last", r.Append = "list-append", r.Prepend = "list-prepend", r))(Y || {}), Me = /* @__PURE__ */ ((r) => (r.Parallel = "parallel", r.Sequential = "sequential", r.Wait = "wait", r))(Me || {}), Se = /* @__PURE__ */ ((r) => (r.CreateNewInstance = "create-new-instance", r.Validate = "validate", r))(Se || {}), at = /* @__PURE__ */ ((r) => (r.HttpRequest = "base-http-request", r))(at || {}), xe = /* @__PURE__ */ ((r) => (r.Equal = "equal", r.NotEqual = "not-equal", r.And = "and", r.Or = "or", r.LessThan = "less-than", r.MoreThan = "more-than", r.LessThanOrEqual = "less-than-or-equal", r.MoreThanOrEqual = "more-than-or-equal", r))(xe || {}), Ut = /* @__PURE__ */ ((r) => (r.Empty = "empty", r.NotEmpty = "not-empty", r))(Ut || {}), j = /* @__PURE__ */ ((r) => (r.ManualFlow = "manual-flow-loop", r.Counted = "counted-loop", r.List = "list-loop", r.ObjectKeys = "object-keys-loop", r.ObjectValues = "object-values-loop", r.String = "string-loop", r))(j || {}), A = /* @__PURE__ */ ((r) => (r.FixedArguments = "fixed-arguments", r.FixedReturns = "fixed-returns", r.ReturnedError = "returned-error", r.OngoingProcessExecution = "ongoing-process-execution", r.DynamicArgument = "dynamic-argument-types", r.DynamicReturn = "dynamic-return-types", r))(A || {}), Ke = /* @__PURE__ */ ((r) => (r.OrDataTypeGroup = "or-data-type-group", r.AndDataTypeGroup = "and-data-type-group", r))(Ke || {}), gn = /* @__PURE__ */ ((r) => (r.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", r))(gn || {}), Bt = /* @__PURE__ */ ((r) => (r.DeletePersistedEntity = "base-delete-persisted-entity", r.SoftDeletePersistedEntity = "base-soft-delete-persisted-entity", r.AbortExecution = "base-abort-execution", r))(Bt || {}), aT = /* @__PURE__ */ ((r) => (r.Error = "error", r.Task = "task", r.Return = "return", r))(aT || {});
5
5
  const jn = [
6
6
  n.VariableDeclaration,
7
7
  n.VariableInstance,
@@ -202,11 +202,11 @@ const w = {
202
202
  }
203
203
  },
204
204
  [n.BuiltInBaseEntity]: {
205
- [$.KEY_VALUE_PARAM]: {
206
- id: $.KEY_VALUE_PARAM
205
+ [G.KEY_VALUE_PARAM]: {
206
+ id: G.KEY_VALUE_PARAM
207
207
  },
208
- [$.HTTP_ENDPOINT]: {
209
- id: $.HTTP_ENDPOINT,
208
+ [G.HTTP_ENDPOINT]: {
209
+ id: G.HTTP_ENDPOINT,
210
210
  properties: {
211
211
  method: {
212
212
  id: "http-endpoint-built-in-method-property-id"
@@ -219,8 +219,8 @@ const w = {
219
219
  }
220
220
  }
221
221
  },
222
- [$.PERSISTED_ENTITY]: {
223
- id: $.PERSISTED_ENTITY,
222
+ [G.PERSISTED_ENTITY]: {
223
+ id: G.PERSISTED_ENTITY,
224
224
  properties: {
225
225
  database: {
226
226
  id: "persisted-built-in-base-entity-database-property-id"
@@ -230,8 +230,8 @@ const w = {
230
230
  }
231
231
  }
232
232
  },
233
- [$.RELATIONAL_DATABASE]: {
234
- id: $.RELATIONAL_DATABASE,
233
+ [G.RELATIONAL_DATABASE]: {
234
+ id: G.RELATIONAL_DATABASE,
235
235
  properties: {
236
236
  identifier: {
237
237
  id: "relational-database-built-in-base-entity-identifier-property-id"
@@ -253,8 +253,8 @@ const w = {
253
253
  }
254
254
  }
255
255
  },
256
- [$.CRON_JOB]: {
257
- id: $.CRON_JOB,
256
+ [G.CRON_JOB]: {
257
+ id: G.CRON_JOB,
258
258
  properties: {
259
259
  expression: {
260
260
  id: "cron-job-built-in-base-entity-expression-property-id"
@@ -4020,7 +4020,7 @@ const bv = {
4020
4020
  outputs: [lI],
4021
4021
  error: null,
4022
4022
  parent: null
4023
- }, Ma = w[n.BuiltInBaseEntity][$.KEY_VALUE_PARAM], f2 = {
4023
+ }, Ma = w[n.BuiltInBaseEntity][G.KEY_VALUE_PARAM], f2 = {
4024
4024
  id: "key-value-param-built-in-base-entity-name-property-data-type-ref",
4025
4025
  type: n.GenericReference,
4026
4026
  entityId: "key-value-param-built-in-base-entity-name-property-data-type",
@@ -4126,7 +4126,7 @@ const bv = {
4126
4126
  abstractMethods: [],
4127
4127
  methods: [],
4128
4128
  extends: []
4129
- }, Zi = w[n.BuiltInBaseEntity][$.HTTP_ENDPOINT].properties, TI = {
4129
+ }, Zi = w[n.BuiltInBaseEntity][G.HTTP_ENDPOINT].properties, TI = {
4130
4130
  id: "endpointBuiltInCorsPropertyDataTypeRef",
4131
4131
  type: n.GenericReference,
4132
4132
  entityType: n.DataType,
@@ -4164,7 +4164,7 @@ const bv = {
4164
4164
  id: "endpointBuiltInBaseEntityRef",
4165
4165
  type: n.GenericReference,
4166
4166
  entityType: n.BuiltInBaseEntity,
4167
- entityId: $.HTTP_ENDPOINT
4167
+ entityId: G.HTTP_ENDPOINT
4168
4168
  }, RI = {
4169
4169
  hidden: !0,
4170
4170
  required: !0,
@@ -4218,7 +4218,7 @@ const bv = {
4218
4218
  id: "endpointBuiltInBaseEntityRefTwo",
4219
4219
  type: n.GenericReference,
4220
4220
  entityType: n.BuiltInBaseEntity,
4221
- entityId: $.HTTP_ENDPOINT
4221
+ entityId: G.HTTP_ENDPOINT
4222
4222
  }, hu = {
4223
4223
  hidden: !1,
4224
4224
  required: !0,
@@ -4284,7 +4284,7 @@ const bv = {
4284
4284
  id: "endpointBuiltInBaseEntityRefThree",
4285
4285
  type: n.GenericReference,
4286
4286
  entityType: n.BuiltInBaseEntity,
4287
- entityId: $.HTTP_ENDPOINT
4287
+ entityId: G.HTTP_ENDPOINT
4288
4288
  }, fu = {
4289
4289
  hidden: !1,
4290
4290
  required: !0,
@@ -4612,7 +4612,7 @@ const bv = {
4612
4612
  id: "endpointBuiltInBaseEntityRefFour",
4613
4613
  type: n.GenericReference,
4614
4614
  entityType: n.BuiltInBaseEntity,
4615
- entityId: $.HTTP_ENDPOINT
4615
+ entityId: G.HTTP_ENDPOINT
4616
4616
  }, Iu = {
4617
4617
  id: "endpointReachedTriggerActionDescriptor",
4618
4618
  type: n.ActionDescriptor,
@@ -4633,10 +4633,10 @@ const bv = {
4633
4633
  error: null,
4634
4634
  parent: tD
4635
4635
  }, Wo = {
4636
- id: $.HTTP_ENDPOINT,
4636
+ id: G.HTTP_ENDPOINT,
4637
4637
  version: 1,
4638
4638
  description: "An HTTP endpoint that can be reached by a client from the internet.",
4639
- name: $.HTTP_ENDPOINT,
4639
+ name: G.HTTP_ENDPOINT,
4640
4640
  type: n.BuiltInBaseEntity,
4641
4641
  interactive: !1,
4642
4642
  abstract: !0,
@@ -4690,7 +4690,7 @@ const bv = {
4690
4690
  }, Ki = {
4691
4691
  id: "relational-database-built-in-base-entity-ref-id",
4692
4692
  type: n.GenericReference,
4693
- entityId: $.PERSISTED_ENTITY,
4693
+ entityId: G.PERSISTED_ENTITY,
4694
4694
  entityType: n.BuiltInBaseEntity
4695
4695
  }, Yo = {
4696
4696
  hidden: !1,
@@ -4936,7 +4936,7 @@ const bv = {
4936
4936
  }, bD = {
4937
4937
  id: "relational-database-built-in-base-entity-autoscaling-property-parent-ref-id",
4938
4938
  type: n.GenericReference,
4939
- entityId: $.PERSISTED_ENTITY,
4939
+ entityId: G.PERSISTED_ENTITY,
4940
4940
  entityType: n.BuiltInBaseEntity
4941
4941
  }, Pu = {
4942
4942
  hidden: !0,
@@ -4954,10 +4954,10 @@ const bv = {
4954
4954
  description: "If true, this database will automatically scale up or down in memory size, based on the usage.",
4955
4955
  parent: bD
4956
4956
  }, ar = {
4957
- id: $.RELATIONAL_DATABASE,
4957
+ id: G.RELATIONAL_DATABASE,
4958
4958
  version: 1,
4959
4959
  description: "This entity provisions a relational database in the cloud.",
4960
- name: $.RELATIONAL_DATABASE,
4960
+ name: G.RELATIONAL_DATABASE,
4961
4961
  type: n.BuiltInBaseEntity,
4962
4962
  abstract: !0,
4963
4963
  static: !0,
@@ -5015,7 +5015,7 @@ const bv = {
5015
5015
  private: !1,
5016
5016
  x: 0,
5017
5017
  y: 0
5018
- }, Su = w[n.BuiltInBaseEntity][$.PERSISTED_ENTITY].properties, E2 = {
5018
+ }, Su = w[n.BuiltInBaseEntity][G.PERSISTED_ENTITY].properties, E2 = {
5019
5019
  id: "persisted-built-in-base-entity-database-property-data-type-ref-id",
5020
5020
  type: n.GenericReference,
5021
5021
  entityId: "persisted-built-in-base-entity-database-property-data-type-id",
@@ -5043,7 +5043,7 @@ const bv = {
5043
5043
  }, DD = {
5044
5044
  id: "persisted-built-in-base-entity-database-property-parent-ref-id",
5045
5045
  type: n.GenericReference,
5046
- entityId: $.PERSISTED_ENTITY,
5046
+ entityId: G.PERSISTED_ENTITY,
5047
5047
  entityType: n.BuiltInBaseEntity
5048
5048
  }, ns = {
5049
5049
  hidden: !0,
@@ -5101,7 +5101,7 @@ const bv = {
5101
5101
  }, OD = {
5102
5102
  id: "persisted-built-in-base-entity-identifier-property-parent-ref-id",
5103
5103
  type: n.GenericReference,
5104
- entityId: $.PERSISTED_ENTITY,
5104
+ entityId: G.PERSISTED_ENTITY,
5105
5105
  entityType: n.BuiltInBaseEntity
5106
5106
  }, CD = {
5107
5107
  hidden: !1,
@@ -5146,7 +5146,7 @@ const bv = {
5146
5146
  }, _D = {
5147
5147
  id: "persisted-built-in-base-entity-deleted-at-property-parent-ref-id",
5148
5148
  type: n.GenericReference,
5149
- entityId: $.PERSISTED_ENTITY,
5149
+ entityId: G.PERSISTED_ENTITY,
5150
5150
  entityType: n.BuiltInBaseEntity
5151
5151
  }, MD = {
5152
5152
  hidden: !1,
@@ -5191,7 +5191,7 @@ const bv = {
5191
5191
  }, xD = {
5192
5192
  id: "persisted-built-in-base-entity-created-at-property-parent-ref-id",
5193
5193
  type: n.GenericReference,
5194
- entityId: $.PERSISTED_ENTITY,
5194
+ entityId: G.PERSISTED_ENTITY,
5195
5195
  entityType: n.BuiltInBaseEntity
5196
5196
  }, $D = {
5197
5197
  hidden: !1,
@@ -5236,7 +5236,7 @@ const bv = {
5236
5236
  }, FD = {
5237
5237
  id: "persisted-built-in-base-entity-updated-at-property-parent-ref-id",
5238
5238
  type: n.GenericReference,
5239
- entityId: $.PERSISTED_ENTITY,
5239
+ entityId: G.PERSISTED_ENTITY,
5240
5240
  entityType: n.BuiltInBaseEntity
5241
5241
  }, UD = {
5242
5242
  hidden: !1,
@@ -5254,10 +5254,10 @@ const bv = {
5254
5254
  description: "The date and time when the entity was last updated.",
5255
5255
  parent: FD
5256
5256
  }, Ge = {
5257
- id: $.PERSISTED_ENTITY,
5257
+ id: G.PERSISTED_ENTITY,
5258
5258
  version: 1,
5259
5259
  description: "An entity that is permanently stored in the database and can be accessed at any point.",
5260
- name: $.PERSISTED_ENTITY,
5260
+ name: G.PERSISTED_ENTITY,
5261
5261
  type: n.BuiltInBaseEntity,
5262
5262
  abstract: !0,
5263
5263
  static: !1,
@@ -5276,7 +5276,7 @@ const bv = {
5276
5276
  id: "cron-job-triggered-function-declaration-blueprint-parent-ref-id",
5277
5277
  type: n.GenericReference,
5278
5278
  entityType: n.BuiltInBaseEntity,
5279
- entityId: $.HTTP_ENDPOINT
5279
+ entityId: G.HTTP_ENDPOINT
5280
5280
  }, Ou = {
5281
5281
  id: "cron-job-triggered-function-declaration-blueprint-id",
5282
5282
  name: "Cron job triggered",
@@ -5315,7 +5315,7 @@ const bv = {
5315
5315
  }, JD = {
5316
5316
  id: "cron-job-built-in-base-entity-ref",
5317
5317
  type: n.GenericReference,
5318
- entityId: $.CRON_JOB,
5318
+ entityId: G.CRON_JOB,
5319
5319
  entityType: n.BuiltInBaseEntity
5320
5320
  }, WD = {
5321
5321
  hidden: !1,
@@ -5333,10 +5333,10 @@ const bv = {
5333
5333
  description: "The cron-job expression that defines when the cron-job job should be triggered. The expression should be in the format of a cron-job expression.",
5334
5334
  parent: JD
5335
5335
  }, wu = {
5336
- id: $.CRON_JOB,
5336
+ id: G.CRON_JOB,
5337
5337
  version: 1,
5338
5338
  description: "This entity represents a scheduled trigger. The action on this entity will be executed one the time set by the cron-job expression is reached.",
5339
- name: $.CRON_JOB,
5339
+ name: G.CRON_JOB,
5340
5340
  type: n.BuiltInBaseEntity,
5341
5341
  abstract: !0,
5342
5342
  static: !0,
@@ -5367,10 +5367,10 @@ const bv = {
5367
5367
  y: 0,
5368
5368
  parent: YD
5369
5369
  }, _u = {
5370
- id: $.EXECUTION,
5370
+ id: G.EXECUTION,
5371
5371
  type: n.BuiltInBaseEntity,
5372
5372
  version: 1,
5373
- name: $.EXECUTION,
5373
+ name: G.EXECUTION,
5374
5374
  description: "A reference to an ongoing execution of any entity that can be called. Eg: Operations, custom trigger calls, etc.",
5375
5375
  static: !1,
5376
5376
  abstract: !1,
@@ -9060,7 +9060,7 @@ const W = "e7eb5382-3d99-44fd-972a-b8b1e819f6be", rl = "global-user-variable-id"
9060
9060
  }, ms = {
9061
9061
  id: "alternative-relational-database-entity-ref-id",
9062
9062
  type: n.GenericReference,
9063
- entityId: $.PERSISTED_ENTITY,
9063
+ entityId: G.PERSISTED_ENTITY,
9064
9064
  entityType: n.BuiltInBaseEntity
9065
9065
  }, SS = {
9066
9066
  hidden: !1,
@@ -9384,7 +9384,7 @@ const BS = {
9384
9384
  }, Qr = {
9385
9385
  id: "default-relational-database-entity-ref-id",
9386
9386
  type: n.GenericReference,
9387
- entityId: $.PERSISTED_ENTITY,
9387
+ entityId: G.PERSISTED_ENTITY,
9388
9388
  entityType: n.BuiltInBaseEntity
9389
9389
  }, QS = {
9390
9390
  hidden: !1,
@@ -12769,7 +12769,7 @@ const Y_ = {
12769
12769
  id: "getCompanyByIdEndpointBaseEntityRefTwo",
12770
12770
  type: n.GenericReference,
12771
12771
  entityType: n.BuiltInBaseEntity,
12772
- entityId: $.HTTP_ENDPOINT
12772
+ entityId: G.HTTP_ENDPOINT
12773
12773
  }, YM = {
12774
12774
  hidden: !1,
12775
12775
  required: !0,
@@ -12835,7 +12835,7 @@ const Y_ = {
12835
12835
  id: "getCompanyByIdEndpointBaseEntityRefThree",
12836
12836
  type: n.GenericReference,
12837
12837
  entityType: n.BuiltInBaseEntity,
12838
- entityId: $.HTTP_ENDPOINT
12838
+ entityId: G.HTTP_ENDPOINT
12839
12839
  }, XM = {
12840
12840
  hidden: !1,
12841
12841
  required: !0,
@@ -19487,11 +19487,11 @@ function W8() {
19487
19487
  }
19488
19488
  function Y8() {
19489
19489
  return d.enum([
19490
- $.CRON_JOB,
19491
- $.EXECUTION,
19492
- $.HTTP_ENDPOINT,
19493
- $.PERSISTED_ENTITY,
19494
- $.RELATIONAL_DATABASE
19490
+ G.CRON_JOB,
19491
+ G.EXECUTION,
19492
+ G.HTTP_ENDPOINT,
19493
+ G.PERSISTED_ENTITY,
19494
+ G.RELATIONAL_DATABASE
19495
19495
  ]);
19496
19496
  }
19497
19497
  function wr() {
@@ -23270,7 +23270,7 @@ function Ht(r, e) {
23270
23270
  }
23271
23271
  function Z2(r) {
23272
23272
  const e = r.project.builtInBaseEntities.find(
23273
- (a) => a.id === $.EXECUTION
23273
+ (a) => a.id === G.EXECUTION
23274
23274
  ), t = {
23275
23275
  id: r.id + "--infered-data-type",
23276
23276
  version: 1,
@@ -23473,17 +23473,17 @@ function io(r) {
23473
23473
  }
23474
23474
  }
23475
23475
  function p5(r) {
23476
- return r.includes($.HTTP_ENDPOINT) ? "HTTP endpoint" : r.includes($.PERSISTED_ENTITY) ? "Persisted entity" : r.includes($.CRON_JOB) ? "Scheduled execution" : r.includes($.RELATIONAL_DATABASE) ? "Relational database" : "Entity";
23476
+ return r.includes(G.HTTP_ENDPOINT) ? "HTTP endpoint" : r.includes(G.PERSISTED_ENTITY) ? "Persisted entity" : r.includes(G.CRON_JOB) ? "Scheduled execution" : r.includes(G.RELATIONAL_DATABASE) ? "Relational database" : "Entity";
23477
23477
  }
23478
23478
  function y5(r) {
23479
23479
  switch (r.name) {
23480
- case $.HTTP_ENDPOINT:
23480
+ case G.HTTP_ENDPOINT:
23481
23481
  return "HTTP endpoint";
23482
- case $.PERSISTED_ENTITY:
23482
+ case G.PERSISTED_ENTITY:
23483
23483
  return "Persisted entity";
23484
- case $.CRON_JOB:
23484
+ case G.CRON_JOB:
23485
23485
  return "Scheduled execution";
23486
- case $.RELATIONAL_DATABASE:
23486
+ case G.RELATIONAL_DATABASE:
23487
23487
  return "Relational database";
23488
23488
  }
23489
23489
  return "Entity";
@@ -23492,7 +23492,7 @@ function h5(r) {
23492
23492
  const e = Ck(r);
23493
23493
  if (!e) {
23494
23494
  const t = Sk(r);
23495
- return t.includes($.HTTP_ENDPOINT) ? "HTTP endpoint" : t.includes($.PERSISTED_ENTITY) ? "Persisted entity" : t.includes($.CRON_JOB) ? "Scheduled execution" : t.includes($.RELATIONAL_DATABASE) ? "Relational database" : O(r, r.project) + " entity";
23495
+ return t.includes(G.HTTP_ENDPOINT) ? "HTTP endpoint" : t.includes(G.PERSISTED_ENTITY) ? "Persisted entity" : t.includes(G.CRON_JOB) ? "Scheduled execution" : t.includes(G.RELATIONAL_DATABASE) ? "Relational database" : O(r, r.project) + " entity";
23496
23496
  }
23497
23497
  return O(e, r.project) + " entity";
23498
23498
  }
@@ -24588,12 +24588,14 @@ ${So}`,
24588
24588
  return ((e = this.dataType) == null ? void 0 : e.defaultValue) || null;
24589
24589
  }
24590
24590
  clone(e = null, t = null, i = !0) {
24591
- var h;
24591
+ var f;
24592
24592
  const a = t || We(
24593
24593
  O(this, this.project),
24594
24594
  n.Property,
24595
24595
  this.project
24596
- ), s = a.split("-id"), o = s[s.length - 1 || 0] || a, l = {
24596
+ ), s = a.split("-id"), o = s[s.length - 1 || 0] || a;
24597
+ let l = e || this.parent;
24598
+ const u = {
24597
24599
  hidden: !1,
24598
24600
  id: a,
24599
24601
  version: this.version,
@@ -24607,18 +24609,18 @@ ${So}`,
24607
24609
  static: this.static,
24608
24610
  dataType: null,
24609
24611
  implements: null,
24610
- parent: e || this.parent
24611
- }, u = Yt(
24612
- l,
24612
+ parent: l
24613
+ }, p = Yt(
24614
+ u,
24613
24615
  this.project
24614
24616
  );
24615
- i && u.subscribe();
24616
- const p = ((h = this.dataType) == null ? void 0 : h.clone(
24617
- u,
24617
+ i && p.subscribe(), p.setParent(l);
24618
+ const h = ((f = this.dataType) == null ? void 0 : f.clone(
24619
+ p,
24618
24620
  o + "-data-type-id",
24619
24621
  i
24620
24622
  )) || null;
24621
- return p && u.setDataType(p), u;
24623
+ return h && p.setDataType(h), p;
24622
24624
  }
24623
24625
  setDataType(e) {
24624
24626
  return this.dataType = e, this;
@@ -24834,8 +24836,8 @@ ${zn}`, a.push(
24834
24836
  } else {
24835
24837
  const D = f.methods.find(
24836
24838
  (x) => {
24837
- var G;
24838
- return ((G = x.implements) == null ? void 0 : G.id) === i.implements;
24839
+ var $;
24840
+ return (($ = x.implements) == null ? void 0 : $.id) === i.implements;
24839
24841
  }
24840
24842
  );
24841
24843
  D && a.push(
@@ -25913,47 +25915,63 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
25913
25915
  return this.errors;
25914
25916
  }
25915
25917
  clone(e = null, t = null, i = !0) {
25916
- var b, R, D, P;
25917
- const a = this.toJSON(), s = t || We(
25918
+ var R, D, P, g;
25919
+ let a = e || this.parent;
25920
+ const s = t || We(
25918
25921
  Bm(this),
25919
25922
  n.DataType,
25920
25923
  this.project
25921
- ), o = s.split("-id"), l = o[o.length - 1 || 0] || s;
25922
- a.id = s;
25923
- const u = Yt(
25924
- a,
25924
+ ), o = s.split("-id"), l = o[o.length - 1 || 0] || s, u = {
25925
+ id: s,
25926
+ version: 1,
25927
+ type: n.DataType,
25928
+ isNullable: this.isNullable,
25929
+ isList: this.isList,
25930
+ constant: this.constant,
25931
+ asType: this.asType,
25932
+ options: this.options,
25933
+ parentRelationType: this.parentRelationType,
25934
+ like: this.like,
25935
+ inferred: this.inferred,
25936
+ defaultValue: null,
25937
+ andChildrenGroup: null,
25938
+ orChildrenGroup: null,
25939
+ entity: null,
25940
+ parent: a.toReference()
25941
+ }, p = Yt(
25942
+ u,
25925
25943
  this.project
25926
25944
  );
25927
- e && u.setParent(e), i && u.subscribe(), u.initChildren();
25928
- const p = (b = this.defaultValue) == null ? void 0 : b.clone(
25929
- u,
25945
+ e && p.setParent(e), i && p.subscribe(), p.initChildren();
25946
+ const h = (R = this.defaultValue) == null ? void 0 : R.clone(
25947
+ p,
25930
25948
  l + "-default-value-id",
25931
25949
  i
25932
25950
  );
25933
- u.defaultValue = p || null;
25934
- const h = (R = this.andChildrenGroup) == null ? void 0 : R.map(
25935
- (g, x) => g.clone(
25951
+ p.defaultValue = h || null;
25952
+ const f = (D = this.andChildrenGroup) == null ? void 0 : D.map(
25953
+ (x, $) => x.clone(
25936
25954
  this,
25937
- l + "-and-group-data-type-" + x + "-id",
25955
+ l + "-and-group-data-type-" + $ + "-id",
25938
25956
  i
25939
25957
  )
25940
- ), f = (D = this.orChildrenGroup) == null ? void 0 : D.map(
25941
- (g, x) => g.clone(
25958
+ ), b = (P = this.orChildrenGroup) == null ? void 0 : P.map(
25959
+ (x, $) => x.clone(
25942
25960
  this,
25943
- l + "-or-group-data-type-" + x + "-id",
25961
+ l + "-or-group-data-type-" + $ + "-id",
25944
25962
  i
25945
25963
  )
25946
25964
  );
25947
- 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) {
25948
- const g = this.entity.clone(
25949
- u,
25965
+ if (p.andChildrenGroup = f || null, p.orChildrenGroup = b || null, this.entity && this.entity.type === n.CustomEntity && ((g = this.entity) == null ? void 0 : g.parent) === this) {
25966
+ const x = this.entity.clone(
25967
+ p,
25950
25968
  l + "-inferred-entity-id",
25951
25969
  i
25952
25970
  );
25953
- u.setEntity(g);
25971
+ p.setEntity(x);
25954
25972
  } else
25955
- this.entity && u.setEntity(this.entity);
25956
- return u;
25973
+ this.entity && p.setEntity(this.entity);
25974
+ return p;
25957
25975
  }
25958
25976
  // This function merges a given source entity with the current one
25959
25977
  // The goal is to keep the current instance with the current id
@@ -28010,18 +28028,18 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28010
28028
  }), l.forEach((b) => {
28011
28029
  const R = b.getDataType();
28012
28030
  let P = u.find(
28013
- (G) => O(G, this.project) === J.fromReturnDeclarationToBodyArgumentDeclarationName(
28031
+ ($) => O($, this.project) === J.fromReturnDeclarationToBodyArgumentDeclarationName(
28014
28032
  b
28015
- ) && Ht(G.dataType, b.dataType)
28033
+ ) && Ht($.dataType, b.dataType)
28016
28034
  );
28017
28035
  if (!P) {
28018
- const G = J.fromReturnDeclarationToBodyArgumentDeclarationName(
28036
+ const $ = J.fromReturnDeclarationToBodyArgumentDeclarationName(
28019
28037
  b
28020
28038
  ), ee = {
28021
28039
  id: B.UUID.uuid(),
28022
28040
  version: 1,
28023
28041
  type: n.ArgumentDeclaration,
28024
- name: G,
28042
+ name: $,
28025
28043
  description: `Aggretated list of all previously outputted values from each iteration by the output '${O(
28026
28044
  b,
28027
28045
  this.project
@@ -28047,14 +28065,14 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28047
28065
  R
28048
28066
  )) {
28049
28067
  if (!x) {
28050
- const G = R.clone(P);
28051
- G.addSelfToProject(), x = G, t.push(G), e.push(P);
28068
+ const $ = R.clone(P);
28069
+ $.addSelfToProject(), x = $, t.push($), e.push(P);
28052
28070
  }
28053
28071
  x.merge(R), x.sync({ isList: !0 });
28054
28072
  } else
28055
28073
  x.isList || (x.sync({ isList: !0 }), e.push(x));
28056
28074
  if (!R && !x) {
28057
- const G = {
28075
+ const $ = {
28058
28076
  id: B.UUID.uuid(),
28059
28077
  version: 1,
28060
28078
  type: n.DataType,
@@ -28070,7 +28088,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28070
28088
  orChildrenGroup: [],
28071
28089
  parent: P.toReference()
28072
28090
  }, ee = E(
28073
- G,
28091
+ $,
28074
28092
  this.project
28075
28093
  );
28076
28094
  ee.sync({ isList: !0 }), ee.setParent(P), ee.initChildren(), ee.addSelfToProject(), t.push(ee);
@@ -28382,8 +28400,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28382
28400
  );
28383
28401
  we.setParent(P), we.initChildren(), we.addSelfToProject(), t.push(we), x = we;
28384
28402
  }
28385
- const G = R.getDataType();
28386
- x.merge(G), x.sync({ isList: !1 });
28403
+ const $ = R.getDataType();
28404
+ x.merge($), x.sync({ isList: !1 });
28387
28405
  } else {
28388
28406
  const P = {
28389
28407
  id: B.UUID.uuid(),
@@ -28427,12 +28445,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28427
28445
  D && (!b.implements || b.implements.id !== D.id) && (b.setImplements(D), e.push(b));
28428
28446
  let x = b.getDataType();
28429
28447
  if (x) {
28430
- const G = this.project.getBuiltIn(
28448
+ const $ = this.project.getBuiltIn(
28431
28449
  w["primitive-entity"].string.id
28432
28450
  );
28433
- ((l = x.entity) == null ? void 0 : l.id) !== G.id && (x.setEntity(G), e.push(x));
28451
+ ((l = x.entity) == null ? void 0 : l.id) !== $.id && (x.setEntity($), e.push(x));
28434
28452
  } else {
28435
- const G = {
28453
+ const $ = {
28436
28454
  id: B.UUID.uuid(),
28437
28455
  version: 1,
28438
28456
  type: n.DataType,
@@ -28448,7 +28466,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28448
28466
  orChildrenGroup: [],
28449
28467
  parent: P.toReference()
28450
28468
  }, ee = E(
28451
- G,
28469
+ $,
28452
28470
  this.project
28453
28471
  );
28454
28472
  ee.setParent(P), ee.initChildren(), ee.addSelfToProject(), x = ee;
@@ -28492,7 +28510,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28492
28510
  D && (!b.implements || b.implements.id !== D.id) && (b.setImplements(D), e.push(b));
28493
28511
  let x = b.getDataType();
28494
28512
  if (x) {
28495
- const G = R.getDataType(), ee = ((p = G == null ? void 0 : G.entity) == null ? void 0 : p.properties) || [];
28513
+ const $ = R.getDataType(), ee = ((p = $ == null ? void 0 : $.entity) == null ? void 0 : p.properties) || [];
28496
28514
  (h = x.orChildrenGroup) == null || h.forEach((we) => {
28497
28515
  const { affected: Dt, removed: Pt } = we.remove({
28498
28516
  ignoreUpstream: !1,
@@ -28533,7 +28551,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28533
28551
  }
28534
28552
  });
28535
28553
  } else {
28536
- const G = {
28554
+ const $ = {
28537
28555
  id: B.UUID.uuid(),
28538
28556
  version: 1,
28539
28557
  type: n.DataType,
@@ -28549,7 +28567,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28549
28567
  orChildrenGroup: [],
28550
28568
  parent: P.toReference()
28551
28569
  }, ee = E(
28552
- G,
28570
+ $,
28553
28571
  this.project
28554
28572
  );
28555
28573
  ee.setParent(P), ee.initChildren(), ee.addSelfToProject(), x = ee;
@@ -28627,12 +28645,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28627
28645
  D && (!b.implements || b.implements.id !== D.id) && (b.setImplements(D), e.push(b));
28628
28646
  let x = b.getDataType();
28629
28647
  if (x) {
28630
- const G = this.project.getBuiltIn(
28648
+ const $ = this.project.getBuiltIn(
28631
28649
  w["primitive-entity"].string.id
28632
28650
  );
28633
- ((f = x.entity) == null ? void 0 : f.id) !== G.id && (x.setEntity(G), e.push(x));
28651
+ ((f = x.entity) == null ? void 0 : f.id) !== $.id && (x.setEntity($), e.push(x));
28634
28652
  } else {
28635
- const G = {
28653
+ const $ = {
28636
28654
  id: B.UUID.uuid(),
28637
28655
  version: 1,
28638
28656
  type: n.DataType,
@@ -28648,7 +28666,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28648
28666
  orChildrenGroup: [],
28649
28667
  parent: P.toReference()
28650
28668
  }, ee = E(
28651
- G,
28669
+ $,
28652
28670
  this.project
28653
28671
  );
28654
28672
  ee.setParent(P), ee.initChildren(), ee.addSelfToProject(), t.push(ee), x = ee;
@@ -28998,9 +29016,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28998
29016
  const {
28999
29017
  updated: g,
29000
29018
  added: x,
29001
- removed: G
29019
+ removed: $
29002
29020
  } = this.syncOutputsDeclarations();
29003
- e.push(...g), t.push(...x), i.push(...G);
29021
+ e.push(...g), t.push(...x), i.push(...$);
29004
29022
  const {
29005
29023
  updated: ee,
29006
29024
  added: we,
@@ -31604,22 +31622,22 @@ ${Dd}`,
31604
31622
  const f = h.implements;
31605
31623
  if (f) {
31606
31624
  const b = f.outputs.find(
31607
- (G) => G.name === i.name
31608
- ), R = f.outputs.filter((G) => !p.outputs.find(
31609
- (we) => we.type === n.ReturnDeclaration && we.name === G.name
31625
+ ($) => $.name === i.name
31626
+ ), R = f.outputs.filter(($) => !p.outputs.find(
31627
+ (we) => we.type === n.ReturnDeclaration && we.name === $.name
31610
31628
  )), D = p.outputs.filter(
31611
- (G) => G.type === n.ReturnDeclaration
31629
+ ($) => $.type === n.ReturnDeclaration
31612
31630
  ), P = D.find(
31613
- (G) => G.name === i.name
31631
+ ($) => $.name === i.name
31614
31632
  ), g = D.length ? `The parent entity already implements the following return declarations: ${L(
31615
31633
  D.map(
31616
- (G) => `'${G.id}' (${G.name})`
31634
+ ($) => `'${$.id}' (${$.name})`
31617
31635
  ),
31618
31636
  ", ",
31619
31637
  " and "
31620
31638
  )}.` : "The parent entity does not yet have any implemented return declarations.", x = R.length ? `The parent entity is still missing the following returns in the implementation: ${L(
31621
31639
  R.map(
31622
- (G) => `'${G.id}' (${G.name})`
31640
+ ($) => `'${$.id}' (${$.name})`
31623
31641
  ),
31624
31642
  ", ",
31625
31643
  " and "
@@ -41272,11 +41290,11 @@ function Yc(r, e, t) {
41272
41290
  ...P,
41273
41291
  implements: R,
41274
41292
  parent: g
41275
- }, G = E(
41293
+ }, $ = E(
41276
41294
  x,
41277
41295
  r.project
41278
41296
  );
41279
- return p.addMethod(G), G.setParent(p), G.initChildren(), G.implements = R, G;
41297
+ return p.addMethod($), $.setParent(p), $.initChildren(), $.implements = R, $;
41280
41298
  }
41281
41299
  );
41282
41300
  o.properties = h, o.methods = f;
@@ -41519,7 +41537,7 @@ function Jm(r, e, t, i) {
41519
41537
  e.project
41520
41538
  );
41521
41539
  x.setParent(e), x.initChildren(), x.addSelfToProject();
41522
- const G = Jm(
41540
+ const $ = Jm(
41523
41541
  D,
41524
41542
  x,
41525
41543
  {
@@ -41528,7 +41546,7 @@ function Jm(r, e, t, i) {
41528
41546
  },
41529
41547
  i
41530
41548
  );
41531
- a.push(...G.updated), s.push(...G.added), o.push(...G.removed);
41549
+ a.push(...$.updated), s.push(...$.added), o.push(...$.removed);
41532
41550
  }
41533
41551
  });
41534
41552
  }
@@ -41621,7 +41639,7 @@ function po(r, e, t, i) {
41621
41639
  e
41622
41640
  );
41623
41641
  x.setParent(b), x.initChildren(), x.addSelfToProject(), s.push(x);
41624
- const G = r[R], we = {
41642
+ const $ = r[R], we = {
41625
41643
  id: P + "--data-type-id",
41626
41644
  version: 1,
41627
41645
  type: n.DataType,
@@ -41642,7 +41660,7 @@ function po(r, e, t, i) {
41642
41660
  );
41643
41661
  Dt.setParent(x), Dt.initChildren(), Dt.addSelfToProject(), s.push(Dt);
41644
41662
  const Pt = Jm(
41645
- G,
41663
+ $,
41646
41664
  Dt,
41647
41665
  {
41648
41666
  ...t,
@@ -42289,7 +42307,7 @@ function Sk(r) {
42289
42307
  }
42290
42308
  function Ok(r) {
42291
42309
  return r.implements.length === 0 && r.extends.length === 0 ? null : r.implements.find(
42292
- (i) => i.type === n.BuiltInBaseEntity && i.name === $.PERSISTED_ENTITY
42310
+ (i) => i.type === n.BuiltInBaseEntity && i.name === G.PERSISTED_ENTITY
42293
42311
  ) ? r : [
42294
42312
  ...r.implements,
42295
42313
  ...r.extends
@@ -43363,19 +43381,23 @@ Alternatively you can update the parent data-type entity with 'update' action to
43363
43381
  e && u.setParent(e), i && u.subscribe(), u.initChildren();
43364
43382
  const p = (b = this.properties) == null ? void 0 : b.map(
43365
43383
  (P, g) => P.clone(
43366
- this,
43384
+ u,
43367
43385
  l + "-property-" + g + "-id",
43368
43386
  i
43369
43387
  )
43370
43388
  );
43371
43389
  u.properties = p;
43372
43390
  const h = (R = this.methods) == null ? void 0 : R.map(
43373
- (P, g) => P.clone(this, l + "-method-" + g + "-id", i)
43391
+ (P, g) => P.clone(
43392
+ u,
43393
+ l + "-method-" + g + "-id",
43394
+ i
43395
+ )
43374
43396
  );
43375
43397
  u.methods = h;
43376
43398
  const f = (D = this.abstractMethods) == null ? void 0 : D.map(
43377
43399
  (P, g) => P.clone(
43378
- this,
43400
+ u,
43379
43401
  l + "-abstract-method-" + g + "-id",
43380
43402
  i
43381
43403
  )
@@ -45101,7 +45123,7 @@ const X = class X {
45101
45123
  }
45102
45124
  getBuiltInPersistedEntity() {
45103
45125
  return this.builtInBaseEntities.find(
45104
- (e) => e.name === $.PERSISTED_ENTITY
45126
+ (e) => e.name === G.PERSISTED_ENTITY
45105
45127
  ) || null;
45106
45128
  }
45107
45129
  };
@@ -45543,9 +45565,9 @@ class Xk extends Lt {
45543
45565
  constructor(t) {
45544
45566
  super(Ge, t);
45545
45567
  c(this, "initialData");
45546
- c(this, "id", $.PERSISTED_ENTITY);
45568
+ c(this, "id", G.PERSISTED_ENTITY);
45547
45569
  c(this, "version", 1);
45548
- c(this, "name", $.PERSISTED_ENTITY);
45570
+ c(this, "name", G.PERSISTED_ENTITY);
45549
45571
  c(this, "description", Ge.description);
45550
45572
  c(this, "type", n.BuiltInBaseEntity);
45551
45573
  c(this, "abstract", Ge.abstract);
@@ -45732,7 +45754,7 @@ export {
45732
45754
  w as BUILT_IN_BASE_ENTITY_IDS,
45733
45755
  Yi as BUILT_IN_ENTITY_TYPES,
45734
45756
  i7 as BaseCanvasDraggableState,
45735
- $ as BaseEntityNames,
45757
+ G as BaseEntityNames,
45736
45758
  r7 as BaseState,
45737
45759
  Bd as BaseValueDescriptorIds,
45738
45760
  Ji as BreakStatementState,