@openfin/workspace-platform 45.1.0-alpha.d4ad0cdd → 45.1.0-alpha.e0d4d1d9

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.Identity | OpenFin.Application | OpenFin.View | OpenFin.Platform>;
10
+ export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.Identity | OpenFin.View | OpenFin.Platform | OpenFin.Application>;
11
11
  export declare const enterpriseAppDirectoryChannelClient: () => Promise<OpenFin.ChannelClient>;
12
12
  export declare function getResults(payload: {
13
13
  req: SearchSitesRequest;
@@ -1,19 +1,2 @@
1
1
  import { OpenFin } from '@openfin/core';
2
- interface ViewComponentDef {
3
- name: string;
4
- url: string;
5
- }
6
- /**
7
- * Create non-layout view components for the browser window.
8
- * This includes find-in-page, search view, and (if enabled) AI companion view.
9
- *
10
- * Returns the list of views that failed to create due to transient network errors.
11
- */
12
- export declare const createNonLayoutViewComponents: (isEnterprise: boolean, overrideOptions: OpenFin.PlatformWindowCreationOptions) => Promise<ViewComponentDef[]>;
13
- /**
14
- * Retries creating views that failed due to transient network errors.
15
- * Registers a one-shot `shown` listener on the window — by the time the window is
16
- * visible, network connectivity has been restored (content had to load to trigger show).
17
- */
18
- export declare const recoverFailedViewComponents: (viewCreationPromise: Promise<ViewComponentDef[]>, parentWindow: OpenFin.Window) => Promise<void>;
19
- export {};
2
+ export declare const createNonLayoutViewComponents: (isEnterprise: boolean, overrideOptions: OpenFin.PlatformWindowCreationOptions) => Promise<void[]>;
@@ -307,7 +307,7 @@ export declare const constructThemePaletteSheet: (themes: GeneratedPalettes, leg
307
307
  dark: string;
308
308
  }) => string;
309
309
  export declare const getComputedPlatformTheme: (platformIdentity: OpenFin.Identity) => Promise<{
310
- theme: CustomThemes | GeneratedPalettes;
310
+ theme: GeneratedPalettes | CustomThemes;
311
311
  defaultScheme: ColorSchemeOptionType;
312
312
  themePaletteSheet: string;
313
313
  }>;
@@ -2,6 +2,10 @@
2
2
  * All routes that serve HTML pages for the app.
3
3
  * Routes should include the zone that the HTML page is a part of.
4
4
  * Make sure to include trailing slash, as it is essential for deployed version to route correctly.
5
+ *
6
+ * Offline: zone `pages/` HTML is auto-precached at build time via
7
+ * `common/scripts/offline-document-routes.js` (used by createWorkspaceNextConfig).
8
+ * Adding a new page under `pages/` is enough — no manual SW list update.
5
9
  */
6
10
  declare enum WorkspaceRoute {
7
11
  Home = "/home/",
@@ -46,18 +46,18 @@
46
46
  }
47
47
  ],
48
48
  "dexie": [
49
- {
50
- "type": "explicit",
51
- "version": "^4.0.11",
52
- "packageName": "client-api-platform/package.json",
53
- "issuer": "client-api-platform/src/api/dock/idb.ts"
54
- },
55
49
  {
56
50
  "type": "root-implicit",
57
51
  "version": "^4.0.11",
58
52
  "packageName": "dock3/package.json",
59
53
  "issuer": "dock3/src/api/idb.ts"
60
54
  },
55
+ {
56
+ "type": "explicit",
57
+ "version": "^4.0.11",
58
+ "packageName": "client-api-platform/package.json",
59
+ "issuer": "client-api-platform/src/api/dock/idb.ts"
60
+ },
61
61
  {
62
62
  "type": "explicit",
63
63
  "version": "^4.0.11",