@openfin/workspace 20.3.9 → 20.3.10

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.
@@ -7,7 +7,7 @@ import type { LaunchAppRequest, SearchSitesRequest, SearchSitesResponse, Site }
7
7
  * @param app the app directory entry.
8
8
  * @param opts launch options.
9
9
  */
10
- export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.View | OpenFin.Identity | OpenFin.Application | OpenFin.Platform>;
10
+ export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.View | OpenFin.Identity | OpenFin.Platform | OpenFin.Application>;
11
11
  export declare const enterpriseAppDirectoryChannelClient: () => Promise<OpenFin.ChannelClient>;
12
12
  export declare function getResults(payload: {
13
13
  req: SearchSitesRequest;
@@ -1206,8 +1206,10 @@ export type SiteAction = {
1206
1206
  id: string;
1207
1207
  title: string;
1208
1208
  altText?: string;
1209
- lightIcon?: string;
1210
- darkIcon?: string;
1209
+ icon?: {
1210
+ light: string;
1211
+ dark: string;
1212
+ };
1211
1213
  description?: string;
1212
1214
  };
1213
1215
  /**
@@ -1220,7 +1222,12 @@ export type SiteInfo = {
1220
1222
  cta?: string;
1221
1223
  actions?: SiteAction[];
1222
1224
  rightSideIcon?: IconType;
1225
+ customData?: unknown;
1223
1226
  };
1227
+ /**
1228
+ * @internal
1229
+ */
1230
+ export type { IconType };
1224
1231
  /**
1225
1232
  * @internal
1226
1233
  */
@@ -1233,7 +1240,6 @@ export type AppSite = SiteInfo & {
1233
1240
  size?: 'standard' | 'large';
1234
1241
  };
1235
1242
  };
1236
- customData?: unknown;
1237
1243
  };
1238
1244
  /**
1239
1245
  * @internal
@@ -2741,6 +2747,10 @@ export interface EnterpriseDockChannelProvider extends Omit<OpenFin.ChannelProvi
2741
2747
  export type SearchProviderFilter = {
2742
2748
  id: string;
2743
2749
  title: string;
2750
+ icon?: {
2751
+ light: string;
2752
+ dark: string;
2753
+ };
2744
2754
  };
2745
2755
  /**
2746
2756
  * Enterprise: Shape of provider for Search Tabs.