@openfin/workspace-platform 20.3.2 → 20.3.3

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.
@@ -1,5 +1,6 @@
1
1
  import type OpenFin from '@openfin/core';
2
2
  import { App } from '../../../client-api/src/shapes';
3
+ import { SearchProvider } from '../../../client-api-platform/src/shapes';
3
4
  import type { LaunchAppRequest, SearchSitesRequest, SearchSitesResponse, Site } from '../shapes';
4
5
  /**
5
6
  * Launch the app described by an App Directory entry.
@@ -13,6 +14,9 @@ export declare function getResults(payload: {
13
14
  } & {
14
15
  identity: OpenFin.Identity;
15
16
  }): Promise<SearchSitesResponse>;
17
+ export declare function getSearchProviders(payload: {
18
+ identity: OpenFin.Identity;
19
+ }): Promise<SearchProvider[]>;
16
20
  export declare function getCuratedContent(payload: {
17
21
  identity: OpenFin.Identity;
18
22
  }): Promise<Site[]>;
@@ -70,6 +70,7 @@ export declare enum WorkspacePlatformChannelAction {
70
70
  GetRecentlyVisitedSitesInternal = "getRecentlyVisitedSitesInternal",
71
71
  GetFrequentlyVisitedSitesInternal = "getFrequentlyVisitedSitesInternal",
72
72
  SearchSitesInternal = "searchSitesInternal",
73
+ GetSearchProvidersInternal = "getSearchProvidersInternal",
73
74
  GetCuratedContentInternal = "getCuratedContentInternal",
74
75
  HandleRequestNavigationInternal = "handleRequestNavigationInternal",
75
76
  RefreshBookmarksInternal = "refreshBookmarksInternal",
@@ -11,3 +11,4 @@ export declare const createBookmarkPanelActionsMonitorChannel: () => Promise<Ope
11
11
  export declare const connectToBookmarkPanelActionsMonitor: () => Promise<OpenFin.ChannelClient>;
12
12
  export declare const createContextMenuChannel: () => Promise<OpenFin.ChannelProvider>;
13
13
  export declare const connectToContextMenuChannel: () => Promise<OpenFin.ChannelClient>;
14
+ export declare const connectToEnterpriseContentChannel: (uuid: string) => Promise<OpenFin.ChannelClient>;
@@ -19,6 +19,7 @@ export type SearchMenuChannelUpdateState = {
19
19
  searchText?: string;
20
20
  keyboardEvent?: BrowserSearchMenuKeyboardEvent;
21
21
  shouldExpandMenu?: SearchViewExpansionState;
22
+ offsetLeft?: number;
22
23
  type: 'update-search-menu-state';
23
24
  };
24
25
  export type BrowserSearchMenuKeyboardEvent = {
@@ -63,8 +64,6 @@ export type SearchMenuChannelResponse = {
63
64
  handled?: boolean;
64
65
  } | {
65
66
  type: 'resize-view';
66
- isExpanded: boolean;
67
- height: number;
68
67
  width: number;
69
68
  } | {
70
69
  type: 'keyboard-event';