@elyx-code/project-logic-tree 0.0.7003 → 0.0.7005

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
@@ -104715,7 +104715,9 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
104715
104715
  this,
104716
104716
  i,
104717
104717
  r
104718
- ), c = on(this, a), e = this.toMeta();
104718
+ );
104719
+ this.id === "3a497c83-1410-4ab0-8478-1e9c4f0c1935" && i.value === !1 && console.trace("[LiteralValueState.metaSync] Test error");
104720
+ const c = on(this, a), e = this.toMeta();
104719
104721
  this.name = a.name !== void 0 ? a.name : e.name, this.autogeneration = a.autogeneration !== void 0 ? a.autogeneration : e.autogeneration, this.value = a.value !== void 0 ? a.value : e.value, a.rawString !== void 0 ? this.rawString = a.rawString : a.value !== void 0 && typeof a.value == "string" ? this.rawString = a.value : this.rawString = e.rawString;
104720
104722
  const f = i.valueAsTypeSingle !== void 0 ? i.valueAsTypeSingle : this.valueAsTypeSingle ?? null, h = i.valueAsTypeList !== void 0 ? i.valueAsTypeList : this.valueAsTypeList ?? null;
104721
104723
  return (this.name !== fe.String || f !== null || h !== null && h.length > 0) && (this.rawString = null, a.rawString = null), super.baseMetaSync(a, this, r), a.deleted === !0 && !e.deleted ? r == null || r.add(this, W.Removed) : a.deleted === !1 && e.deleted ? r == null || r.add(this, W.Added) : c && (r == null || r.add(this, W.Updated)), r == null || r.attemptAutoclose("meta-sync", this.id), this;
@@ -105217,7 +105219,12 @@ R(hi, "repository", {
105217
105219
  ...ZC
105218
105220
  ]), R(hi, "PARENT_TYPES", [
105219
105221
  ...hi.USER_MANAGED_PARENT_TYPES
105220
- ]), R(hi, "MUTABLE_BASE_PROPERTIES", ["name", "autogeneration", "value", "rawString"]), R(hi, "INMUTABLE_BASE_PROPERTIES", [
105222
+ ]), R(hi, "MUTABLE_BASE_PROPERTIES", [
105223
+ "name",
105224
+ "autogeneration",
105225
+ "value",
105226
+ "rawString"
105227
+ ]), R(hi, "INMUTABLE_BASE_PROPERTIES", [
105221
105228
  "id",
105222
105229
  "type",
105223
105230
  "version",
@@ -183106,7 +183113,7 @@ function xRi(s) {
183106
183113
  return p;
183107
183114
  } else
183108
183115
  return p;
183109
- if (s.type === d.Condition && s.parent.type === d.Condition || s.type === d.InternalCall && !s.calledBy.length)
183116
+ if (s.type === d.Condition && s.parent.type === d.Condition || s.type === d.InternalCall && !s.calledBy.length || s.type === d.VariableInstance && !s.calledBy.length && !s.successCalls.length && !s.errorCalls.length && s.usedInternalCalls.length)
183110
183117
  return p;
183111
183118
  const r = i.getDataType(null), a = ps(r, {
183112
183119
  removeDuplicates: !0
@@ -183144,7 +183151,7 @@ function $a(s) {
183144
183151
  return p;
183145
183152
  } else
183146
183153
  return p;
183147
- if (s.type === d.Condition && s.parent.type === d.Condition || s.type === d.InternalCall && !s.calledBy.length)
183154
+ if (s.type === d.Condition && s.parent.type === d.Condition || s.type === d.InternalCall && !s.calledBy.length || s.type === d.VariableInstance && !s.calledBy.length && !s.successCalls.length && !s.errorCalls.length && s.usedInternalCalls.length)
183148
183155
  return p;
183149
183156
  const r = i.getDataType(null), a = ps(r, {
183150
183157
  removeDuplicates: !0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.7003",
3
+ "version": "0.0.7005",
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",