@openfin/workspace 24.0.1 → 24.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.
- package/client-api-platform/src/api/app-directory.d.ts +1 -1
- package/client-api-platform/src/shapes.d.ts +13 -2
- package/common/src/api/pages/shapes.d.ts +3 -0
- package/common/src/utils/env.d.ts +1 -1
- package/home.js +1 -1
- package/index.js +1 -1
- package/notifications.js +1 -1
- package/package.json +1 -1
- package/store.js +1 -1
|
@@ -7,7 +7,7 @@ import type { LaunchAppRequest, SearchSitesRequest, SearchSitesResponse, Site }
|
|
|
7
7
|
* @param app the app directory entry.
|
|
8
8
|
* @param opts launch options.
|
|
9
9
|
*/
|
|
10
|
-
export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.
|
|
10
|
+
export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.View | OpenFin.Identity | OpenFin.Platform | OpenFin.Application>;
|
|
11
11
|
export declare const enterpriseAppDirectoryChannelClient: () => Promise<OpenFin.ChannelClient>;
|
|
12
12
|
export declare function getResults(payload: {
|
|
13
13
|
req: SearchSitesRequest;
|
|
@@ -1352,8 +1352,19 @@ export type AppSite = SiteInfo & {
|
|
|
1352
1352
|
/**
|
|
1353
1353
|
* @internal
|
|
1354
1354
|
*/
|
|
1355
|
-
export type WorkspaceSite =
|
|
1356
|
-
|
|
1355
|
+
export type WorkspaceSite = SupertabSite | CollectionSite;
|
|
1356
|
+
/**
|
|
1357
|
+
* @internal
|
|
1358
|
+
*/
|
|
1359
|
+
export type SupertabSite = SiteInfo & {
|
|
1360
|
+
type: 'page';
|
|
1361
|
+
isPublished?: boolean;
|
|
1362
|
+
};
|
|
1363
|
+
/**
|
|
1364
|
+
* @internal
|
|
1365
|
+
*/
|
|
1366
|
+
export type CollectionSite = SiteInfo & {
|
|
1367
|
+
type: 'collection' | 'workspace';
|
|
1357
1368
|
};
|
|
1358
1369
|
/**
|
|
1359
1370
|
* @internal
|
|
@@ -73,6 +73,8 @@ export interface Page {
|
|
|
73
73
|
panels?: PanelConfig[];
|
|
74
74
|
/** Optional property to attach custom metadata to the page object, such as version or timestamp. Must be serializable. */
|
|
75
75
|
customData?: any;
|
|
76
|
+
/** For published page, supertab icon will show the --color-shared-icon-accent border. default to false when published by admin */
|
|
77
|
+
isPublished?: boolean;
|
|
76
78
|
}
|
|
77
79
|
type AttachedPageMetadata = {
|
|
78
80
|
/** The window the page is currently attached to. */
|
|
@@ -93,6 +95,7 @@ export type AttachedPageInternal = {
|
|
|
93
95
|
attachedPageType?: 'singleView' | 'multiView' | undefined;
|
|
94
96
|
isLayoutCreated?: boolean;
|
|
95
97
|
pageIcon?: string;
|
|
98
|
+
isPublished?: boolean;
|
|
96
99
|
} & AttachedPage;
|
|
97
100
|
export type ReparentAttachedPage = AttachedPage & {
|
|
98
101
|
multiInstanceViewBehavior?: 'reparent';
|
|
@@ -11,7 +11,7 @@ export declare const isDocumentDefined: boolean;
|
|
|
11
11
|
export declare const isWindowDefinedWithIndexDB: boolean;
|
|
12
12
|
export declare const finUUID: string;
|
|
13
13
|
export declare const finName: string;
|
|
14
|
-
export declare const finEntityType: "" | "
|
|
14
|
+
export declare const finEntityType: "" | "window" | "view";
|
|
15
15
|
export declare const isEnvLocal: boolean;
|
|
16
16
|
export declare const isEnvDev: boolean;
|
|
17
17
|
export declare const isEnvStaging: boolean;
|