@openfin/workspace-platform 4.17.0 → 4.18.0
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.
|
@@ -43,16 +43,23 @@ export interface UpdateAttachedPageRequest {
|
|
|
43
43
|
* Request for creating a browser window.
|
|
44
44
|
*/
|
|
45
45
|
export interface BrowserCreateWindowRequest extends Omit<OpenFin.PlatformWindowCreationOptions, 'workspacePlatform'> {
|
|
46
|
+
/** WorkspacePlatform specific window options. These options will not work unless a workspace platform has been initialized. */
|
|
46
47
|
workspacePlatform: {
|
|
47
48
|
/** The initial set of pages to add to the created browser window. */
|
|
48
49
|
pages: Page[];
|
|
49
|
-
/** The favicon to display on the top
|
|
50
|
+
/** The favicon to display on the top left of the created browser window. */
|
|
50
51
|
favicon?: string;
|
|
51
52
|
/** A UI friendly title for the created browser window. */
|
|
52
53
|
title?: string;
|
|
53
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Landing page that shows up when you add a new tab from the plus button that exists in the tabstrip.
|
|
56
|
+
* If you do not provide a newTabUrl, then the plus button in the tabstrip will not be shown and users cannot create a new empty tab.
|
|
57
|
+
*/
|
|
54
58
|
newTabUrl?: string;
|
|
55
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* Landing page that shows up when you add a new page from the plus button that exists in the window frame where the page selector is shown.
|
|
61
|
+
* If you do not provide a newPageUrl, then the new Page plus button will not be shown and you cannot create a new empty Page or Window.
|
|
62
|
+
*/
|
|
56
63
|
newPageUrl?: string;
|
|
57
64
|
};
|
|
58
65
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@openfin/workspace-platform","description":"An API for creating your own Workspace platform.","contributors":[],"version":"4.
|
|
1
|
+
{"name":"@openfin/workspace-platform","description":"An API for creating your own Workspace platform.","contributors":[],"version":"4.18.0","main":"index.ts","scripts":{"deploy":"npm run deploy:npm && npm run deploy:docs","deploy:npm":"cd out && npm publish","deploy:docs":"aws s3 cp --recursive ./docs/ s3://cdn.openfin.co/workspace/api/platform/docs/","deploy:next":"npm run deploy:next:npm && npm run deploy:next:docs","deploy:next:npm":"cd out && npm publish --tag next","deploy:next:docs":"aws s3 cp --recursive ./docs/ s3://cdn.openfin.co/workspace/api/platform/docs/next/","cp:readme":"copyfiles README.md out","cp:package":"node ../common/scripts/cp-package.js","cp:next:package":"node ../common/scripts/cp-package-next.js","create:rootIndex":"node ../common/scripts/cp-root-index.js","package":"npm run cp:readme && npm run cp:package && npm run create:rootIndex","package:next":"npm run cp:readme && npm run cp:next:package && npm run create:rootIndex","clean":"rimraf ./out && rimraf ./docs","build:common":"cross-env ENV=prod webpack --mode=production --config ./webpack.common.config.js","build":"npm run clean && npm run build:common && npm run build:docs","build:docs":"typedoc --tsconfig ./tsconfig.json --readme none --disableSources ./src/index.ts","test":"jest --watch --colors","test:ci":"jest"},"keywords":["client","api","workspace","platform"],"license":"MIT"}
|