@interopio/workspaces-api 3.5.4 → 3.5.5

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.
package/changelog.md CHANGED
@@ -1,3 +1,5 @@
1
+ 3.5.5
2
+ feat: setup a workspace to open only once
1
3
  3.5.4
2
4
  chore: Increased the interop timeout to 2mins
3
5
  3.5.2
@@ -1417,6 +1417,7 @@ const workspaceLayoutSaveConfigDecoder = object({
1417
1417
  name: nonEmptyStringDecoder,
1418
1418
  workspaceId: nonEmptyStringDecoder,
1419
1419
  saveContext: optional(boolean()),
1420
+ allowMultiple: optional(boolean()),
1420
1421
  metadata: optional(object())
1421
1422
  });
1422
1423
  const workspaceLockConfigDecoder = object({
@@ -2715,7 +2716,7 @@ class Workspace {
2715
2716
  }
2716
2717
  async saveLayout(name, config) {
2717
2718
  nonEmptyStringDecoder.runWithException(name);
2718
- await getData$3(this).controller.saveLayout({ name, workspaceId: this.id, saveContext: config?.saveContext, metadata: config?.metadata });
2719
+ await getData$3(this).controller.saveLayout({ name, workspaceId: this.id, saveContext: config?.saveContext, metadata: config?.metadata, allowMultiple: config?.allowMultiple });
2719
2720
  }
2720
2721
  async setTitle(title) {
2721
2722
  nonEmptyStringDecoder.runWithException(title);
@@ -4934,7 +4935,7 @@ class IoC {
4934
4935
  }
4935
4936
  }
4936
4937
 
4937
- var version = "3.5.4";
4938
+ var version = "3.5.5";
4938
4939
 
4939
4940
  const composeAPI = (glue, ioc) => {
4940
4941
  const controller = ioc.controller;