@openfin/workspace 18.1.18 → 18.1.20

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.
@@ -5,7 +5,7 @@ import type { LaunchAppRequest, SearchSitesRequest, SearchSitesResponse, Site }
5
5
  * @param app the app directory entry.
6
6
  * @param opts launch options.
7
7
  */
8
- export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.Identity | OpenFin.Platform | OpenFin.View | OpenFin.Application>;
8
+ export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.View | OpenFin.Identity | OpenFin.Platform | OpenFin.Application>;
9
9
  export declare const enterpriseAppDirectoryChannelClient: () => Promise<import("../../../common/src/utils/channels").withDisconnectListener<OpenFin.ChannelClient>>;
10
10
  export declare function getResults(payload: {
11
11
  req: SearchSitesRequest;
@@ -0,0 +1,3 @@
1
+ declare let isEnterprisePlatform: boolean;
2
+ declare const setIsEnterprisePlatform: (value: boolean) => void;
3
+ export { isEnterprisePlatform, setIsEnterprisePlatform };
@@ -157,6 +157,7 @@ export declare enum PageTabContextMenuOptionType {
157
157
  SaveWorkspaceAs = "SaveWorkspaceAs",
158
158
  Refresh = "Refresh",
159
159
  CloseOthers = "Close others",
160
+ Delete = "Delete",
160
161
  Custom = "Custom"
161
162
  }
162
163
  /** @internal */
@@ -11,7 +11,7 @@ export declare const isDocumentDefined: boolean;
11
11
  export declare const isWindowDefinedWithIndexDB: boolean;
12
12
  export declare const finUUID: string;
13
13
  export declare const finName: string;
14
- export declare const finEntityType: "" | "view" | "window";
14
+ export declare const finEntityType: "" | "window" | "view";
15
15
  export declare const isEnvLocal: boolean;
16
16
  export declare const isEnvDev: boolean;
17
17
  export declare const isEnvStaging: boolean;
@@ -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: {