@elyx-code/project-logic-tree 0.0.6278 → 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.
@@ -99,6 +99,7 @@ export declare class ProjectState extends CombinedVersionedEvents implements IPr
99
99
  success: boolean;
100
100
  }>) | null;
101
101
  onAddChangeSetCallback: ((changeSet: ChangeSet, undoableStackValueIndex: number) => void) | null;
102
+ onDiscardChangeSetCallback: ((changeSet: ChangeSet) => void) | null;
102
103
  onRequestActiveValueCallback: ((valueOwner: EntityWithValueState) => LiteralValueState | null) | null;
103
104
  constructor(initialData: IProject | IProjectTransfer);
104
105
  static sessionAuthor: string;
@@ -132,6 +133,7 @@ export declare class ProjectState extends CombinedVersionedEvents implements IPr
132
133
  success: boolean;
133
134
  }>): Promise<void>;
134
135
  onAddChangeSet(callback: (changeSet: ChangeSet, undoableStackValueIndex: number) => void): void;
136
+ onDiscardChangeSet(callback: (changeSet: ChangeSet) => void): void;
135
137
  closeChangeSet(changeSet: ChangeSet): Promise<void>;
136
138
  toLatestChangeSet(author: string, timestamp: string, // ISO 8601 format
137
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.6278",
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",