@openfin/workspace-platform 19.2.9 → 19.2.11

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.
@@ -7,7 +7,7 @@ import type { LaunchAppRequest, SearchSitesRequest, SearchSitesResponse, Site }
7
7
  * @param opts launch options.
8
8
  */
9
9
  export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.Application | OpenFin.Identity | OpenFin.View | OpenFin.Platform>;
10
- export declare const enterpriseAppDirectoryChannelClient: () => Promise<import("../../../common/src/utils/channels").withDisconnectListener<OpenFin.ChannelClient>>;
10
+ export declare const enterpriseAppDirectoryChannelClient: () => Promise<OpenFin.ChannelClient>;
11
11
  export declare function getResults(payload: {
12
12
  req: SearchSitesRequest;
13
13
  } & {
@@ -1092,6 +1092,10 @@ export interface BrowserWindowFactory {
1092
1092
  * ```
1093
1093
  *
1094
1094
  * @param options the browser window creation options
1095
+ * @remarks
1096
+ * **View names are singleton**: It is not recommended to provide view names, but if they are provided, they can only be used by one view at a time.
1097
+ *
1098
+ * **Expected Behavior**: If a new view is created using the same view name as an already existing view, the new view will be created, with the view name, and the existing view will be destroyed.
1095
1099
  */
1096
1100
  createWindow(options: BrowserCreateWindowRequest): Promise<BrowserWindowModule>;
1097
1101
  /**
@@ -1412,6 +1416,10 @@ export interface WorkspacePlatformModule extends OpenFin.Platform {
1412
1416
  * }
1413
1417
  * });
1414
1418
  * ```
1419
+ * @remarks
1420
+ * **View names are singleton**: It is not recommended to provide view names, but if they are provided, they can only be used by one view at a time.
1421
+ *
1422
+ * **Expected Behavior**: If a new view is created using the same view name as an already existing view, the new view will be created, with the view name, and the existing view will be destroyed.
1415
1423
  */
1416
1424
  createView(viewOptions: Partial<OpenFin.ViewOptions> | BrowserCreateViewRequest, target?: OpenFin.CreateViewTarget, targetView?: OpenFin.Identity): Promise<OpenFin.View>;
1417
1425
  /**
@@ -89,6 +89,7 @@ export type AttachedPageInternal = {
89
89
  layoutContainerKey?: string;
90
90
  singleViewName?: string;
91
91
  attachedPageType?: 'singleView' | 'multiView' | undefined;
92
+ isLayoutCreated?: boolean;
92
93
  } & AttachedPage;
93
94
  export type ReparentAttachedPage = AttachedPage & {
94
95
  multiInstanceViewBehavior?: 'reparent';