@timeax/digital-service-engine 0.0.8 → 0.0.9

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.
@@ -651,6 +651,7 @@ type EditorEvents = {
651
651
  "catalog:change": {
652
652
  catalog?: ServiceCatalogState;
653
653
  reason: string;
654
+ snapshot: EditorSnapshot;
654
655
  };
655
656
  "catalog:active-change": {
656
657
  activeNodeId?: string;
@@ -651,6 +651,7 @@ type EditorEvents = {
651
651
  "catalog:change": {
652
652
  catalog?: ServiceCatalogState;
653
653
  reason: string;
654
+ snapshot: EditorSnapshot;
654
655
  };
655
656
  "catalog:active-change": {
656
657
  activeNodeId?: string;
@@ -9075,6 +9075,7 @@ var Editor = class {
9075
9075
  "catalog:change",
9076
9076
  {
9077
9077
  catalog: cloneDeep4(this.catalog),
9078
+ snapshot: this.makeSnapshot(reason),
9078
9079
  reason
9079
9080
  }
9080
9081
  );