@openfin/workspace 4.15.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.
@@ -1,3 +1,3 @@
1
- import * as workspacesApi from '@common/api/workspaces';
1
+ import * as workspacesApi from '../../common/src/api/workspaces';
2
2
  export declare const getPages: () => Promise<import("@common/api/pages/shapes").Page[]>;
3
3
  export declare const getWorkspaces: () => Promise<workspacesApi.Workspace[]>;
@@ -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 { Page } from '../../common/src/api/pages/shapes';
11
- export { SearchTagBackground } from '../../search-api/src';
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,4 +1,4 @@
1
- import { HomeSearchListenerRequest } from '@client/shapes';
1
+ import { HomeSearchListenerRequest } from '../../../client-api/src/shapes';
2
2
  /**
3
3
  * The search topic that Home uses.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { LayoutExtended } from '@common/utils/layout';
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;
@@ -1,6 +1,6 @@
1
- import { searchTopic as homeSearchTopic } from '@common/api/home';
2
- import type { CLISearchResultWithTemplate } from '@client/shapes';
3
- import type { Action as BaseAction, SearchProviderInfo, SearchProviderResponse, SearchTopicClient } from '@search/shapes';
1
+ import { searchTopic as homeSearchTopic } from '../../../common/src/api/home';
2
+ import type { CLISearchResultWithTemplate } from '../../../client-api/src/shapes';
3
+ import type { Action as BaseAction, SearchProviderInfo, SearchProviderResponse, SearchTopicClient } from '../../../search-api/src/shapes';
4
4
  export interface Action extends BaseAction {
5
5
  isHidden: boolean;
6
6
  dispatch: () => any;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="openfin-adapter/fin" />
2
- import { App, StorefrontFooter, StorefrontLandingPage, StorefrontNavigationItemAppGrid, StorefrontNavigationSection, StorefrontProviderInfo } from '@client/shapes';
2
+ import { App, StorefrontFooter, StorefrontLandingPage, StorefrontNavigationItemAppGrid, StorefrontNavigationSection, StorefrontProviderInfo } from '../../../client-api/src/shapes';
3
3
  export interface StorefrontProviderInfoWithIdentity extends StorefrontProviderInfo {
4
4
  platformIdentity: OpenFin.Identity;
5
5
  }
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@openfin/workspace","description":"An API for integrating with OpenFin Workspace.","author":"Brandon Waring <brandon.waring@openfin.co>","contributors":[],"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/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/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:next":"npm run cp:readme && npm run cp:next:package && npm run create:rootIndex","package":"npm run cp:readme && npm run cp: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"],"license":"MIT","bugs":{"url":"https://github.com/openfin/workspace/issues"},"homepage":"https://github.com/openfin/workspace/search-api#readme","version":"4.15.0"}
1
+ {"name":"@openfin/workspace","description":"An API for integrating with OpenFin Workspace.","author":"Brandon Waring <brandon.waring@openfin.co>","contributors":[],"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/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/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:next":"npm run cp:readme && npm run cp:next:package && npm run create:rootIndex","package":"npm run cp:readme && npm run cp: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"],"license":"MIT","bugs":{"url":"https://github.com/openfin/workspace/issues"},"homepage":"https://github.com/openfin/workspace/search-api#readme","version":"4.19.0"}
@@ -1,4 +1,4 @@
1
- import { ChannelClient } from '@search/fin/shapes';
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.