@openfin/workspace-platform 18.1.18 → 18.1.19

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.
@@ -0,0 +1,3 @@
1
+ declare let isEnterprisePlatform: boolean;
2
+ declare const setIsEnterprisePlatform: (value: boolean) => void;
3
+ export { isEnterprisePlatform, setIsEnterprisePlatform };
@@ -155,6 +155,7 @@ export declare enum PageTabContextMenuOptionType {
155
155
  SaveWorkspaceAs = "SaveWorkspaceAs",
156
156
  Refresh = "Refresh",
157
157
  CloseOthers = "Close others",
158
+ Delete = "Delete",
158
159
  Custom = "Custom"
159
160
  }
160
161
  /**Shape of the data property of a global context menu template item */
@@ -24,21 +24,21 @@ export declare const newWindow: () => {
24
24
  type: WP.GlobalContextMenuOptionType;
25
25
  };
26
26
  };
27
- export declare const savePage: () => {
27
+ export declare const savePage: (isEnterprise?: boolean) => {
28
28
  type: MenuItemType;
29
29
  label: string;
30
30
  data: {
31
31
  type: WP.GlobalContextMenuOptionType;
32
32
  };
33
33
  };
34
- export declare const savePageAs: () => {
34
+ export declare const savePageAs: (isEnterprise?: boolean) => {
35
35
  type: MenuItemType;
36
36
  label: string;
37
37
  data: {
38
38
  type: WP.GlobalContextMenuOptionType;
39
39
  };
40
40
  };
41
- export declare const newPage: (enabled: boolean) => {
41
+ export declare const newPage: (enabled: boolean, isEnterprise?: boolean) => {
42
42
  type: MenuItemType;
43
43
  label: string;
44
44
  data: {