@openfin/fdc3-api 38.81.23 → 38.81.29
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/out/fdc3-api-alpha.d.ts +50 -14
- package/out/fdc3-api-beta.d.ts +50 -14
- package/out/fdc3-api-public.d.ts +50 -14
- package/out/fdc3-api.d.ts +50 -14
- package/out/fdc3-api.js +1 -4
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -4521,6 +4521,17 @@ declare type DeviceInfo = {
|
|
|
4521
4521
|
productId: string | number;
|
|
4522
4522
|
};
|
|
4523
4523
|
|
|
4524
|
+
/**
|
|
4525
|
+
* Permission string keys for device APIs
|
|
4526
|
+
*
|
|
4527
|
+
* @remarks We currently only support USB and HID devices. Permissions for individual devices
|
|
4528
|
+
* must be granted in {@link Permissions.devices}.
|
|
4529
|
+
*
|
|
4530
|
+
* `usb`: Access to one or more USB devices
|
|
4531
|
+
* `hid : Access to one or more HID devices
|
|
4532
|
+
*/
|
|
4533
|
+
declare type DevicePermissionName = 'usb' | 'hid';
|
|
4534
|
+
|
|
4524
4535
|
/**
|
|
4525
4536
|
* Generated when a page's theme color changes. This is usually due to encountering a meta tag.
|
|
4526
4537
|
* @interface
|
|
@@ -7888,9 +7899,7 @@ declare class InteropClient extends Base {
|
|
|
7888
7899
|
* ```
|
|
7889
7900
|
*
|
|
7890
7901
|
*
|
|
7891
|
-
*
|
|
7892
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
7893
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
7902
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
7894
7903
|
*
|
|
7895
7904
|
* ```js
|
|
7896
7905
|
* function handleInstrumentContext(contextInfo) {
|
|
@@ -10169,6 +10178,8 @@ declare namespace OpenFin {
|
|
|
10169
10178
|
ApplicationPermissions,
|
|
10170
10179
|
LaunchExternalProcessRule,
|
|
10171
10180
|
SystemPermissions,
|
|
10181
|
+
DevicePermissionName,
|
|
10182
|
+
WebPermissionName,
|
|
10172
10183
|
WebPermission,
|
|
10173
10184
|
VerboseWebPermission,
|
|
10174
10185
|
OpenExternalPermission,
|
|
@@ -14974,8 +14985,13 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14974
14985
|
launchManifest(manifestUrl: string, opts?: OpenFin.RvmLaunchOptions): Promise<OpenFin.Manifest>;
|
|
14975
14986
|
/**
|
|
14976
14987
|
* Query permission of a secured api in current context.
|
|
14988
|
+
*
|
|
14977
14989
|
* @param apiName - The full name of a secured API.
|
|
14978
14990
|
*
|
|
14991
|
+
* @remarks If a function has a structured permission value, the value of `granted` will reflect the `enabled` key
|
|
14992
|
+
* of the call's permissions literal. In this case, *permission may still be denied to a call* pending arguments or other
|
|
14993
|
+
* runtime state. This is indicated with `state: unavailable`.
|
|
14994
|
+
*
|
|
14979
14995
|
* @example
|
|
14980
14996
|
* ```js
|
|
14981
14997
|
* fin.System.queryPermissionForCurrentContext('System.launchExternalProcess').then(result => console.log(result)).catch(err => console.log(err));
|
|
@@ -17550,18 +17566,38 @@ declare namespace WebContentsEvents {
|
|
|
17550
17566
|
*
|
|
17551
17567
|
* @remarks We only support those web APIs listed by electron.
|
|
17552
17568
|
*
|
|
17553
|
-
* `audio`:
|
|
17554
|
-
* `video`:
|
|
17555
|
-
* `geolocation`:
|
|
17569
|
+
* `audio`: Access to audio devices.<br>
|
|
17570
|
+
* `video`: Access to video devices.<br>
|
|
17571
|
+
* `geolocation`: Access to user's current location.<br>
|
|
17572
|
+
* `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
|
|
17573
|
+
* `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
|
|
17574
|
+
* `pointerLock`: Access to mouse movements as an input method.<br>
|
|
17575
|
+
* `fullscreen`: Access to fullscreen mode.<br>
|
|
17576
|
+
* `openExternal`: Access to open links in external applications.<br>
|
|
17577
|
+
* `clipboard-read`: Access to read from the clipboard.<br>
|
|
17578
|
+
* `clipboard-sanitized-write`: Access to write to the clipboard.
|
|
17579
|
+
* `usb`: Access to one or more USB devices
|
|
17580
|
+
* `hid : Access to one or more HID devices
|
|
17581
|
+
*/
|
|
17582
|
+
declare type WebPermission = WebPermissionName | DevicePermissionName | OpenExternalPermission;
|
|
17583
|
+
|
|
17584
|
+
/**
|
|
17585
|
+
* Permission string keys for webAPIs
|
|
17586
|
+
*
|
|
17587
|
+
* @remarks We only support those web APIs listed by electron.
|
|
17588
|
+
*
|
|
17589
|
+
* `audio`: Access to audio devices.<br>
|
|
17590
|
+
* `video`: Access to video devices.<br>
|
|
17591
|
+
* `geolocation`: Access to user's current location.<br>
|
|
17556
17592
|
* `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
|
|
17557
|
-
* `midiSysex`:
|
|
17558
|
-
* `pointerLock`:
|
|
17559
|
-
* `fullscreen`:
|
|
17560
|
-
* `openExternal`:
|
|
17561
|
-
* `clipboard-read`:
|
|
17562
|
-
* `clipboard-sanitized-write`:
|
|
17563
|
-
*/
|
|
17564
|
-
declare type
|
|
17593
|
+
* `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
|
|
17594
|
+
* `pointerLock`: Access to mouse movements as an input method.<br>
|
|
17595
|
+
* `fullscreen`: Access to fullscreen mode.<br>
|
|
17596
|
+
* `openExternal`: Access to open links in external applications.<br>
|
|
17597
|
+
* `clipboard-read`: Access to read from the clipboard.<br>
|
|
17598
|
+
* `clipboard-sanitized-write`: Access to write to the clipboard.
|
|
17599
|
+
*/
|
|
17600
|
+
declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write';
|
|
17565
17601
|
|
|
17566
17602
|
/**
|
|
17567
17603
|
* Object representing headers and their values, where the
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -4521,6 +4521,17 @@ declare type DeviceInfo = {
|
|
|
4521
4521
|
productId: string | number;
|
|
4522
4522
|
};
|
|
4523
4523
|
|
|
4524
|
+
/**
|
|
4525
|
+
* Permission string keys for device APIs
|
|
4526
|
+
*
|
|
4527
|
+
* @remarks We currently only support USB and HID devices. Permissions for individual devices
|
|
4528
|
+
* must be granted in {@link Permissions.devices}.
|
|
4529
|
+
*
|
|
4530
|
+
* `usb`: Access to one or more USB devices
|
|
4531
|
+
* `hid : Access to one or more HID devices
|
|
4532
|
+
*/
|
|
4533
|
+
declare type DevicePermissionName = 'usb' | 'hid';
|
|
4534
|
+
|
|
4524
4535
|
/**
|
|
4525
4536
|
* Generated when a page's theme color changes. This is usually due to encountering a meta tag.
|
|
4526
4537
|
* @interface
|
|
@@ -7888,9 +7899,7 @@ declare class InteropClient extends Base {
|
|
|
7888
7899
|
* ```
|
|
7889
7900
|
*
|
|
7890
7901
|
*
|
|
7891
|
-
*
|
|
7892
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
7893
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
7902
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
7894
7903
|
*
|
|
7895
7904
|
* ```js
|
|
7896
7905
|
* function handleInstrumentContext(contextInfo) {
|
|
@@ -10169,6 +10178,8 @@ declare namespace OpenFin {
|
|
|
10169
10178
|
ApplicationPermissions,
|
|
10170
10179
|
LaunchExternalProcessRule,
|
|
10171
10180
|
SystemPermissions,
|
|
10181
|
+
DevicePermissionName,
|
|
10182
|
+
WebPermissionName,
|
|
10172
10183
|
WebPermission,
|
|
10173
10184
|
VerboseWebPermission,
|
|
10174
10185
|
OpenExternalPermission,
|
|
@@ -14974,8 +14985,13 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14974
14985
|
launchManifest(manifestUrl: string, opts?: OpenFin.RvmLaunchOptions): Promise<OpenFin.Manifest>;
|
|
14975
14986
|
/**
|
|
14976
14987
|
* Query permission of a secured api in current context.
|
|
14988
|
+
*
|
|
14977
14989
|
* @param apiName - The full name of a secured API.
|
|
14978
14990
|
*
|
|
14991
|
+
* @remarks If a function has a structured permission value, the value of `granted` will reflect the `enabled` key
|
|
14992
|
+
* of the call's permissions literal. In this case, *permission may still be denied to a call* pending arguments or other
|
|
14993
|
+
* runtime state. This is indicated with `state: unavailable`.
|
|
14994
|
+
*
|
|
14979
14995
|
* @example
|
|
14980
14996
|
* ```js
|
|
14981
14997
|
* fin.System.queryPermissionForCurrentContext('System.launchExternalProcess').then(result => console.log(result)).catch(err => console.log(err));
|
|
@@ -17550,18 +17566,38 @@ declare namespace WebContentsEvents {
|
|
|
17550
17566
|
*
|
|
17551
17567
|
* @remarks We only support those web APIs listed by electron.
|
|
17552
17568
|
*
|
|
17553
|
-
* `audio`:
|
|
17554
|
-
* `video`:
|
|
17555
|
-
* `geolocation`:
|
|
17569
|
+
* `audio`: Access to audio devices.<br>
|
|
17570
|
+
* `video`: Access to video devices.<br>
|
|
17571
|
+
* `geolocation`: Access to user's current location.<br>
|
|
17572
|
+
* `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
|
|
17573
|
+
* `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
|
|
17574
|
+
* `pointerLock`: Access to mouse movements as an input method.<br>
|
|
17575
|
+
* `fullscreen`: Access to fullscreen mode.<br>
|
|
17576
|
+
* `openExternal`: Access to open links in external applications.<br>
|
|
17577
|
+
* `clipboard-read`: Access to read from the clipboard.<br>
|
|
17578
|
+
* `clipboard-sanitized-write`: Access to write to the clipboard.
|
|
17579
|
+
* `usb`: Access to one or more USB devices
|
|
17580
|
+
* `hid : Access to one or more HID devices
|
|
17581
|
+
*/
|
|
17582
|
+
declare type WebPermission = WebPermissionName | DevicePermissionName | OpenExternalPermission;
|
|
17583
|
+
|
|
17584
|
+
/**
|
|
17585
|
+
* Permission string keys for webAPIs
|
|
17586
|
+
*
|
|
17587
|
+
* @remarks We only support those web APIs listed by electron.
|
|
17588
|
+
*
|
|
17589
|
+
* `audio`: Access to audio devices.<br>
|
|
17590
|
+
* `video`: Access to video devices.<br>
|
|
17591
|
+
* `geolocation`: Access to user's current location.<br>
|
|
17556
17592
|
* `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
|
|
17557
|
-
* `midiSysex`:
|
|
17558
|
-
* `pointerLock`:
|
|
17559
|
-
* `fullscreen`:
|
|
17560
|
-
* `openExternal`:
|
|
17561
|
-
* `clipboard-read`:
|
|
17562
|
-
* `clipboard-sanitized-write`:
|
|
17563
|
-
*/
|
|
17564
|
-
declare type
|
|
17593
|
+
* `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
|
|
17594
|
+
* `pointerLock`: Access to mouse movements as an input method.<br>
|
|
17595
|
+
* `fullscreen`: Access to fullscreen mode.<br>
|
|
17596
|
+
* `openExternal`: Access to open links in external applications.<br>
|
|
17597
|
+
* `clipboard-read`: Access to read from the clipboard.<br>
|
|
17598
|
+
* `clipboard-sanitized-write`: Access to write to the clipboard.
|
|
17599
|
+
*/
|
|
17600
|
+
declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write';
|
|
17565
17601
|
|
|
17566
17602
|
/**
|
|
17567
17603
|
* Object representing headers and their values, where the
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -4521,6 +4521,17 @@ declare type DeviceInfo = {
|
|
|
4521
4521
|
productId: string | number;
|
|
4522
4522
|
};
|
|
4523
4523
|
|
|
4524
|
+
/**
|
|
4525
|
+
* Permission string keys for device APIs
|
|
4526
|
+
*
|
|
4527
|
+
* @remarks We currently only support USB and HID devices. Permissions for individual devices
|
|
4528
|
+
* must be granted in {@link Permissions.devices}.
|
|
4529
|
+
*
|
|
4530
|
+
* `usb`: Access to one or more USB devices
|
|
4531
|
+
* `hid : Access to one or more HID devices
|
|
4532
|
+
*/
|
|
4533
|
+
declare type DevicePermissionName = 'usb' | 'hid';
|
|
4534
|
+
|
|
4524
4535
|
/**
|
|
4525
4536
|
* Generated when a page's theme color changes. This is usually due to encountering a meta tag.
|
|
4526
4537
|
* @interface
|
|
@@ -7888,9 +7899,7 @@ declare class InteropClient extends Base {
|
|
|
7888
7899
|
* ```
|
|
7889
7900
|
*
|
|
7890
7901
|
*
|
|
7891
|
-
*
|
|
7892
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
7893
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
7902
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
7894
7903
|
*
|
|
7895
7904
|
* ```js
|
|
7896
7905
|
* function handleInstrumentContext(contextInfo) {
|
|
@@ -10169,6 +10178,8 @@ declare namespace OpenFin {
|
|
|
10169
10178
|
ApplicationPermissions,
|
|
10170
10179
|
LaunchExternalProcessRule,
|
|
10171
10180
|
SystemPermissions,
|
|
10181
|
+
DevicePermissionName,
|
|
10182
|
+
WebPermissionName,
|
|
10172
10183
|
WebPermission,
|
|
10173
10184
|
VerboseWebPermission,
|
|
10174
10185
|
OpenExternalPermission,
|
|
@@ -14974,8 +14985,13 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14974
14985
|
launchManifest(manifestUrl: string, opts?: OpenFin.RvmLaunchOptions): Promise<OpenFin.Manifest>;
|
|
14975
14986
|
/**
|
|
14976
14987
|
* Query permission of a secured api in current context.
|
|
14988
|
+
*
|
|
14977
14989
|
* @param apiName - The full name of a secured API.
|
|
14978
14990
|
*
|
|
14991
|
+
* @remarks If a function has a structured permission value, the value of `granted` will reflect the `enabled` key
|
|
14992
|
+
* of the call's permissions literal. In this case, *permission may still be denied to a call* pending arguments or other
|
|
14993
|
+
* runtime state. This is indicated with `state: unavailable`.
|
|
14994
|
+
*
|
|
14979
14995
|
* @example
|
|
14980
14996
|
* ```js
|
|
14981
14997
|
* fin.System.queryPermissionForCurrentContext('System.launchExternalProcess').then(result => console.log(result)).catch(err => console.log(err));
|
|
@@ -17550,18 +17566,38 @@ declare namespace WebContentsEvents {
|
|
|
17550
17566
|
*
|
|
17551
17567
|
* @remarks We only support those web APIs listed by electron.
|
|
17552
17568
|
*
|
|
17553
|
-
* `audio`:
|
|
17554
|
-
* `video`:
|
|
17555
|
-
* `geolocation`:
|
|
17569
|
+
* `audio`: Access to audio devices.<br>
|
|
17570
|
+
* `video`: Access to video devices.<br>
|
|
17571
|
+
* `geolocation`: Access to user's current location.<br>
|
|
17572
|
+
* `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
|
|
17573
|
+
* `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
|
|
17574
|
+
* `pointerLock`: Access to mouse movements as an input method.<br>
|
|
17575
|
+
* `fullscreen`: Access to fullscreen mode.<br>
|
|
17576
|
+
* `openExternal`: Access to open links in external applications.<br>
|
|
17577
|
+
* `clipboard-read`: Access to read from the clipboard.<br>
|
|
17578
|
+
* `clipboard-sanitized-write`: Access to write to the clipboard.
|
|
17579
|
+
* `usb`: Access to one or more USB devices
|
|
17580
|
+
* `hid : Access to one or more HID devices
|
|
17581
|
+
*/
|
|
17582
|
+
declare type WebPermission = WebPermissionName | DevicePermissionName | OpenExternalPermission;
|
|
17583
|
+
|
|
17584
|
+
/**
|
|
17585
|
+
* Permission string keys for webAPIs
|
|
17586
|
+
*
|
|
17587
|
+
* @remarks We only support those web APIs listed by electron.
|
|
17588
|
+
*
|
|
17589
|
+
* `audio`: Access to audio devices.<br>
|
|
17590
|
+
* `video`: Access to video devices.<br>
|
|
17591
|
+
* `geolocation`: Access to user's current location.<br>
|
|
17556
17592
|
* `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
|
|
17557
|
-
* `midiSysex`:
|
|
17558
|
-
* `pointerLock`:
|
|
17559
|
-
* `fullscreen`:
|
|
17560
|
-
* `openExternal`:
|
|
17561
|
-
* `clipboard-read`:
|
|
17562
|
-
* `clipboard-sanitized-write`:
|
|
17563
|
-
*/
|
|
17564
|
-
declare type
|
|
17593
|
+
* `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
|
|
17594
|
+
* `pointerLock`: Access to mouse movements as an input method.<br>
|
|
17595
|
+
* `fullscreen`: Access to fullscreen mode.<br>
|
|
17596
|
+
* `openExternal`: Access to open links in external applications.<br>
|
|
17597
|
+
* `clipboard-read`: Access to read from the clipboard.<br>
|
|
17598
|
+
* `clipboard-sanitized-write`: Access to write to the clipboard.
|
|
17599
|
+
*/
|
|
17600
|
+
declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write';
|
|
17565
17601
|
|
|
17566
17602
|
/**
|
|
17567
17603
|
* Object representing headers and their values, where the
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -4580,6 +4580,17 @@ declare type DeviceInfo = {
|
|
|
4580
4580
|
productId: string | number;
|
|
4581
4581
|
};
|
|
4582
4582
|
|
|
4583
|
+
/**
|
|
4584
|
+
* Permission string keys for device APIs
|
|
4585
|
+
*
|
|
4586
|
+
* @remarks We currently only support USB and HID devices. Permissions for individual devices
|
|
4587
|
+
* must be granted in {@link Permissions.devices}.
|
|
4588
|
+
*
|
|
4589
|
+
* `usb`: Access to one or more USB devices
|
|
4590
|
+
* `hid : Access to one or more HID devices
|
|
4591
|
+
*/
|
|
4592
|
+
declare type DevicePermissionName = 'usb' | 'hid';
|
|
4593
|
+
|
|
4583
4594
|
/**
|
|
4584
4595
|
* Generated when a page's theme color changes. This is usually due to encountering a meta tag.
|
|
4585
4596
|
* @interface
|
|
@@ -8000,9 +8011,7 @@ declare class InteropClient extends Base {
|
|
|
8000
8011
|
* ```
|
|
8001
8012
|
*
|
|
8002
8013
|
*
|
|
8003
|
-
*
|
|
8004
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
8005
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
8014
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
8006
8015
|
*
|
|
8007
8016
|
* ```js
|
|
8008
8017
|
* function handleInstrumentContext(contextInfo) {
|
|
@@ -10484,6 +10493,8 @@ declare namespace OpenFin {
|
|
|
10484
10493
|
ApplicationPermissions,
|
|
10485
10494
|
LaunchExternalProcessRule,
|
|
10486
10495
|
SystemPermissions,
|
|
10496
|
+
DevicePermissionName,
|
|
10497
|
+
WebPermissionName,
|
|
10487
10498
|
WebPermission,
|
|
10488
10499
|
VerboseWebPermission,
|
|
10489
10500
|
OpenExternalPermission,
|
|
@@ -15373,8 +15384,13 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15373
15384
|
launchManifest(manifestUrl: string, opts?: OpenFin.RvmLaunchOptions): Promise<OpenFin.Manifest>;
|
|
15374
15385
|
/**
|
|
15375
15386
|
* Query permission of a secured api in current context.
|
|
15387
|
+
*
|
|
15376
15388
|
* @param apiName - The full name of a secured API.
|
|
15377
15389
|
*
|
|
15390
|
+
* @remarks If a function has a structured permission value, the value of `granted` will reflect the `enabled` key
|
|
15391
|
+
* of the call's permissions literal. In this case, *permission may still be denied to a call* pending arguments or other
|
|
15392
|
+
* runtime state. This is indicated with `state: unavailable`.
|
|
15393
|
+
*
|
|
15378
15394
|
* @example
|
|
15379
15395
|
* ```js
|
|
15380
15396
|
* fin.System.queryPermissionForCurrentContext('System.launchExternalProcess').then(result => console.log(result)).catch(err => console.log(err));
|
|
@@ -17993,18 +18009,38 @@ declare namespace WebContentsEvents {
|
|
|
17993
18009
|
*
|
|
17994
18010
|
* @remarks We only support those web APIs listed by electron.
|
|
17995
18011
|
*
|
|
17996
|
-
* `audio`:
|
|
17997
|
-
* `video`:
|
|
17998
|
-
* `geolocation`:
|
|
18012
|
+
* `audio`: Access to audio devices.<br>
|
|
18013
|
+
* `video`: Access to video devices.<br>
|
|
18014
|
+
* `geolocation`: Access to user's current location.<br>
|
|
18015
|
+
* `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
|
|
18016
|
+
* `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
|
|
18017
|
+
* `pointerLock`: Access to mouse movements as an input method.<br>
|
|
18018
|
+
* `fullscreen`: Access to fullscreen mode.<br>
|
|
18019
|
+
* `openExternal`: Access to open links in external applications.<br>
|
|
18020
|
+
* `clipboard-read`: Access to read from the clipboard.<br>
|
|
18021
|
+
* `clipboard-sanitized-write`: Access to write to the clipboard.
|
|
18022
|
+
* `usb`: Access to one or more USB devices
|
|
18023
|
+
* `hid : Access to one or more HID devices
|
|
18024
|
+
*/
|
|
18025
|
+
declare type WebPermission = WebPermissionName | DevicePermissionName | OpenExternalPermission;
|
|
18026
|
+
|
|
18027
|
+
/**
|
|
18028
|
+
* Permission string keys for webAPIs
|
|
18029
|
+
*
|
|
18030
|
+
* @remarks We only support those web APIs listed by electron.
|
|
18031
|
+
*
|
|
18032
|
+
* `audio`: Access to audio devices.<br>
|
|
18033
|
+
* `video`: Access to video devices.<br>
|
|
18034
|
+
* `geolocation`: Access to user's current location.<br>
|
|
17999
18035
|
* `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
|
|
18000
|
-
* `midiSysex`:
|
|
18001
|
-
* `pointerLock`:
|
|
18002
|
-
* `fullscreen`:
|
|
18003
|
-
* `openExternal`:
|
|
18004
|
-
* `clipboard-read`:
|
|
18005
|
-
* `clipboard-sanitized-write`:
|
|
18006
|
-
*/
|
|
18007
|
-
declare type
|
|
18036
|
+
* `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
|
|
18037
|
+
* `pointerLock`: Access to mouse movements as an input method.<br>
|
|
18038
|
+
* `fullscreen`: Access to fullscreen mode.<br>
|
|
18039
|
+
* `openExternal`: Access to open links in external applications.<br>
|
|
18040
|
+
* `clipboard-read`: Access to read from the clipboard.<br>
|
|
18041
|
+
* `clipboard-sanitized-write`: Access to write to the clipboard.
|
|
18042
|
+
*/
|
|
18043
|
+
declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write';
|
|
18008
18044
|
|
|
18009
18045
|
/**
|
|
18010
18046
|
* Object representing headers and their values, where the
|
package/out/fdc3-api.js
CHANGED
|
@@ -1292,9 +1292,7 @@ function requireInteropClient () {
|
|
|
1292
1292
|
* ```
|
|
1293
1293
|
*
|
|
1294
1294
|
*
|
|
1295
|
-
*
|
|
1296
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
1297
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
1295
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
1298
1296
|
*
|
|
1299
1297
|
* ```js
|
|
1300
1298
|
* function handleInstrumentContext(contextInfo) {
|
|
@@ -1323,7 +1321,6 @@ function requireInteropClient () {
|
|
|
1323
1321
|
let handlerId;
|
|
1324
1322
|
if (contextType) {
|
|
1325
1323
|
handlerId = `invokeContextHandler-${contextType}-${(0, utils_1.generateId)()}`;
|
|
1326
|
-
console.warn(`Warning: By providing a contextType (${contextType}), you are using the experimental addContextHandler. To avoid issues, make sure you are adding your context handlers at the top level in your application.`);
|
|
1327
1324
|
}
|
|
1328
1325
|
else {
|
|
1329
1326
|
handlerId = 'invokeContextHandler';
|