@openfin/fdc3-api 42.100.35 → 42.100.40

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.
@@ -3066,6 +3066,7 @@ declare type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
3066
3066
  *
3067
3067
  */
3068
3068
  declare class Clipboard_2 extends Base {
3069
+ #private;
3069
3070
  /**
3070
3071
  * Writes data into the clipboard as plain text
3071
3072
  * @param writeObj The object for writing data into the clipboard
@@ -3218,6 +3219,21 @@ declare class Clipboard_2 extends Base {
3218
3219
  getAvailableFormats(type?: OpenFin.ClipboardSelectionType): Promise<Array<string>>;
3219
3220
  }
3220
3221
 
3222
+ /**
3223
+ * Permissions for {@link Clipboard} APIs.
3224
+ */
3225
+ declare type ClipboardApiPermissions = {
3226
+ writeText: boolean;
3227
+ readText: boolean;
3228
+ writeImage: boolean;
3229
+ readImage: boolean;
3230
+ writeHtml: boolean;
3231
+ readHtml: boolean;
3232
+ writeRtf: boolean;
3233
+ readRtf: boolean;
3234
+ write: boolean;
3235
+ };
3236
+
3221
3237
  /**
3222
3238
  * Generated when a copy operation is blocked through {@link OpenFin.DomainSettings}.
3223
3239
  * @interface
@@ -4499,6 +4515,13 @@ declare type DomainSettings = {
4499
4515
  multipleMatchBehavior?: MultipleDomainMatchBehavior;
4500
4516
  };
4501
4517
 
4518
+ /**
4519
+ * Map of preload scripts that can enable new scripts or disable options defined preloadScripts.
4520
+ */
4521
+ declare type DomainSettingsPreloadScripts = Record<string, {
4522
+ enabled: boolean;
4523
+ }>;
4524
+
4502
4525
  /**
4503
4526
  * Defines domain-conditional settings for an OpenFin application.
4504
4527
  * @interface
@@ -9904,6 +9927,7 @@ declare namespace OpenFin {
9904
9927
  OpenExternalPermission,
9905
9928
  DeviceInfo,
9906
9929
  Permissions_2 as Permissions,
9930
+ ClipboardApiPermissions,
9907
9931
  PlatformWindowCreationOptions,
9908
9932
  PlatformWindowOptions,
9909
9933
  PlatformViewCreationOptions,
@@ -10020,6 +10044,7 @@ declare namespace OpenFin {
10020
10044
  StructuredContentPermissions,
10021
10045
  ContentPermission,
10022
10046
  ScreenCaptureBehavior,
10047
+ DomainSettingsPreloadScripts,
10023
10048
  PerDomainSettings,
10024
10049
  CopyPermissions,
10025
10050
  PastePermissions,
@@ -10370,6 +10395,10 @@ declare type PerDomainSettings = {
10370
10395
  * {@inheritdoc ChromiumPolicies}
10371
10396
  */
10372
10397
  chromiumPolicies?: ChromiumPolicies;
10398
+ /**
10399
+ * {@inheritdoc DomainSettingsPreloadScripts}
10400
+ */
10401
+ preloadScripts?: DomainSettingsPreloadScripts;
10373
10402
  contentProtection?: {
10374
10403
  /**
10375
10404
  * {@inheritdoc ScreenCaptureBehavior}
@@ -10414,6 +10443,7 @@ declare type PerformanceReportEvent = Performance & BaseEvent_5 & {
10414
10443
  declare type Permissions_2 = {
10415
10444
  Application?: Partial<ApplicationPermissions>;
10416
10445
  System?: Partial<SystemPermissions>;
10446
+ Clipboard?: Partial<ClipboardApiPermissions>;
10417
10447
  webAPIs?: WebPermission[];
10418
10448
  devices?: DeviceInfo[];
10419
10449
  };
@@ -12109,10 +12139,6 @@ declare type PrinterInfo = {
12109
12139
  * Printer Description
12110
12140
  */
12111
12141
  description: string;
12112
- /**
12113
- * Printer Status
12114
- */
12115
- status: number;
12116
12142
  /**
12117
12143
  * Indicates that system's default printer.
12118
12144
  */
@@ -3066,6 +3066,7 @@ declare type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
3066
3066
  *
3067
3067
  */
3068
3068
  declare class Clipboard_2 extends Base {
3069
+ #private;
3069
3070
  /**
3070
3071
  * Writes data into the clipboard as plain text
3071
3072
  * @param writeObj The object for writing data into the clipboard
@@ -3218,6 +3219,21 @@ declare class Clipboard_2 extends Base {
3218
3219
  getAvailableFormats(type?: OpenFin.ClipboardSelectionType): Promise<Array<string>>;
3219
3220
  }
3220
3221
 
3222
+ /**
3223
+ * Permissions for {@link Clipboard} APIs.
3224
+ */
3225
+ declare type ClipboardApiPermissions = {
3226
+ writeText: boolean;
3227
+ readText: boolean;
3228
+ writeImage: boolean;
3229
+ readImage: boolean;
3230
+ writeHtml: boolean;
3231
+ readHtml: boolean;
3232
+ writeRtf: boolean;
3233
+ readRtf: boolean;
3234
+ write: boolean;
3235
+ };
3236
+
3221
3237
  /**
3222
3238
  * Generated when a copy operation is blocked through {@link OpenFin.DomainSettings}.
3223
3239
  * @interface
@@ -4499,6 +4515,13 @@ declare type DomainSettings = {
4499
4515
  multipleMatchBehavior?: MultipleDomainMatchBehavior;
4500
4516
  };
4501
4517
 
4518
+ /**
4519
+ * Map of preload scripts that can enable new scripts or disable options defined preloadScripts.
4520
+ */
4521
+ declare type DomainSettingsPreloadScripts = Record<string, {
4522
+ enabled: boolean;
4523
+ }>;
4524
+
4502
4525
  /**
4503
4526
  * Defines domain-conditional settings for an OpenFin application.
4504
4527
  * @interface
@@ -9904,6 +9927,7 @@ declare namespace OpenFin {
9904
9927
  OpenExternalPermission,
9905
9928
  DeviceInfo,
9906
9929
  Permissions_2 as Permissions,
9930
+ ClipboardApiPermissions,
9907
9931
  PlatformWindowCreationOptions,
9908
9932
  PlatformWindowOptions,
9909
9933
  PlatformViewCreationOptions,
@@ -10020,6 +10044,7 @@ declare namespace OpenFin {
10020
10044
  StructuredContentPermissions,
10021
10045
  ContentPermission,
10022
10046
  ScreenCaptureBehavior,
10047
+ DomainSettingsPreloadScripts,
10023
10048
  PerDomainSettings,
10024
10049
  CopyPermissions,
10025
10050
  PastePermissions,
@@ -10370,6 +10395,10 @@ declare type PerDomainSettings = {
10370
10395
  * {@inheritdoc ChromiumPolicies}
10371
10396
  */
10372
10397
  chromiumPolicies?: ChromiumPolicies;
10398
+ /**
10399
+ * {@inheritdoc DomainSettingsPreloadScripts}
10400
+ */
10401
+ preloadScripts?: DomainSettingsPreloadScripts;
10373
10402
  contentProtection?: {
10374
10403
  /**
10375
10404
  * {@inheritdoc ScreenCaptureBehavior}
@@ -10414,6 +10443,7 @@ declare type PerformanceReportEvent = Performance & BaseEvent_5 & {
10414
10443
  declare type Permissions_2 = {
10415
10444
  Application?: Partial<ApplicationPermissions>;
10416
10445
  System?: Partial<SystemPermissions>;
10446
+ Clipboard?: Partial<ClipboardApiPermissions>;
10417
10447
  webAPIs?: WebPermission[];
10418
10448
  devices?: DeviceInfo[];
10419
10449
  };
@@ -12109,10 +12139,6 @@ declare type PrinterInfo = {
12109
12139
  * Printer Description
12110
12140
  */
12111
12141
  description: string;
12112
- /**
12113
- * Printer Status
12114
- */
12115
- status: number;
12116
12142
  /**
12117
12143
  * Indicates that system's default printer.
12118
12144
  */
@@ -3066,6 +3066,7 @@ declare type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
3066
3066
  *
3067
3067
  */
3068
3068
  declare class Clipboard_2 extends Base {
3069
+ #private;
3069
3070
  /**
3070
3071
  * Writes data into the clipboard as plain text
3071
3072
  * @param writeObj The object for writing data into the clipboard
@@ -3218,6 +3219,21 @@ declare class Clipboard_2 extends Base {
3218
3219
  getAvailableFormats(type?: OpenFin.ClipboardSelectionType): Promise<Array<string>>;
3219
3220
  }
3220
3221
 
3222
+ /**
3223
+ * Permissions for {@link Clipboard} APIs.
3224
+ */
3225
+ declare type ClipboardApiPermissions = {
3226
+ writeText: boolean;
3227
+ readText: boolean;
3228
+ writeImage: boolean;
3229
+ readImage: boolean;
3230
+ writeHtml: boolean;
3231
+ readHtml: boolean;
3232
+ writeRtf: boolean;
3233
+ readRtf: boolean;
3234
+ write: boolean;
3235
+ };
3236
+
3221
3237
  /**
3222
3238
  * Generated when a copy operation is blocked through {@link OpenFin.DomainSettings}.
3223
3239
  * @interface
@@ -4499,6 +4515,13 @@ declare type DomainSettings = {
4499
4515
  multipleMatchBehavior?: MultipleDomainMatchBehavior;
4500
4516
  };
4501
4517
 
4518
+ /**
4519
+ * Map of preload scripts that can enable new scripts or disable options defined preloadScripts.
4520
+ */
4521
+ declare type DomainSettingsPreloadScripts = Record<string, {
4522
+ enabled: boolean;
4523
+ }>;
4524
+
4502
4525
  /**
4503
4526
  * Defines domain-conditional settings for an OpenFin application.
4504
4527
  * @interface
@@ -9904,6 +9927,7 @@ declare namespace OpenFin {
9904
9927
  OpenExternalPermission,
9905
9928
  DeviceInfo,
9906
9929
  Permissions_2 as Permissions,
9930
+ ClipboardApiPermissions,
9907
9931
  PlatformWindowCreationOptions,
9908
9932
  PlatformWindowOptions,
9909
9933
  PlatformViewCreationOptions,
@@ -10020,6 +10044,7 @@ declare namespace OpenFin {
10020
10044
  StructuredContentPermissions,
10021
10045
  ContentPermission,
10022
10046
  ScreenCaptureBehavior,
10047
+ DomainSettingsPreloadScripts,
10023
10048
  PerDomainSettings,
10024
10049
  CopyPermissions,
10025
10050
  PastePermissions,
@@ -10370,6 +10395,10 @@ declare type PerDomainSettings = {
10370
10395
  * {@inheritdoc ChromiumPolicies}
10371
10396
  */
10372
10397
  chromiumPolicies?: ChromiumPolicies;
10398
+ /**
10399
+ * {@inheritdoc DomainSettingsPreloadScripts}
10400
+ */
10401
+ preloadScripts?: DomainSettingsPreloadScripts;
10373
10402
  contentProtection?: {
10374
10403
  /**
10375
10404
  * {@inheritdoc ScreenCaptureBehavior}
@@ -10414,6 +10443,7 @@ declare type PerformanceReportEvent = Performance & BaseEvent_5 & {
10414
10443
  declare type Permissions_2 = {
10415
10444
  Application?: Partial<ApplicationPermissions>;
10416
10445
  System?: Partial<SystemPermissions>;
10446
+ Clipboard?: Partial<ClipboardApiPermissions>;
10417
10447
  webAPIs?: WebPermission[];
10418
10448
  devices?: DeviceInfo[];
10419
10449
  };
@@ -12109,10 +12139,6 @@ declare type PrinterInfo = {
12109
12139
  * Printer Description
12110
12140
  */
12111
12141
  description: string;
12112
- /**
12113
- * Printer Status
12114
- */
12115
- status: number;
12116
12142
  /**
12117
12143
  * Indicates that system's default printer.
12118
12144
  */
package/out/fdc3-api.d.ts CHANGED
@@ -3122,6 +3122,7 @@ declare type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
3122
3122
  *
3123
3123
  */
3124
3124
  declare class Clipboard_2 extends Base {
3125
+ #private;
3125
3126
  /**
3126
3127
  * Writes data into the clipboard as plain text
3127
3128
  * @param writeObj The object for writing data into the clipboard
@@ -3274,6 +3275,21 @@ declare class Clipboard_2 extends Base {
3274
3275
  getAvailableFormats(type?: OpenFin.ClipboardSelectionType): Promise<Array<string>>;
3275
3276
  }
3276
3277
 
3278
+ /**
3279
+ * Permissions for {@link Clipboard} APIs.
3280
+ */
3281
+ declare type ClipboardApiPermissions = {
3282
+ writeText: boolean;
3283
+ readText: boolean;
3284
+ writeImage: boolean;
3285
+ readImage: boolean;
3286
+ writeHtml: boolean;
3287
+ readHtml: boolean;
3288
+ writeRtf: boolean;
3289
+ readRtf: boolean;
3290
+ write: boolean;
3291
+ };
3292
+
3277
3293
  /**
3278
3294
  * Generated when a copy operation is blocked through {@link OpenFin.DomainSettings}.
3279
3295
  * @interface
@@ -4558,6 +4574,13 @@ declare type DomainSettings = {
4558
4574
  multipleMatchBehavior?: MultipleDomainMatchBehavior;
4559
4575
  };
4560
4576
 
4577
+ /**
4578
+ * Map of preload scripts that can enable new scripts or disable options defined preloadScripts.
4579
+ */
4580
+ declare type DomainSettingsPreloadScripts = Record<string, {
4581
+ enabled: boolean;
4582
+ }>;
4583
+
4561
4584
  /**
4562
4585
  * Defines domain-conditional settings for an OpenFin application.
4563
4586
  * @interface
@@ -10222,6 +10245,7 @@ declare namespace OpenFin {
10222
10245
  OpenExternalPermission,
10223
10246
  DeviceInfo,
10224
10247
  Permissions_2 as Permissions,
10248
+ ClipboardApiPermissions,
10225
10249
  PlatformWindowCreationOptions,
10226
10250
  PlatformWindowOptions,
10227
10251
  PlatformViewCreationOptions,
@@ -10338,6 +10362,7 @@ declare namespace OpenFin {
10338
10362
  StructuredContentPermissions,
10339
10363
  ContentPermission,
10340
10364
  ScreenCaptureBehavior,
10365
+ DomainSettingsPreloadScripts,
10341
10366
  PerDomainSettings,
10342
10367
  CopyPermissions,
10343
10368
  PastePermissions,
@@ -10688,6 +10713,10 @@ declare type PerDomainSettings = {
10688
10713
  * {@inheritdoc ChromiumPolicies}
10689
10714
  */
10690
10715
  chromiumPolicies?: ChromiumPolicies;
10716
+ /**
10717
+ * {@inheritdoc DomainSettingsPreloadScripts}
10718
+ */
10719
+ preloadScripts?: DomainSettingsPreloadScripts;
10691
10720
  contentProtection?: {
10692
10721
  /**
10693
10722
  * {@inheritdoc ScreenCaptureBehavior}
@@ -10732,6 +10761,7 @@ declare type PerformanceReportEvent = Performance & BaseEvent_5 & {
10732
10761
  declare type Permissions_2 = {
10733
10762
  Application?: Partial<ApplicationPermissions>;
10734
10763
  System?: Partial<SystemPermissions>;
10764
+ Clipboard?: Partial<ClipboardApiPermissions>;
10735
10765
  webAPIs?: WebPermission[];
10736
10766
  devices?: DeviceInfo[];
10737
10767
  };
@@ -12510,10 +12540,6 @@ declare type PrinterInfo = {
12510
12540
  * Printer Description
12511
12541
  */
12512
12542
  description: string;
12513
- /**
12514
- * Printer Status
12515
- */
12516
- status: number;
12517
12543
  /**
12518
12544
  * Indicates that system's default printer.
12519
12545
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "42.100.35",
3
+ "version": "42.100.40",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,