@elyx-code/project-logic-tree 0.0.6630 → 0.0.6631

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.d.ts CHANGED
@@ -19907,6 +19907,21 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
19907
19907
  rootAction?: boolean;
19908
19908
  }
19909
19909
 
19910
+ export declare interface IChangeSetStorageFormat {
19911
+ id: string;
19912
+ author: string;
19913
+ timestamp: string;
19914
+ dirty: boolean;
19915
+ project: string;
19916
+ version: string;
19917
+ previousVersion: string;
19918
+ branch: string;
19919
+ added: Record<EntityId, UserManagedElementShallowTransfer>;
19920
+ updated: Record<EntityId, UserManagedElementShallowTransfer>;
19921
+ removed: Record<EntityId, UserManagedElementShallowTransfer>;
19922
+ affected: EntityId[];
19923
+ }
19924
+
19910
19925
  export declare interface IChannelConnections {
19911
19926
  channel: string;
19912
19927
  connections: {
package/dist/index.js CHANGED
@@ -31913,7 +31913,7 @@ const Gtt = {
31913
31913
  deleted: !1,
31914
31914
  entity: st,
31915
31915
  asType: !1,
31916
- isList: !0,
31916
+ isList: !1,
31917
31917
  parent: pAt
31918
31918
  }, fAt = {
31919
31919
  id: "list-contains-needle-dt-or-null-data-type-parent-ref",
@@ -31946,7 +31946,7 @@ const Gtt = {
31946
31946
  deleted: !1,
31947
31947
  entity: tu,
31948
31948
  asType: !1,
31949
- isList: !0,
31949
+ isList: !1,
31950
31950
  parent: fAt
31951
31951
  }, hAt = {
31952
31952
  id: "list-contains-needle-dt-or-boolean-data-type-parent-ref",
@@ -31979,7 +31979,7 @@ const Gtt = {
31979
31979
  deleted: !1,
31980
31980
  entity: dt,
31981
31981
  asType: !1,
31982
- isList: !0,
31982
+ isList: !1,
31983
31983
  parent: hAt
31984
31984
  }, TAt = {
31985
31985
  id: "list-contains-needle-dt-or-number-data-type-parent-ref",
@@ -32012,7 +32012,7 @@ const Gtt = {
32012
32012
  deleted: !1,
32013
32013
  entity: we,
32014
32014
  asType: !1,
32015
- isList: !0,
32015
+ isList: !1,
32016
32016
  parent: TAt
32017
32017
  }, bAt = {
32018
32018
  id: "list-contains-needle-dt-or-string-data-type-parent-ref",
@@ -32045,7 +32045,7 @@ const Gtt = {
32045
32045
  deleted: !1,
32046
32046
  entity: ue,
32047
32047
  asType: !1,
32048
- isList: !0,
32048
+ isList: !1,
32049
32049
  parent: bAt
32050
32050
  }, AAt = {
32051
32051
  like: !1,
@@ -93345,7 +93345,10 @@ class S extends qf {
93345
93345
  const l = i.awaitBeforeClose ?? !0, c = i.awaitExternalPersist ?? !0;
93346
93346
  return this.startedClose || (this.startedClose = !0, l ? await this.beforeCloseAsync() : this.beforeCloseAsync()), !this.isValid && this.self && !this.added[this.self.id] && !this.updated[this.self.id] && this.removed[this.self.id], this.discardOrphans(), this.sanitize(), this.recursiveCaptureUpstreamVersions(), this.lockedVersions || (this.captureAllChangesInVersionInstances(), this.recursiveCaptureUpstreamVersions()), this.open = !1, this.isEmpty ? (ne.warn(
93347
93347
  `[ChangeSet.closeAsync] Empty change-set (${this.id}) discarded upon closing.`
93348
- ), this.dirty = !1, this.project.discardChangeSet(this), console.log("[ChangeSet.closeAsync] Closing pending change-sets..."), this.project.closePersistChangeSetsSequentially(), this) : (this.project.emit(Ti.CHANGE_SET_CLOSED_BEFORE_PERSIST, this), c ? n.persistType === "parallel" ? await this.project.persistChangeSetInParallel(this) : await this.project.persistChangeSetSequentially(this) : n.persistType === "parallel" ? this.project.persistChangeSetInParallel(this) : this.project.persistChangeSetSequentially(this), this);
93348
+ ), this.dirty = !1, this.project.discardChangeSet(this), console.log("[ChangeSet.closeAsync] Closing pending change-sets..."), this.project.closePersistChangeSetsSequentially(), this) : (this.project.emit(
93349
+ Ti.CHANGE_SET_CLOSED_BEFORE_PERSIST,
93350
+ this
93351
+ ), c ? n.persistType === "parallel" ? await this.project.persistChangeSetInParallel(this) : await this.project.persistChangeSetSequentially(this) : n.persistType === "parallel" ? this.project.persistChangeSetInParallel(this) : this.project.persistChangeSetSequentially(this), this);
93349
93352
  }
93350
93353
  attemptAutoclose(i, n) {
93351
93354
  var l;
@@ -93452,7 +93455,10 @@ class S extends qf {
93452
93455
  throw new Error(
93453
93456
  "Change-set must also have the project entity as 'updated' or 'added'. All changes must propagate upstream until the root project entity."
93454
93457
  );
93455
- return this.project.emit(Ti.CHANGE_SET_CLOSED_BEFORE_PERSIST, this), n.persistType === "parallel" ? this.project.persistChangeSetInParallel(this) : this.project.persistChangeSetSequentially(this), this;
93458
+ return this.project.emit(
93459
+ Ti.CHANGE_SET_CLOSED_BEFORE_PERSIST,
93460
+ this
93461
+ ), n.persistType === "parallel" ? this.project.persistChangeSetInParallel(this) : this.project.persistChangeSetSequentially(this), this;
93456
93462
  }
93457
93463
  // Add to 'affected' any dependencies that are not present in the change-set
93458
93464
  addDependentsToAffected(i) {