@openfin/workspace 18.1.24 → 18.1.26
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 +4 -0
- package/client-api-platform/src/shapes.d.ts +6 -1
- package/common/src/api/protocol/browser.d.ts +2 -1
- package/common/src/api/protocol/workspace-platform.d.ts +1 -1
- package/common/src/utils/enterprise-context-menu-cahnnels.d.ts +3 -0
- package/home.js +3 -3
- package/home.js.map +1 -1
- package/index.js +3 -3
- package/index.js.map +1 -1
- package/notifications.js +3 -3
- package/notifications.js.map +1 -1
- package/package.json +1 -1
- package/store.js +3 -3
- package/store.js.map +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
|
+
import { App } from '../../../client-api/src/shapes';
|
|
2
3
|
import type { LaunchAppRequest, SearchSitesRequest, SearchSitesResponse, Site } from '../shapes';
|
|
3
4
|
/**
|
|
4
5
|
* Launch the app described by an App Directory entry.
|
|
@@ -15,3 +16,6 @@ export declare function getResults(payload: {
|
|
|
15
16
|
export declare function getCuratedContent(payload: {
|
|
16
17
|
identity: OpenFin.Identity;
|
|
17
18
|
}): Promise<Site[]>;
|
|
19
|
+
export declare function getRecentlyVisited(payload: {
|
|
20
|
+
identity: OpenFin.Identity;
|
|
21
|
+
}): Promise<App[]>;
|
|
@@ -1058,7 +1058,7 @@ export interface BrowserWindowModule {
|
|
|
1058
1058
|
/** @internal */
|
|
1059
1059
|
_trackVisitedSite(req: any): Promise<void>;
|
|
1060
1060
|
/** @internal */
|
|
1061
|
-
|
|
1061
|
+
_getRecentlyVisitedSites(req?: number): Promise<any[]>;
|
|
1062
1062
|
/** @internal */
|
|
1063
1063
|
_getFrequentlyVisitedSites(req?: any): Promise<any[]>;
|
|
1064
1064
|
/** @internal */
|
|
@@ -1118,6 +1118,11 @@ export type AppSite = SiteInfo & {
|
|
|
1118
1118
|
type: 'app' | 'website';
|
|
1119
1119
|
url?: string;
|
|
1120
1120
|
icon: string;
|
|
1121
|
+
options?: {
|
|
1122
|
+
icon?: {
|
|
1123
|
+
size?: 'standard' | 'large';
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1121
1126
|
customData?: unknown;
|
|
1122
1127
|
};
|
|
1123
1128
|
/**
|
|
@@ -56,7 +56,8 @@ export declare enum PageChannelAction {
|
|
|
56
56
|
*/
|
|
57
57
|
export declare enum EnterpriseAppDirectoryChannelAction {
|
|
58
58
|
GetApps = "get-apps",
|
|
59
|
-
GetCuratedContent = "get-curated-content"
|
|
59
|
+
GetCuratedContent = "get-curated-content",
|
|
60
|
+
GetRecentlyVisited = "get-recently-visited"
|
|
60
61
|
}
|
|
61
62
|
export declare const BrowserChannelAction: {
|
|
62
63
|
GetPages: PageChannelAction.GetPages;
|
|
@@ -65,7 +65,7 @@ export declare enum WorkspacePlatformChannelAction {
|
|
|
65
65
|
TrackRemovedTabInternal = "trackRemovedTabInternal",
|
|
66
66
|
RestoreRemovedTabInternal = "restoreRemovedTabInternal",
|
|
67
67
|
TrackVisitedSiteInternal = "trackVisitedSiteInternal",
|
|
68
|
-
|
|
68
|
+
GetRecentlyVisitedSitesInternal = "getRecentlyVisitedSitesInternal",
|
|
69
69
|
GetFrequentlyVisitedSitesInternal = "getFrequentlyVisitedSitesInternal",
|
|
70
70
|
SearchSitesInternal = "searchSitesInternal",
|
|
71
71
|
GetCuratedContentInternal = "getCuratedContentInternal",
|