@openfin/workspace 45.0.9 → 45.0.10

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.Platform | OpenFin.View | OpenFin.Application>;
10
+ export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.View | OpenFin.Identity | OpenFin.Platform | OpenFin.Application>;
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
  *
@@ -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: "" | "view" | "window";
14
+ export declare const finEntityType: "" | "window" | "view";
15
15
  export declare const isEnvLocal: boolean;
16
16
  export declare const isEnvDev: boolean;
17
17
  export declare const isEnvStaging: boolean;
@@ -43,22 +43,6 @@
43
43
  "issuer": "common/src/utils/layout.ts"
44
44
  }
45
45
  ],
46
- "react-i18next": [
47
- {
48
- "type": "explicit",
49
- "version": "15.4.0",
50
- "packageName": "common/package.json",
51
- "issuer": "common/src/api/i18next.ts"
52
- }
53
- ],
54
- "i18next": [
55
- {
56
- "type": "explicit",
57
- "version": "^23.7.16",
58
- "packageName": "common/package.json",
59
- "issuer": "common/src/api/i18next.ts"
60
- }
61
- ],
62
46
  "dexie": [
63
47
  {
64
48
  "type": "root-implicit",
@@ -85,6 +69,22 @@
85
69
  "issuer": "common/src/api/pages/idb.ts"
86
70
  }
87
71
  ],
72
+ "react-i18next": [
73
+ {
74
+ "type": "explicit",
75
+ "version": "15.4.0",
76
+ "packageName": "common/package.json",
77
+ "issuer": "common/src/api/i18next.ts"
78
+ }
79
+ ],
80
+ "i18next": [
81
+ {
82
+ "type": "explicit",
83
+ "version": "^23.7.16",
84
+ "packageName": "common/package.json",
85
+ "issuer": "common/src/api/i18next.ts"
86
+ }
87
+ ],
88
88
  "lodash.clonedeep": [
89
89
  {
90
90
  "type": "explicit",