@openfin/workspace-platform 24.0.15 → 24.0.16
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/api/app-directory.d.ts +1 -1
- package/client-api-platform/src/api/controllers/theme-storage-controller-store.d.ts +8 -0
- package/common/src/api/theming.d.ts +1 -1
- package/externals.report.json +14 -14
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/workspace_platform.zip +0 -0
|
@@ -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.
|
|
10
|
+
export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.Identity | OpenFin.Platform | OpenFin.Application | OpenFin.View>;
|
|
11
11
|
export declare const enterpriseAppDirectoryChannelClient: () => Promise<OpenFin.ChannelClient>;
|
|
12
12
|
export declare function getResults(payload: {
|
|
13
13
|
req: SearchSitesRequest;
|
|
@@ -23,6 +23,14 @@ export declare const getThemeStorageController: () => ThemeStorageController;
|
|
|
23
23
|
* @param allowFailure Whether to suppress rejections and continue anyway. Recommended for most use cases.
|
|
24
24
|
*/
|
|
25
25
|
export declare const waitForFirstThemeSync: (allowFailure?: boolean) => Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Whether `initialiseThemeController` has run in this module instance. Callers that gate on
|
|
28
|
+
* `waitForFirstThemeSync` must check this first: `firstThemeSync` is module-level state, so a
|
|
29
|
+
* separately-bundled copy of this module (e.g. `@openfin/enterprise-api`, which bundles its own
|
|
30
|
+
* copy alongside the customer's `@openfin/workspace-platform`) has a promise that nothing will
|
|
31
|
+
* ever settle — awaiting it would hang forever.
|
|
32
|
+
*/
|
|
33
|
+
export declare const isThemeControllerInitialised: () => boolean;
|
|
26
34
|
/**
|
|
27
35
|
* Creates and initialises the Theme Storage Controller singleton.
|
|
28
36
|
*
|
|
@@ -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:
|
|
310
|
+
theme: CustomThemes | GeneratedPalettes;
|
|
311
311
|
defaultScheme: ColorSchemeOptionType;
|
|
312
312
|
themePaletteSheet: string;
|
|
313
313
|
}>;
|
package/externals.report.json
CHANGED
|
@@ -21,14 +21,6 @@
|
|
|
21
21
|
"issuer": "common/src/utils/color-linking.ts"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
-
"lodash.clonedeep": [
|
|
25
|
-
{
|
|
26
|
-
"type": "explicit",
|
|
27
|
-
"version": "4.5.0",
|
|
28
|
-
"packageName": "common/package.json",
|
|
29
|
-
"issuer": "common/src/utils/layout.ts"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
24
|
"react-i18next": [
|
|
33
25
|
{
|
|
34
26
|
"type": "explicit",
|
|
@@ -45,19 +37,27 @@
|
|
|
45
37
|
"issuer": "common/src/api/i18next.ts"
|
|
46
38
|
}
|
|
47
39
|
],
|
|
48
|
-
"
|
|
40
|
+
"lodash.clonedeep": [
|
|
49
41
|
{
|
|
50
|
-
"type": "
|
|
51
|
-
"version": "
|
|
52
|
-
"packageName": "
|
|
53
|
-
"issuer": "
|
|
54
|
-
}
|
|
42
|
+
"type": "explicit",
|
|
43
|
+
"version": "4.5.0",
|
|
44
|
+
"packageName": "common/package.json",
|
|
45
|
+
"issuer": "common/src/utils/layout.ts"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"dexie": [
|
|
55
49
|
{
|
|
56
50
|
"type": "explicit",
|
|
57
51
|
"version": "^4.0.11",
|
|
58
52
|
"packageName": "client-api-platform/package.json",
|
|
59
53
|
"issuer": "client-api-platform/src/api/dock/idb.ts"
|
|
60
54
|
},
|
|
55
|
+
{
|
|
56
|
+
"type": "root-implicit",
|
|
57
|
+
"version": "^4.0.11",
|
|
58
|
+
"packageName": "dock3/package.json",
|
|
59
|
+
"issuer": "dock3/src/api/idb.ts"
|
|
60
|
+
},
|
|
61
61
|
{
|
|
62
62
|
"type": "explicit",
|
|
63
63
|
"version": "^4.0.11",
|