@openfin/fdc3-api 41.100.112 → 41.100.113

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.
@@ -69,6 +69,10 @@ declare type AddViewToStackOptions = {
69
69
  * Optional index within the stack to insert the view. Defaults to 0
70
70
  */
71
71
  index?: number;
72
+ /**
73
+ * How the view should be displayed in the stack. Defaults to 'focused'
74
+ */
75
+ displayState?: 'focused' | 'background';
72
76
  };
73
77
 
74
78
  /**
@@ -4253,8 +4257,7 @@ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4253
4257
  */
4254
4258
  location?: {
4255
4259
  id: string;
4256
- index?: number;
4257
- };
4260
+ } & AddViewToStackOptions;
4258
4261
  };
4259
4262
 
4260
4263
  /**
@@ -8461,9 +8464,7 @@ declare type LayoutEntitiesController = {
8461
8464
  getParent: (id: string) => OpenFin.LayoutEntityDefinition | undefined;
8462
8465
  isRoot: (id: string) => boolean;
8463
8466
  exists: (entityId: string) => boolean;
8464
- addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: {
8465
- index?: number;
8466
- }) => Promise<OpenFin.Identity>;
8467
+ addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: OpenFin.AddViewToStackOptions) => Promise<OpenFin.Identity>;
8467
8468
  removeViewFromStack: (stackEntityId: string, view: OpenFin.Identity) => Promise<void>;
8468
8469
  createAdjacentStack: (targetId: string, views: ViewCreationOrReference[], stackCreationOptions?: {
8469
8470
  position?: OpenFin.LayoutPosition;
@@ -69,6 +69,10 @@ declare type AddViewToStackOptions = {
69
69
  * Optional index within the stack to insert the view. Defaults to 0
70
70
  */
71
71
  index?: number;
72
+ /**
73
+ * How the view should be displayed in the stack. Defaults to 'focused'
74
+ */
75
+ displayState?: 'focused' | 'background';
72
76
  };
73
77
 
74
78
  /**
@@ -4253,8 +4257,7 @@ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4253
4257
  */
4254
4258
  location?: {
4255
4259
  id: string;
4256
- index?: number;
4257
- };
4260
+ } & AddViewToStackOptions;
4258
4261
  };
4259
4262
 
4260
4263
  /**
@@ -8461,9 +8464,7 @@ declare type LayoutEntitiesController = {
8461
8464
  getParent: (id: string) => OpenFin.LayoutEntityDefinition | undefined;
8462
8465
  isRoot: (id: string) => boolean;
8463
8466
  exists: (entityId: string) => boolean;
8464
- addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: {
8465
- index?: number;
8466
- }) => Promise<OpenFin.Identity>;
8467
+ addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: OpenFin.AddViewToStackOptions) => Promise<OpenFin.Identity>;
8467
8468
  removeViewFromStack: (stackEntityId: string, view: OpenFin.Identity) => Promise<void>;
8468
8469
  createAdjacentStack: (targetId: string, views: ViewCreationOrReference[], stackCreationOptions?: {
8469
8470
  position?: OpenFin.LayoutPosition;
@@ -69,6 +69,10 @@ declare type AddViewToStackOptions = {
69
69
  * Optional index within the stack to insert the view. Defaults to 0
70
70
  */
71
71
  index?: number;
72
+ /**
73
+ * How the view should be displayed in the stack. Defaults to 'focused'
74
+ */
75
+ displayState?: 'focused' | 'background';
72
76
  };
73
77
 
74
78
  /**
@@ -4253,8 +4257,7 @@ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4253
4257
  */
4254
4258
  location?: {
4255
4259
  id: string;
4256
- index?: number;
4257
- };
4260
+ } & AddViewToStackOptions;
4258
4261
  };
4259
4262
 
4260
4263
  /**
@@ -8461,9 +8464,7 @@ declare type LayoutEntitiesController = {
8461
8464
  getParent: (id: string) => OpenFin.LayoutEntityDefinition | undefined;
8462
8465
  isRoot: (id: string) => boolean;
8463
8466
  exists: (entityId: string) => boolean;
8464
- addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: {
8465
- index?: number;
8466
- }) => Promise<OpenFin.Identity>;
8467
+ addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: OpenFin.AddViewToStackOptions) => Promise<OpenFin.Identity>;
8467
8468
  removeViewFromStack: (stackEntityId: string, view: OpenFin.Identity) => Promise<void>;
8468
8469
  createAdjacentStack: (targetId: string, views: ViewCreationOrReference[], stackCreationOptions?: {
8469
8470
  position?: OpenFin.LayoutPosition;
package/out/fdc3-api.d.ts CHANGED
@@ -69,6 +69,10 @@ declare type AddViewToStackOptions = {
69
69
  * Optional index within the stack to insert the view. Defaults to 0
70
70
  */
71
71
  index?: number;
72
+ /**
73
+ * How the view should be displayed in the stack. Defaults to 'focused'
74
+ */
75
+ displayState?: 'focused' | 'background';
72
76
  };
73
77
 
74
78
  /**
@@ -4312,8 +4316,7 @@ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4312
4316
  */
4313
4317
  location?: {
4314
4318
  id: string;
4315
- index?: number;
4316
- };
4319
+ } & AddViewToStackOptions;
4317
4320
  };
4318
4321
 
4319
4322
  /**
@@ -8587,9 +8590,7 @@ declare type LayoutEntitiesController = {
8587
8590
  getParent: (id: string) => OpenFin.LayoutEntityDefinition | undefined;
8588
8591
  isRoot: (id: string) => boolean;
8589
8592
  exists: (entityId: string) => boolean;
8590
- addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: {
8591
- index?: number;
8592
- }) => Promise<OpenFin.Identity>;
8593
+ addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: OpenFin.AddViewToStackOptions) => Promise<OpenFin.Identity>;
8593
8594
  removeViewFromStack: (stackEntityId: string, view: OpenFin.Identity) => Promise<void>;
8594
8595
  createAdjacentStack: (targetId: string, views: ViewCreationOrReference[], stackCreationOptions?: {
8595
8596
  position?: OpenFin.LayoutPosition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "41.100.112",
3
+ "version": "41.100.113",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,