@openfin/workspace-platform 18.1.7 → 18.1.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.
- package/client-api-platform/src/api/app-directory.d.ts +5 -1
- package/common/src/api/protocol/browser.d.ts +3 -3
- package/common/src/api/protocol/workspace-platform.d.ts +1 -0
- package/common/src/utils/global-context-menu.d.ts +1 -1
- package/common/src/utils/route.d.ts +0 -1
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
|
-
import type { LaunchAppRequest, SearchSitesRequest, SearchSitesResponse } from '../shapes';
|
|
2
|
+
import type { LaunchAppRequest, SearchSitesRequest, SearchSitesResponse, Site } from '../shapes';
|
|
3
3
|
/**
|
|
4
4
|
* Launch the app described by an App Directory entry.
|
|
5
5
|
* @param app the app directory entry.
|
|
6
6
|
* @param opts launch options.
|
|
7
7
|
*/
|
|
8
8
|
export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.Application | OpenFin.Identity | OpenFin.View | OpenFin.Platform>;
|
|
9
|
+
export declare const enterpriseAppDirectoryChannelClient: () => Promise<import("../../../common/src/utils/channels").withDisconnectListener<OpenFin.ChannelClient>>;
|
|
9
10
|
export declare function getResults(payload: {
|
|
10
11
|
req: SearchSitesRequest;
|
|
11
12
|
} & {
|
|
12
13
|
identity: OpenFin.Identity;
|
|
13
14
|
}): Promise<SearchSitesResponse>;
|
|
15
|
+
export declare function getCuratedContent(payload: {
|
|
16
|
+
identity: OpenFin.Identity;
|
|
17
|
+
}): Promise<Site[]>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
|
-
export declare const getWindowChannelId: (identity: OpenFin.Identity) => string;
|
|
2
|
+
export declare const getWindowChannelId: (identity: OpenFin.Identity, prefix?: string) => string;
|
|
3
3
|
export interface ChannelClient extends OpenFin.ChannelClient {
|
|
4
4
|
dispatch: (action: (typeof BrowserChannelAction)[keyof BrowserChannelAction], payload?: any) => Promise<any>;
|
|
5
5
|
}
|
|
6
|
-
export declare const getChannelClient: (identity: OpenFin.Identity) => Promise<ChannelClient>;
|
|
6
|
+
export declare const getChannelClient: (identity: OpenFin.Identity, prefix?: string) => Promise<ChannelClient>;
|
|
7
7
|
/**
|
|
8
8
|
* If the browser window is reloaded too quickly, runtime will
|
|
9
9
|
* respond that the channel provider has already been created.
|
|
10
10
|
* Hence, we retry a couple of times to make sure this does not occur.
|
|
11
11
|
* (Should only happen in local development)
|
|
12
12
|
*/
|
|
13
|
-
export declare const createChannel: () => Promise<OpenFin.ChannelProvider>;
|
|
13
|
+
export declare const createChannel: (identity?: OpenFin.Identity, prefix?: string) => Promise<OpenFin.ChannelProvider>;
|
|
14
14
|
export declare const makeGetBrowserChannelClient: () => Promise<OpenFin.ChannelProvider>;
|
|
15
15
|
export interface AddToChannelRequest {
|
|
16
16
|
newChannelId: string;
|
|
@@ -66,6 +66,7 @@ export declare enum WorkspacePlatformChannelAction {
|
|
|
66
66
|
GetRecentVisitedSitesInternal = "getRecentVisitedSitesInternal",
|
|
67
67
|
GetFrequentlyVisitedSitesInternal = "getFrequentlyVisitedSitesInternal",
|
|
68
68
|
SearchSitesInternal = "searchSitesInternal",
|
|
69
|
+
GetCuratedContentInternal = "getCuratedContentInternal",
|
|
69
70
|
HandleRequestNavigationInternal = "handleRequestNavigationInternal",
|
|
70
71
|
GetNotificationsConfig = "getNotificationsConfig"
|
|
71
72
|
}
|
|
@@ -10,7 +10,7 @@ export declare const getCloseWindow: () => {
|
|
|
10
10
|
type: WP.GlobalContextMenuOptionType;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
export declare const getQuitPlatform: () => {
|
|
13
|
+
export declare const getQuitPlatform: (isEnterprise?: boolean) => {
|
|
14
14
|
type: MenuItemType;
|
|
15
15
|
label: string;
|
|
16
16
|
data: {
|
|
@@ -15,7 +15,6 @@ export declare enum PageRoute {
|
|
|
15
15
|
BrowserPopupMenuLayouts = "/browser/popup-menu/layouts/layouts/",
|
|
16
16
|
BrowserPopupMenuColorLinking = "/browser/popup-menu/color-linking/color-linking/",
|
|
17
17
|
BrowserIndicator = "/browser/indicator/",
|
|
18
|
-
BrowserPopupMenuAddressSearch = "/browser/popup-menu/address-search/",
|
|
19
18
|
BrowserPopupMenuAddressSearchView = "/browser/popup-menu/address-search-view/",
|
|
20
19
|
ResponseModal = "/browser/popup-menu/response-modal/",
|
|
21
20
|
CloseConfirmationModal = "/browser/popup-menu/close-confirmation-modal/",
|