@openfin/fdc3-api 42.100.36 → 42.100.42

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
  /**
@@ -3066,6 +3070,7 @@ declare type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
3066
3070
  *
3067
3071
  */
3068
3072
  declare class Clipboard_2 extends Base {
3073
+ #private;
3069
3074
  /**
3070
3075
  * Writes data into the clipboard as plain text
3071
3076
  * @param writeObj The object for writing data into the clipboard
@@ -3218,6 +3223,21 @@ declare class Clipboard_2 extends Base {
3218
3223
  getAvailableFormats(type?: OpenFin.ClipboardSelectionType): Promise<Array<string>>;
3219
3224
  }
3220
3225
 
3226
+ /**
3227
+ * Permissions for {@link Clipboard} APIs.
3228
+ */
3229
+ declare type ClipboardApiPermissions = {
3230
+ writeText: boolean;
3231
+ readText: boolean;
3232
+ writeImage: boolean;
3233
+ readImage: boolean;
3234
+ writeHtml: boolean;
3235
+ readHtml: boolean;
3236
+ writeRtf: boolean;
3237
+ readRtf: boolean;
3238
+ write: boolean;
3239
+ };
3240
+
3221
3241
  /**
3222
3242
  * Generated when a copy operation is blocked through {@link OpenFin.DomainSettings}.
3223
3243
  * @interface
@@ -3885,7 +3905,17 @@ declare type ContentCreationRulesEvent = NamedEvent & {
3885
3905
  * The features string passed to `window.open()` converted to OpenFin window options
3886
3906
  */
3887
3907
  parsedFeatures: Partial<OpenFin.WindowOptions>;
3888
- disposition: string;
3908
+ /**
3909
+ * The reported disposition of the content creation request.
3910
+ * @remarks
3911
+ * - `default` - The default behavior of the browser.
3912
+ * - `foreground-tab` - The content is loaded in a new tab in the foreground. This is the default behavior for `window.open()` or a link with target=_blank.
3913
+ * - `background-tab` - The content is loaded in a new tab in the background. This is the default behavior when clicking on a link with the `ctrl` or `cmd` key pressed.
3914
+ * - `new-window` - The content is loaded in a new window. This is the default behavior when clicking on a link with the `shift` key pressed.
3915
+ * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
3916
+ * - `other` - The content is loaded in some other way.
3917
+ */
3918
+ disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
3889
3919
  };
3890
3920
 
3891
3921
  /**
@@ -4227,8 +4257,7 @@ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4227
4257
  */
4228
4258
  location?: {
4229
4259
  id: string;
4230
- index?: number;
4231
- };
4260
+ } & AddViewToStackOptions;
4232
4261
  };
4233
4262
 
4234
4263
  /**
@@ -4499,6 +4528,13 @@ declare type DomainSettings = {
4499
4528
  multipleMatchBehavior?: MultipleDomainMatchBehavior;
4500
4529
  };
4501
4530
 
4531
+ /**
4532
+ * Map of preload scripts that can enable new scripts or disable options defined preloadScripts.
4533
+ */
4534
+ declare type DomainSettingsPreloadScripts = Record<string, {
4535
+ enabled: boolean;
4536
+ }>;
4537
+
4502
4538
  /**
4503
4539
  * Defines domain-conditional settings for an OpenFin application.
4504
4540
  * @interface
@@ -8428,9 +8464,7 @@ declare type LayoutEntitiesController = {
8428
8464
  getParent: (id: string) => OpenFin.LayoutEntityDefinition | undefined;
8429
8465
  isRoot: (id: string) => boolean;
8430
8466
  exists: (entityId: string) => boolean;
8431
- addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: {
8432
- index?: number;
8433
- }) => Promise<OpenFin.Identity>;
8467
+ addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: OpenFin.AddViewToStackOptions) => Promise<OpenFin.Identity>;
8434
8468
  removeViewFromStack: (stackEntityId: string, view: OpenFin.Identity) => Promise<void>;
8435
8469
  createAdjacentStack: (targetId: string, views: ViewCreationOrReference[], stackCreationOptions?: {
8436
8470
  position?: OpenFin.LayoutPosition;
@@ -9904,6 +9938,7 @@ declare namespace OpenFin {
9904
9938
  OpenExternalPermission,
9905
9939
  DeviceInfo,
9906
9940
  Permissions_2 as Permissions,
9941
+ ClipboardApiPermissions,
9907
9942
  PlatformWindowCreationOptions,
9908
9943
  PlatformWindowOptions,
9909
9944
  PlatformViewCreationOptions,
@@ -10020,6 +10055,7 @@ declare namespace OpenFin {
10020
10055
  StructuredContentPermissions,
10021
10056
  ContentPermission,
10022
10057
  ScreenCaptureBehavior,
10058
+ DomainSettingsPreloadScripts,
10023
10059
  PerDomainSettings,
10024
10060
  CopyPermissions,
10025
10061
  PastePermissions,
@@ -10370,6 +10406,10 @@ declare type PerDomainSettings = {
10370
10406
  * {@inheritdoc ChromiumPolicies}
10371
10407
  */
