@elyx-code/project-logic-tree 0.0.6002 → 0.0.6005

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
@@ -3253,7 +3253,7 @@ const $e = {
3253
3253
  orChildrenGroup: null,
3254
3254
  isList: !1,
3255
3255
  isNullable: !1,
3256
- constant: !1,
3256
+ constant: !0,
3257
3257
  entity: Fn,
3258
3258
  asType: !1,
3259
3259
  defaultValue: null,
@@ -3395,7 +3395,7 @@ const $e = {
3395
3395
  orChildrenGroup: null,
3396
3396
  isList: !1,
3397
3397
  isNullable: !1,
3398
- constant: !1,
3398
+ constant: !0,
3399
3399
  entity: vn,
3400
3400
  asType: !1,
3401
3401
  defaultValue: null,
@@ -22748,7 +22748,8 @@ Please consider that any updates might affect the overlap with the signature of
22748
22748
  calledBySuccess: t.calledBySuccess || [],
22749
22749
  calledByError: t.calledByError || [],
22750
22750
  calledByEntry: t.calledByEntry || [],
22751
- declaration: this.toJSON(),
22751
+ // @ts-ignore This is because using the correct 'toJSON' method would recursively call the same method in other entities. Which during load, might not yet be available
22752
+ declaration: this.toShallowJSON(),
22752
22753
  index: e.internalCalls.length
22753
22754
  }, a = E(
22754
22755
  i,
@@ -40775,22 +40776,18 @@ function a9(n) {
40775
40776
  return K6(e), Q6(e), Z6(e), e9(e), t9(e), n9(e), r9(e), e.initChildren(), e;
40776
40777
  }
40777
40778
  async function J3(n, e = {}) {
40778
- try {
40779
- if (n.id && ar[n.id])
40780
- return ar[n.id];
40781
- if (n.id && ta[n.id])
40782
- return await ta[n.id], ar[n.id];
40783
- const t = i9(n, e);
40784
- n.id && (ta[n.id] = t);
40785
- const i = await t;
40786
- if (i.data) {
40787
- const a = a9(i.data);
40788
- return ar[n.id] = a, n.id && delete ta[n.id], a;
40789
- }
40790
- return null;
40791
- } catch (t) {
40792
- return console.error("Error fetching project: ", t), null;
40779
+ if (n.id && ar[n.id])
40780
+ return ar[n.id];
40781
+ if (n.id && ta[n.id])
40782
+ return await ta[n.id], ar[n.id];
40783
+ const t = i9(n, e);
40784
+ n.id && (ta[n.id] = t);
40785
+ const i = await t;
40786
+ if (i.data) {
40787
+ const a = a9(i.data);
40788
+ return ar[n.id] = a, n.id && delete ta[n.id], a;
40793
40789
  }
40790
+ return null;
40794
40791
  }
40795
40792
  function W3(n) {
40796
40793
  return ar[n.id] && delete ar[n.id], null;