@openfin/workspace 18.1.6 → 18.1.8
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/client-api-platform/src/shapes.d.ts +2 -0
- package/common/src/api/protocol/browser.d.ts +7 -0
- package/common/src/api/protocol/workspace-platform.d.ts +1 -0
- package/common/src/utils/layout.d.ts +4 -1
- package/home.js +42 -42
- package/home.js.map +1 -1
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/notifications.js +2 -2
- package/notifications.js.map +1 -1
- package/package.json +1 -1
- package/store.js +42 -42
- package/store.js.map +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.View | OpenFin.Identity | OpenFin.Platform | OpenFin.Application>;
|
|
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[]>;
|
|
@@ -1026,6 +1026,8 @@ export interface BrowserWindowModule {
|
|
|
1026
1026
|
/** @internal */
|
|
1027
1027
|
_searchSites(req?: SearchSitesRequest): Promise<SearchSitesResponse>;
|
|
1028
1028
|
/** @internal */
|
|
1029
|
+
_getCuratedContent(req?: any): Promise<Site[]>;
|
|
1030
|
+
/** @internal */
|
|
1029
1031
|
_handleRequestNavigation(args: NavigationRequest): Promise<void>;
|
|
1030
1032
|
}
|
|
1031
1033
|
/**
|
|
@@ -50,6 +50,13 @@ export declare enum PageChannelAction {
|
|
|
50
50
|
IsDetachingPages = "is-detaching-pages",
|
|
51
51
|
IsActivePageChanging = "is-active-page-changing"
|
|
52
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
export declare enum EnterpriseAppDirectoryChannelAction {
|
|
57
|
+
GetApps = "get-apps",
|
|
58
|
+
GetCuratedContent = "get-curated-content"
|
|
59
|
+
}
|
|
53
60
|
export declare const BrowserChannelAction: {
|
|
54
61
|
GetPages: PageChannelAction.GetPages;
|
|
55
62
|
GetActivePageForWindow: PageChannelAction.GetActivePageForWindow;
|
|
@@ -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
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
/// <reference types="lodash" />
|
|
1
2
|
import type OpenFin from '@openfin/core';
|
|
3
|
+
import { AttachedPageInternal } from '../../../common/src/api/pages/shapes';
|
|
2
4
|
import { AttachedPage, PageLayout } from '../../../client-api-platform/src/shapes';
|
|
3
5
|
import { WindowIdentity } from './window';
|
|
4
6
|
export type LayoutDOMEventType =
|
|
@@ -103,5 +105,6 @@ export declare const findViewInLayout: (node: any, viewId: OpenFin.Identity) =>
|
|
|
103
105
|
* @returns The total number of views in the layout configuration.
|
|
104
106
|
*/
|
|
105
107
|
export declare const countViews: (node: OpenFin.LayoutContent) => number;
|
|
106
|
-
export declare const
|
|
108
|
+
export declare const updatePageForViewCount: (activePage: AttachedPageInternal) => Promise<void>;
|
|
109
|
+
export declare const debouncedUpdatePageForViewCount: import("lodash").DebouncedFunc<(activePage: AttachedPageInternal) => Promise<void>>;
|
|
107
110
|
export declare const findPageForView: (viewName: string, browserWindowIdentity?: WindowIdentity) => Promise<AttachedPage | undefined>;
|