@openfin/workspace 45.1.0-alpha.b3d8b89c → 45.1.0-alpha.d4ad0cdd

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.Platform | OpenFin.Application>;
10
+ export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.Identity | OpenFin.Platform | OpenFin.View | OpenFin.Application>;
11
11
  export declare const enterpriseAppDirectoryChannelClient: () => Promise<OpenFin.ChannelClient>;
12
12
  export declare function getResults(payload: {
13
13
  req: SearchSitesRequest;
@@ -1,2 +1,19 @@
1
1
  import { OpenFin } from '@openfin/core';
2
- export declare const createNonLayoutViewComponents: (isEnterprise: boolean, overrideOptions: OpenFin.PlatformWindowCreationOptions) => Promise<void[]>;
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 {};
@@ -11,7 +11,7 @@ export declare const isDocumentDefined: boolean;
11
11
  export declare const isWindowDefinedWithIndexDB: boolean;
12
12
  export declare const finUUID: string;
13
13
  export declare const finName: string;
14
- export declare const finEntityType: "" | "window" | "view";
14
+ export declare const finEntityType: "" | "view" | "window";
15
15
  export declare const isEnvLocal: boolean;
16
16
  export declare const isEnvDev: boolean;
17
17
  export declare const isEnvStaging: boolean;
@@ -0,0 +1 @@
1
+ export declare const isTransientNetworkError: (error: unknown) => boolean;
@@ -84,13 +84,13 @@
84
84
  "type": "explicit",
85
85
  "version": "^4.0.11",
86
86
  "packageName": "common/package.json",
87
- "issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
87
+ "issuer": "common/src/api/pages/idb.ts"
88
88
  },
89
89
  {
90
90
  "type": "explicit",
91
91
  "version": "^4.0.11",
92
92
  "packageName": "common/package.json",
93
- "issuer": "common/src/api/pages/idb.ts"
93
+ "issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
94
94
  }
95
95
  ]
96
96
  }