@openfin/workspace 45.1.0-alpha.9e06d950 → 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.
- package/client-api-platform/src/init/override-callback/view-components.d.ts +18 -1
- package/common/src/utils/network-errors.d.ts +1 -0
- package/common/src/utils/route.d.ts +0 -4
- package/externals.report.json +2 -2
- package/home.js +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/notifications.js +1 -1
- package/package.json +1 -1
- package/store.js +1 -1
|
@@ -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;
|
|
@@ -2,10 +2,6 @@
|
|
|
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.
|
|
9
5
|
*/
|
|
10
6
|
declare enum WorkspaceRoute {
|
|
11
7
|
Home = "/home/",
|
package/externals.report.json
CHANGED
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
"type": "explicit",
|
|
85
85
|
"version": "^4.0.11",
|
|
86
86
|
"packageName": "common/package.json",
|
|
87
|
-
"issuer": "common/src/
|
|
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/
|
|
93
|
+
"issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
|
|
94
94
|
}
|
|
95
95
|
]
|
|
96
96
|
}
|