@openfin/workspace-platform 4.18.0 → 4.19.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.
- package/client-api/src/shapes.d.ts +5 -4
- package/client-api-platform/src/api/browser/browser-module.d.ts +1 -1
- package/client-api-platform/src/api/browser/index.d.ts +1 -1
- package/client-api-platform/src/api/pages/helper.d.ts +1 -1
- package/client-api-platform/src/api/pages/index.d.ts +2 -2
- package/client-api-platform/src/api/storage.d.ts +1 -1
- package/client-api-platform/src/api/theming.d.ts +1 -1
- package/client-api-platform/src/init/override-callback.d.ts +1 -1
- package/client-api-platform/src/shapes.d.ts +1 -1
- package/common/src/api/pages/idb.d.ts +1 -1
- package/common/src/api/pages/index.d.ts +1 -1
- package/common/src/api/pages/legacy.d.ts +1 -1
- package/common/src/utils/theming.d.ts +1 -1
- package/package.json +1 -1
- package/search-api/src/client/internal.d.ts +1 -1
|
@@ -4,11 +4,12 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { Page } from '../../common/src/api/pages/shapes';
|
|
6
6
|
import type { Workspace } from '../../common/src/api/workspaces';
|
|
7
|
-
import type { Action, DispatchedSearchResult, SearchListenerRequest, SearchListenerResponse, SearchProvider, SearchResult } from '../../search-api/src';
|
|
8
|
-
export type { Action, DispatchedSearchResult, SearchListenerRequest, SearchListenerResponse, SearchProviderInfo, SearchResult, ScoreOrder, SearchTag, SearchProvider, UserInputListener, ResultDispatchListener, SearchResponse } from '../../search-api/src';
|
|
7
|
+
import type { Action, DispatchedSearchResult, SearchListenerRequest, SearchListenerResponse, SearchProvider, SearchResult } from '../../search-api/src/index';
|
|
8
|
+
export type { Action, DispatchedSearchResult, SearchListenerRequest, SearchListenerResponse, SearchProviderInfo, SearchResult, ScoreOrder, SearchTag, SearchProvider, UserInputListener, ResultDispatchListener, SearchResponse } from '../../search-api/src/index';
|
|
9
9
|
export type { Workspace } from '../../common/src/api/workspaces';
|
|
10
|
-
export type {
|
|
11
|
-
export {
|
|
10
|
+
export type { LayoutExtended, LayoutContentExtended, LayoutSettingsExtended, LayoutContentItemExtended, LayoutComponentExtended, LayoutComponentStateExtended, LayoutStack } from '../../common/src/utils/layout';
|
|
11
|
+
export type { Page, PageLayout, PageLayoutDetails } from '../../common/src/api/pages/shapes';
|
|
12
|
+
export { SearchTagBackground } from '../../search-api/src/index';
|
|
12
13
|
/**
|
|
13
14
|
* Describes the type of the app directory entry `manifest` attributes.
|
|
14
15
|
* Launch mechanics are determined by the manifest type.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="openfin-adapter/fin" />
|
|
2
|
-
import type { AttachedPage, Page, PageWithUpdatableRuntimeAttribs } from '
|
|
2
|
+
import type { AttachedPage, Page, PageWithUpdatableRuntimeAttribs } from '../../../../common/src/api/pages/shapes';
|
|
3
3
|
export declare const getBrowserModule: (identity: OpenFin.Identity) => {
|
|
4
4
|
identity: OpenFin.Identity;
|
|
5
5
|
openfinWindow: import("openfin-adapter").Window;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="openfin-adapter/fin" />
|
|
2
|
-
import type { AttachedPage, Page } from '
|
|
2
|
+
import type { AttachedPage, Page } from '../../../../common/src/api/pages/shapes';
|
|
3
3
|
import type { BrowserCreateWindowRequest, BrowserWindowModule } from '../../shapes';
|
|
4
4
|
export declare const getBrowserApi: (identity: OpenFin.ApplicationIdentity) => {
|
|
5
5
|
wrapSync: (windowIdentity: OpenFin.Identity) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="openfin-adapter/fin" />
|
|
2
|
-
import type { AttachPagesToWindowPayload } from '
|
|
3
|
-
import type { CreateSavedPageRequest, Page, UpdateSavedPageRequest } from '
|
|
2
|
+
import type { AttachPagesToWindowPayload } from '../../../../common/src/api/pages/shapes';
|
|
3
|
+
import type { CreateSavedPageRequest, Page, UpdateSavedPageRequest } from '../../../../client-api-platform/src/shapes';
|
|
4
4
|
/**
|
|
5
5
|
* Get all open pages in which are attached to a window.
|
|
6
6
|
* @returns the list of attached pages.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Page } from '
|
|
1
|
+
import { Page } from '../../../common/src/api/pages/shapes';
|
|
2
2
|
import type { CreateSavedPageRequest, UpdateSavedPageRequest } from '../shapes';
|
|
3
3
|
export declare const getStorageApi: (identity: any) => {
|
|
4
4
|
createPage: (req: CreateSavedPageRequest) => Promise<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="openfin-adapter/fin" />
|
|
2
|
-
import type { CustomThemes } from '
|
|
2
|
+
import type { CustomThemes } from '../../../common/src/api/theming';
|
|
3
3
|
export declare const getThemingApi: (identity: OpenFin.ApplicationIdentity) => {
|
|
4
4
|
getThemes: () => Promise<CustomThemes>;
|
|
5
5
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="openfin-adapter/fin" />
|
|
2
|
-
import type { BrowserInitConfig } from '
|
|
2
|
+
import type { BrowserInitConfig } from '../../../client-api-platform/src/shapes';
|
|
3
3
|
export declare const getOverrideCallback: (initOptions: BrowserInitConfig) => OpenFin.OverrideCallback<OpenFin.PlatformProvider>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="openfin-adapter/fin" />
|
|
2
2
|
import type { InteropBroker } from 'openfin-adapter/src/api/interop';
|
|
3
|
-
import type { App } from '../../client-api/src/shapes';
|
|
4
3
|
import type { AttachedPage, Page, PageWithUpdatableRuntimeAttribs } from '../../common/src/api/pages/shapes';
|
|
5
4
|
import type { CustomThemes } from '../../common/src/api/theming';
|
|
5
|
+
import type { App } from '../../client-api/src/shapes';
|
|
6
6
|
export type { CustomThemes } from '../../common/src/api/theming';
|
|
7
7
|
export type { App, Image, AppIntent } from '../../client-api/src/shapes';
|
|
8
8
|
export { AppManifestType } from '../../client-api/src/shapes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Page } from '
|
|
1
|
+
import type { Page } from '../../../../common/src/api/pages/shapes';
|
|
2
2
|
export declare const store: import("idb-keyval").UseStore;
|
|
3
3
|
export declare function getPage(id: string): Promise<Page>;
|
|
4
4
|
export declare function getPageList(filter?: string): Promise<Page[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LayoutExtended } from '
|
|
1
|
+
import { LayoutExtended } from '../../../../common/src/utils/layout';
|
|
2
2
|
import type { AttachedPage, Page, PageLayout, PageWithUpdatableRuntimeAttribs } from './shapes';
|
|
3
3
|
export declare function getLegacyPages(): Promise<Page[]>;
|
|
4
4
|
export declare function cleanPage(page: AttachedPage): Page;
|
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.19.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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChannelClient } from '
|
|
1
|
+
import { ChannelClient } from '../../../search-api/src/fin/shapes';
|
|
2
2
|
import type { Action, SearchProvider, SearchProviderResponseGeneratorExtended, SearchRequest, SearchResult } from '../shapes';
|
|
3
3
|
/**
|
|
4
4
|
* Register a remote search provider.
|