@openfin/workspace-platform 22.3.34 → 22.3.39
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/src/component-perfomance.d.ts +1 -1
- package/client-api-platform/src/api/app-directory.d.ts +1 -1
- package/common/src/utils/application.d.ts +2 -16
- package/common/src/utils/env.d.ts +4 -11
- package/common/src/utils/namespaced-local-storage.d.ts +3 -3
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +2 -3
- package/workspace_platform.zip +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
2
|
type ComponentNames = 'home' | 'dock' | 'store';
|
|
3
|
-
export declare const setupComponentPerformance: (component: ComponentNames, componentWindowIdentity: OpenFin.Identity) =>
|
|
3
|
+
export declare const setupComponentPerformance: (component: ComponentNames, componentWindowIdentity: OpenFin.Identity) => void;
|
|
4
4
|
export {};
|
|
@@ -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.Application | OpenFin.View | OpenFin.Platform>;
|
|
11
11
|
export declare const enterpriseAppDirectoryChannelClient: () => Promise<OpenFin.ChannelClient>;
|
|
12
12
|
export declare function getResults(payload: {
|
|
13
13
|
req: SearchSitesRequest;
|
|
@@ -21,19 +21,5 @@ export type ApplicationInfoExtended = OpenFin.ApplicationInfo & {
|
|
|
21
21
|
userAppConfigArgs: any;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
export declare const getCurrentOFApplication: () =>
|
|
25
|
-
export declare const getWorkspaceOFApplication: () =>
|
|
26
|
-
/**
|
|
27
|
-
* Gets the application manifest, caching the result after the first call.
|
|
28
|
-
* The manifest never changes during the application lifecycle, so this avoids redundant async calls.
|
|
29
|
-
* Uses promise-based caching to prevent race conditions when multiple calls occur before the first completes.
|
|
30
|
-
* @returns A Promise resolving to the application manifest
|
|
31
|
-
*/
|
|
32
|
-
export declare const getCachedManifest: () => Promise<OpenFin.Manifest>;
|
|
33
|
-
/**
|
|
34
|
-
* Gets application info, caching the result after the first call.
|
|
35
|
-
* Application info (manifestUrl, licenseKey, runtime version, etc.) never changes
|
|
36
|
-
* during the application lifecycle. Multiple callers (overrides, sentry, analytics)
|
|
37
|
-
* share a single IPC call.
|
|
38
|
-
*/
|
|
39
|
-
export declare const getCachedAppInfo: () => Promise<OpenFin.ApplicationInfo>;
|
|
24
|
+
export declare const getCurrentOFApplication: () => OpenFin.Application;
|
|
25
|
+
export declare const getWorkspaceOFApplication: () => OpenFin.Application;
|
|
@@ -4,21 +4,14 @@ export declare enum Env {
|
|
|
4
4
|
Staging = "staging",
|
|
5
5
|
Prod = "prod"
|
|
6
6
|
}
|
|
7
|
-
export declare const
|
|
8
|
-
isFin: boolean;
|
|
9
|
-
uuid: string;
|
|
10
|
-
name: string;
|
|
11
|
-
entityType: "window" | "view" | "";
|
|
12
|
-
};
|
|
13
|
-
export declare let isFin: boolean;
|
|
7
|
+
export declare const isFin: boolean;
|
|
14
8
|
export declare const isJest: boolean;
|
|
15
9
|
export declare const isWindowDefined: boolean;
|
|
16
10
|
export declare const isDocumentDefined: boolean;
|
|
17
11
|
export declare const isWindowDefinedWithIndexDB: boolean;
|
|
18
|
-
export declare
|
|
19
|
-
export declare
|
|
20
|
-
export declare
|
|
21
|
-
export declare const finReady: Promise<void>;
|
|
12
|
+
export declare const finUUID: string;
|
|
13
|
+
export declare const finName: string;
|
|
14
|
+
export declare const finEntityType: "" | "window" | "view";
|
|
22
15
|
export declare const isEnvLocal: boolean;
|
|
23
16
|
export declare const isEnvDev: boolean;
|
|
24
17
|
export declare const isEnvStaging: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const createNamespacedLocalStorage: <TKey extends string>(namespace: string) => Pick<Storage, "setItem" | "getItem" | "removeItem">;
|
|
2
|
-
export declare const setItem:
|
|
3
|
-
export declare const getItem:
|
|
4
|
-
export declare const removeItem:
|
|
2
|
+
export declare const setItem: (key: string, value: string) => void;
|
|
3
|
+
export declare const getItem: (key: string) => string | null;
|
|
4
|
+
export declare const removeItem: (key: string) => void;
|