10372
10408
  chromiumPolicies?: ChromiumPolicies;
10409
+ /**
10410
+ * {@inheritdoc DomainSettingsPreloadScripts}
10411
+ */
10412
+ preloadScripts?: DomainSettingsPreloadScripts;
10373
10413
  contentProtection?: {
10374
10414
  /**
10375
10415
  * {@inheritdoc ScreenCaptureBehavior}
@@ -10414,6 +10454,7 @@ declare type PerformanceReportEvent = Performance & BaseEvent_5 & {
10414
10454
  declare type Permissions_2 = {
10415
10455
  Application?: Partial<ApplicationPermissions>;
10416
10456
  System?: Partial<SystemPermissions>;
10457
+ Clipboard?: Partial<ClipboardApiPermissions>;
10417
10458
  webAPIs?: WebPermission[];
10418
10459
  devices?: DeviceInfo[];
10419
10460
  };
@@ -12109,10 +12150,6 @@ declare type PrinterInfo = {
12109
12150
  * Printer Description
12110
12151
  */
12111
12152
  description: string;
12112
- /**
12113
- * Printer Status
12114
- */
12115
- status: number;
12116
12153
  /**
12117
12154
  * Indicates that system's default printer.
12118
12155
  */
@@ -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
  /**
@@ -3066,6 +3070,7 @@ declare type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
3066
3070
  *
3067
3071
  */
3068
3072
  declare class Clipboard_2 extends Base {
3073
+ #private;
3069
3074
  /**
3070
3075
  * Writes data into the clipboard as plain text
3071
3076
  * @param writeObj The object for writing data into the clipboard
@@ -3218,6 +3223,21 @@ declare class Clipboard_2 extends Base {
3218
3223
  getAvailableFormats(type?: OpenFin.ClipboardSelectionType): Promise<Array<string>>;
3219
3224
  }
3220
3225
 
3226
+ /**
3227
+ * Permissions for {@link Clipboard} APIs.
3228
+ */
3229
+ declare type ClipboardApiPermissions = {
3230
+ writeText: boolean;
3231
+ readText: boolean;
3232
+ writeImage: boolean;
3233
+ readImage: boolean;
3234
+ writeHtml: boolean;
3235
+ readHtml: boolean;
3236
+ writeRtf: boolean;
3237
+ readRtf: boolean;
3238
+ write: boolean;
3239
+ };
3240
+
3221
3241
  /**
3222
3242
  * Generated when a copy operation is blocked through {@link OpenFin.DomainSettings}.
3223
3243
  * @interface
@@ -3885,7 +3905,17 @@ declare type ContentCreationRulesEvent = NamedEvent & {
3885
3905
  * The features string passed to `window.open()` converted to OpenFin window options
3886
3906
  */
3887
3907
  parsedFeatures: Partial<OpenFin.WindowOptions>;
3888
- disposition: string;
3908
+ /**
3909
+ * The reported disposition of the content creation request.
3910
+ * @remarks
3911
+ * - `default` - The default behavior of the browser.
3912
+ * - `foreground-tab` - The content is loaded in a new tab in the foreground. This is the default behavior for `window.open()` or a link with target=_blank.
3913
+ * - `background-tab` - The content is loaded in a new tab in the background. This is the default behavior when clicking on a link with the `ctrl` or `cmd` key pressed.
3914
+ * - `new-window` - The content is loaded in a new window. This is the default behavior when clicking on a link with the `shift` key pressed.
3915
+ * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
3916
+ * - `other` - The content is loaded in some other way.
3917
+ */
3918
+ disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
3889
3919
  };
3890
3920
 
3891
3921
  /**
@@ -4227,8 +4257,7 @@ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4227
4257
  */
4228
4258
  location?: {
4229
4259
  id: string;
4230
- index?: number;
4231
- };
4260
+ } & AddViewToStackOptions;
4232
4261
  };
