@elyx-code/project-logic-tree 0.0.6420 → 0.0.6421

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
@@ -42364,12 +42364,12 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
42364
42364
  name: this.name,
42365
42365
  codeName: this.codeName,
42366
42366
  description: this.description,
42367
- error: ((a = this.error) == null ? void 0 : a.toJSON()) || null,
42367
+ error: ((a = this.error) == null ? void 0 : a.toJSON(i)) || null,
42368
42368
  inputs: this.inputs.map(
42369
- (p) => p.toJSON()
42369
+ (p) => p.toJSON(i)
42370
42370
  ),
42371
42371
  outputs: this.outputs.map(
42372
- (p) => p.toJSON()
42372
+ (p) => p.toJSON(i)
42373
42373
  ),
42374
42374
  parent: ((o = this.parent) == null ? void 0 : o.toReference()) || null
42375
42375
  });
@@ -74448,10 +74448,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
74448
74448
  x: this.x,
74449
74449
  y: this.y,
74450
74450
  successCalls: this.successCalls.map(
74451
- (o) => o.toJSON()
74451
+ (o) => o.toJSON(i)
74452
74452
  ),
74453
74453
  errorCalls: this.errorCalls.map(
74454
- (o) => o.toJSON()
74454
+ (o) => o.toJSON(i)
74455
74455
  ),
74456
74456
  calledBySuccess: this.calledBySuccess.map(
74457
74457
  (o) => o.toReference()
@@ -74459,16 +74459,16 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
74459
74459
  calledByError: this.calledByError.map((o) => o.toReference()),
74460
74460
  calledByEntry: this.calledByEntry.map((o) => o.toReference()),
74461
74461
  inputsDeclarations: this.inputsDeclarations.map(
74462
- (o) => o.toJSON()
74462
+ (o) => o.toJSON(i)
74463
74463
  ),
74464
- inputs: this.inputs.map((o) => o.toJSON()),
74464
+ inputs: this.inputs.map((o) => o.toJSON(i)),
74465
74465
  outputsDeclarations: this.outputsDeclarations.map(
74466
- (o) => o.toJSON()
74466
+ (o) => o.toJSON(i)
74467
74467
  ),
74468
74468
  outputs: this.outputs.map(
74469
- (o) => o.toJSON()
74469
+ (o) => o.toJSON(i)
74470
74470
  ),
74471
- error: ((a = this.error) == null ? void 0 : a.toJSON()) || null,
74471
+ error: ((a = this.error) == null ? void 0 : a.toJSON(i)) || null,
74472
74472
  parent: this.parent.toReference()
74473
74473
  });
74474
74474
  }
@@ -81177,7 +81177,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
81177
81177
  newId: null
81178
81178
  }) : null,
81179
81179
  valueAsTypeList: this.valueAsTypeSingle && Array.isArray(this.valueAsTypeSingle) ? this.valueAsTypeSingle.map(
81180
- (A) => this.project.getBuiltIn(A.id) ? A.toJSON() : A.toJSONClone({ ...i, newId: null })
81180
+ (A) => this.project.getBuiltIn(A.id) ? A.toJSON(i.seenEntities) : A.toJSONClone({ ...i, newId: null })
81181
81181
  ) : null,
81182
81182
  parent: (E = this.parent) == null ? void 0 : E.toReference({
81183
81183
  seenEntityMaps: i.seenEntityMaps
@@ -107867,11 +107867,11 @@ Alternatively you can update the parent data-type entity with 'update' action to
107867
107867
  newId: null
107868
107868
  })
107869
107869
  ),
107870
- implements: this.implements.map((E) => E.type === f.BuiltInBaseEntity ? E.toJSON() : E.toJSONClone({
107870
+ implements: this.implements.map((E) => E.type === f.BuiltInBaseEntity ? E.toJSON(i.seenEntities) : E.toJSONClone({
107871
107871
  ...i,
107872
107872
  newId: null
107873
107873
  })),
107874
- extends: this.extends.map((E) => E.type === f.BuiltInBaseEntity ? E.toJSON() : E.toJSONClone({
107874
+ extends: this.extends.map((E) => E.type === f.BuiltInBaseEntity ? E.toJSON(i.seenEntities) : E.toJSONClone({
107875
107875
  ...i,
107876
107876
  newId: null
107877
107877
  })),