@elyx-code/project-logic-tree 0.0.6744 → 0.0.6746

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
@@ -80263,20 +80263,24 @@ class Z extends Zf {
80263
80263
  captureAllChangesInVersionInstances() {
80264
80264
  [...this.addedIds, ...this.updatedIds].forEach((n) => {
80265
80265
  const s = this.project.get(n);
80266
- if (!s)
80266
+ if (!s) {
80267
+ const e = this.added[n], y = this.updated[n], m = e || y;
80267
80268
  throw new Error(
80268
- `Entity with id "${n}" not found in the project state when capturing version for change-set.`
80269
+ `Entity ${(m == null ? void 0 : m.type) || "of unknown type"} with id "${n}" was ${e ? "added" : "updated"} but isn't found in the project state when capturing version for change-set.`
80269
80270
  );
80271
+ }
80270
80272
  const c = this.get(n);
80271
80273
  s.version === c.version && s.captureVersion();
80272
80274
  }), this.removedIds.forEach((n) => {
80273
80275
  const s = this.project.getDeleted(
80274
80276
  n
80275
80277
  );
80276
- if (!s)
80278
+ if (!s) {
80279
+ const e = this.removed[n];
80277
80280
  throw new Error(
80278
- `Entity with id "${n}" not found in the project state when capturing version for change-set.`
80281
+ `Entity ${(e == null ? void 0 : e.type) || "of unknown type"} with id "${n}" was removed but isn't found in the project state when capturing version for change-set.`
80279
80282
  );
80283
+ }
80280
80284
  const c = this.get(n);
80281
80285
  s.version === c.version && s.captureVersion();
80282
80286
  });
@@ -111048,23 +111052,23 @@ class xpi extends Ie {
111048
111052
  try {
111049
111053
  const y = n.find(
111050
111054
  (k) => {
111051
- var K;
111052
- return ((K = k.valueOwner) == null ? void 0 : K.id) === X.operation[q.Join].inputs.separator.id;
111055
+ var K, S;
111056
+ return ((S = (K = k.valueOwner) == null ? void 0 : K.declaration) == null ? void 0 : S.id) === X.operation[q.Join].inputs.separator.id;
111053
111057
  }
111054
111058
  ), m = ((s = y == null ? void 0 : y.value) == null ? void 0 : s.value) || "", v = n.find(
111055
111059
  (k) => {
111056
- var K;
111057
- return ((K = k.valueOwner) == null ? void 0 : K.id) === X.operation[q.Join].inputs.first.id;
111060
+ var K, S;
111061
+ return ((S = (K = k.valueOwner) == null ? void 0 : K.declaration) == null ? void 0 : S.id) === X.operation[q.Join].inputs.first.id;
111058
111062
  }
111059
111063
  ), b = ((c = v == null ? void 0 : v.value) == null ? void 0 : c.value) || "", E = n.find(
111060
111064
  (k) => {
111061
- var K;
111062
- return ((K = k.valueOwner) == null ? void 0 : K.id) === X.operation[q.Join].inputs.second.id;
111065
+ var K, S;
111066
+ return ((S = (K = k.valueOwner) == null ? void 0 : K.declaration) == null ? void 0 : S.id) === X.operation[q.Join].inputs.second.id;
111063
111067
  }
111064
111068
  ), w = ((e = E == null ? void 0 : E.value) == null ? void 0 : e.value) || "", $ = n.filter(
111065
111069
  (k) => {
111066
- var K;
111067
- return ((K = k.valueOwner) == null ? void 0 : K.id) === X.operation[q.Join].inputs.dynamicString.id;
111070
+ var K, S;
111071
+ return ((S = (K = k.valueOwner) == null ? void 0 : K.declaration) == null ? void 0 : S.id) === X.operation[q.Join].inputs.dynamicString.id;
111068
111072
  }
111069
111073
  ).map(
111070
111074
  (k) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6744",
3
+ "version": "0.0.6746",
4
4
  "author": "Sergio Herrero",
5
5
  "license": "UNLICENSED",
6
6
  "description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",