4233
4262
 
4234
4263
  /**
@@ -4499,6 +4528,13 @@ declare type DomainSettings = {
4499
4528
  multipleMatchBehavior?: MultipleDomainMatchBehavior;
4500
4529
  };
4501
4530
 
4531
+ /**
4532
+ * Map of preload scripts that can enable new scripts or disable options defined preloadScripts.
4533
+ */
4534
+ declare type DomainSettingsPreloadScripts = Record<string, {
4535
+ enabled: boolean;
4536
+ }>;
4537
+
4502
4538
  /**
4503
4539
  * Defines domain-conditional settings for an OpenFin application.
4504
4540
  * @interface
@@ -8428,9 +8464,7 @@ declare type LayoutEntitiesController = {
8428
8464
  getParent: (id: string) => OpenFin.LayoutEntityDefinition | undefined;
8429
8465
  isRoot: (id: string) => boolean;
8430
8466
  exists: (entityId: string) => boolean;
8431
- addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: {
8432
- index?: number;
8433
- }) => Promise<OpenFin.Identity>;
8467
+ addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: OpenFin.AddViewToStackOptions) => Promise<OpenFin.Identity>;
8434
8468
  removeViewFromStack: (stackEntityId: string, view: OpenFin.Identity) => Promise<void>;
8435
8469
  createAdjacentStack: (targetId: string, views: ViewCreationOrReference[], stackCreationOptions?: {
8436
8470
  position?: OpenFin.LayoutPosition;
@@ -9904,6 +9938,7 @@ declare namespace OpenFin {
9904
9938
  OpenExternalPermission,
9905
9939
  DeviceInfo,
9906
9940
  Permissions_2 as Permissions,
9941
+ ClipboardApiPermissions,
9907
9942
  PlatformWindowCreationOptions,
9908
9943
  PlatformWindowOptions,
9909
9944
  PlatformViewCreationOptions,
@@ -10020,6 +10055,7 @@ declare namespace OpenFin {
10020
10055
  StructuredContentPermissions,
10021
10056
  ContentPermission,
10022
10057
  ScreenCaptureBehavior,
10058
+ DomainSettingsPreloadScripts,
10023
10059
  PerDomainSettings,
10024
10060
  CopyPermissions,
10025
10061
  PastePermissions,
@@ -10370,6 +10406,10 @@ declare type PerDomainSettings = {
10370
10406
  * {@inheritdoc ChromiumPolicies}
10371
10407
  */
10372
10408
  chromiumPolicies?: ChromiumPolicies;
