@openfin/workspace 13.0.7 → 13.1.0
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/src/index.d.ts +5 -0
- package/client-api/src/integrations/microsoft.d.ts +155 -0
- package/client-api/src/integrations/microsoft.shapes.d.ts +208 -0
- package/client-api/src/integrations/microsoft.utils.d.ts +80 -0
- package/client-api/src/integrations.d.ts +3 -0
- package/client-api/src/internal.d.ts +2 -2
- package/client-api/src/shapes/home.d.ts +71 -3
- package/client-api/src/shapes/integrations.d.ts +36 -0
- package/client-api-platform/src/api/context-menu/utils.d.ts +4 -0
- package/client-api-platform/src/api/dock/idb.d.ts +0 -1
- package/client-api-platform/src/shapes.d.ts +46 -9
- package/common/src/api/pages/shapes.d.ts +2 -0
- package/common/src/api/protocol/shapes/workspace.d.ts +157 -0
- package/common/src/api/protocol/workspace.d.ts +12 -58
- package/common/src/api/provider.d.ts +5 -1
- package/common/src/api/search.d.ts +1 -3
- package/common/src/api/storefront.d.ts +11 -0
- package/common/src/api/theming.d.ts +6 -0
- package/common/src/utils/a11y/search.a11y.d.ts +1 -0
- package/common/src/utils/global-context-menu.d.ts +3 -1
- package/common/src/utils/lru-cache.d.ts +11 -0
- package/common/src/utils/menu-window-provider.d.ts +14 -16
- package/common/src/utils/route.d.ts +22 -34
- package/common/src/utils/router/base.d.ts +2 -2
- package/common/src/utils/shared-emitter.d.ts +7 -6
- package/common/src/utils/types.d.ts +7 -0
- package/common/src/utils/usage-register.d.ts +3 -1
- package/common/src/utils/window.d.ts +27 -14
- package/home.js +58 -61
- package/home.js.map +1 -1
- package/index.js +127 -130
- package/index.js.LICENSE.txt +2 -0
- package/index.js.map +1 -1
- package/notifications.js +57 -60
- package/notifications.js.map +1 -1
- package/package.json +6 -3
- package/search-api/src/client/index.d.ts +2 -2
- package/search-api/src/client/internal.d.ts +6 -6
- package/search-api/src/client/remote/channel-client-factory.d.ts +1 -2
- package/search-api/src/client/remote/channel-client.d.ts +4 -8
- package/search-api/src/client/remote/data.d.ts +3 -4
- package/search-api/src/client/remote/disconnect.d.ts +1 -4
- package/search-api/src/client/remote/dispatch.d.ts +2 -3
- package/search-api/src/client/remote/requests.d.ts +1 -4
- package/search-api/src/client/remote/search-close.d.ts +2 -5
- package/search-api/src/common.d.ts +19 -29
- package/search-api/src/fin/index.d.ts +2 -2
- package/search-api/src/fin/shapes.d.ts +4 -4
- package/search-api/src/index.d.ts +1 -1
- package/search-api/src/internal-shapes.d.ts +0 -19
- package/search-api/src/provider/index.d.ts +2 -3
- package/search-api/src/provider/internal.d.ts +5 -9
- package/search-api/src/provider/remote/channel-factory.d.ts +1 -2
- package/search-api/src/provider/remote/channel.d.ts +4 -11
- package/search-api/src/provider/remote/connection.d.ts +5 -8
- package/search-api/src/provider/remote/data.d.ts +3 -5
- package/search-api/src/provider/remote/deregistration.d.ts +1 -2
- package/search-api/src/provider/remote/disconnect.d.ts +1 -1
- package/search-api/src/provider/remote/disconnection.d.ts +5 -4
- package/search-api/src/provider/remote/dispatch.d.ts +2 -3
- package/search-api/src/provider/remote/info.d.ts +1 -1
- package/search-api/src/provider/remote/registration.d.ts +6 -8
- package/search-api/src/provider/remote/search-close.d.ts +3 -4
- package/search-api/src/provider/remote/search.d.ts +3 -4
- package/search-api/src/shapes.d.ts +6 -45
- package/store.js +57 -60
- package/store.js.map +1 -1
- package/common/src/api/home.d.ts +0 -19
- package/common/src/api/pages/legacy.d.ts +0 -16
|
@@ -7,12 +7,12 @@ export type { RegistrationMetaInfo };
|
|
|
7
7
|
* In order to subscribe to a sandboxed search topic, the UUID of the platform must be specified explicitly or the subscribing OpenFin identity must be running in the platform.
|
|
8
8
|
* @param req the topic create request.
|
|
9
9
|
*/
|
|
10
|
-
export declare const create: (
|
|
10
|
+
export declare const create: () => Promise<SearchTopic>;
|
|
11
11
|
/**
|
|
12
12
|
* Subscribe to an existing search topic.
|
|
13
13
|
* @param req the subscribe request.
|
|
14
14
|
*/
|
|
15
|
-
export declare const subscribe: (
|
|
15
|
+
export declare const subscribe: () => Promise<SearchTopicClient>;
|
|
16
16
|
/**
|
|
17
17
|
* Search API object that is injected in the window.
|
|
18
18
|
*/
|
|
@@ -20,10 +20,6 @@ export declare type SearchAPI = {
|
|
|
20
20
|
create: typeof create;
|
|
21
21
|
subscribe: typeof subscribe;
|
|
22
22
|
};
|
|
23
|
-
/**
|
|
24
|
-
* An object that represents a unique OpenFin identity.
|
|
25
|
-
*/
|
|
26
|
-
export declare type Identity = OpenFin.Identity;
|
|
27
23
|
/**
|
|
28
24
|
* A response to a search from a search provider.
|
|
29
25
|
*/
|
|
@@ -122,11 +118,11 @@ export interface SearchProviderResponseGeneratorExtended extends SearchProviderR
|
|
|
122
118
|
* });
|
|
123
119
|
* ```
|
|
124
120
|
*/
|
|
125
|
-
export declare type SubscriptionListener = (identity: Identity) => Promise<boolean>;
|
|
121
|
+
export declare type SubscriptionListener = (identity: OpenFin.Identity) => Promise<boolean>;
|
|
126
122
|
/**
|
|
127
123
|
* Called when a remote OpenFin identity, such as a view, disconnects from a Search topic.
|
|
128
124
|
*/
|
|
129
|
-
export declare type DisconnectListener = (identity: Identity) => Promise<void>;
|
|
125
|
+
export declare type DisconnectListener = (identity: OpenFin.Identity) => Promise<void>;
|
|
130
126
|
/**
|
|
131
127
|
* Called when search provider deregisters from SearchTopic
|
|
132
128
|
*/
|
|
@@ -231,7 +227,7 @@ export interface SearchProviderInfo {
|
|
|
231
227
|
/**
|
|
232
228
|
* The OpenFin identity that registered this search provider.
|
|
233
229
|
*/
|
|
234
|
-
identity?: Identity;
|
|
230
|
+
identity?: OpenFin.Identity;
|
|
235
231
|
/**
|
|
236
232
|
* The order to sort the score in. The default is `ascending`.
|
|
237
233
|
* @experimental
|
|
@@ -377,10 +373,6 @@ export interface SearchResult<A extends Action = Action> {
|
|
|
377
373
|
* ```
|
|
378
374
|
*/
|
|
379
375
|
export interface SearchListenerRequest extends SearchRequest {
|
|
380
|
-
/**
|
|
381
|
-
* The ID of the topic the search request was dispatched on.
|
|
382
|
-
*/
|
|
383
|
-
topic: string;
|
|
384
376
|
/**
|
|
385
377
|
* The ID of the search request.
|
|
386
378
|
* Can be used to tie related search requests together between providers.
|
|
@@ -546,7 +538,7 @@ export interface DispatchedSearchResult extends SearchResult {
|
|
|
546
538
|
/**
|
|
547
539
|
* The OpenFin identity that dispatched this search result.
|
|
548
540
|
*/
|
|
549
|
-
dispatcherIdentity: Identity;
|
|
541
|
+
dispatcherIdentity: OpenFin.Identity;
|
|
550
542
|
}
|
|
551
543
|
/**
|
|
552
544
|
* A listener called when a search result generated by this provider is dispatched.
|
|
@@ -578,34 +570,3 @@ export interface SearchProvider extends SearchProviderInfo {
|
|
|
578
570
|
*/
|
|
579
571
|
onResultDispatch?: ResultDispatchListener;
|
|
580
572
|
}
|
|
581
|
-
/**
|
|
582
|
-
* Request for creating a search topic.
|
|
583
|
-
*/
|
|
584
|
-
export interface SearchTopicCreateRequest {
|
|
585
|
-
/**
|
|
586
|
-
* The search topic to subscribe to.
|
|
587
|
-
*
|
|
588
|
-
* Default is `all`
|
|
589
|
-
*/
|
|
590
|
-
topic?: string;
|
|
591
|
-
/**
|
|
592
|
-
* The uuid of the target search provider.
|
|
593
|
-
*
|
|
594
|
-
* Default is uuid of the current identity.
|
|
595
|
-
*/
|
|
596
|
-
uuid?: string;
|
|
597
|
-
}
|
|
598
|
-
/**
|
|
599
|
-
* An object that contains options for subscribing to a search topic.
|
|
600
|
-
*/
|
|
601
|
-
export interface SearchTopicSubscribeRequest {
|
|
602
|
-
topic?: string;
|
|
603
|
-
/**
|
|
604
|
-
* If a search topic is created from a platform, it will be sandboxed to said platform.
|
|
605
|
-
* By configuring this UUID, an OpenFin app can subscribe to a platform sandboxed search topic by the platform's UUID.
|
|
606
|
-
*
|
|
607
|
-
* By default, this is configured to the UUID of the current platform if the current OpenFin identity is a view.
|
|
608
|
-
* If the current OpenFin identity is not a view, this field is left empty.
|
|
609
|
-
*/
|
|
610
|
-
uuid?: string;
|
|
611
|
-
}
|