@openfin/workspace-platform 13.0.0 → 13.0.2
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.
|
@@ -4,4 +4,4 @@ import type { BrowserInitConfig } from '..';
|
|
|
4
4
|
/**
|
|
5
5
|
* Applies default options to the creation of browser windows.
|
|
6
6
|
*/
|
|
7
|
-
export declare const applyBrowserDefaults: (options: OpenFin.PlatformWindowCreationOptions, initOptions: Pick<BrowserInitConfig, 'defaultWindowOptions' | 'defaultPageOptions'
|
|
7
|
+
export declare const applyBrowserDefaults: (options: OpenFin.PlatformWindowCreationOptions, initOptions: Pick<BrowserInitConfig, 'defaultWindowOptions' | 'defaultPageOptions'> | undefined, theme?: CustomThemeOptions | CustomThemeOptionsWithScheme) => Promise<OpenFin.PlatformWindowCreationOptions>;
|
|
@@ -1399,7 +1399,7 @@ export interface WorkspacePlatformInitConfig {
|
|
|
1399
1399
|
/** Config for overriding browser options and behavior.
|
|
1400
1400
|
* Set to null to initalize the platform without the browser
|
|
1401
1401
|
*/
|
|
1402
|
-
browser?: BrowserInitConfig;
|
|
1402
|
+
browser?: BrowserInitConfig | null;
|
|
1403
1403
|
/** Custom Themes object
|
|
1404
1404
|
*
|
|
1405
1405
|
* ```ts
|
|
@@ -15,13 +15,13 @@ export declare enum ComponentName {
|
|
|
15
15
|
Platform = "Platform",
|
|
16
16
|
Theming = "Theming"
|
|
17
17
|
}
|
|
18
|
-
export declare const registerBrowserUsage: (status: RegisterUsageStatus) =>
|
|
19
|
-
export declare const registerHomeUsage: (status: RegisterUsageStatus) =>
|
|
20
|
-
export declare const registerStorefrontUsage: (status: RegisterUsageStatus) =>
|
|
21
|
-
export declare const registerDockUsage: (status: RegisterUsageStatus) =>
|
|
22
|
-
export declare const registerNotificationUsage: (status: RegisterUsageStatus) =>
|
|
23
|
-
export declare const registerPlatformUsage: (status: RegisterUsageStatus) =>
|
|
24
|
-
export declare const registerThemingUsage: (status: RegisterUsageStatus) =>
|
|
18
|
+
export declare const registerBrowserUsage: (status: RegisterUsageStatus) => void;
|
|
19
|
+
export declare const registerHomeUsage: (status: RegisterUsageStatus) => void;
|
|
20
|
+
export declare const registerStorefrontUsage: (status: RegisterUsageStatus) => void;
|
|
21
|
+
export declare const registerDockUsage: (status: RegisterUsageStatus) => void;
|
|
22
|
+
export declare const registerNotificationUsage: (status: RegisterUsageStatus) => void;
|
|
23
|
+
export declare const registerPlatformUsage: (status: RegisterUsageStatus) => void;
|
|
24
|
+
export declare const registerThemingUsage: (status: RegisterUsageStatus) => void;
|
|
25
25
|
export declare enum AnalyticsSource {
|
|
26
26
|
Browser = "Browser",
|
|
27
27
|
Dock = "Dock",
|