10409
+ /**
10410
+ * {@inheritdoc DomainSettingsPreloadScripts}
10411
+ */
10412
+ preloadScripts?: DomainSettingsPreloadScripts;
10373
10413
  contentProtection?: {
10374
10414
  /**
10375
10415
  * {@inheritdoc ScreenCaptureBehavior}
@@ -10414,6 +10454,7 @@ declare type PerformanceReportEvent = Performance & BaseEvent_5 & {
10414
10454
  declare type Permissions_2 = {
10415
10455
  Application?: Partial<ApplicationPermissions>;
10416
10456
  System?: Partial<SystemPermissions>;
10457
+ Clipboard?: Partial<ClipboardApiPermissions>;
10417
10458
  webAPIs?: WebPermission[];
10418
10459
  devices?: DeviceInfo[];
10419
10460
  };
@@ -12109,10 +12150,6 @@ declare type PrinterInfo = {
12109
12150
  * Printer Description
12110
12151
  */
12111
12152
  description: string;
12112
- /**
12113
- * Printer Status
12114
- */
12115
- status: number;
12116
12153
  /**
12117
12154
  * Indicates that system's default printer.
12118
12155
  */
@@ -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
  /**
@@ -3066,6 +3070,7 @@ declare type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
3066
3070
  *
3067
3071
  */
3068
3072
  declare class Clipboard_2 extends Base {
3073
+ #private;
3069
3074
  /**
3070
3075
  * Writes data into the clipboard as plain text
3071
3076
  * @param writeObj The object for writing data into the clipboard
@@ -3218,6 +3223,21 @@ declare class Clipboard_2 extends Base {
3218
3223
  getAvailableFormats(type?: OpenFin.ClipboardSelectionType): Promise<Array<string>>;
3219
3224
  }
3220
3225
 
3226
+ /**
3227
+ * Permissions for {@link Clipboard} APIs.
3228
+ */
3229
+ declare type ClipboardApiPermissions = {
3230
+ writeText: boolean;
3231
+ readText: boolean;
3232
+ writeImage: boolean;
3233
+ readImage: boolean;
3234
+ writeHtml: boolean;
3235
+ readHtml: boolean;
3236
+ writeRtf: boolean;
3237
+ readRtf: boolean;
3238
+ write: boolean;
3239
+ };
3240
+
3221
3241
  /**
3222
3242
  * Generated when a copy operation is blocked through {@link OpenFin.DomainSettings}.
3223
3243
  * @interface
@@ -3885,7 +3905,17 @@ declare type ContentCreationRulesEvent = NamedEvent & {
3885
3905
  * The features string passed to `window.open()` converted to OpenFin window options
3886
3906
  */
3887
3907
  parsedFeatures: Partial<OpenFin.WindowOptions>;
3888
- disposition: string;
3908
+ /**
3909
+ * The reported disposition of the content creation request.
3910
+ * @remarks
3911
+ * - `default` - The default behavior of the browser.
3912
+ * - `foreground-tab` - The content is loaded in a new tab in the foreground. This is the default behavior for `window.open()` or a link with target=_blank.
3913
+ * - `background-tab` - The content is loaded in a new tab in the background. This is the default behavior when clicking on a link with the `ctrl` or `cmd` key pressed.
3914
+ * - `new-window` - The content is loaded in a new window. This is the default behavior when clicking on a link with the `shift` key pressed.
3915
+ * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
3916
+ * - `other` - The content is loaded in some other way.
3917
+ */
3918
+ disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
3889
3919
  };
3890
3920
 
3891
3921
  /**
@@ -4227,8 +4257,7 @@ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4227
4257
  */
4228
4258
  location?: {
4229
4259
  id: string;
4230
- index?: number;
4231
- };
4260
+ } & AddViewToStackOptions;
4232
4261
  };
4233
4262
 
4234
4263
  /**
@@ -4499,6 +4528,13 @@ declare type DomainSettings = {
4499
4528
  multipleMatchBehavior?: MultipleDomainMatchBehavior;
4500
4529
  };
4501
4530
 
4531
+ /**
4532
+ * Map of preload scripts that can enable new scripts or disable options defined preloadScripts.
4533
+ */
4534
+ declare type DomainSettingsPreloadScripts = Record<string, {
4535
+ enabled: boolean;
4536
+ }>;
4537
+
4502
4538
  /**
4503
4539
  * Defines domain-conditional settings for an OpenFin application.
4504
4540
  * @interface
@@ -8428,9 +8464,7 @@ declare type LayoutEntitiesController = {
8428
8464
  getParent: (id: string) => OpenFin.LayoutEntityDefinition | undefined;
8429
8465
  isRoot: (id: string) => boolean;
8430
8466
  exists: (entityId: string) => boolean;
8431
- addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: {
8432
- index?: number;
8433
- }) => Promise<OpenFin.Identity>;
8467
+ addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: OpenFin.AddViewToStackOptions) => Promise<OpenFin.Identity>;
8434
8468
  removeViewFromStack: (stackEntityId: string, view: OpenFin.Identity) => Promise<void>;
8435
8469
  createAdjacentStack: (targetId: string, views: ViewCreationOrReference[], stackCreationOptions?: {
8436
8470
  position?: OpenFin.LayoutPosition;
@@ -9904,6 +9938,7 @@ declare namespace OpenFin {
9904
9938
  OpenExternalPermission,
9905
9939
  DeviceInfo,
9906
9940
  Permissions_2 as Permissions,
9941
+ ClipboardApiPermissions,
9907
9942
  PlatformWindowCreationOptions,
9908
9943
  PlatformWindowOptions,
9909
9944
  PlatformViewCreationOptions,
@@ -10020,6 +10055,7 @@ declare namespace OpenFin {
10020
10055
  StructuredContentPermissions,
10021
10056
  ContentPermission,
10022
10057
  ScreenCaptureBehavior,
10058
+ DomainSettingsPreloadScripts,
10023
10059
  PerDomainSettings,
10024
10060
  CopyPermissions,
10025
10061
  PastePermissions,
@@ -10370,6 +10406,10 @@ declare type PerDomainSettings = {
10370
10406
  * {@inheritdoc ChromiumPolicies}
10371
10407
  */
