@openfin/workspace 46.0.5 → 46.0.6
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 -3
- package/client-api-platform/src/shapes.d.ts +10 -2
- package/externals.report.json +6 -6
- package/home.js +1 -1
- package/home.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/notifications.js +1 -1
- package/package.json +1 -1
- package/store.js +1 -1
- package/store.js.map +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
2
|
import { App } from '../../../client-api/src/shapes';
|
|
3
3
|
import { SearchProvider } from '../../../client-api-platform/src/shapes';
|
|
4
|
-
import type { LaunchAppRequest, SearchSitesRequest, SearchSitesResponse, Site } from '../shapes';
|
|
4
|
+
import type { ContentSortRequest, LaunchAppRequest, SearchSitesRequest, SearchSitesResponse, Site } from '../shapes';
|
|
5
5
|
/**
|
|
6
6
|
* Launch the app described by an App Directory entry.
|
|
7
7
|
* @param app the app directory entry.
|
|
@@ -19,7 +19,8 @@ export declare function getSearchProviders(payload: {
|
|
|
19
19
|
}): Promise<SearchProvider[]>;
|
|
20
20
|
export declare function getCuratedContent(payload: {
|
|
21
21
|
identity: OpenFin.Identity;
|
|
22
|
+
req?: ContentSortRequest;
|
|
22
23
|
}): Promise<Site[]>;
|
|
23
|
-
export declare function getRecentlyVisited(payload: {
|
|
24
|
-
identity
|
|
24
|
+
export declare function getRecentlyVisited(payload: ContentSortRequest & {
|
|
25
|
+
identity?: OpenFin.Identity;
|
|
25
26
|
}): Promise<App[]>;
|
|
@@ -1298,13 +1298,13 @@ export interface BrowserWindowModule {
|
|
|
1298
1298
|
/** @internal */
|
|
1299
1299
|
_trackVisitedSite(req: any): Promise<void>;
|
|
1300
1300
|
/** @internal */
|
|
1301
|
-
_getRecentlyVisitedSites(req?:
|
|
1301
|
+
_getRecentlyVisitedSites(req?: ContentSortRequest): Promise<any[]>;
|
|
1302
1302
|
/** @internal */
|
|
1303
1303
|
_getFrequentlyVisitedSites(req?: any): Promise<any[]>;
|
|
1304
1304
|
/** @internal */
|
|
1305
1305
|
_searchSites(req: SearchSitesRequest): Promise<SearchSitesResponse>;
|
|
1306
1306
|
/** @internal */
|
|
1307
|
-
_getCuratedContent(req?:
|
|
1307
|
+
_getCuratedContent(req?: ContentSortRequest): Promise<Site[]>;
|
|
1308
1308
|
/** @internal */
|
|
1309
1309
|
_handleRequestNavigation(args: NavigationRequest): Promise<void>;
|
|
1310
1310
|
/** @internal */
|
|
@@ -1355,6 +1355,7 @@ export type NavigationRequest = {
|
|
|
1355
1355
|
action: 'result-selected';
|
|
1356
1356
|
trigger?: SiteAction;
|
|
1357
1357
|
site: Site;
|
|
1358
|
+
openMode?: 'replace' | 'new-tab' | 'new-window';
|
|
1358
1359
|
} | (SearchSitesRequest & {
|
|
1359
1360
|
action: 'search-input';
|
|
1360
1361
|
}));
|
|
@@ -1466,6 +1467,13 @@ export type CollectionSite = SiteInfo & {
|
|
|
1466
1467
|
* @internal
|
|
1467
1468
|
*/
|
|
1468
1469
|
export type Site = AppSite | WorkspaceSite;
|
|
1470
|
+
/**
|
|
1471
|
+
* @internal
|
|
1472
|
+
*/
|
|
1473
|
+
export type ContentSortRequest = {
|
|
1474
|
+
sortBy?: 'title' | 'timestamp' | 'createdAt';
|
|
1475
|
+
sortOrder?: 'asc' | 'desc';
|
|
1476
|
+
};
|
|
1469
1477
|
/**
|
|
1470
1478
|
* @internal
|
|
1471
1479
|
* action is undefined when the site is actioned with the default action.
|
package/externals.report.json
CHANGED
|
@@ -76,12 +76,6 @@
|
|
|
76
76
|
}
|
|
77
77
|
],
|
|
78
78
|
"dexie": [
|
|
79
|
-
{
|
|
80
|
-
"type": "root-implicit",
|
|
81
|
-
"version": "^4.0.11",
|
|
82
|
-
"packageName": "dock3/package.json",
|
|
83
|
-
"issuer": "dock3/src/api/idb.ts"
|
|
84
|
-
},
|
|
85
79
|
{
|
|
86
80
|
"type": "explicit",
|
|
87
81
|
"version": "^4.0.11",
|
|
@@ -94,6 +88,12 @@
|
|
|
94
88
|
"packageName": "client-api-platform/package.json",
|
|
95
89
|
"issuer": "client-api-platform/src/api/dock/idb.ts"
|
|
96
90
|
},
|
|
91
|
+
{
|
|
92
|
+
"type": "root-implicit",
|
|
93
|
+
"version": "^4.0.11",
|
|
94
|
+
"packageName": "dock3/package.json",
|
|
95
|
+
"issuer": "dock3/src/api/idb.ts"
|
|
96
|
+
},
|
|
97
97
|
{
|
|
98
98
|
"type": "explicit",
|
|
99
99
|
"version": "^4.0.11",
|