@openfin/workspace-platform 20.1.1 → 20.1.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.
- package/client-api-platform/src/init/override-callback/browser-defaults.d.ts +1 -1
- package/client-api-platform/src/shapes.d.ts +27 -0
- package/common/src/utils/browser-base-url.d.ts +2 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/search-api/src/client/internal.d.ts +4 -4
- package/search-api/src/client/remote/channel-client-factory.d.ts +2 -1
- package/search-api/src/client/remote/channel-client.d.ts +4 -4
- package/search-api/src/fin/index.d.ts +2 -3
- package/search-api/src/index.d.ts +1 -1
- package/search-api/src/internal-shapes.d.ts +1 -1
- package/search-api/src/provider/internal.d.ts +3 -1
- package/search-api/src/provider/remote/channel-factory.d.ts +2 -1
- package/search-api/src/provider/remote/channel.d.ts +4 -4
- package/search-api/src/shapes.d.ts +17 -2
- package/workspace_platform.zip +0 -0
- package/search-api/src/fin/shapes.d.ts +0 -23
|
@@ -2,7 +2,7 @@ import type OpenFin from '@openfin/core';
|
|
|
2
2
|
import { WindowName } from '../../../../common/src/utils/window';
|
|
3
3
|
import type { PreloadedThemeData } from '../../../../common/src/api/theming';
|
|
4
4
|
import { BrowserInitConfig } from '../../../../client-api-platform/src/shapes';
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const defaultBrowserUrl: () => Promise<string>;
|
|
6
6
|
export declare const ENTERPRISE_LANDING_PAGE_URL: string;
|
|
7
7
|
export declare const searchMenuIdentityBase: {
|
|
8
8
|
uuid: string;
|
|
@@ -1899,6 +1899,29 @@ export interface AnalyticsConfig {
|
|
|
1899
1899
|
}
|
|
1900
1900
|
export { SUPPORTED_LANGUAGES } from '@openfin/ui-library';
|
|
1901
1901
|
export type Locale = Languages;
|
|
1902
|
+
/**
|
|
1903
|
+
* Configures the workspace to self-host using an asar bundle at the
|
|
1904
|
+
* specified path.
|
|
1905
|
+
*
|
|
1906
|
+
* @remarks Intended as a development tool - in production,
|
|
1907
|
+
* use {@link WorkspaceAsarAssetConfig}.
|
|
1908
|
+
*/
|
|
1909
|
+
export type WorkspaceAsarPathConfig = {
|
|
1910
|
+
/**
|
|
1911
|
+
* Path of the asar bundle with which to self-host.
|
|
1912
|
+
*/
|
|
1913
|
+
path: string;
|
|
1914
|
+
};
|
|
1915
|
+
/**
|
|
1916
|
+
* Configures the workspace to self-host using the specified asar bundle
|
|
1917
|
+
* app asset.
|
|
1918
|
+
*/
|
|
1919
|
+
export type WorkspaceAsarAssetConfig = {
|
|
1920
|
+
/**
|
|
1921
|
+
* App asset alias of the asar bundle with which to self-host.
|
|
1922
|
+
*/
|
|
1923
|
+
alias: string;
|
|
1924
|
+
};
|
|
1902
1925
|
/**
|
|
1903
1926
|
* Configuration for initializing a Workspace platform.
|
|
1904
1927
|
*/
|
|
@@ -2024,6 +2047,10 @@ export interface WorkspacePlatformInitConfig {
|
|
|
2024
2047
|
* Leave undefined to use OpenFin hosted Notification Center.
|
|
2025
2048
|
*/
|
|
2026
2049
|
notifications?: NotificationsCustomManifestOptions;
|
|
2050
|
+
/**
|
|
2051
|
+
* Configuration for self-hosting of workspace assets.
|
|
2052
|
+
*/
|
|
2053
|
+
workspaceAsar?: WorkspaceAsarAssetConfig | WorkspaceAsarPathConfig;
|
|
2027
2054
|
}
|
|
2028
2055
|
/**
|
|
2029
2056
|
* Extend or replace default functionality in order to customize behavior of a Workspace Platform Provider.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
export declare function setLocalBrowserUrl(url: string): void;
|
|
1
2
|
/**
|
|
2
3
|
* Get the browser base url override if it exists
|
|
3
4
|
*
|
|
4
5
|
* @returns The browser base url override if it exists, otherwise null
|
|
5
6
|
*/
|
|
6
|
-
export declare function getBrowserBaseUrl(): Promise<string
|
|
7
|
+
export declare function getBrowserBaseUrl(): Promise<string>;
|