10372
10408
  chromiumPolicies?: ChromiumPolicies;
10409
+ /**
10410
+ * {@inheritdoc DomainSettingsPreloadScripts}
10411
+ */
10412
+ preloadScripts?: DomainSettingsPreloadScripts;
10373
10413
  contentProtection?: {
10374
10414
  /**
10375
10415
  * {@inheritdoc ScreenCaptureBehavior}
@@ -10414,6 +10454,7 @@ declare type PerformanceReportEvent = Performance & BaseEvent_5 & {
10414
10454
  declare type Permissions_2 = {
10415
10455
  Application?: Partial<ApplicationPermissions>;
10416
10456
  System?: Partial<SystemPermissions>;
10457
+ Clipboard?: Partial<ClipboardApiPermissions>;
10417
10458
  webAPIs?: WebPermission[];
10418
10459
  devices?: DeviceInfo[];
10419
10460
  };
@@ -12109,10 +12150,6 @@ declare type PrinterInfo = {
12109
12150
  * Printer Description
12110
12151
  */
12111
12152
  description: string;
12112
- /**
12113
- * Printer Status
12114
- */
12115
- status: number;
12116
12153
  /**
12117
12154
  * Indicates that system's default printer.
12118
12155
  */
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
  /**
@@ -3122,6 +3126,7 @@ declare type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
3122
3126
  *
3123
3127
  */
3124
3128
  declare class Clipboard_2 extends Base {
3129
+ #private;
3125
3130
  /**
3126
3131
  * Writes data into the clipboard as plain text
3127
3132
  * @param writeObj The object for writing data into the clipboard
@@ -3274,6 +3279,21 @@ declare class Clipboard_2 extends Base {
3274
3279
  getAvailableFormats(type?: OpenFin.ClipboardSelectionType): Promise<Array<string>>;
3275
3280
  }
3276
3281
 
3282
+ /**
3283
+ * Permissions for {@link Clipboard} APIs.
3284
+ */
3285
+ declare type ClipboardApiPermissions = {
3286
+ writeText: boolean;
3287
+ readText: boolean;
3288
+ writeImage: boolean;
3289
+ readImage: boolean;
3290
+ writeHtml: boolean;
3291
+ readHtml: boolean;
3292
+ writeRtf: boolean;
3293
+ readRtf: boolean;
3294
+ write: boolean;
3295
+ };
3296
+
3277
3297
  /**
3278
3298
  * Generated when a copy operation is blocked through {@link OpenFin.DomainSettings}.
3279
3299
  * @interface
@@ -3944,7 +3964,17 @@ declare type ContentCreationRulesEvent = NamedEvent & {
3944
3964
  * The features string passed to `window.open()` converted to OpenFin window options
3945
3965
  */
3946
3966
  parsedFeatures: Partial<OpenFin.WindowOptions>;
3947
- disposition: string;
3967
+ /**
3968
+ * The reported disposition of the content creation request.
3969
+ * @remarks
3970
+ * - `default` - The default behavior of the browser.
3971
+ * - `foreground-tab` - The content is loaded in a new tab in the foreground. This is the default behavior for `window.open()` or a link with target=_blank.
3972
+ * - `background-tab` - The content is loaded in a new tab in the background. This is the default behavior when clicking on a link with the `ctrl` or `cmd` key pressed.
3973
+ * - `new-window` - The content is loaded in a new window. This is the default behavior when clicking on a link with the `shift` key pressed.
3974
+ * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
3975
+ * - `other` - The content is loaded in some other way.
3976
+ */
3977
+ disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
3948
3978
  };
3949
3979
 
3950
3980
  /**
@@ -4286,8 +4316,7 @@ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4286
4316
  */
4287
4317
  location?: {
4288
4318
  id: string;
4289
- index?: number;
4290
- };
4319
+ } & AddViewToStackOptions;
4291
4320
  };
