@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.
@@ -804,6 +804,7 @@ type EditorEvents = {
804
804
  "catalog:change": {
805
805
  catalog?: ServiceCatalogState;
806
806
  reason: string;
807
+ snapshot: EditorSnapshot;
807
808
  };
808
809
  "catalog:active-change": {
809
810
  activeNodeId?: string;
@@ -804,6 +804,7 @@ type EditorEvents = {
804
804
  "catalog:change": {
805
805
  catalog?: ServiceCatalogState;
806
806
  reason: string;
807
+ snapshot: EditorSnapshot;
807
808
  };
808
809
  "catalog:active-change": {
809
810
  activeNodeId?: string;
@@ -9120,6 +9120,7 @@ var Editor = class {
9120
9120
  "catalog:change",
9121
9121
  {
9122
9122
  catalog: (0, import_lodash_es4.cloneDeep)(this.catalog),
9123
+ snapshot: this.makeSnapshot(reason),
9123
9124
  reason
9124
9125
  }
9125
9126
  );