@openfin/workspace 45.1.0-alpha.707d959e → 45.1.0-alpha.76fdf8b1
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,2 +1,19 @@
|
|
|
1
1
|
import { OpenFin } from '@openfin/core';
|
|
2
|
-
|
|
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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isTransientNetworkError: (error: unknown) => boolean;
|