4292
4321
 
4293
4322
  /**
@@ -4558,6 +4587,13 @@ declare type DomainSettings = {
4558
4587
  multipleMatchBehavior?: MultipleDomainMatchBehavior;
4559
4588
  };
4560
4589
 
4590
+ /**
4591
+ * Map of preload scripts that can enable new scripts or disable options defined preloadScripts.
4592
+ */
4593
+ declare type DomainSettingsPreloadScripts = Record<string, {
4594
+ enabled: boolean;
4595
+ }>;
4596
+
4561
4597
  /**
4562
4598
  * Defines domain-conditional settings for an OpenFin application.
4563
4599
  * @interface
@@ -8554,9 +8590,7 @@ declare type LayoutEntitiesController = {
8554
8590
  getParent: (id: string) => OpenFin.LayoutEntityDefinition | undefined;
8555
8591
  isRoot: (id: string) => boolean;
8556
8592
  exists: (entityId: string) => boolean;
8557
- addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: {
8558
- index?: number;
8559
- }) => Promise<OpenFin.Identity>;
8593
+ addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: OpenFin.AddViewToStackOptions) => Promise<OpenFin.Identity>;
8560
8594
  removeViewFromStack: (stackEntityId: string, view: OpenFin.Identity) => Promise<void>;
8561
8595
  createAdjacentStack: (targetId: string, views: ViewCreationOrReference[], stackCreationOptions?: {
8562
8596
  position?: OpenFin.LayoutPosition;
@@ -10222,6 +10256,7 @@ declare namespace OpenFin {
10222
10256
  OpenExternalPermission,
10223
10257
  DeviceInfo,
10224
10258
  Permissions_2 as Permissions,
10259
+ ClipboardApiPermissions,
10225
10260
  PlatformWindowCreationOptions,
10226
10261
  PlatformWindowOptions,
10227
10262
  PlatformViewCreationOptions,
@@ -10338,6 +10373,7 @@ declare namespace OpenFin {
10338
10373
  StructuredContentPermissions,
10339
10374
  ContentPermission,
10340
10375
  ScreenCaptureBehavior,
10376
+ DomainSettingsPreloadScripts,
10341
10377
  PerDomainSettings,
10342
10378
  CopyPermissions,
10343
10379
  PastePermissions,
@@ -10688,6 +10724,10 @@ declare type PerDomainSettings = {
10688
10724
  * {@inheritdoc ChromiumPolicies}
10689
10725
  */
10690
10726
  chromiumPolicies?: ChromiumPolicies;
10727
+ /**
10728
+ * {@inheritdoc DomainSettingsPreloadScripts}
10729
+ */
10730
+ preloadScripts?: DomainSettingsPreloadScripts;
10691
10731
  contentProtection?: {
10692
10732
  /**
10693
10733
  * {@inheritdoc ScreenCaptureBehavior}
@@ -10732,6 +10772,7 @@ declare type PerformanceReportEvent = Performance & BaseEvent_5 & {
10732
10772
  declare type Permissions_2 = {
10733
10773
  Application?: Partial<ApplicationPermissions>;
10734
10774
  System?: Partial<SystemPermissions>;
10775
+ Clipboard?: Partial<ClipboardApiPermissions>;
10735
10776
  webAPIs?: WebPermission[];
10736
10777
  devices?: DeviceInfo[];
10737
10778
  };
@@ -12510,10 +12551,6 @@ declare type PrinterInfo = {
12510
12551
  * Printer Description
12511
12552
  */
12512
12553
  description: string;
12513
- /**
12514
- * Printer Status
12515
- */
12516
- status: number;
12517
12554
  /**
12518
12555
  * Indicates that system's default printer.
12519
12556
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "42.100.36",
3
+ "version": "42.100.42",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,