@elyx-code/project-logic-tree 0.0.6277 → 0.0.6279

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.
@@ -98,6 +98,8 @@ export declare class ProjectState extends CombinedVersionedEvents implements IPr
98
98
  onCloseChangeSetCallback: ((changeSet: ChangeSet) => Promise<{
99
99
  success: boolean;
100
100
  }>) | null;
101
+ onAddChangeSetCallback: ((changeSet: ChangeSet, undoableStackValueIndex: number) => void) | null;
102
+ onDiscardChangeSetCallback: ((changeSet: ChangeSet) => void) | null;
101
103
  onRequestActiveValueCallback: ((valueOwner: EntityWithValueState) => LiteralValueState | null) | null;
102
104
  constructor(initialData: IProject | IProjectTransfer);
103
105
  static sessionAuthor: string;
@@ -130,6 +132,8 @@ export declare class ProjectState extends CombinedVersionedEvents implements IPr
130
132
  onCloseChangeSet(callback: (changeSet: ChangeSet) => Promise<{
131
133
  success: boolean;
132
134
  }>): Promise<void>;
135
+ onAddChangeSet(callback: (changeSet: ChangeSet, undoableStackValueIndex: number) => void): void;
136
+ onDiscardChangeSet(callback: (changeSet: ChangeSet) => void): void;
133
137
  closeChangeSet(changeSet: ChangeSet): Promise<void>;
134
138
  toLatestChangeSet(author: string, timestamp: string, // ISO 8601 format
135
139
  self: UserManagedEntityState | null, autoclose?: boolean, autoCloseActionName?: string): ChangeSet;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6277",
3
+ "version": "0.0.6279",
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",