@elyx-code/project-logic-tree 0.0.599 → 0.0.5991

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
@@ -7,7 +7,7 @@ const Cn = [
7
7
  r.VariableInstance,
8
8
  r.InputMap,
9
9
  r.ReturnDeclaration
10
- ], q9 = [
10
+ ], q6 = [
11
11
  r.VariableDeclaration,
12
12
  r.VariableInstance,
13
13
  r.InputMap,
@@ -19,7 +19,7 @@ const De = [
19
19
  r.VariableInstance,
20
20
  r.ArgumentDeclaration,
21
21
  r.OutputMap
22
- ], J9 = [
22
+ ], J6 = [
23
23
  r.VariableDeclaration,
24
24
  r.VariableInstance,
25
25
  r.ArgumentDeclaration,
@@ -68,7 +68,7 @@ const Vf = [
68
68
  ], Gf = [
69
69
  ...Hc,
70
70
  ...$e
71
- ], W9 = [...Vn, ...$e], H9 = [
71
+ ], W6 = [...Vn, ...$e], H6 = [
72
72
  ...Yc,
73
73
  ...$e
74
74
  ], Tt = [
@@ -78,7 +78,7 @@ const Vf = [
78
78
  r.ReturnStatement,
79
79
  r.BreakStatement,
80
80
  r.ContinueStatement
81
- ], Y9 = [
81
+ ], Y6 = [
82
82
  r.CustomEntity,
83
83
  r.BuiltInBaseEntity,
84
84
  r.Project,
@@ -136,7 +136,7 @@ const Vf = [
136
136
  ], Ai = [
137
137
  r.BuiltInBaseEntity,
138
138
  r.PrimitiveEntity
139
- ], z9 = [
139
+ ], z6 = [
140
140
  r.CustomEntity,
141
141
  r.FunctionDeclaration,
142
142
  r.ArgumentDeclaration,
@@ -2153,7 +2153,7 @@ const Ne = {
2153
2153
  parent: null
2154
2154
  }, sR = {
2155
2155
  [Ke.HttpRequest]: Da
2156
- }, Z9 = {
2156
+ }, Z6 = {
2157
2157
  ...Em,
2158
2158
  ...im,
2159
2159
  ...DT,
@@ -2274,7 +2274,7 @@ const Ne = {
2274
2274
  returnsType: V.Fixed,
2275
2275
  error: null,
2276
2276
  parent: null
2277
- }, aa = Ne[r.BuiltInBaseEntity][_.KEY_VALUE_PARAM], X9 = {
2277
+ }, aa = Ne[r.BuiltInBaseEntity][_.KEY_VALUE_PARAM], X6 = {
2278
2278
  id: "key-value-param-built-in-base-entity-name-property-data-type-ref",
2279
2279
  type: r.GenericReference,
2280
2280
  entityId: "key-value-param-built-in-base-entity-name-property-data-type",
@@ -2316,7 +2316,7 @@ const Ne = {
2316
2316
  dataType: RR,
2317
2317
  description: "The name of the path parameter",
2318
2318
  parent: bR
2319
- }, Q9 = {
2319
+ }, Q6 = {
2320
2320
  id: "key-value-param-built-in-base-entity-value-property-data-type-ref",
2321
2321
  type: r.GenericReference,
2322
2322
  entityId: "key-value-param-built-in-base-entity-value-property-data-type",
@@ -2933,7 +2933,7 @@ const Ne = {
2933
2933
  dataType: bb,
2934
2934
  description: "The name of the main database inside of the server instance where the data will be stored.",
2935
2935
  parent: wi
2936
- }, K9 = {
2936
+ }, K6 = {
2937
2937
  id: "relational-database-built-in-base-entity-username-property-data-type-ref-id",
2938
2938
  type: r.GenericReference,
2939
2939
  entityId: "relational-database-built-in-base-entity-username-property-data-type-idd",
@@ -2984,7 +2984,7 @@ const Ne = {
2984
2984
  dataType: gb,
2985
2985
  description: "The username that will be used to connect to the database.",
2986
2986
  parent: wi
2987
- }, e6 = {
2987
+ }, e9 = {
2988
2988
  id: "relational-database-built-in-base-entity-password-property-data-type-ref-id",
2989
2989
  type: r.GenericReference,
2990
2990
  entityId: "relational-database-built-in-base-entity-password-property-data-type-id",
@@ -3174,7 +3174,7 @@ const Ne = {
3174
3174
  private: !1,
3175
3175
  x: 0,
3176
3176
  y: 0
3177
- }, bd = Ne[r.BuiltInBaseEntity][_.PERSISTED_ENTITY].properties, t6 = {
3177
+ }, bd = Ne[r.BuiltInBaseEntity][_.PERSISTED_ENTITY].properties, t9 = {
3178
3178
  id: "persisted-built-in-base-entity-database-property-data-type-ref-id",
3179
3179
  type: r.GenericReference,
3180
3180
  entityId: "persisted-built-in-base-entity-database-property-data-type-id",
@@ -3271,7 +3271,7 @@ const Ne = {
3271
3271
  dataType: Fb,
3272
3272
  description: "Auto-generated unique identifier for the entity, can be used to identify the entity among other entities of the same type.",
3273
3273
  parent: Ub
3274
- }, n6 = {
3274
+ }, n9 = {
3275
3275
  id: "persisted-built-in-base-entity-deleted-at-property-data-type-ref-id",
3276
3276
  type: r.GenericReference,
3277
3277
  entityId: "persisted-built-in-base-entity-deleted-at-property-data-type-id",
@@ -3313,7 +3313,7 @@ const Ne = {
3313
3313
  dataType: qb,
3314
3314
  description: "The date and time when the entity was deleted.",
3315
3315
  parent: Jb
3316
- }, r6 = {
3316
+ }, r9 = {
3317
3317
  id: "persisted-built-in-base-entity-created-at-property-data-type-ref-id",
3318
3318
  type: r.GenericReference,
3319
3319
  entityId: "persisted-built-in-base-entity-created-at-property-data-type-id",
@@ -3355,7 +3355,7 @@ const Ne = {
3355
3355
  dataType: Yb,
3356
3356
  description: "The date and time when the entity was created.",
3357
3357
  parent: zb
3358
- }, i6 = {
3358
+ }, i9 = {
3359
3359
  id: "persisted-built-in-base-entity-updated-at-property-data-type-ref-id",
3360
3360
  type: r.GenericReference,
3361
3361
  entityId: "persisted-built-in-base-entity-updated-at-property-data-type-id",
@@ -3435,7 +3435,7 @@ const Ne = {
3435
3435
  fixedReturns: [],
3436
3436
  dynamicReturnTypes: null,
3437
3437
  parent: tv
3438
- }, gd = Ne[r.BuiltInBaseEntity].BUILT_IN_CRON_JOB_ENTITY, a6 = {
3438
+ }, gd = Ne[r.BuiltInBaseEntity].BUILT_IN_CRON_JOB_ENTITY, a9 = {
3439
3439
  id: "cron-job-built-in-base-entity-expression-property-data-type-ref",
3440
3440
  type: r.GenericReference,
3441
3441
  entityId: "cron-job-built-in-base-entity-expression-property-data-type",
@@ -3607,7 +3607,7 @@ const Ne = {
3607
3607
  error: null
3608
3608
  }, fv = {
3609
3609
  [Ae.MoreThanOrEqual]: Bi
3610
- }, s6 = {
3610
+ }, s9 = {
3611
3611
  ...dv,
3612
3612
  ...fv
3613
3613
  }, go = {
@@ -3624,7 +3624,7 @@ const Ne = {
3624
3624
  argumentsType: V.None,
3625
3625
  returnsType: V.None,
3626
3626
  error: null
3627
- }, o6 = {
3627
+ }, o9 = {
3628
3628
  [pn.PROJECT_PUBLICATION_COMPLETED]: go
3629
3629
  }, Io = Ne[r.ValueDescriptor][dd.ActionOngoingProcessOutputValue], mv = {
3630
3630
  type: r.GenericReference,
@@ -3656,7 +3656,7 @@ const Ne = {
3656
3656
  parent: null,
3657
3657
  parentRelationType: C.OngoingProcessExecution
3658
3658
  };
3659
- var H;
3659
+ var Y;
3660
3660
  (function(n) {
3661
3661
  n.assertEqual = (a) => a;
3662
3662
  function e(a) {
@@ -3691,7 +3691,7 @@ var H;
3691
3691
  return a.map((o) => typeof o == "string" ? `'${o}'` : o).join(s);
3692
3692
  }
3693
3693
  n.joinValues = i, n.jsonStringifyReplacer = (a, s) => typeof s == "bigint" ? s.toString() : s;
3694
- })(H || (H = {}));
3694
+ })(Y || (Y = {}));
3695
3695
  var Ls;
3696
3696
  (function(n) {
3697
3697
  n.mergeShapes = (e, t) => ({
@@ -3700,7 +3700,7 @@ var Ls;
3700
3700
  // second overwrites first
3701
3701
  });
3702
3702
  })(Ls || (Ls = {}));
3703
- const B = H.arrayToEnum([
3703
+ const B = Y.arrayToEnum([
3704
3704
  "string",
3705
3705
  "nan",
3706
3706
  "number",
@@ -3742,7 +3742,7 @@ const B = H.arrayToEnum([
3742
3742
  default:
3743
3743
  return B.unknown;
3744
3744
  }
3745
- }, I = H.arrayToEnum([
3745
+ }, I = Y.arrayToEnum([
3746
3746
  "invalid_type",
3747
3747
  "invalid_literal",
3748
3748
  "custom",
@@ -3804,7 +3804,7 @@ class yt extends Error {
3804
3804
  return this.message;
3805
3805
  }
3806
3806
  get message() {
3807
- return JSON.stringify(this.issues, H.jsonStringifyReplacer, 2);
3807
+ return JSON.stringify(this.issues, Y.jsonStringifyReplacer, 2);
3808
3808
  }
3809
3809
  get isEmpty() {
3810
3810
  return this.issues.length === 0;
@@ -3827,19 +3827,19 @@ const sr = (n, e) => {
3827
3827
  n.received === B.undefined ? t = "Required" : t = `Expected ${n.expected}, received ${n.received}`;
3828
3828
  break;
3829
3829
  case I.invalid_literal:
3830
- t = `Invalid literal value, expected ${JSON.stringify(n.expected, H.jsonStringifyReplacer)}`;
3830
+ t = `Invalid literal value, expected ${JSON.stringify(n.expected, Y.jsonStringifyReplacer)}`;
3831
3831
  break;
3832
3832
  case I.unrecognized_keys:
3833
- t = `Unrecognized key(s) in object: ${H.joinValues(n.keys, ", ")}`;
3833
+ t = `Unrecognized key(s) in object: ${Y.joinValues(n.keys, ", ")}`;
3834
3834
  break;
3835
3835
  case I.invalid_union:
3836
3836
  t = "Invalid input";
3837
3837
  break;
3838
3838
  case I.invalid_union_discriminator:
3839
- t = `Invalid discriminator value. Expected ${H.joinValues(n.options)}`;
3839
+ t = `Invalid discriminator value. Expected ${Y.joinValues(n.options)}`;
3840
3840
  break;
3841
3841
  case I.invalid_enum_value:
3842
- t = `Invalid enum value. Expected ${H.joinValues(n.options)}, received '${n.received}'`;
3842
+ t = `Invalid enum value. Expected ${Y.joinValues(n.options)}, received '${n.received}'`;
3843
3843
  break;
3844
3844
  case I.invalid_arguments:
3845
3845
  t = "Invalid function arguments";
@@ -3851,7 +3851,7 @@ const sr = (n, e) => {
3851
3851
  t = "Invalid date";
3852
3852
  break;
3853
3853
  case I.invalid_string:
3854
- typeof n.validation == "object" ? "includes" in n.validation ? (t = `Invalid input: must include "${n.validation.includes}"`, typeof n.validation.position == "number" && (t = `${t} at one or more positions greater than or equal to ${n.validation.position}`)) : "startsWith" in n.validation ? t = `Invalid input: must start with "${n.validation.startsWith}"` : "endsWith" in n.validation ? t = `Invalid input: must end with "${n.validation.endsWith}"` : H.assertNever(n.validation) : n.validation !== "regex" ? t = `Invalid ${n.validation}` : t = "Invalid";
3854
+ typeof n.validation == "object" ? "includes" in n.validation ? (t = `Invalid input: must include "${n.validation.includes}"`, typeof n.validation.position == "number" && (t = `${t} at one or more positions greater than or equal to ${n.validation.position}`)) : "startsWith" in n.validation ? t = `Invalid input: must start with "${n.validation.startsWith}"` : "endsWith" in n.validation ? t = `Invalid input: must end with "${n.validation.endsWith}"` : Y.assertNever(n.validation) : n.validation !== "regex" ? t = `Invalid ${n.validation}` : t = "Invalid";
3855
3855
  break;
3856
3856
  case I.too_small:
3857
3857
  n.type === "array" ? t = `Array must contain ${n.exact ? "exactly" : n.inclusive ? "at least" : "more than"} ${n.minimum} element(s)` : n.type === "string" ? t = `String must contain ${n.exact ? "exactly" : n.inclusive ? "at least" : "over"} ${n.minimum} character(s)` : n.type === "number" ? t = `Number must be ${n.exact ? "exactly equal to " : n.inclusive ? "greater than or equal to " : "greater than "}${n.minimum}` : n.type === "date" ? t = `Date must be ${n.exact ? "exactly equal to " : n.inclusive ? "greater than or equal to " : "greater than "}${new Date(Number(n.minimum))}` : t = "Invalid input";
@@ -3872,7 +3872,7 @@ const sr = (n, e) => {
3872
3872
  t = "Number must be finite";
3873
3873
  break;
3874
3874
  default:
3875
- t = e.defaultError, H.assertNever(n);
3875
+ t = e.defaultError, Y.assertNever(n);
3876
3876
  }
3877
3877
  return { message: t };
3878
3878
  };
@@ -4361,7 +4361,7 @@ class Mt extends W {
4361
4361
  validation: "base64",
4362
4362
  code: I.invalid_string,
4363
4363
  message: s.message
4364
- }), i.dirty()) : H.assertNever(s);
4364
+ }), i.dirty()) : Y.assertNever(s);
4365
4365
  return { status: i.value, value: e.data };
4366
4366
  }
4367
4367
  _regex(e, t, i) {
@@ -4599,7 +4599,7 @@ class hn extends W {
4599
4599
  let i;
4600
4600
  const a = new et();
4601
4601
  for (const s of this._def.checks)
4602
- s.kind === "int" ? H.isInteger(e.data) || (i = this._getOrReturnCtx(e, i), w(i, {
4602
+ s.kind === "int" ? Y.isInteger(e.data) || (i = this._getOrReturnCtx(e, i), w(i, {
4603
4603
  code: I.invalid_type,
4604
4604
  expected: "integer",
4605
4605
  received: "float",
@@ -4625,7 +4625,7 @@ class hn extends W {
4625
4625
  }), a.dirty()) : s.kind === "finite" ? Number.isFinite(e.data) || (i = this._getOrReturnCtx(e, i), w(i, {
4626
4626
  code: I.not_finite,
4627
4627
  message: s.message
4628
- }), a.dirty()) : H.assertNever(s);
4628
+ }), a.dirty()) : Y.assertNever(s);
4629
4629
  return { status: a.value, value: e.data };
4630
4630
  }
4631
4631
  gte(e, t) {
@@ -4737,7 +4737,7 @@ class hn extends W {
4737
4737
  return e;
4738
4738
  }
4739
4739
  get isInt() {
4740
- return !!this._def.checks.find((e) => e.kind === "int" || e.kind === "multipleOf" && H.isInteger(e.value));
4740
+ return !!this._def.checks.find((e) => e.kind === "int" || e.kind === "multipleOf" && Y.isInteger(e.value));
4741
4741
  }
4742
4742
  get isFinite() {
4743
4743
  let e = null, t = null;
@@ -4787,7 +4787,7 @@ class fn extends W {
4787
4787
  code: I.not_multiple_of,
4788
4788
  multipleOf: s.value,
4789
4789
  message: s.message
4790
- }), a.dirty()) : H.assertNever(s);
4790
+ }), a.dirty()) : Y.assertNever(s);
4791
4791
  return { status: a.value, value: e.data };
4792
4792
  }
4793
4793
  gte(e, t) {
@@ -4934,7 +4934,7 @@ class Bn extends W {
4934
4934
  exact: !1,
4935
4935
  maximum: s.value,
4936
4936
  type: "date"
4937
- }), i.dirty()) : H.assertNever(s);
4937
+ }), i.dirty()) : Y.assertNever(s);
4938
4938
  return {
4939
4939
  status: i.value,
4940
4940
  value: new Date(e.data.getTime())
@@ -5182,7 +5182,7 @@ class Ce extends W {
5182
5182
  _getCached() {
5183
5183
  if (this._cached !== null)
5184
5184
  return this._cached;
5185
- const e = this._def.shape(), t = H.objectKeys(e);
5185
+ const e = this._def.shape(), t = Y.objectKeys(e);
5186
5186
  return this._cached = { shape: e, keys: t };
5187
5187
  }
5188
5188
  _parse(e) {
@@ -5390,7 +5390,7 @@ class Ce extends W {
5390
5390
  }
5391
5391
  pick(e) {
5392
5392
  const t = {};
5393
- return H.objectKeys(e).forEach((i) => {
5393
+ return Y.objectKeys(e).forEach((i) => {
5394
5394
  e[i] && this.shape[i] && (t[i] = this.shape[i]);
5395
5395
  }), new Ce({
5396
5396
  ...this._def,
@@ -5399,7 +5399,7 @@ class Ce extends W {
5399
5399
  }
5400
5400
  omit(e) {
5401
5401
  const t = {};
5402
- return H.objectKeys(this.shape).forEach((i) => {
5402
+ return Y.objectKeys(this.shape).forEach((i) => {
5403
5403
  e[i] || (t[i] = this.shape[i]);
5404
5404
  }), new Ce({
5405
5405
  ...this._def,
@@ -5414,7 +5414,7 @@ class Ce extends W {
5414
5414
  }
5415
5415
  partial(e) {
5416
5416
  const t = {};
5417
- return H.objectKeys(this.shape).forEach((i) => {
5417
+ return Y.objectKeys(this.shape).forEach((i) => {
5418
5418
  const a = this.shape[i];
5419
5419
  e && !e[i] ? t[i] = a : t[i] = a.optional();
5420
5420
  }), new Ce({
@@ -5424,7 +5424,7 @@ class Ce extends W {
5424
5424
  }
5425
5425
  required(e) {
5426
5426
  const t = {};
5427
- return H.objectKeys(this.shape).forEach((i) => {
5427
+ return Y.objectKeys(this.shape).forEach((i) => {
5428
5428
  if (e && !e[i])
5429
5429
  t[i] = this.shape[i];
5430
5430
  else {
@@ -5439,7 +5439,7 @@ class Ce extends W {
5439
5439
  });
5440
5440
  }
5441
5441
  keyof() {
5442
- return Md(H.objectKeys(this.shape));
5442
+ return Md(Y.objectKeys(this.shape));
5443
5443
  }
5444
5444
  }
5445
5445
  Ce.create = (n, e) => new Ce({
@@ -5536,7 +5536,7 @@ li.create = (n, e) => new li({
5536
5536
  typeName: G.ZodUnion,
5537
5537
  ...k(e)
5538
5538
  });
5539
- const Zt = (n) => n instanceof ui ? Zt(n.schema) : n instanceof Vt ? Zt(n.innerType()) : n instanceof pi ? [n.value] : n instanceof mn ? n.options : n instanceof yi ? H.objectValues(n.enum) : n instanceof hi ? Zt(n._def.innerType) : n instanceof si ? [void 0] : n instanceof oi ? [null] : n instanceof Ut ? [void 0, ...Zt(n.unwrap())] : n instanceof Tn ? [null, ...Zt(n.unwrap())] : n instanceof Po || n instanceof mi ? Zt(n.unwrap()) : n instanceof fi ? Zt(n._def.innerType) : [];
5539
+ const Zt = (n) => n instanceof ui ? Zt(n.schema) : n instanceof Vt ? Zt(n.innerType()) : n instanceof pi ? [n.value] : n instanceof mn ? n.options : n instanceof yi ? Y.objectValues(n.enum) : n instanceof hi ? Zt(n._def.innerType) : n instanceof si ? [void 0] : n instanceof oi ? [null] : n instanceof Ut ? [void 0, ...Zt(n.unwrap())] : n instanceof Tn ? [null, ...Zt(n.unwrap())] : n instanceof Po || n instanceof mi ? Zt(n.unwrap()) : n instanceof fi ? Zt(n._def.innerType) : [];
5540
5540
  class Sa extends W {
5541
5541
  _parse(e) {
5542
5542
  const { ctx: t } = this._processInputParams(e);
@@ -5604,7 +5604,7 @@ function js(n, e) {
5604
5604
  if (n === e)
5605
5605
  return { valid: !0, data: n };
5606
5606
  if (t === B.object && i === B.object) {
5607
- const a = H.objectKeys(e), s = H.objectKeys(n).filter((d) => a.indexOf(d) !== -1), o = { ...n, ...e };
5607
+ const a = Y.objectKeys(e), s = Y.objectKeys(n).filter((d) => a.indexOf(d) !== -1), o = { ...n, ...e };
5608
5608
  for (const d of s) {
5609
5609
  const u = js(n[d], e[d]);
5610
5610
  if (!u.valid)
@@ -6018,7 +6018,7 @@ class mn extends W {
6018
6018
  if (typeof e.data != "string") {
6019
6019
  const t = this._getOrReturnCtx(e), i = this._def.values;
6020
6020
  return w(t, {
6021
- expected: H.joinValues(i),
6021
+ expected: Y.joinValues(i),
6022
6022
  received: t.parsedType,
6023
6023
  code: I.invalid_type
6024
6024
  }), F;
@@ -6074,17 +6074,17 @@ class yi extends W {
6074
6074
  super(...arguments), ti.set(this, void 0);
6075
6075
  }
6076
6076
  _parse(e) {
6077
- const t = H.getValidEnumValues(this._def.values), i = this._getOrReturnCtx(e);
6077
+ const t = Y.getValidEnumValues(this._def.values), i = this._getOrReturnCtx(e);
6078
6078
  if (i.parsedType !== B.string && i.parsedType !== B.number) {
6079
- const a = H.objectValues(t);
6079
+ const a = Y.objectValues(t);
6080
6080
  return w(i, {
6081
- expected: H.joinValues(a),
6081
+ expected: Y.joinValues(a),
6082
6082
  received: i.parsedType,
6083
6083
  code: I.invalid_type
6084
6084
  }), F;
6085
6085
  }
6086
- if (la(this, ti, "f") || Cd(this, ti, new Set(H.getValidEnumValues(this._def.values)), "f"), !la(this, ti, "f").has(e.data)) {
6087
- const a = H.objectValues(t);
6086
+ if (la(this, ti, "f") || Cd(this, ti, new Set(Y.getValidEnumValues(this._def.values)), "f"), !la(this, ti, "f").has(e.data)) {
6087
+ const a = Y.objectValues(t);
6088
6088
  return w(i, {
6089
6089
  received: i.data,
6090
6090
  code: I.invalid_enum_value,
@@ -6201,7 +6201,7 @@ class Vt extends W {
6201
6201
  return { status: t.value, value: d };
6202
6202
  } else
6203
6203
  return this._def.schema._parseAsync({ data: i.data, path: i.path, parent: i }).then((o) => ri(o) ? Promise.resolve(a.transform(o.value, s)).then((d) => ({ status: t.value, value: d })) : o);
6204
- H.assertNever(a);
6204
+ Y.assertNever(a);
6205
6205
  }
6206
6206
  }
6207
6207
  Vt.create = (n, e, t) => new Vt({
@@ -6435,7 +6435,7 @@ var c = /* @__PURE__ */ Object.freeze({
6435
6435
  isValid: ri,
6436
6436
  isAsync: ii,
6437
6437
  get util() {
6438
- return H;
6438
+ return Y;
6439
6439
  },
6440
6440
  get objectUtil() {
6441
6441
  return Ls;
@@ -7141,7 +7141,7 @@ function xI(n) {
7141
7141
  function $I(n) {
7142
7142
  return Math.random() >= 0.5;
7143
7143
  }
7144
- function l6(n) {
7144
+ function l9(n) {
7145
7145
  if (!n || !n.autogeneration)
7146
7146
  return null;
7147
7147
  switch (n.autogeneration.type) {
@@ -16312,7 +16312,7 @@ class cr {
16312
16312
  });
16313
16313
  }
16314
16314
  }
16315
- function c6(n) {
16315
+ function c9(n) {
16316
16316
  const e = /* @__PURE__ */ new Set();
16317
16317
  return n.filter((t) => e.has(t.id) ? !1 : (e.add(t.id), !0));
16318
16318
  }
@@ -16320,7 +16320,7 @@ function j(n) {
16320
16320
  const e = n.entity.errors.find((i) => i.id === n.id);
16321
16321
  return e ? { new: !1, error: e } : { new: !0, error: new cr(n) };
16322
16322
  }
16323
- function d6(n, e) {
16323
+ function d9(n, e) {
16324
16324
  const t = /* @__PURE__ */ new Map();
16325
16325
  return n.forEach((i) => {
16326
16326
  t.set(i.id, i);
@@ -18124,7 +18124,7 @@ function ps() {
18124
18124
  Jr()
18125
18125
  ]);
18126
18126
  }
18127
- function u6() {
18127
+ function u9() {
18128
18128
  return c.union([
18129
18129
  Wn(),
18130
18130
  Ll(),
@@ -18134,7 +18134,7 @@ function u6() {
18134
18134
  Ji()
18135
18135
  ]);
18136
18136
  }
18137
- function p6() {
18137
+ function p9() {
18138
18138
  return c.union([
18139
18139
  Yn(),
18140
18140
  it(),
@@ -18240,55 +18240,55 @@ function Le() {
18240
18240
  xl()
18241
18241
  ]);
18242
18242
  }
18243
- function y6() {
18243
+ function y9() {
18244
18244
  return c.union([
18245
18245
  $l(),
18246
18246
  Hn()
18247
18247
  ]);
18248
18248
  }
18249
- function h6() {
18249
+ function h9() {
18250
18250
  return c.union([
18251
18251
  be(),
18252
18252
  Le()
18253
18253
  ]);
18254
18254
  }
18255
- function f6() {
18255
+ function f9() {
18256
18256
  return c.union([
18257
18257
  Vl(),
18258
18258
  Hn()
18259
18259
  ]);
18260
18260
  }
18261
- function m6() {
18261
+ function m9() {
18262
18262
  return c.union([
18263
18263
  Gl(),
18264
18264
  Le()
18265
18265
  ]);
18266
18266
  }
18267
- function T6() {
18267
+ function T9() {
18268
18268
  return c.union([
18269
18269
  S4(),
18270
18270
  Hn()
18271
18271
  ]);
18272
18272
  }
18273
- function E6() {
18273
+ function E9() {
18274
18274
  return c.union([
18275
18275
  je(),
18276
18276
  Le()
18277
18277
  ]);
18278
18278
  }
18279
- function R6() {
18279
+ function R9() {
18280
18280
  return c.union([
18281
18281
  O4(),
18282
18282
  Hn()
18283
18283
  ]);
18284
18284
  }
18285
- function b6() {
18285
+ function b9() {
18286
18286
  return c.union([
18287
18287
  C4(),
18288
18288
  Le()
18289
18289
  ]);
18290
18290
  }
18291
- function v6() {
18291
+ function v9() {
18292
18292
  return c.union([Hn(), Lr()]);
18293
18293
  }
18294
18294
  function Pn() {
@@ -18297,45 +18297,45 @@ function Pn() {
18297
18297
  zt()
18298
18298
  ]);
18299
18299
  }
18300
- function g6() {
18300
+ function g9() {
18301
18301
  return c.union([
18302
18302
  $l(),
18303
18303
  Hn()
18304
18304
  ]);
18305
18305
  }
18306
- function I6() {
18306
+ function I9() {
18307
18307
  return c.union([
18308
18308
  be(),
18309
18309
  Le()
18310
18310
  ]);
18311
18311
  }
18312
- function P6() {
18312
+ function P9() {
18313
18313
  return c.union([
18314
18314
  Vl(),
18315
18315
  Hn()
18316
18316
  ]);
18317
18317
  }
18318
- function D6() {
18318
+ function D9() {
18319
18319
  return c.union([
18320
18320
  Gl(),
18321
18321
  Le()
18322
18322
  ]);
18323
18323
  }
18324
- function A6() {
18324
+ function A9() {
18325
18325
  return c.union([
18326
18326
  Jn(),
18327
18327
  qr(),
18328
18328
  Fr()
18329
18329
  ]);
18330
18330
  }
18331
- function S6() {
18331
+ function S9() {
18332
18332
  return c.union([
18333
18333
  jr(),
18334
18334
  on(),
18335
18335
  Ur()
18336
18336
  ]);
18337
18337
  }
18338
- function O6() {
18338
+ function O9() {
18339
18339
  return c.union([
18340
18340
  dr(),
18341
18341
  G4(),
@@ -18366,7 +18366,7 @@ function O6() {
18366
18366
  Hi()
18367
18367
  ]);
18368
18368
  }
18369
- function C6() {
18369
+ function C9() {
18370
18370
  return c.union([
18371
18371
  as(),
18372
18372
  ht(),
@@ -18397,7 +18397,7 @@ function C6() {
18397
18397
  Il()
18398
18398
  ]);
18399
18399
  }
18400
- function w6() {
18400
+ function w9() {
18401
18401
  return c.union([
18402
18402
  _l(),
18403
18403
  ur(),
@@ -18414,7 +18414,7 @@ function w6() {
18414
18414
  qi()
18415
18415
  ]);
18416
18416
  }
18417
- function B6() {
18417
+ function B9() {
18418
18418
  return c.union([
18419
18419
  ds(),
18420
18420
  zn(),
@@ -20467,7 +20467,7 @@ function XU(n) {
20467
20467
  );
20468
20468
  return u.setParent(t), u.dataType = o, u;
20469
20469
  });
20470
- t.properties = I9(
20470
+ t.properties = I6(
20471
20471
  t.properties,
20472
20472
  i
20473
20473
  );
@@ -20544,7 +20544,7 @@ function P(n) {
20544
20544
  function sf(n) {
20545
20545
  return n.declaration || n;
20546
20546
  }
20547
- function _6(n) {
20547
+ function _9(n) {
20548
20548
  return n.type === r.VariableDeclaration ? n.parent === n.project ? "global-declaration" : "local-declaration" : n.declaration.parent === n.project ? "global-instance" : "local-instance";
20549
20549
  }
20550
20550
  function of(n, e) {
@@ -20563,12 +20563,12 @@ function of(n, e) {
20563
20563
  }
20564
20564
  return t;
20565
20565
  }
20566
- function M6(n) {
20566
+ function M9(n) {
20567
20567
  return n.replace(/(?:^\w|[A-Z]|\b\w)/g, function(e, t) {
20568
20568
  return t === 0 ? e.toLowerCase() : e.toUpperCase();
20569
20569
  }).replace(/\s+/g, "");
20570
20570
  }
20571
- function N6(n) {
20571
+ function N9(n) {
20572
20572
  return n.split(/\s+/).map(
20573
20573
  (i) => i[0].toUpperCase() + i.slice(1).toLowerCase()
20574
20574
  ).join("");
@@ -20613,7 +20613,7 @@ function e8(n) {
20613
20613
  n.declaration
20614
20614
  );
20615
20615
  }
20616
- function x6(n) {
20616
+ function x9(n) {
20617
20617
  return n.type === r.VariableInstance ? e8(n) : nr(n);
20618
20618
  }
20619
20619
  function t8(n) {
@@ -20732,9 +20732,9 @@ function lf(n) {
20732
20732
  return "Entity";
20733
20733
  }
20734
20734
  function cf(n) {
20735
- const e = E9(n);
20735
+ const e = E6(n);
20736
20736
  if (!e) {
20737
- const t = m9(n);
20737
+ const t = m6(n);
20738
20738
  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" : D(n, n.project) + " entity";
20739
20739
  }
20740
20740
  return D(e, n.project) + " entity";
@@ -21250,7 +21250,7 @@ Please provide a unique 'name' string.`,
21250
21250
  }
21251
21251
  return t;
21252
21252
  }
21253
- function $6(n, e) {
21253
+ function $9(n, e) {
21254
21254
  switch (n.type) {
21255
21255
  case r.CustomEntity:
21256
21256
  return lc(n, e);
@@ -25515,23 +25515,23 @@ class v8 {
25515
25515
  l(this, "initialData");
25516
25516
  }
25517
25517
  }
25518
- class V6 {
25518
+ class V9 {
25519
25519
  }
25520
- class G6 extends v8 {
25520
+ class G9 extends v8 {
25521
25521
  }
25522
- class L6 {
25522
+ class L9 {
25523
25523
  }
25524
- class F6 {
25524
+ class F9 {
25525
25525
  }
25526
- class U6 {
25526
+ class U9 {
25527
25527
  }
25528
25528
  class ff {
25529
25529
  }
25530
- class j6 extends ff {
25530
+ class j9 extends ff {
25531
25531
  }
25532
- class k6 extends ff {
25532
+ class k9 extends ff {
25533
25533
  }
25534
- class q6 {
25534
+ class q9 {
25535
25535
  }
25536
25536
  class fs {
25537
25537
  static initReadsValue(e) {
@@ -25573,7 +25573,7 @@ class ms {
25573
25573
  ]), e.writesValues;
25574
25574
  }
25575
25575
  }
25576
- class J6 {
25576
+ class J9 {
25577
25577
  }
25578
25578
  function g8(n) {
25579
25579
  var d;
@@ -29801,7 +29801,7 @@ l(se, "MUTABLE_DOWNSTREAM_PROPERTIES", ["defaultValue", "dynamicArguments"]), l(
29801
29801
  ...se.DOWNSTREAM_PROPERTIES
29802
29802
  ]);
29803
29803
  let Rn = se;
29804
- class W6 extends Rn {
29804
+ class W9 extends Rn {
29805
29805
  constructor(t, i) {
29806
29806
  super(t, i);
29807
29807
  // @ts-ignore
@@ -29814,7 +29814,7 @@ class W6 extends Rn {
29814
29814
  return super.toJSON();
29815
29815
  }
29816
29816
  }
29817
- class H6 extends Rn {
29817
+ class H9 extends Rn {
29818
29818
  constructor(t, i) {
29819
29819
  super(t, i);
29820
29820
  l(this, "name", null);
@@ -30232,7 +30232,7 @@ l(oe, "MUTABLE_DOWNSTREAM_PROPERTIES", ["writesValues"]), l(oe, "INMUTABLE_DOWNS
30232
30232
  ...oe.DOWNSTREAM_PROPERTIES
30233
30233
  ]);
30234
30234
  let bn = oe;
30235
- class Y6 extends bn {
30235
+ class Y9 extends bn {
30236
30236
  constructor(t, i) {
30237
30237
  super(t, i);
30238
30238
  // @ts-ignore
@@ -30245,7 +30245,7 @@ class Y6 extends bn {
30245
30245
  return super.toJSON();
30246
30246
  }
30247
30247
  }
30248
- class z6 extends bn {
30248
+ class z9 extends bn {
30249
30249
  constructor(t, i) {
30250
30250
  super(t, i);
30251
30251
  // @ts-ignore
@@ -33438,7 +33438,7 @@ l(de, "MUTABLE_DOWNSTREAM_PROPERTIES", ["dataType"]), l(de, "INMUTABLE_DOWNSTREA
33438
33438
  ...de.DOWNSTREAM_PROPERTIES
33439
33439
  ]);
33440
33440
  let Pr = de;
33441
- function Z6(n, e) {
33441
+ function Z9(n, e) {
33442
33442
  if (!n.type && !n.id)
33443
33443
  return {
33444
33444
  errors: [
@@ -33726,7 +33726,7 @@ And there are no upstream references that can be updated.` : `
33726
33726
  There are no upstream references that can be updated.`;
33727
33727
  return a;
33728
33728
  }
33729
- function X6(n, e) {
33729
+ function X9(n, e) {
33730
33730
  const t = [];
33731
33731
  let i = !1;
33732
33732
  if (Ai.includes(e.type) && t.push(
@@ -34131,7 +34131,7 @@ To modify '${d}', target the entity that it points to and its equivalent propert
34131
34131
  }
34132
34132
  return t;
34133
34133
  }
34134
- function Q6(n, e) {
34134
+ function Q9(n, e) {
34135
34135
  const t = [];
34136
34136
  if (!n.parent)
34137
34137
  return t;
@@ -34320,7 +34320,7 @@ All pass-through callable entities are: ${M(
34320
34320
  yn,
34321
34321
  ", ",
34322
34322
  " and "
34323
- )}.`, K6 = `Callable entities are entities that can be called by other entities. They can be called by an entry-point, a success caller, or an error caller.
34323
+ )}.`, K9 = `Callable entities are entities that can be called by other entities. They can be called by an entry-point, a success caller, or an error caller.
34324
34324
  All callable entity types are: ${M(
34325
34325
  Vn,
34326
34326
  ", ",
@@ -34861,7 +34861,7 @@ The new termination statement is redundant because both entities would be called
34861
34861
  (m) => m.scope !== e
34862
34862
  );
34863
34863
  if (f.length) {
34864
- const m = D9(
34864
+ const m = D6(
34865
34865
  f.map((R) => R.scope)
34866
34866
  );
34867
34867
  i.parent = m.id;
@@ -36716,10 +36716,10 @@ function uc(n, e) {
36716
36716
  last: i
36717
36717
  };
36718
36718
  }
36719
- function e9(n, e, t = /* @__PURE__ */ new Set()) {
36719
+ function e6(n, e, t = /* @__PURE__ */ new Set()) {
36720
36720
  const i = $n(n), a = $n(e), s = i.filter((u) => !a.includes(u)), o = i.filter((u) => a.includes(u)), d = s.reduce((u, y) => t.has(y.id) ? u : (t.add(y.id), A([
36721
36721
  ...u,
36722
- ...e9(y, e, t)
36722
+ ...e6(y, e, t)
36723
36723
  ])), []);
36724
36724
  return A([
36725
36725
  ...o,
@@ -36793,11 +36793,11 @@ function u3(n) {
36793
36793
  });
36794
36794
  return t.sort((s, o) => ba(o, s) ? -1 : 0), i.sort((s, o) => ba(o, s) ? -1 : 0), [...t, ...i, ...a];
36795
36795
  }
36796
- function t9(n) {
36796
+ function t6(n) {
36797
36797
  return [...n].sort((e, t) => ba(t, e) ? -1 : 0);
36798
36798
  }
36799
36799
  function p3(n) {
36800
- const e = t9(n), t = [];
36800
+ const e = t6(n), t = [];
36801
36801
  return e.forEach((i) => {
36802
36802
  const a = t[t.length - 1];
36803
36803
  if (a) {
@@ -36834,32 +36834,32 @@ function Pf(n) {
36834
36834
  function h3(n, e) {
36835
36835
  return Pf(n).includes(e);
36836
36836
  }
36837
- function n9(n) {
36837
+ function n6(n) {
36838
36838
  var e;
36839
36839
  return Ge.includes((e = n == null ? void 0 : n.readsValue) == null ? void 0 : e.type) ? n.readsValue : null;
36840
36840
  }
36841
36841
  function f3(n) {
36842
36842
  return n.writesValues;
36843
36843
  }
36844
- function r9(n = []) {
36845
- return n.map(n9).filter((e) => !!e);
36844
+ function r6(n = []) {
36845
+ return n.map(n6).filter((e) => !!e);
36846
36846
  }
36847
36847
  function no(n = []) {
36848
36848
  return n.map((e) => e.writesValues).flat().filter((e) => Ge.includes(e.type));
36849
36849
  }
36850
- function i9(n = []) {
36850
+ function i6(n = []) {
36851
36851
  return n.map((e) => e.readsValue).filter(
36852
36852
  (e) => !!e && Ge.includes(e.type)
36853
36853
  );
36854
36854
  }
36855
- function a9(n) {
36855
+ function a6(n) {
36856
36856
  return Ge.includes(n.type) ? n : null;
36857
36857
  }
36858
- function s9(n) {
36859
- return n.writesValues.map(a9).filter((e) => !!e);
36858
+ function s6(n) {
36859
+ return n.writesValues.map(a6).filter((e) => !!e);
36860
36860
  }
36861
- function o9(n = []) {
36862
- return n.reduce((e, t) => t.type === r.OutputMap ? [...e, ...s9(t)] : e, []);
36861
+ function o6(n = []) {
36862
+ return n.reduce((e, t) => t.type === r.OutputMap ? [...e, ...s6(t)] : e, []);
36863
36863
  }
36864
36864
  function _e(n) {
36865
36865
  return xe.includes(n.type) ? [
@@ -36879,12 +36879,12 @@ function _e(n) {
36879
36879
  )
36880
36880
  ) : [];
36881
36881
  }
36882
- function l9(n, e = /* @__PURE__ */ new Set()) {
36882
+ function l6(n, e = /* @__PURE__ */ new Set()) {
36883
36883
  return n.writesValues.filter(
36884
36884
  (i) => Ge.includes(i.type) && !e.has(i.id)
36885
36885
  ).reduce((i, a) => e.has(a.id) ? i : [...i, ...z(a, e)], []);
36886
36886
  }
36887
- function c9(n, e = /* @__PURE__ */ new Set()) {
36887
+ function c6(n, e = /* @__PURE__ */ new Set()) {
36888
36888
  var i;
36889
36889
  return (((i = n.readsValue) == null ? void 0 : i.writesValues) || []).filter(
36890
36890
  (a) => Ge.includes(a.type) && !e.has(a.id)
@@ -36894,7 +36894,7 @@ function z(n, e = /* @__PURE__ */ new Set()) {
36894
36894
  if (e.has(n.id))
36895
36895
  return [];
36896
36896
  if (n.type === r.ReturnStatement)
36897
- return i9(
36897
+ return i6(
36898
36898
  n.outputs
36899
36899
  ).reduce((i, a) => [...i, ...z(a, e)], []);
36900
36900
  if (n.type === r.FunctionCall || n.type === r.Operation || n.type === r.Condition)
@@ -36912,8 +36912,8 @@ function z(n, e = /* @__PURE__ */ new Set()) {
36912
36912
  },
36913
36913
  []
36914
36914
  ),
36915
- ...r9(n.inputs),
36916
- ...o9(n.outputs)
36915
+ ...r6(n.inputs),
36916
+ ...o6(n.outputs)
36917
36917
  ].reduce((s, o) => [...s, ...z(o, e)], []);
36918
36918
  if (Di.includes(n.type)) {
36919
36919
  const t = no(
@@ -36973,11 +36973,11 @@ function z(n, e = /* @__PURE__ */ new Set()) {
36973
36973
  return [
36974
36974
  n,
36975
36975
  ...i,
36976
- ...c9(
36976
+ ...c6(
36977
36977
  n,
36978
36978
  e
36979
36979
  ),
36980
- ...l9(
36980
+ ...l6(
36981
36981
  n,
36982
36982
  e
36983
36983
  )
@@ -36998,7 +36998,7 @@ function ar(n) {
36998
36998
  []
36999
36999
  );
37000
37000
  }
37001
- function d9(n) {
37001
+ function d6(n) {
37002
37002
  const e = n.entities || [], t = [
37003
37003
  ...e,
37004
37004
  ...n.functions || [],
@@ -37034,7 +37034,7 @@ function d9(n) {
37034
37034
  ...d
37035
37035
  ];
37036
37036
  }
37037
- function u9(n, e) {
37037
+ function u6(n, e) {
37038
37038
  return e.filter((i) => {
37039
37039
  if (!i)
37040
37040
  return !1;
@@ -37046,7 +37046,7 @@ function u9(n, e) {
37046
37046
  case r.Operation:
37047
37047
  return i.outputs.find((a) => a.id === n.id) !== void 0;
37048
37048
  case r.VariableDeclaration:
37049
- return xe.includes(n.type) ? p9(
37049
+ return xe.includes(n.type) ? p6(
37050
37050
  n
37051
37051
  ).find((s) => {
37052
37052
  var o;
@@ -37062,8 +37062,8 @@ function u9(n, e) {
37062
37062
  });
37063
37063
  }
37064
37064
  function m3(n) {
37065
- const e = d9(n.project);
37066
- return u9(n, e);
37065
+ const e = d6(n.project);
37066
+ return u6(n, e);
37067
37067
  }
37068
37068
  function Xr(n) {
37069
37069
  const e = [];
@@ -37098,7 +37098,7 @@ function Df(n) {
37098
37098
  function T3(n, e) {
37099
37099
  return e.type === r.Condition ? e.inputs.find((t) => t.declaration.id === n.id) : e.type === r.FunctionCall || e.type === r.Operation ? e.inputs.find((t) => t.declaration.id === n.id) : null;
37100
37100
  }
37101
- function p9(n) {
37101
+ function p6(n) {
37102
37102
  return xe.includes(n.type) ? n.inputs : [];
37103
37103
  }
37104
37104
  function Af(n) {
@@ -37117,7 +37117,7 @@ function Wc(n) {
37117
37117
  const e = n.readsValue;
37118
37118
  return e ? He(e) : null;
37119
37119
  }
37120
- function y9(n) {
37120
+ function y6(n) {
37121
37121
  const e = n.internalCalls || [];
37122
37122
  return A(
37123
37123
  xt(
@@ -37209,7 +37209,7 @@ function $n(n, e = !1) {
37209
37209
  if (Ge.includes(n.type)) {
37210
37210
  const i = Kr(
37211
37211
  n
37212
- ), a = y9(n);
37212
+ ), a = y6(n);
37213
37213
  t.push(
37214
37214
  ...i,
37215
37215
  ...a
@@ -37250,7 +37250,7 @@ function $n(n, e = !1) {
37250
37250
  t
37251
37251
  );
37252
37252
  }
37253
- function h9(n, e = !1) {
37253
+ function h6(n, e = !1) {
37254
37254
  const t = $n(
37255
37255
  n,
37256
37256
  e
@@ -37258,15 +37258,15 @@ function h9(n, e = !1) {
37258
37258
  ...t,
37259
37259
  ...t.reduce((a, s) => [
37260
37260
  ...a,
37261
- ...h9(s, e)
37261
+ ...h6(s, e)
37262
37262
  ], [])
37263
37263
  ];
37264
37264
  return A(i);
37265
37265
  }
37266
- function f9(n) {
37266
+ function f6(n) {
37267
37267
  const e = Xr(n), t = [
37268
37268
  ...e,
37269
- ...e.reduce((i, a) => [...i, ...f9(a)], [])
37269
+ ...e.reduce((i, a) => [...i, ...f6(a)], [])
37270
37270
  ];
37271
37271
  return A(t);
37272
37272
  }
@@ -37302,13 +37302,13 @@ function Of(n) {
37302
37302
  ...Sf(t)
37303
37303
  ] : [...e, t], []);
37304
37304
  }
37305
- function m9(n) {
37305
+ function m6(n) {
37306
37306
  return [
37307
37307
  ...yc(n),
37308
37308
  ...pc(n)
37309
37309
  ].filter((t, i, a) => a.indexOf(t) === i);
37310
37310
  }
37311
- function T9(n) {
37311
+ function T6(n) {
37312
37312
  return n.implements.length === 0 && n.extends.length === 0 ? null : n.implements.find(
37313
37313
  (i) => i.type === r.BuiltInBaseEntity && i.name === _.PERSISTED_ENTITY
37314
37314
  ) ? n : [
@@ -37317,7 +37317,7 @@ function T9(n) {
37317
37317
  ].reduce(
37318
37318
  (i, a) => {
37319
37319
  if (a.type === r.CustomEntity) {
37320
- const s = T9(
37320
+ const s = T6(
37321
37321
  a
37322
37322
  );
37323
37323
  if (s)
@@ -37341,7 +37341,7 @@ function v3(n) {
37341
37341
  );
37342
37342
  return e && e.type === r.BuiltInBaseEntity ? e : null;
37343
37343
  }
37344
- function E9(n) {
37344
+ function E6(n) {
37345
37345
  const e = n.extends.find(
37346
37346
  (t) => t.type === r.CustomEntity
37347
37347
  );
@@ -37368,7 +37368,7 @@ function g3(n) {
37368
37368
  function wf(n) {
37369
37369
  return n.parent !== n.project ? !1 : r.VariableDeclaration === n.type ? n.project.variableDeclarations.includes(n) : r.VariableInstance === n.type ? n.project.variableInstances.includes(n) : r.FunctionCall === n.type ? n.project.functionCalls.includes(n) : r.Condition === n.type ? n.project.conditions.includes(n) : r.Operation === n.type ? n.project.operations.includes(n) : r.Loop === n.type ? n.project.loops.includes(n) : r.Search === n.type ? n.project.searches.includes(n) : !1;
37370
37370
  }
37371
- function R9(n) {
37371
+ function R6(n) {
37372
37372
  if ([
37373
37373
  ...$e,
37374
37374
  r.CustomEntity,
@@ -37379,7 +37379,7 @@ function R9(n) {
37379
37379
  ))
37380
37380
  return !1;
37381
37381
  const e = Xr(n);
37382
- return e.length === 0 ? !0 : e.some((t) => R9(t));
37382
+ return e.length === 0 ? !0 : e.some((t) => R6(t));
37383
37383
  }
37384
37384
  function Bf(n) {
37385
37385
  return [
@@ -37391,31 +37391,31 @@ function Bf(n) {
37391
37391
  n
37392
37392
  ) ? !1 : Xr(n).length === 0;
37393
37393
  }
37394
- function b9(n, e = 0) {
37394
+ function b6(n, e = 0) {
37395
37395
  if (Bf(n)) {
37396
37396
  const t = Xr(n);
37397
- return t.length === 0 ? n : t.map((a) => b9(a, e + 1)).reduce((a, s) => a ? s && s.x < a.x ? s : a : s, null);
37397
+ return t.length === 0 ? n : t.map((a) => b6(a, e + 1)).reduce((a, s) => a ? s && s.x < a.x ? s : a : s, null);
37398
37398
  }
37399
37399
  return null;
37400
37400
  }
37401
- function v9(n) {
37401
+ function v6(n) {
37402
37402
  const e = [];
37403
37403
  if (Bf(n))
37404
37404
  e.push(n);
37405
37405
  else
37406
37406
  return [];
37407
37407
  return Xr(n).forEach((i) => {
37408
- e.push(...v9(i));
37408
+ e.push(...v6(i));
37409
37409
  }), e;
37410
37410
  }
37411
- function g9(n) {
37411
+ function g6(n) {
37412
37412
  return n.type === r.FunctionDeclaration && n.parent !== n.project && !![
37413
37413
  r.CustomEntity,
37414
37414
  r.Loop,
37415
37415
  r.InstalledProject
37416
37416
  ].includes(n.parent.type);
37417
37417
  }
37418
- function I9(n, e) {
37418
+ function I6(n, e) {
37419
37419
  const t = /* @__PURE__ */ new Map();
37420
37420
  return n.forEach((i) => {
37421
37421
  t.set(i.id, i);
@@ -37561,7 +37561,7 @@ function va(n, e, t) {
37561
37561
  commonAncestorScope: t
37562
37562
  };
37563
37563
  }
37564
- function P9(n, e, t) {
37564
+ function P6(n, e, t) {
37565
37565
  const i = va(
37566
37566
  n,
37567
37567
  e,
@@ -37615,9 +37615,9 @@ function P9(n, e, t) {
37615
37615
  }
37616
37616
  return null;
37617
37617
  }
37618
- function D9(n) {
37618
+ function D6(n) {
37619
37619
  return n.length === 0 ? null : n.length === 1 ? n[0] : n.reduce((t, i) => {
37620
- const a = P9(t, i, i.project);
37620
+ const a = P6(t, i, i.project);
37621
37621
  return !a || a === i ? t : i;
37622
37622
  }, n[0]);
37623
37623
  }
@@ -37697,7 +37697,7 @@ function Mf(n) {
37697
37697
  };
37698
37698
  }
37699
37699
  function I3(n) {
37700
- return zc.includes(n.type) ? n.type === r.FunctionDeclaration ? !g9(n) : !0 : !1;
37700
+ return zc.includes(n.type) ? n.type === r.FunctionDeclaration ? !g6(n) : !0 : !1;
37701
37701
  }
37702
37702
  function P3(n) {
37703
37703
  if (r.ActionDescriptor === n.type) {
@@ -37720,7 +37720,7 @@ function P3(n) {
37720
37720
  }
37721
37721
  return n.type;
37722
37722
  }
37723
- function A9(n, e) {
37723
+ function A6(n, e) {
37724
37724
  const t = [];
37725
37725
  if (n.parent)
37726
37726
  if (n.id === n.parent)
@@ -37916,7 +37916,7 @@ const ue = class ue {
37916
37916
  let i = JSON.parse(
37917
37917
  JSON.stringify(e)
37918
37918
  );
37919
- const a = [], s = A9(i, t), o = lc(i, t);
37919
+ const a = [], s = A6(i, t), o = lc(i, t);
37920
37920
  a.push(
37921
37921
  ...s,
37922
37922
  ...o,
@@ -38373,7 +38373,7 @@ l(ue, "MUTABLE_DOWNSTREAM_PROPERTIES", [
38373
38373
  ...ue.DOWNSTREAM_PROPERTIES
38374
38374
  ]);
38375
38375
  let Ar = ue;
38376
- function S9(n) {
38376
+ function S6(n) {
38377
38377
  const e = _G(), t = n.toJSON();
38378
38378
  e.safeParse(t).success;
38379
38379
  const a = [];
@@ -38552,7 +38552,7 @@ class _t {
38552
38552
  return this.errors = [], this.properties.forEach((e) => e.clearErrors()), this.methods.forEach((e) => e.clearErrors()), this.abstractMethods.forEach((e) => e.clearErrors()), this;
38553
38553
  }
38554
38554
  validate() {
38555
- const e = S9(this);
38555
+ const e = S6(this);
38556
38556
  return this.errors = e, { success: !0, error: null, data: this.toJSON() };
38557
38557
  }
38558
38558
  // Returns the errors of this entity and all its nested entities recursively
@@ -38572,7 +38572,7 @@ class _t {
38572
38572
  return new _t(this.toJSON(), this.project);
38573
38573
  }
38574
38574
  }
38575
- function O9(n) {
38575
+ function O6(n) {
38576
38576
  const e = UG(), t = n.toJSON();
38577
38577
  e.safeParse(t).success;
38578
38578
  const a = [];
@@ -38772,7 +38772,7 @@ class Ft {
38772
38772
  return this.errors = [], this.properties.forEach((e) => e.clearErrors()), this.methods.forEach((e) => e.clearErrors()), this.abstractMethods.forEach((e) => e.clearErrors()), this;
38773
38773
  }
38774
38774
  validate() {
38775
- const e = O9(this);
38775
+ const e = O6(this);
38776
38776
  return this.errors = e, { success: !0, error: null, data: this.toJSON() };
38777
38777
  }
38778
38778
  // Returns the errors of this entity and all its nested entities recursively
@@ -38957,7 +38957,7 @@ function D3(n, e) {
38957
38957
  throw new Error("Invalid entity type: " + n.type);
38958
38958
  }
38959
38959
  }
38960
- const Y = class Y {
38960
+ const H = class H {
38961
38961
  // values: PrimitiveValueState[] = [];
38962
38962
  constructor(e) {
38963
38963
  l(this, "initialData");
@@ -39003,10 +39003,19 @@ const Y = class Y {
39003
39003
  l(this, "errors", []);
39004
39004
  // Deffered references to other entities
39005
39005
  l(this, "references", []);
39006
- this.initialData = e, this.id = e.id, this.version = e.version, this.name = e.name, this.description = e.description, this.x = 0, this.y = 0, Y.UUID = cn == null ? void 0 : cn();
39006
+ this.initialData = e, this.id = e.id, this.version = e.version, this.name = e.name, this.description = e.description, this.x = 0, this.y = 0;
39007
+ try {
39008
+ H.UUID = cn == null ? void 0 : cn();
39009
+ } catch (t) {
39010
+ console.error("Error initializing UUID module", t), H.UUID = {
39011
+ // Generate a 32 character UUID
39012
+ uuid: () => Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15),
39013
+ fromUUID: (i) => i
39014
+ };
39015
+ }
39007
39016
  }
39008
39017
  static injectUUIDModule(e) {
39009
- Y.UUID = e;
39018
+ H.UUID = e;
39010
39019
  }
39011
39020
  // Validates the entity payload after generation and returns any errors
39012
39021
  static validateGenerationTarget(e, t) {
@@ -39305,7 +39314,7 @@ const Y = class Y {
39305
39314
  }
39306
39315
  toReference() {
39307
39316
  return {
39308
- id: this.id + "--" + Y.UUID.uuid() + "--ref",
39317
+ id: this.id + "--" + H.UUID.uuid() + "--ref",
39309
39318
  type: r.GenericReference,
39310
39319
  entityId: this.id,
39311
39320
  entityType: this.type
@@ -39439,7 +39448,7 @@ const Y = class Y {
39439
39448
  return this.errors;
39440
39449
  }
39441
39450
  clone() {
39442
- return new Y(this.toJSON());
39451
+ return new H(this.toJSON());
39443
39452
  }
39444
39453
  getCustomEntity(e) {
39445
39454
  return this.entities.find((t) => t.id === e) || null;
@@ -39900,33 +39909,33 @@ const Y = class Y {
39900
39909
  }
39901
39910
  };
39902
39911
  // The module to be used by all project state logic to generate UUIDs
39903
- l(Y, "UUID", cn == null ? void 0 : cn()), l(Y, "MUTABLE_BASE_PROPERTIES", ["name", "description"]), l(Y, "INMUTABLE_BASE_PROPERTIES", ["id", "type", "version"]), l(Y, "BASE_PROPERTIES", [
39904
- ...Y.MUTABLE_BASE_PROPERTIES,
39905
- ...Y.INMUTABLE_BASE_PROPERTIES
39912
+ l(H, "UUID", cn == null ? void 0 : cn()), l(H, "MUTABLE_BASE_PROPERTIES", ["name", "description"]), l(H, "INMUTABLE_BASE_PROPERTIES", ["id", "type", "version"]), l(H, "BASE_PROPERTIES", [
39913
+ ...H.MUTABLE_BASE_PROPERTIES,
39914
+ ...H.INMUTABLE_BASE_PROPERTIES
39906
39915
  ]), // Includes the base properties and the meta properties
39907
39916
  // Often contains properties related to UX, not necessary for the logic
39908
- l(Y, "MUTABLE_META_PROPERTIES", [
39909
- ...Y.MUTABLE_BASE_PROPERTIES,
39917
+ l(H, "MUTABLE_META_PROPERTIES", [
39918
+ ...H.MUTABLE_BASE_PROPERTIES,
39910
39919
  "x",
39911
39920
  "y"
39912
- ]), l(Y, "INMUTABLE_META_PROPERTIES", [
39913
- ...Y.INMUTABLE_BASE_PROPERTIES
39914
- ]), l(Y, "META_PROPERTIES", [
39915
- ...Y.MUTABLE_META_PROPERTIES,
39916
- ...Y.INMUTABLE_META_PROPERTIES
39921
+ ]), l(H, "INMUTABLE_META_PROPERTIES", [
39922
+ ...H.INMUTABLE_BASE_PROPERTIES
39923
+ ]), l(H, "META_PROPERTIES", [
39924
+ ...H.MUTABLE_META_PROPERTIES,
39925
+ ...H.INMUTABLE_META_PROPERTIES
39917
39926
  ]), // Properties pointing to nested entities that are declared before the entity itself
39918
- l(Y, "MUTABLE_UPSTREAM_PROPERTIES", []), l(Y, "INMUTABLE_UPSTREAM_PROPERTIES", [
39927
+ l(H, "MUTABLE_UPSTREAM_PROPERTIES", []), l(H, "INMUTABLE_UPSTREAM_PROPERTIES", [
39919
39928
  "primitives",
39920
39929
  "builtInBaseEntities",
39921
39930
  "operationDeclarations",
39922
39931
  "globalEventActionDescriptors",
39923
39932
  "loopDeclarations",
39924
39933
  "builtInInstances"
39925
- ]), l(Y, "UPSTREAM_PROPERTIES", [
39926
- ...Y.MUTABLE_UPSTREAM_PROPERTIES,
39927
- ...Y.INMUTABLE_UPSTREAM_PROPERTIES
39934
+ ]), l(H, "UPSTREAM_PROPERTIES", [
39935
+ ...H.MUTABLE_UPSTREAM_PROPERTIES,
39936
+ ...H.INMUTABLE_UPSTREAM_PROPERTIES
39928
39937
  ]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
39929
- l(Y, "MUTABLE_DOWNSTREAM_PROPERTIES", [
39938
+ l(H, "MUTABLE_DOWNSTREAM_PROPERTIES", [
39930
39939
  "entities",
39931
39940
  "projects",
39932
39941
  "functions",
@@ -39938,16 +39947,16 @@ l(Y, "MUTABLE_DOWNSTREAM_PROPERTIES", [
39938
39947
  "functionCalls",
39939
39948
  "loops",
39940
39949
  "searches"
39941
- ]), l(Y, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), l(Y, "DOWNSTREAM_PROPERTIES", [
39942
- ...Y.MUTABLE_DOWNSTREAM_PROPERTIES,
39943
- ...Y.INMUTABLE_DOWNSTREAM_PROPERTIES
39944
- ]), l(Y, "PROPERTIES", [
39945
- ...Y.META_PROPERTIES,
39946
- ...Y.UPSTREAM_PROPERTIES,
39947
- ...Y.DOWNSTREAM_PROPERTIES
39950
+ ]), l(H, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), l(H, "DOWNSTREAM_PROPERTIES", [
39951
+ ...H.MUTABLE_DOWNSTREAM_PROPERTIES,
39952
+ ...H.INMUTABLE_DOWNSTREAM_PROPERTIES
39953
+ ]), l(H, "PROPERTIES", [
39954
+ ...H.META_PROPERTIES,
39955
+ ...H.UPSTREAM_PROPERTIES,
39956
+ ...H.DOWNSTREAM_PROPERTIES
39948
39957
  ]);
39949
- let x = Y;
39950
- class C9 extends Me {
39958
+ let x = H;
39959
+ class C6 extends Me {
39951
39960
  constructor(t) {
39952
39961
  super(Lt, t);
39953
39962
  l(this, "id", Ie.Parallel);
@@ -40000,7 +40009,7 @@ class C9 extends Me {
40000
40009
  // // return [result];
40001
40010
  // };
40002
40011
  }
40003
- class w9 extends Me {
40012
+ class w6 extends Me {
40004
40013
  constructor(t) {
40005
40014
  super(ct, t);
40006
40015
  l(this, "id", ct.id);
@@ -40048,7 +40057,7 @@ class w9 extends Me {
40048
40057
  // return [result];
40049
40058
  // };
40050
40059
  }
40051
- class B9 extends Me {
40060
+ class B6 extends Me {
40052
40061
  constructor(t) {
40053
40062
  super(ln, t);
40054
40063
  l(this, "id", Ie.Sequential);
@@ -40098,11 +40107,11 @@ class B9 extends Me {
40098
40107
  // return [results];
40099
40108
  // };
40100
40109
  }
40101
- function _9(n) {
40110
+ function _6(n) {
40102
40111
  const e = [
40103
- new B9(n),
40104
- new C9(n),
40105
- new w9(n),
40112
+ new B6(n),
40113
+ new C6(n),
40114
+ new w6(n),
40106
40115
  new Me(Da, n),
40107
40116
  new Me(Oi, n),
40108
40117
  new Me(Cr, n),
@@ -40117,7 +40126,7 @@ function _9(n) {
40117
40126
  t.initChildren(), n.subscribeBuiltInInstance(t);
40118
40127
  }), n.operationDeclarations = e, e;
40119
40128
  }
40120
- class M9 extends Ft {
40129
+ class M6 extends Ft {
40121
40130
  constructor(t) {
40122
40131
  super(Oe, t);
40123
40132
  l(this, "initialData");
@@ -40157,9 +40166,9 @@ class M9 extends Ft {
40157
40166
  }), this.extends = this.initialData.extends.map((i) => E(i, this.project));
40158
40167
  }
40159
40168
  }
40160
- function N9(n) {
40169
+ function N6(n) {
40161
40170
  const e = [
40162
- new M9(n),
40171
+ new M6(n),
40163
40172
  new Ft(To, n),
40164
40173
  new Ft(Ln, n),
40165
40174
  new Ft(Id, n),
@@ -40169,7 +40178,7 @@ function N9(n) {
40169
40178
  n.subscribeBuiltInInstance(t);
40170
40179
  }), n.builtInBaseEntities = e, e;
40171
40180
  }
40172
- function x9(n) {
40181
+ function x6(n) {
40173
40182
  const e = [
40174
40183
  new _t(L, n),
40175
40184
  new _t(Sr, n),
@@ -40184,7 +40193,7 @@ function x9(n) {
40184
40193
  n.subscribeBuiltInInstance(t);
40185
40194
  }), n.primitives = e, e;
40186
40195
  }
40187
- function $9(n) {
40196
+ function $6(n) {
40188
40197
  const e = [
40189
40198
  new Me(go, n)
40190
40199
  ];
@@ -40192,7 +40201,7 @@ function $9(n) {
40192
40201
  t.initChildren(), n.subscribeBuiltInInstance(t);
40193
40202
  }), n.globalEventActionDescriptors = e, e;
40194
40203
  }
40195
- function V9(n) {
40204
+ function V6(n) {
40196
40205
  const e = [
40197
40206
  new Me(wr, n),
40198
40207
  new Me(fd, n)
@@ -40201,7 +40210,7 @@ function V9(n) {
40201
40210
  t.initChildren(), n.subscribeBuiltInInstance(t);
40202
40211
  }), n.loopDeclarations = e, e;
40203
40212
  }
40204
- function G9(n) {
40213
+ function G6(n) {
40205
40214
  const e = [
40206
40215
  new Pr(Sd, n)
40207
40216
  ];
@@ -40209,7 +40218,7 @@ function G9(n) {
40209
40218
  t.initChildren(), n.subscribeBuiltInInstance(t);
40210
40219
  }), n.valueDescriptors = e, e;
40211
40220
  }
40212
- function L9(n) {
40221
+ function L6(n) {
40213
40222
  const e = [
40214
40223
  new Me(Br, n),
40215
40224
  new Me(Bi, n)
@@ -40219,7 +40228,7 @@ function L9(n) {
40219
40228
  }), n.conditionDeclarations = e, e;
40220
40229
  }
40221
40230
  const rr = {}, ta = {};
40222
- async function F9(n, e = {}) {
40231
+ async function F6(n, e = {}) {
40223
40232
  const t = {
40224
40233
  ...yG
40225
40234
  };
@@ -40244,9 +40253,9 @@ async function F9(n, e = {}) {
40244
40253
  }
40245
40254
  } : { data: t };
40246
40255
  }
40247
- function U9(n) {
40256
+ function U6(n) {
40248
40257
  const e = new x(n);
40249
- return x9(e), N9(e), _9(e), $9(e), V9(e), G9(e), L9(e), e.initChildren(), e;
40258
+ return x6(e), N6(e), _6(e), $6(e), V6(e), G6(e), L6(e), e.initChildren(), e;
40250
40259
  }
40251
40260
  async function A3(n, e = {}) {
40252
40261
  try {
@@ -40254,11 +40263,11 @@ async function A3(n, e = {}) {
40254
40263
  return rr[n.id];
40255
40264
  if (n.id && ta[n.id])
40256
40265
  return await ta[n.id], rr[n.id];
40257
- const t = F9(n, e);
40266
+ const t = F6(n, e);
40258
40267
  n.id && (ta[n.id] = t);
40259
40268
  const i = await t;
40260
40269
  if (i.data) {
40261
- const a = U9(i.data);
40270
+ const a = U6(i.data);
40262
40271
  return rr[n.id] = a, n.id && delete ta[n.id], a;
40263
40272
  }
40264
40273
  return null;
@@ -40274,32 +40283,32 @@ export {
40274
40283
  Jc as AI_VALUE_CONNECTION_GENERATION_ACTION_EXPLANATION,
40275
40284
  Me as ActionDescriptorState,
40276
40285
  V as ActionDescriptorValuesType,
40277
- H6 as ActionInputMapState,
40278
- z6 as ActionOutputMapState,
40286
+ H9 as ActionInputMapState,
40287
+ z9 as ActionOutputMapState,
40279
40288
  uT as AppendToListOperationInputIds,
40280
40289
  pT as AppendToListOperationOutputIds,
40281
40290
  gr as ArgumentDeclarationState,
40282
40291
  kc as BREAK_AND_CONTINUE_STATEMENTS_RETURN_DECLARATIONS_EXPLANATION,
40283
40292
  Ne as BUILT_IN_BASE_ENTITY_IDS,
40284
40293
  Ai as BUILT_IN_ENTITY_TYPES,
40285
- L6 as BaseCanvasDraggableState,
40294
+ L9 as BaseCanvasDraggableState,
40286
40295
  _ as BaseEntityNames,
40287
- G6 as BaseState,
40296
+ G9 as BaseState,
40288
40297
  dd as BaseValueDescriptorIds,
40289
40298
  Pi as BreakStatementState,
40290
40299
  Ft as BuiltInBaseEntityState,
40291
40300
  rr as CACHED_PROJECTS_BY_ID,
40292
- K6 as CALLABLE_ENTITIES_EXPLANATION,
40301
+ K9 as CALLABLE_ENTITIES_EXPLANATION,
40293
40302
  Vn as CALLABLE_TYPES,
40294
40303
  U8 as CALLER_ENTITIES_EXPLANATION,
40295
40304
  yn as CALLER_TYPES,
40296
40305
  On as CALLS_UPDATE_EXPLANATION,
40297
40306
  fv as COMPARISON_CONDITIONS,
40298
- s6 as CONDITIONS,
40307
+ s9 as CONDITIONS,
40299
40308
  AE as CUSTOM_ENTITY_OPERATIONS,
40300
- U6 as CallableEntityClass,
40309
+ U9 as CallableEntityClass,
40301
40310
  ff as CallerEntityClass,
40302
- F6 as ChildEntityState,
40311
+ F9 as ChildEntityState,
40303
40312
  Ae as ComparisonOperatorTypes,
40304
40313
  Tr as ConditionState,
40305
40314
  dt as ContinueStatementState,
@@ -40309,20 +40318,20 @@ export {
40309
40318
  Yc as DRAGGABLE_CALLABLE_TYPES,
40310
40319
  Gf as DRAGGABLE_CALLER_TYPES,
40311
40320
  zc as DRAGGABLE_ELEMENT_TYPES,
40312
- H9 as DRAGGABLE_EXECUTABLE_TYPES,
40321
+ H6 as DRAGGABLE_EXECUTABLE_TYPES,
40313
40322
  Hc as DRAGGABLE_PASS_THROUGH_CALLABLE_TYPES,
40314
40323
  wt as DataTypeCompatibilityTypes,
40315
40324
  Je as DataTypeParentChildRelation,
40316
40325
  bi as DataTypeState,
40317
40326
  to as ENTITIES_WITH_VALLUES_EXPLANATION,
40318
- Y9 as ENTITY_TYPES,
40327
+ Y6 as ENTITY_TYPES,
40319
40328
  Tt as ENTITY_WITH_LOGIC_SCOPE_TYPES,
40320
40329
  Lf as ENTITY_WITH_NAMES_TYPES,
40321
40330
  Vf as ENTITY_WITH_VALUE_TYPES,
40322
40331
  Ts as ENTRY_POINT_ENTITIES_EXPLANATION,
40323
40332
  $e as ENTRY_POINT_TYPES,
40324
40333
  Di as EVENT_TYPES,
40325
- W9 as EXECUTABLE_TYPES,
40334
+ W6 as EXECUTABLE_TYPES,
40326
40335
  tE as EXECUTION_OPERATIONS,
40327
40336
  cr as EntityError,
40328
40337
  h as EntityErrorSeverity,
@@ -40331,13 +40340,13 @@ export {
40331
40340
  S as EntityInstanceErrorCode,
40332
40341
  nt as EntityOperations,
40333
40342
  r as EntityType,
40334
- J6 as EntityWithLogicScopeClass,
40335
- q6 as EntityWithValueClass,
40336
- j6 as EntryPointEntityClass,
40343
+ J9 as EntityWithLogicScopeClass,
40344
+ q9 as EntityWithValueClass,
40345
+ j9 as EntryPointEntityClass,
40337
40346
  Ie as ExecutionOperations,
40338
40347
  Dr as FunctionCallState,
40339
40348
  hr as FunctionDeclarationState,
40340
- o6 as GLOBAL_EVENT_DECLARATIONS,
40349
+ o9 as GLOBAL_EVENT_DECLARATIONS,
40341
40350
  Km as GetLastInListOperationInputIds,
40342
40351
  eT as GetLastInListOperationOutputIds,
40343
40352
  pn as GlobalEventNames,
@@ -40360,7 +40369,7 @@ export {
40360
40369
  Jf as NumberAdditionOperationInputIds,
40361
40370
  Wf as NumberAdditionOperationOutputIds,
40362
40371
  ut as NumberOperations,
40363
- Z9 as OPERATION_DECLARATIONS,
40372
+ Z6 as OPERATION_DECLARATIONS,
40364
40373
  fr as OperationState,
40365
40374
  $f as OutputMapParentChildRelation,
40366
40375
  bn as OutputMapState,
@@ -40368,11 +40377,11 @@ export {
40368
40377
  Nn as PASS_THROUGH_CALLABLE_ENTITIES_EXPLANATION,
40369
40378
  xe as PASS_THROUGH_CALLABLE_TYPES,
40370
40379
  Rf as PROPERTY_NOT_VALUE_READER_WRITTER_EXPLANATION,
40371
- C9 as ParallelExecutionOperation,
40380
+ C6 as ParallelExecutionOperation,
40372
40381
  AT as ParallelExecutionOperationInputIds,
40373
40382
  ST as ParallelExecutionOperationOutputIds,
40374
- k6 as PassThroughCallableEntityClass,
40375
- M9 as PersistedEntity,
40383
+ k9 as PassThroughCallableEntityClass,
40384
+ M6 as PersistedEntity,
40376
40385
  At as PersistedEntityMethods,
40377
40386
  _t as PrimitiveEntityState,
40378
40387
  v as PrimitiveTypes,
@@ -40386,7 +40395,7 @@ export {
40386
40395
  Em as STRING_OPERATIONS,
40387
40396
  io as ScopeCompatibilityType,
40388
40397
  br as SearchState,
40389
- B9 as SequentialExecutionOperation,
40398
+ B6 as SequentialExecutionOperation,
40390
40399
  qT as SequentialExecutionOperationInputIds,
40391
40400
  JT as SequentialExecutionOperationOutputIds,
40392
40401
  b as SharedEntityErrorCode,
@@ -40396,8 +40405,8 @@ export {
40396
40405
  $t as StandaloneOperatorTypes,
40397
40406
  ge as StringOperations,
40398
40407
  Se as TERMINATION_TYPES,
40399
- z9 as USER_MANAGED_ENTITY_TYPES,
40400
- V6 as UserManagedEntityStateFunctionality,
40408
+ z6 as USER_MANAGED_ENTITY_TYPES,
40409
+ V9 as UserManagedEntityStateFunctionality,
40401
40410
  Ef as VALUE_READING_ENTITIES_EXPLANATION,
40402
40411
  Cn as VALUE_READING_TYPES,
40403
40412
  j8 as VALUE_WRITING_ENTITIES_EXPLANATION,
@@ -40412,14 +40421,14 @@ export {
40412
40421
  fs as ValueReadingEntityClass,
40413
40422
  ms as ValueWritingEntityClass,
40414
40423
  Er as VariableDeclarationState,
40415
- W6 as VariableInputMapState,
40424
+ W9 as VariableInputMapState,
40416
40425
  Rr as VariableInstanceState,
40417
- Y6 as VariableOutputMapState,
40418
- w9 as WaitOperation,
40426
+ Y9 as VariableOutputMapState,
40427
+ w6 as WaitOperation,
40419
40428
  VT as WaitOperationInputIds,
40420
40429
  GT as WaitOperationOutputIds,
40421
- q9 as _VALUE_READING_TYPES,
40422
- J9 as _VALUE_WRITING_TYPES,
40430
+ q6 as _VALUE_READING_TYPES,
40431
+ J6 as _VALUE_WRITING_TYPES,
40423
40432
  co as appendToListOperation,
40424
40433
  ad as appendToListOperationElementToAppendArgument,
40425
40434
  bT as appendToListOperationElementToAppendArgumentParentRef,
@@ -40458,11 +40467,11 @@ export {
40458
40467
  l3 as checkIsBranchDependentOnBranch,
40459
40468
  Mf as checkIsCallableEntityReachable,
40460
40469
  I3 as checkIsCanvasEntity,
40461
- R9 as checkIsDetachedBranch,
40470
+ R6 as checkIsDetachedBranch,
40462
40471
  Bf as checkIsDetachedBranchShallow,
40463
40472
  g3 as checkIsGlobalVariable,
40464
40473
  wf as checkIsGloballyDeclared,
40465
- g9 as checkIsMethod,
40474
+ g6 as checkIsMethod,
40466
40475
  ro as checkIsNestedScope,
40467
40476
  va as checkScopeCompatibility,
40468
40477
  j as createEntityError,
@@ -40481,7 +40490,7 @@ export {
40481
40490
  E as createStateFromTypeAndSubscribe,
40482
40491
  Id as cronJobBuiltInBaseEntity,
40483
40492
  av as cronJobBuiltInBaseEntityExpressionProperty,
40484
- a6 as cronJobBuiltInBaseEntityExpressionPropertyDataTypeRef,
40493
+ a9 as cronJobBuiltInBaseEntityExpressionPropertyDataTypeRef,
40485
40494
  nv as cronJobBuiltInBaseEntityExpressionPropertyRef,
40486
40495
  iv as cronJobBuiltInBaseEntityRef,
40487
40496
  vd as cronJobTriggeredFunctionDeclarationBlueprint,
@@ -40553,27 +40562,27 @@ export {
40553
40562
  Pd as executionBuiltInEntityAbortMethod,
40554
40563
  sv as executionBuiltInEntityAbortMethodParentRef,
40555
40564
  A as filterOutDuplicateEntities,
40556
- c6 as filterOutDuplicateErrors,
40557
- u9 as findReferenceToSelfInList,
40565
+ c9 as filterOutDuplicateErrors,
40566
+ u6 as findReferenceToSelfInList,
40558
40567
  m3 as findReferencesToSelfInProject,
40559
40568
  ar as flattenCalls,
40560
40569
  uc as flattenCanvasAncestorsUntil,
40561
- m9 as flattenCustomEntityExtensionAndImplementationTypes,
40570
+ m6 as flattenCustomEntityExtensionAndImplementationTypes,
40562
40571
  yc as flattenCustomEntityExtensionTypes,
40563
40572
  Sf as flattenCustomEntityExtensions,
40564
40573
  Of as flattenCustomEntityImplementations,
40565
40574
  pc as flattenCustomEntityImplementionTypes,
40566
40575
  bt as flattenDerivedCanvasEntities,
40567
- v9 as flattenDetachedBranch,
40576
+ v6 as flattenDetachedBranch,
40568
40577
  _e as flattenElementCalls,
40569
- d9 as flattenProjectElements,
40570
- f9 as flattenRelatedCanvasElementsOnTheLeft,
40571
- h9 as flattenRelatedCanvasElementsOnTheRight,
40572
- c9 as flattenVariableReads,
40573
- l9 as flattenVariableWrites,
40578
+ d6 as flattenProjectElements,
40579
+ f6 as flattenRelatedCanvasElementsOnTheLeft,
40580
+ h6 as flattenRelatedCanvasElementsOnTheRight,
40581
+ c6 as flattenVariableReads,
40582
+ l6 as flattenVariableWrites,
40574
40583
  z as flattenVariables,
40575
40584
  mf as fromZodParseToEntityGenerationErrors,
40576
- l6 as generate,
40585
+ l9 as generate,
40577
40586
  t3 as generateActionExample,
40578
40587
  HU as generateExecutionDataType,
40579
40588
  Ms as generateMutablePropertiesExplanation,
@@ -40601,50 +40610,50 @@ export {
40601
40610
  Qr as getBuiltInEntityOwner,
40602
40611
  je as getCallableEntityReferenceSchema,
40603
40612
  S4 as getCallableEntityTypeSchema,
40604
- h6 as getCallerEntityReferenceSchema,
40605
- y6 as getCallerEntityTypeSchema,
40613
+ h9 as getCallerEntityReferenceSchema,
40614
+ y9 as getCallerEntityTypeSchema,
40606
40615
  If as getCalls,
40607
- y9 as getCanvasEntitiesDerivedFromInternalCalls,
40616
+ y6 as getCanvasEntitiesDerivedFromInternalCalls,
40608
40617
  Kr as getCanvasEntitiesDerivedFromWrites,
40609
40618
  Wc as getCanvasEntityDerivedFromValueReadingEntity,
40610
- B6 as getCanvasEntityReferenceSchema,
40611
- w6 as getCanvasEntityTypeSchema,
40619
+ B9 as getCanvasEntityReferenceSchema,
40620
+ w9 as getCanvasEntityTypeSchema,
40612
40621
  d3 as getChildrenEntityWithValues,
40613
40622
  gf as getCommonAncestor,
40614
- e9 as getCommonChildren,
40623
+ e6 as getCommonChildren,
40615
40624
  sf as getDeclaration,
40616
- D9 as getDeepestScope,
40625
+ D6 as getDeepestScope,
40617
40626
  C4 as getDraggableCallableEntityReferenceSchema,
40618
40627
  O4 as getDraggableCallableEntityTypeSchema,
40619
- m6 as getDraggableCallerEntityReferenceSchema,
40620
- f6 as getDraggableCallerEntityTypeSchema,
40621
- b6 as getDraggableExecutableEntityReferenceSchema,
40622
- R6 as getDraggableExecutableEntityTypeSchema,
40628
+ m9 as getDraggableCallerEntityReferenceSchema,
40629
+ f9 as getDraggableCallerEntityTypeSchema,
40630
+ b9 as getDraggableExecutableEntityReferenceSchema,
40631
+ R9 as getDraggableExecutableEntityTypeSchema,
40623
40632
  Gl as getDraggablePassThroughCallableEntityReferenceSchema,
40624
40633
  Vl as getDraggablePassThroughCallableEntityTypeSchema,
40625
- D6 as getDraggablePlayableEntityReferenceSchema,
40626
- P6 as getDraggablePlayableEntityTypeSchema,
40634
+ D9 as getDraggablePlayableEntityReferenceSchema,
40635
+ P9 as getDraggablePlayableEntityTypeSchema,
40627
40636
  Df as getEntityArgumentDeclarations,
40628
- p9 as getEntityInputMaps,
40637
+ p6 as getEntityInputMaps,
40629
40638
  R3 as getEntityOutputMaps,
40630
- C6 as getEntityReferenceSchema,
40639
+ C9 as getEntityReferenceSchema,
40631
40640
  Af as getEntityReturnDeclarations,
40632
- O6 as getEntityTypeSchema,
40641
+ O9 as getEntityTypeSchema,
40633
40642
  Pn as getEntityWithLogicScopeReferenceSchema,
40634
- v6 as getEntityWithLogicScopeTypeSchema,
40643
+ v9 as getEntityWithLogicScopeTypeSchema,
40635
40644
  A4 as getEntityWithValueReferenceSchema,
40636
- p6 as getEntityWithValueTypeSchema,
40645
+ p9 as getEntityWithValueTypeSchema,
40637
40646
  Le as getEntryPointEntityReferenceSchema,
40638
40647
  Hn as getEntryPointEntityTypeSchema,
40639
40648
  xl as getEventEntityReferenceSchema,
40640
40649
  Nl as getEventEntityTypeSchema,
40641
- E6 as getExecutableEntityReferenceSchema,
40642
- T6 as getExecutableEntityTypeSchema,
40650
+ E9 as getExecutableEntityReferenceSchema,
40651
+ T9 as getExecutableEntityTypeSchema,
40643
40652
  b3 as getExtendedBuiltInEntity,
40644
- E9 as getExtendedCustomEntity,
40653
+ E6 as getExtendedCustomEntity,
40645
40654
  F8 as getGenerationTargetSchemaBasedOnType,
40646
- b9 as getHeadIfPartOfDetachedBranch,
40647
- P9 as getHighestScope,
40655
+ b6 as getHeadIfPartOfDetachedBranch,
40656
+ P6 as getHighestScope,
40648
40657
  v3 as getImplementedBuiltInEntity,
40649
40658
  Cf as getIsInteractive,
40650
40659
  rd as getLastInListOperation,
@@ -40659,14 +40668,14 @@ export {
40659
40668
  oT as getLastInListOperationOutputElementReturnParentRef,
40660
40669
  rT as getLastInListOperationOutputElementReturnRef,
40661
40670
  f3 as getLinkedEntitiesFromArgumentDeclaration,
40662
- T9 as getLowestPersistedEntityImplementation,
40671
+ T6 as getLowestPersistedEntityImplementation,
40663
40672
  xt as getParentCanvasEntities,
40664
40673
  He as getParentCanvasEntity,
40665
40674
  c3 as getParentEntryPoint,
40666
40675
  be as getPassThroughCallableEntityReferenceSchema,
40667
40676
  $l as getPassThroughCallableEntityTypeSchema,
40668
- I6 as getPlayableEntityReferenceSchema,
40669
- g6 as getPlayableEntityTypeSchema,
40677
+ I9 as getPlayableEntityReferenceSchema,
40678
+ g9 as getPlayableEntityTypeSchema,
40670
40679
  A3 as getProject,
40671
40680
  hc as getPrototypeByType,
40672
40681
  P as getReferenceEntityId,
@@ -40676,23 +40685,23 @@ export {
40676
40685
  $n as getRelatedCanvasElementsOnTheRight,
40677
40686
  _f as getRootEntryPointScopeOwner,
40678
40687
  pt as getScopeOwner,
40679
- S6 as getTerminationReferenceSchema,
40680
- A6 as getTerminationTypeSchema,
40688
+ S9 as getTerminationReferenceSchema,
40689
+ A9 as getTerminationTypeSchema,
40681
40690
  T3 as getUsedArgFromDeclaration,
40682
40691
  E3 as getUsedReturnFromDeclaration,
40683
40692
  D4 as getValueReadingEntityReferenceSchema,
40684
40693
  In as getValueReadingEntityTypeSchema,
40685
- u6 as getValueWritingEntityReferenceSchema,
40694
+ u9 as getValueWritingEntityReferenceSchema,
40686
40695
  ps as getValueWritingEntityTypeSchema,
40687
- n9 as getVariableFromInputMapping,
40688
- a9 as getVariableFromReturnVariablePointer,
40696
+ n6 as getVariableFromInputMapping,
40697
+ a6 as getVariableFromReturnVariablePointer,
40689
40698
  Wn as getVariableReferenceSchema,
40690
40699
  Yr as getVariableTypeSchema,
40691
40700
  no as getVariablesFromArgumentDeclarations,
40692
- r9 as getVariablesFromInputMaps,
40693
- s9 as getVariablesFromOutputMapping,
40694
- o9 as getVariablesFromOutputMaps,
40695
- i9 as getVariablesFromReturnDeclarations,
40701
+ r6 as getVariablesFromInputMaps,
40702
+ s6 as getVariablesFromOutputMapping,
40703
+ o6 as getVariablesFromOutputMaps,
40704
+ i6 as getVariablesFromReturnDeclarations,
40696
40705
  of as getVariablesInSameOrHigherScope,
40697
40706
  Pf as getWrites,
40698
40707
  p3 as groupCallsBasedOnParallelizableExecution,
@@ -40733,7 +40742,7 @@ export {
40733
40742
  QU as inferOutputMapDataType,
40734
40743
  XU as inferVariableDeclarationDataType,
40735
40744
  ZU as inferVariableInstanceDataType,
40736
- U9 as initProject,
40745
+ U6 as initProject,
40737
40746
  wr as iterateOverListActionDescriptor,
40738
40747
  pR as iterateOverListActionDescriptorListArgumentDeclaration,
40739
40748
  dR as iterateOverListActionDescriptorListArgumentDeclarationDataType,
@@ -40775,11 +40784,11 @@ export {
40775
40784
  Zc as jsonPrototype,
40776
40785
  mo as keyValueParamBuiltInBaseEntity,
40777
40786
  vR as keyValueParamBuiltInBaseEntityNameProperty,
40778
- X9 as keyValueParamBuiltInBaseEntityNamePropertyDataTypeRef,
40787
+ X6 as keyValueParamBuiltInBaseEntityNamePropertyDataTypeRef,
40779
40788
  bR as keyValueParamBuiltInBaseEntityNamePropertyParentRef,
40780
40789
  ER as keyValueParamBuiltInBaseEntityNamePropertyRef,
40781
40790
  DR as keyValueParamBuiltInBaseEntityValueProperty,
40782
- Q9 as keyValueParamBuiltInBaseEntityValuePropertyDataTypeRef,
40791
+ Q6 as keyValueParamBuiltInBaseEntityValuePropertyDataTypeRef,
40783
40792
  PR as keyValueParamBuiltInBaseEntityValuePropertyParentRef,
40784
40793
  gR as keyValueParamBuiltInBaseEntityValuePropertyRef,
40785
40794
  qU as lowercaseFirstLetter,
@@ -40789,8 +40798,8 @@ export {
40789
40798
  hR as manualFlowActionDescriptorDeclarationReturnDeclarationDataTypeParentRef,
40790
40799
  mR as manualFlowActionDescriptorDeclarationReturnDeclarationParentRef,
40791
40800
  P3 as mapActionDescriptorToTypeItRepresents,
40792
- d6 as mergeEntityErrorsList,
40793
- I9 as mergeListOfEntities,
40801
+ d9 as mergeEntityErrorsList,
40802
+ I6 as mergeListOfEntities,
40794
40803
  NE as methodDefaultValue,
40795
40804
  yG as mockClientProject,
40796
40805
  Bi as moreThanOrEqualCondition,
@@ -40833,16 +40842,16 @@ export {
40833
40842
  Oe as persistedBuiltInBaseEntity,
40834
40843
  Zb as persistedBuiltInBaseEntityCreatedAtProperty,
40835
40844
  Yb as persistedBuiltInBaseEntityCreatedAtPropertyDataType,
40836
- r6 as persistedBuiltInBaseEntityCreatedAtPropertyDataTypeRef,
40845
+ r9 as persistedBuiltInBaseEntityCreatedAtPropertyDataTypeRef,
40837
40846
  zb as persistedBuiltInBaseEntityCreatedAtPropertyParentRef,
40838
40847
  Hb as persistedBuiltInBaseEntityCreatedAtPropertyRef,
40839
40848
  Aa as persistedBuiltInBaseEntityDatabaseProperty,
40840
- t6 as persistedBuiltInBaseEntityDatabasePropertyDataTypeRef,
40849
+ t9 as persistedBuiltInBaseEntityDatabasePropertyDataTypeRef,
40841
40850
  Vb as persistedBuiltInBaseEntityDatabasePropertyParentRef,
40842
40851
  xb as persistedBuiltInBaseEntityDatabasePropertyRef,
40843
40852
  Wb as persistedBuiltInBaseEntityDeletedAtProperty,
40844
40853
  qb as persistedBuiltInBaseEntityDeletedAtPropertyDataType,
40845
- n6 as persistedBuiltInBaseEntityDeletedAtPropertyDataTypeRef,
40854
+ n9 as persistedBuiltInBaseEntityDeletedAtPropertyDataTypeRef,
40846
40855
  Jb as persistedBuiltInBaseEntityDeletedAtPropertyParentRef,
40847
40856
  kb as persistedBuiltInBaseEntityDeletedAtPropertyRef,
40848
40857
  jb as persistedBuiltInBaseEntityIdentifierProperty,
@@ -40851,7 +40860,7 @@ export {
40851
40860
  Lb as persistedBuiltInBaseEntityIdentifierPropertyRef,
40852
40861
  ev as persistedBuiltInBaseEntityUpdatedAtProperty,
40853
40862
  Qb as persistedBuiltInBaseEntityUpdatedAtPropertyDataType,
40854
- i6 as persistedBuiltInBaseEntityUpdatedAtPropertyDataTypeRef,
40863
+ i9 as persistedBuiltInBaseEntityUpdatedAtPropertyDataTypeRef,
40855
40864
  Kb as persistedBuiltInBaseEntityUpdatedAtPropertyParentRef,
40856
40865
  Xb as persistedBuiltInBaseEntityUpdatedAtPropertyRef,
40857
40866
  Tv as processOutputGlobalValueDescriptorDataType,
@@ -40870,11 +40879,11 @@ export {
40870
40879
  Db as relationalDatabaseBuiltInBaseEntityMinSizePropertyDataTypeRef,
40871
40880
  Ab as relationalDatabaseBuiltInBaseEntityMinSizePropertyRef,
40872
40881
  bo as relationalDatabaseBuiltInBaseEntityPasswordProperty,
40873
- e6 as relationalDatabaseBuiltInBaseEntityPasswordPropertyDataTypeRef,
40882
+ e9 as relationalDatabaseBuiltInBaseEntityPasswordPropertyDataTypeRef,
40874
40883
  Ib as relationalDatabaseBuiltInBaseEntityPasswordPropertyRef,
40875
40884
  wi as relationalDatabaseBuiltInBaseEntityRef,
40876
40885
  Ro as relationalDatabaseBuiltInBaseEntityUsernameProperty,
40877
- K9 as relationalDatabaseBuiltInBaseEntityUsernamePropertyDataTypeRef,
40886
+ K6 as relationalDatabaseBuiltInBaseEntityUsernamePropertyDataTypeRef,
40878
40887
  vb as relationalDatabaseBuiltInBaseEntityUsernamePropertyRef,
40879
40888
  o8 as resolveActionDescriptorName,
40880
40889
  i8 as resolveBaseEntityName,
@@ -40890,10 +40899,10 @@ export {
40890
40899
  s8 as resolvePrimitiveEntityName,
40891
40900
  n8 as resolvePropertyDataTypeLabel,
40892
40901
  a8 as resolveSearchName,
40893
- x6 as resolveVariableDataTypeLabel,
40902
+ x9 as resolveVariableDataTypeLabel,
40894
40903
  nr as resolveVariableDeclarationDataTypeLabel,
40895
40904
  e8 as resolveVariableInstanceDataTypeLabel,
40896
- _6 as resolveVariableScope,
40905
+ _9 as resolveVariableScope,
40897
40906
  ln as sequentialExecutionOperation,
40898
40907
  eE as sequentialExecutionOperationError,
40899
40908
  KT as sequentialExecutionOperationErrorParentRef,
@@ -40908,7 +40917,7 @@ export {
40908
40917
  WT as sequentialExecutionOperationListOfFunctionsBlueprint,
40909
40918
  Nb as softDeletePersistedEntityMethod,
40910
40919
  Mb as softDeletePersistedEntityMethodParentRef,
40911
- t9 as sortCallsBasedOnExecutionDependencies,
40920
+ t6 as sortCallsBasedOnExecutionDependencies,
40912
40921
  u3 as sortChildrenEntitiesBasedOnExecutionDependencies,
40913
40922
  nd as splitListOperation,
40914
40923
  Qm as splitListOperationError,
@@ -40932,11 +40941,11 @@ export {
40932
40941
  Yy as stringValueAutogenerationSchema,
40933
40942
  Uc as suggestNewIdForEntity,
40934
40943
  O3 as test_primitive_entities_export,
40935
- M6 as toCamelCase,
40944
+ M9 as toCamelCase,
40936
40945
  Bt as toEntityState,
40937
40946
  KU as toKebabCase,
40938
40947
  eo as toLowerCaseKebabCase,
40939
- N6 as toPascalCase,
40948
+ N9 as toPascalCase,
40940
40949
  st as untypedObjectPrototype,
40941
40950
  X as updateErrorsList,
40942
40951
  Rs as updateValueReader,
@@ -40965,12 +40974,12 @@ export {
40965
40974
  q8 as validateErrorCaller,
40966
40975
  Y8 as validateFunctionCallDeclaration,
40967
40976
  df as validateFunctionDeclarationName,
40968
- Q6 as validateGeneratedEntityParentIsNotBuiltInEntity,
40969
- Z6 as validateGeneration,
40977
+ Q9 as validateGeneratedEntityParentIsNotBuiltInEntity,
40978
+ Z9 as validateGeneration,
40970
40979
  Pe as validateGenerationTarget,
40971
- X6 as validateGenerationUpdate,
40980
+ X9 as validateGenerationUpdate,
40972
40981
  o3 as validateLoopEntityDeclaration,
40973
- $6 as validateName,
40982
+ $9 as validateName,
40974
40983
  z8 as validateOperationEntityDeclaration,
40975
40984
  pf as validatePropertyName,
40976
40985
  Sn as validateReachability,