@timeax/digital-service-engine 0.0.8 → 0.1.0

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.
@@ -858,6 +858,7 @@ type EditorEvents = {
858
858
  "catalog:change": {
859
859
  catalog?: ServiceCatalogState;
860
860
  reason: string;
861
+ snapshot: EditorSnapshot;
861
862
  };
862
863
  "catalog:active-change": {
863
864
  activeNodeId?: string;
@@ -858,6 +858,7 @@ type EditorEvents = {
858
858
  "catalog:change": {
859
859
  catalog?: ServiceCatalogState;
860
860
  reason: string;
861
+ snapshot: EditorSnapshot;
861
862
  };
862
863
  "catalog:active-change": {
863
864
  activeNodeId?: string;
@@ -7617,6 +7617,7 @@ var Editor = class {
7617
7617
  "catalog:change",
7618
7618
  {
7619
7619
  catalog: cloneDeep4(this.catalog),
7620
+ snapshot: this.makeSnapshot(reason),
7620
7621
  reason
7621
7622
  }
7622
7623
  );