electron 26.0.0-beta.9 → 27.0.0-alpha.1
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/checksums.json +75 -75
- package/electron.d.ts +79 -140
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-
|
|
3
|
-
"chromedriver-
|
|
4
|
-
"chromedriver-
|
|
5
|
-
"chromedriver-
|
|
6
|
-
"chromedriver-
|
|
7
|
-
"chromedriver-
|
|
8
|
-
"chromedriver-
|
|
9
|
-
"chromedriver-
|
|
10
|
-
"chromedriver-
|
|
11
|
-
"chromedriver-
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-
|
|
14
|
-
"electron-
|
|
15
|
-
"electron-
|
|
16
|
-
"electron-
|
|
17
|
-
"electron-
|
|
18
|
-
"electron-
|
|
19
|
-
"electron-
|
|
20
|
-
"electron-
|
|
21
|
-
"electron-
|
|
22
|
-
"electron-
|
|
23
|
-
"electron-
|
|
24
|
-
"electron-
|
|
25
|
-
"electron-
|
|
26
|
-
"electron-
|
|
27
|
-
"electron-
|
|
28
|
-
"electron-
|
|
29
|
-
"electron-
|
|
30
|
-
"electron-
|
|
31
|
-
"electron-
|
|
32
|
-
"electron-
|
|
33
|
-
"electron-
|
|
34
|
-
"electron-
|
|
35
|
-
"electron-
|
|
36
|
-
"electron-
|
|
37
|
-
"electron-
|
|
38
|
-
"electron-
|
|
39
|
-
"electron-
|
|
40
|
-
"electron-
|
|
41
|
-
"electron-
|
|
42
|
-
"electron-
|
|
43
|
-
"electron-
|
|
44
|
-
"electron-
|
|
45
|
-
"electron-
|
|
46
|
-
"electron-
|
|
47
|
-
"electron-
|
|
48
|
-
"electron-
|
|
49
|
-
"electron-
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-
|
|
52
|
-
"ffmpeg-
|
|
53
|
-
"ffmpeg-
|
|
54
|
-
"ffmpeg-
|
|
55
|
-
"ffmpeg-
|
|
56
|
-
"ffmpeg-
|
|
57
|
-
"ffmpeg-
|
|
58
|
-
"ffmpeg-
|
|
59
|
-
"ffmpeg-
|
|
60
|
-
"ffmpeg-
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-
|
|
63
|
-
"libcxx-objects-
|
|
64
|
-
"libcxx-objects-
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-
|
|
68
|
-
"mksnapshot-
|
|
69
|
-
"mksnapshot-
|
|
70
|
-
"mksnapshot-
|
|
71
|
-
"mksnapshot-
|
|
72
|
-
"mksnapshot-
|
|
73
|
-
"mksnapshot-
|
|
74
|
-
"mksnapshot-
|
|
75
|
-
"mksnapshot-
|
|
76
|
-
"mksnapshot-
|
|
2
|
+
"chromedriver-v27.0.0-alpha.1-darwin-arm64.zip": "365e74baf46cc0d7a4845808daa2b35e8e1a281901aa5f5607dc3dafc5df120c",
|
|
3
|
+
"chromedriver-v27.0.0-alpha.1-darwin-x64.zip": "53a618f9adbf8604557b936ce274c00a740cbf1cefaffd40472c3c084b4b197d",
|
|
4
|
+
"chromedriver-v27.0.0-alpha.1-linux-arm64.zip": "8cb05449485479ac6dc0da264e43d3c884e0121308712316ff49127aa11e3b5c",
|
|
5
|
+
"chromedriver-v27.0.0-alpha.1-linux-armv7l.zip": "31967461e6881294d8ee6a9c6d4ad9fa7199f99e66ac672ec8888824a95c13e3",
|
|
6
|
+
"chromedriver-v27.0.0-alpha.1-linux-x64.zip": "ae6866520a9daf2883c37c935b582b3354d1c042747ce449f823f91ba5241b94",
|
|
7
|
+
"chromedriver-v27.0.0-alpha.1-mas-arm64.zip": "876459c17b114415ba17685da456068f6fd77e1d07d25f38ba6809c9e3570027",
|
|
8
|
+
"chromedriver-v27.0.0-alpha.1-mas-x64.zip": "54669fb322710f771ea346492f5df6a6070469aa657a5b5dca913595ad3691a0",
|
|
9
|
+
"chromedriver-v27.0.0-alpha.1-win32-arm64.zip": "357f801cb5a3bdfd14a7895d09c8dc9979316361e48ce82a6b87d66ff3c179a7",
|
|
10
|
+
"chromedriver-v27.0.0-alpha.1-win32-ia32.zip": "5d7e16af56eb017b4d9f4b403b3c9c59e6da874a6b2901242e478094bdbf34ca",
|
|
11
|
+
"chromedriver-v27.0.0-alpha.1-win32-x64.zip": "09ba570fe91bbbb36cb669570c5eed7fb20e8bd7e9e35eee8f1f88e62d5ab7c7",
|
|
12
|
+
"electron-api.json": "3a5e233400fa5c726a0e032634f4ebf9cd2a2c7a8fadb21c8282558b4538c5d1",
|
|
13
|
+
"electron-v27.0.0-alpha.1-darwin-arm64-dsym-snapshot.zip": "eb0d51cf2ccc5fbf5cb74bea9d79297ffe4d0a414b7e485bd3b3beacfa68ed0d",
|
|
14
|
+
"electron-v27.0.0-alpha.1-darwin-arm64-dsym.zip": "c4b3ef66062b3e764e622fe3dfb45dd9e1dcf1e1759e96c2b836fcca76162ead",
|
|
15
|
+
"electron-v27.0.0-alpha.1-darwin-arm64-symbols.zip": "be2132a94d6da7af49575862a05337dbab3f5fa96ea06c25404d75c735e7ef9b",
|
|
16
|
+
"electron-v27.0.0-alpha.1-darwin-arm64.zip": "afda5a76784d44bb7886fcd0aa01c8670eb5bc9ed5137cd554972327044ce3e1",
|
|
17
|
+
"electron-v27.0.0-alpha.1-darwin-x64-dsym-snapshot.zip": "3b65a49cc438096581b598b2e0717a4ee5abedae8bc88312d7745698c08583fc",
|
|
18
|
+
"electron-v27.0.0-alpha.1-darwin-x64-dsym.zip": "4640743dc4427e856e6ca69fb42608c74b48fa61e6688df7e77fa61c030fb834",
|
|
19
|
+
"electron-v27.0.0-alpha.1-darwin-x64-symbols.zip": "72c981cb77a72cce601fe5597b2760cde499190811692b5de28c1ff8ee287b7a",
|
|
20
|
+
"electron-v27.0.0-alpha.1-darwin-x64.zip": "a38efcf91197e9fe3b58209fc5c7636952c0fc8f6628b643af3442b2856e901d",
|
|
21
|
+
"electron-v27.0.0-alpha.1-linux-arm64-debug.zip": "b9d13354a76ff669b7cef7d2f9e660a5b9cc7493dfc6fc46becc3398250cb738",
|
|
22
|
+
"electron-v27.0.0-alpha.1-linux-arm64-symbols.zip": "569d5374420b08c486910beb2085d3ed1e4d661a34f97c31c4eee305b3f04868",
|
|
23
|
+
"electron-v27.0.0-alpha.1-linux-arm64.zip": "19d67999f06272996a7db5b7bec58a5f0780815bceb5af86733865b7e1874ea3",
|
|
24
|
+
"electron-v27.0.0-alpha.1-linux-armv7l-debug.zip": "b9d13354a76ff669b7cef7d2f9e660a5b9cc7493dfc6fc46becc3398250cb738",
|
|
25
|
+
"electron-v27.0.0-alpha.1-linux-armv7l-symbols.zip": "b0e618dbac1ddc477323ef6dc171239a0b7b7f0a5c2ee012d6e463e73a6f0e48",
|
|
26
|
+
"electron-v27.0.0-alpha.1-linux-armv7l.zip": "788658f827380f0009fe1e789d190a84f5515cbdb19b5f3538e2a7020bd63599",
|
|
27
|
+
"electron-v27.0.0-alpha.1-linux-x64-debug.zip": "73596a199fe07a8c2675acb8c24198264a612c147860b6fa75ccfb0ee1beb673",
|
|
28
|
+
"electron-v27.0.0-alpha.1-linux-x64-symbols.zip": "86af58efd3d78ce2ea3b3c8e5b6465bab8e3f3cf9d84c2a7da16f01dc6c4d573",
|
|
29
|
+
"electron-v27.0.0-alpha.1-linux-x64.zip": "0811b54cd887f4ca9fcaabfd4aadc4dd04f5948c602d8da5c775ff3feecf2d8f",
|
|
30
|
+
"electron-v27.0.0-alpha.1-mas-arm64-dsym-snapshot.zip": "3420df7c1f6ae561166d304d5cdccef05bb4104a2ccb370408e2c4909535274a",
|
|
31
|
+
"electron-v27.0.0-alpha.1-mas-arm64-dsym.zip": "2f58f8d65f4ab9f6d13ce815a99100f4481487a915fe1e0199483646273d2811",
|
|
32
|
+
"electron-v27.0.0-alpha.1-mas-arm64-symbols.zip": "a1d2836d9aaea040e44bd7cf846ff8c2d00dcbb3cbfc5a533967b09874919723",
|
|
33
|
+
"electron-v27.0.0-alpha.1-mas-arm64.zip": "2ea88f226daff208829b463eaaded8af9e686e58387ba651a691be82f5b2709b",
|
|
34
|
+
"electron-v27.0.0-alpha.1-mas-x64-dsym-snapshot.zip": "e2dcf6ce0afbf763aa92239a14154f1e70e417ff06284445e4c40cf5f080a92a",
|
|
35
|
+
"electron-v27.0.0-alpha.1-mas-x64-dsym.zip": "7bb844d0f77e64bcf56b258d3ed7e91bf9351faeec327f878ad00e2738725025",
|
|
36
|
+
"electron-v27.0.0-alpha.1-mas-x64-symbols.zip": "90eb0f33f29e8c81fd46b6d8e5d1f73c4111122dd9a4ac486049ca8b1a96e4a5",
|
|
37
|
+
"electron-v27.0.0-alpha.1-mas-x64.zip": "efd8525e9a5ccc63a659049dedce6b58f6342f5be156ad83966e467059db21a2",
|
|
38
|
+
"electron-v27.0.0-alpha.1-win32-arm64-pdb.zip": "e5cd32ab609de756c862574917cf139695857d663807e9afead56da908150c71",
|
|
39
|
+
"electron-v27.0.0-alpha.1-win32-arm64-symbols.zip": "e09c2160edfa9ffc585f6b36adc6749ed8f180c463abfb76ef362772b6baecc8",
|
|
40
|
+
"electron-v27.0.0-alpha.1-win32-arm64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
41
|
+
"electron-v27.0.0-alpha.1-win32-arm64.zip": "7234056a5e7b98ef5a3f02713cd9795786c2bcfa48aa8b492243b10be41e196b",
|
|
42
|
+
"electron-v27.0.0-alpha.1-win32-ia32-pdb.zip": "b2bb24ccd969888c006f06441dfbaab37ef7388851c4b949bd352b7edf33749d",
|
|
43
|
+
"electron-v27.0.0-alpha.1-win32-ia32-symbols.zip": "32d219af2044b7877747c3932d926098a56125f82a9dd3e1078d0e4892ab29ff",
|
|
44
|
+
"electron-v27.0.0-alpha.1-win32-ia32-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
45
|
+
"electron-v27.0.0-alpha.1-win32-ia32.zip": "b746ff6ea0a91f1f0d80457ef1eeb5bde4862f6ebdde849226cefaf2319d0912",
|
|
46
|
+
"electron-v27.0.0-alpha.1-win32-x64-pdb.zip": "38e4b8fcf81c404d5db8070cbd76440d16bba2aa70c4841a6d573d0a3bc1bd65",
|
|
47
|
+
"electron-v27.0.0-alpha.1-win32-x64-symbols.zip": "5119cd427ed90ed2b514735dfd0bdb7ab3eb70de585237a66a2fa9fa81d4c8a6",
|
|
48
|
+
"electron-v27.0.0-alpha.1-win32-x64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
49
|
+
"electron-v27.0.0-alpha.1-win32-x64.zip": "322b4d034ba13acab043859aa75c088d6ef30e3fe84301bf3bbc20a42e5ab688",
|
|
50
|
+
"electron.d.ts": "ba1fd8f8ebaacf04a4c68a24791aa77af85faff90f1de8d3538777b5fbc4d1e7",
|
|
51
|
+
"ffmpeg-v27.0.0-alpha.1-darwin-arm64.zip": "8c6096f71f8b31d3ad6d11b85fe7e19e30e5f0b24f060d59569bf3fcdeca6d9b",
|
|
52
|
+
"ffmpeg-v27.0.0-alpha.1-darwin-x64.zip": "1c783ec11653177f6d07b11dbc9208d40c8ceef93fc4acfd4ff2523907b6a1f2",
|
|
53
|
+
"ffmpeg-v27.0.0-alpha.1-linux-arm64.zip": "34cfba9fa26d7b88f99518327b7f18dccbcf134e72f6986304957f72ceffbde8",
|
|
54
|
+
"ffmpeg-v27.0.0-alpha.1-linux-armv7l.zip": "448ceca081a36a61fe2113be74277319c04085ec06490fae8a4147fff744817d",
|
|
55
|
+
"ffmpeg-v27.0.0-alpha.1-linux-x64.zip": "ac38f82e68d2a9e53c5612f8ad718d027a192b4b1aa07e8990459095bff4fa45",
|
|
56
|
+
"ffmpeg-v27.0.0-alpha.1-mas-arm64.zip": "2e1d73babada05c2c5cc49660c6cdff1bc006c692a3f00ff5a2d2decc6f2390f",
|
|
57
|
+
"ffmpeg-v27.0.0-alpha.1-mas-x64.zip": "c8912ef7e9d45570087b6e2c4cbed072c2b007415d44bfac06700a1d032a92a7",
|
|
58
|
+
"ffmpeg-v27.0.0-alpha.1-win32-arm64.zip": "d289ea1b4d62ce8735aea260c0bfd5afcc970f07686693ffedb390a9c8cf1bac",
|
|
59
|
+
"ffmpeg-v27.0.0-alpha.1-win32-ia32.zip": "446644fa2ac75e4d354e0a2284328e080e66fffa6fde4fcb2862957721309bab",
|
|
60
|
+
"ffmpeg-v27.0.0-alpha.1-win32-x64.zip": "99659b7a245d6e343651cc72bffc493ba98764bb1a7408ef589734f9cd357ccc",
|
|
61
|
+
"hunspell_dictionaries.zip": "e8542f78d066d0899d639722a59b5d20abb8d69e954a72fc7beb896f6f409261",
|
|
62
|
+
"libcxx-objects-v27.0.0-alpha.1-linux-arm64.zip": "8fe39182b733a8842a7913a8b9786b77b69b0dd3bca367f4d581ec856e820aa6",
|
|
63
|
+
"libcxx-objects-v27.0.0-alpha.1-linux-armv7l.zip": "cc847688369660a561d945ef4db871d9a98516be3bd315d64c8c28feeb133afe",
|
|
64
|
+
"libcxx-objects-v27.0.0-alpha.1-linux-x64.zip": "550a122e4edd54cdc1b4bf043f8406a9f0b3e4848640113f5e13fe9243c52e07",
|
|
65
|
+
"libcxx_headers.zip": "3cd99850e38a1839536522795343c23615477782377f41376831a6467d3e45e5",
|
|
66
|
+
"libcxxabi_headers.zip": "ba6952490ded27c344150527543dee9693e5906ca419a6975a38cb61da6be794",
|
|
67
|
+
"mksnapshot-v27.0.0-alpha.1-darwin-arm64.zip": "eff4a5d54ba84d329311e297462ab915d38179173619a841ed918578eb1e66e8",
|
|
68
|
+
"mksnapshot-v27.0.0-alpha.1-darwin-x64.zip": "191d091dedb481b8a26c5e5cab2d6ce5765224a2303c66bd7456f2f0afb04292",
|
|
69
|
+
"mksnapshot-v27.0.0-alpha.1-linux-arm64-x64.zip": "ef88a76a4e90312eb46a17e5806f2590cf6599c71db4b9e0a892590d3927f1a8",
|
|
70
|
+
"mksnapshot-v27.0.0-alpha.1-linux-armv7l-x64.zip": "3b2b5adaaaf09566e25e1447d7fde99ee9d4ab66b51fe804fb6ec5631adfda32",
|
|
71
|
+
"mksnapshot-v27.0.0-alpha.1-linux-x64.zip": "972119bd6099053f6380c7a6f1b658948b6de020b390e6452ddaa1badbe69b41",
|
|
72
|
+
"mksnapshot-v27.0.0-alpha.1-mas-arm64.zip": "cdd06c935daeb1339f4a79709487e384a4d473639a06f901555e018ef46030ba",
|
|
73
|
+
"mksnapshot-v27.0.0-alpha.1-mas-x64.zip": "c4a58953679d1f7f40238d071da42277a9e75bd37598446c2b697f6ec80753ff",
|
|
74
|
+
"mksnapshot-v27.0.0-alpha.1-win32-arm64-x64.zip": "dba22a3f506dae26fe80e1eb503c02e7a9c508e6e386d32b26e0e896612665ac",
|
|
75
|
+
"mksnapshot-v27.0.0-alpha.1-win32-ia32.zip": "cb9ac3f833b7f2b3e71c3290129d2f1621571561031635a85221d3075761e68f",
|
|
76
|
+
"mksnapshot-v27.0.0-alpha.1-win32-x64.zip": "41cfc68922fb93310699b51c1d6dbf4c41172ec8e66e06efbb257a7b2bff2f23"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron
|
|
1
|
+
// Type definitions for Electron 27.0.0-alpha.1
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/typescript-definitions
|
|
@@ -426,9 +426,9 @@ declare namespace Electron {
|
|
|
426
426
|
* `CFBundleURLTypes` key, and set `NSPrincipalClass` to `AtomApplication`.
|
|
427
427
|
*
|
|
428
428
|
* As with the `open-file` event, be sure to register a listener for the `open-url`
|
|
429
|
-
* event early in your application startup to detect if the
|
|
430
|
-
*
|
|
431
|
-
*
|
|
429
|
+
* event early in your application startup to detect if the application is being
|
|
430
|
+
* opened to handle a URL. If you register the listener in response to a `ready`
|
|
431
|
+
* event, you'll miss URLs that trigger the launch of your application.
|
|
432
432
|
*
|
|
433
433
|
* @platform darwin
|
|
434
434
|
*/
|
|
@@ -1338,6 +1338,9 @@ declare namespace Electron {
|
|
|
1338
1338
|
* **Note:** Unity launcher requires a `.desktop` file to work. For more
|
|
1339
1339
|
* information, please read the Unity integration documentation.
|
|
1340
1340
|
*
|
|
1341
|
+
* **Note:** On macOS, you need to ensure that your application has the permission
|
|
1342
|
+
* to display notifications for this method to work.
|
|
1343
|
+
*
|
|
1341
1344
|
* @platform linux,darwin
|
|
1342
1345
|
*/
|
|
1343
1346
|
setBadgeCount(count?: number): boolean;
|
|
@@ -2323,8 +2326,9 @@ declare namespace Electron {
|
|
|
2323
2326
|
*/
|
|
2324
2327
|
getBrowserView(): (BrowserView) | (null);
|
|
2325
2328
|
/**
|
|
2326
|
-
*
|
|
2327
|
-
* `setBrowserView`.
|
|
2329
|
+
* a sorted by z-index array of all BrowserViews that have been attached with
|
|
2330
|
+
* `addBrowserView` or `setBrowserView`. The top-most BrowserView is the last
|
|
2331
|
+
* element of the array.
|
|
2328
2332
|
*
|
|
2329
2333
|
* **Note:** The BrowserView API is currently experimental and may change or be
|
|
2330
2334
|
* removed in future Electron releases.
|
|
@@ -3109,12 +3113,9 @@ declare namespace Electron {
|
|
|
3109
3113
|
* Adds a vibrancy effect to the browser window. Passing `null` or an empty string
|
|
3110
3114
|
* will remove the vibrancy effect on the window.
|
|
3111
3115
|
*
|
|
3112
|
-
* Note that `appearance-based`, `light`, `dark`, `medium-light`, and `ultra-dark`
|
|
3113
|
-
* have been deprecated and will be removed in an upcoming version of macOS.
|
|
3114
|
-
*
|
|
3115
3116
|
* @platform darwin
|
|
3116
3117
|
*/
|
|
3117
|
-
setVibrancy(type: (('
|
|
3118
|
+
setVibrancy(type: (('titlebar' | 'selection' | 'menu' | 'popover' | 'sidebar' | 'header' | 'sheet' | 'window' | 'hud' | 'fullscreen-ui' | 'tooltip' | 'content' | 'under-window' | 'under-page')) | (null)): void;
|
|
3118
3119
|
/**
|
|
3119
3120
|
* Sets whether the window should be visible on all workspaces.
|
|
3120
3121
|
*
|
|
@@ -3140,6 +3141,12 @@ declare namespace Electron {
|
|
|
3140
3141
|
* Shows and gives focus to the window.
|
|
3141
3142
|
*/
|
|
3142
3143
|
show(): void;
|
|
3144
|
+
/**
|
|
3145
|
+
* Shows or hides the tab overview when native tabs are enabled.
|
|
3146
|
+
*
|
|
3147
|
+
* @platform darwin
|
|
3148
|
+
*/
|
|
3149
|
+
showAllTabs(): void;
|
|
3143
3150
|
/**
|
|
3144
3151
|
* Same as `webContents.showDefinitionForSelection()`.
|
|
3145
3152
|
*
|
|
@@ -3580,15 +3587,13 @@ declare namespace Electron {
|
|
|
3580
3587
|
useContentSize?: boolean;
|
|
3581
3588
|
/**
|
|
3582
3589
|
* Add a type of vibrancy effect to the window, only on macOS. Can be
|
|
3583
|
-
* `appearance-based`, `
|
|
3584
|
-
* `
|
|
3585
|
-
* `
|
|
3586
|
-
* note that `appearance-based`, `light`, `dark`, `medium-light`, and `ultra-dark`
|
|
3587
|
-
* are deprecated and have been removed in macOS Catalina (10.15).
|
|
3590
|
+
* `appearance-based`, `titlebar`, `selection`, `menu`, `popover`, `sidebar`,
|
|
3591
|
+
* `header`, `sheet`, `window`, `hud`, `fullscreen-ui`, `tooltip`, `content`,
|
|
3592
|
+
* `under-window`, or `under-page`.
|
|
3588
3593
|
*
|
|
3589
3594
|
* @platform darwin
|
|
3590
3595
|
*/
|
|
3591
|
-
vibrancy?: ('appearance-based' | '
|
|
3596
|
+
vibrancy?: ('appearance-based' | 'titlebar' | 'selection' | 'menu' | 'popover' | 'sidebar' | 'header' | 'sheet' | 'window' | 'hud' | 'fullscreen-ui' | 'tooltip' | 'content' | 'under-window' | 'under-page');
|
|
3592
3597
|
/**
|
|
3593
3598
|
* Specify how the material appearance should reflect window activity state on
|
|
3594
3599
|
* macOS. Must be used with the `vibrancy` property. Possible values are:
|
|
@@ -5568,12 +5573,12 @@ declare namespace Electron {
|
|
|
5568
5573
|
* are serialized and only the `message` property from the original error is
|
|
5569
5574
|
* provided to the renderer process. Please refer to #24427 for details.
|
|
5570
5575
|
*/
|
|
5571
|
-
handle(channel: string, listener: (event: IpcMainInvokeEvent, ...args: any[]) => (Promise<
|
|
5576
|
+
handle(channel: string, listener: (event: IpcMainInvokeEvent, ...args: any[]) => (Promise<any>) | (any)): void;
|
|
5572
5577
|
/**
|
|
5573
5578
|
* Handles a single `invoke`able IPC message, then removes the listener. See
|
|
5574
5579
|
* `ipcMain.handle(channel, listener)`.
|
|
5575
5580
|
*/
|
|
5576
|
-
handleOnce(channel: string, listener: (event: IpcMainInvokeEvent, ...args: any[]) => (Promise<
|
|
5581
|
+
handleOnce(channel: string, listener: (event: IpcMainInvokeEvent, ...args: any[]) => (Promise<any>) | (any)): void;
|
|
5577
5582
|
/**
|
|
5578
5583
|
* Listens to `channel`, when a new message arrives `listener` would be called with
|
|
5579
5584
|
* `listener(event, args...)`.
|
|
@@ -5780,6 +5785,8 @@ declare namespace Electron {
|
|
|
5780
5785
|
sendSync(channel: string, ...args: any[]): any;
|
|
5781
5786
|
/**
|
|
5782
5787
|
* Sends a message to a window with `webContentsId` via `channel`.
|
|
5788
|
+
*
|
|
5789
|
+
* @deprecated
|
|
5783
5790
|
*/
|
|
5784
5791
|
sendTo(webContentsId: number, channel: string, ...args: any[]): void;
|
|
5785
5792
|
/**
|
|
@@ -5807,12 +5814,16 @@ declare namespace Electron {
|
|
|
5807
5814
|
* ipcRenderer.sendTo for more information. This only applies to messages sent from
|
|
5808
5815
|
* a different renderer. Messages sent directly from the main process set
|
|
5809
5816
|
* `event.senderId` to `0`.
|
|
5817
|
+
*
|
|
5818
|
+
* @deprecated
|
|
5810
5819
|
*/
|
|
5811
5820
|
senderId: number;
|
|
5812
5821
|
/**
|
|
5813
5822
|
* Whether the message sent via ipcRenderer.sendTo was sent by the main frame. This
|
|
5814
5823
|
* is relevant when `nodeIntegrationInSubFrames` is enabled in the originating
|
|
5815
5824
|
* `webContents`.
|
|
5825
|
+
*
|
|
5826
|
+
* @deprecated
|
|
5816
5827
|
*/
|
|
5817
5828
|
senderIsMainFrame?: boolean;
|
|
5818
5829
|
}
|
|
@@ -6132,10 +6143,10 @@ declare namespace Electron {
|
|
|
6132
6143
|
* `about`, `services`, `hide`, `hideOthers`, `unhide`, `quit`, `startSpeaking`,
|
|
6133
6144
|
* `stopSpeaking`, `zoom`, `front`, `appMenu`, `fileMenu`, `editMenu`, `viewMenu`,
|
|
6134
6145
|
* `shareMenu`, `recentDocuments`, `toggleTabBar`, `selectNextTab`,
|
|
6135
|
-
* `selectPreviousTab`, `mergeAllWindows`, `clearRecentDocuments`,
|
|
6146
|
+
* `selectPreviousTab`, `showAllTabs`, `mergeAllWindows`, `clearRecentDocuments`,
|
|
6136
6147
|
* `moveTabToNewWindow` or `windowMenu`
|
|
6137
6148
|
*/
|
|
6138
|
-
role?: ('undo' | 'redo' | 'cut' | 'copy' | 'paste' | 'pasteAndMatchStyle' | 'delete' | 'selectAll' | 'reload' | 'forceReload' | 'toggleDevTools' | 'resetZoom' | 'zoomIn' | 'zoomOut' | 'toggleSpellChecker' | 'togglefullscreen' | 'window' | 'minimize' | 'close' | 'help' | 'about' | 'services' | 'hide' | 'hideOthers' | 'unhide' | 'quit' | 'startSpeaking' | 'stopSpeaking' | 'zoom' | 'front' | 'appMenu' | 'fileMenu' | 'editMenu' | 'viewMenu' | 'shareMenu' | 'recentDocuments' | 'toggleTabBar' | 'selectNextTab' | 'selectPreviousTab' | 'mergeAllWindows' | 'clearRecentDocuments' | 'moveTabToNewWindow' | 'windowMenu');
|
|
6149
|
+
role?: ('undo' | 'redo' | 'cut' | 'copy' | 'paste' | 'pasteAndMatchStyle' | 'delete' | 'selectAll' | 'reload' | 'forceReload' | 'toggleDevTools' | 'resetZoom' | 'zoomIn' | 'zoomOut' | 'toggleSpellChecker' | 'togglefullscreen' | 'window' | 'minimize' | 'close' | 'help' | 'about' | 'services' | 'hide' | 'hideOthers' | 'unhide' | 'quit' | 'startSpeaking' | 'stopSpeaking' | 'zoom' | 'front' | 'appMenu' | 'fileMenu' | 'editMenu' | 'viewMenu' | 'shareMenu' | 'recentDocuments' | 'toggleTabBar' | 'selectNextTab' | 'selectPreviousTab' | 'showAllTabs' | 'mergeAllWindows' | 'clearRecentDocuments' | 'moveTabToNewWindow' | 'windowMenu');
|
|
6139
6150
|
/**
|
|
6140
6151
|
* A `SharingItem` indicating the item to share when the `role` is `shareMenu`.
|
|
6141
6152
|
*
|
|
@@ -7107,8 +7118,10 @@ declare namespace Electron {
|
|
|
7107
7118
|
start(type: 'prevent-app-suspension' | 'prevent-display-sleep'): number;
|
|
7108
7119
|
/**
|
|
7109
7120
|
* Stops the specified power save blocker.
|
|
7121
|
+
*
|
|
7122
|
+
* Whether the specified `powerSaveBlocker` has been stopped.
|
|
7110
7123
|
*/
|
|
7111
|
-
stop(id: number):
|
|
7124
|
+
stop(id: number): boolean;
|
|
7112
7125
|
}
|
|
7113
7126
|
|
|
7114
7127
|
interface PrinterInfo {
|
|
@@ -7217,14 +7230,6 @@ declare namespace Electron {
|
|
|
7217
7230
|
|
|
7218
7231
|
// Docs: https://electronjs.org/docs/api/structures/product
|
|
7219
7232
|
|
|
7220
|
-
/**
|
|
7221
|
-
* The total size of the content, in bytes.
|
|
7222
|
-
*/
|
|
7223
|
-
contentLengths: number[];
|
|
7224
|
-
/**
|
|
7225
|
-
* A string that identifies the version of the content.
|
|
7226
|
-
*/
|
|
7227
|
-
contentVersion: string;
|
|
7228
7233
|
/**
|
|
7229
7234
|
* 3 character code presenting a product's currency based on the ISO 4217 standard.
|
|
7230
7235
|
*/
|
|
@@ -9152,62 +9157,6 @@ declare namespace Electron {
|
|
|
9152
9157
|
once(event: 'color-changed', listener: (event: Event) => void): this;
|
|
9153
9158
|
addListener(event: 'color-changed', listener: (event: Event) => void): this;
|
|
9154
9159
|
removeListener(event: 'color-changed', listener: (event: Event) => void): this;
|
|
9155
|
-
/**
|
|
9156
|
-
* **Deprecated:** Should use the new `updated` event on the `nativeTheme` module.
|
|
9157
|
-
*
|
|
9158
|
-
* @deprecated
|
|
9159
|
-
* @platform win32
|
|
9160
|
-
*/
|
|
9161
|
-
on(event: 'high-contrast-color-scheme-changed', listener: (event: Event,
|
|
9162
|
-
/**
|
|
9163
|
-
* `true` if a high contrast theme is being used, `false` otherwise.
|
|
9164
|
-
*/
|
|
9165
|
-
highContrastColorScheme: boolean) => void): this;
|
|
9166
|
-
once(event: 'high-contrast-color-scheme-changed', listener: (event: Event,
|
|
9167
|
-
/**
|
|
9168
|
-
* `true` if a high contrast theme is being used, `false` otherwise.
|
|
9169
|
-
*/
|
|
9170
|
-
highContrastColorScheme: boolean) => void): this;
|
|
9171
|
-
addListener(event: 'high-contrast-color-scheme-changed', listener: (event: Event,
|
|
9172
|
-
/**
|
|
9173
|
-
* `true` if a high contrast theme is being used, `false` otherwise.
|
|
9174
|
-
*/
|
|
9175
|
-
highContrastColorScheme: boolean) => void): this;
|
|
9176
|
-
removeListener(event: 'high-contrast-color-scheme-changed', listener: (event: Event,
|
|
9177
|
-
/**
|
|
9178
|
-
* `true` if a high contrast theme is being used, `false` otherwise.
|
|
9179
|
-
*/
|
|
9180
|
-
highContrastColorScheme: boolean) => void): this;
|
|
9181
|
-
/**
|
|
9182
|
-
* **Deprecated:** Should use the new `updated` event on the `nativeTheme` module.
|
|
9183
|
-
*
|
|
9184
|
-
* @deprecated
|
|
9185
|
-
* @platform win32
|
|
9186
|
-
*/
|
|
9187
|
-
on(event: 'inverted-color-scheme-changed', listener: (event: Event,
|
|
9188
|
-
/**
|
|
9189
|
-
* `true` if an inverted color scheme (a high contrast color scheme with light text
|
|
9190
|
-
* and dark backgrounds) is being used, `false` otherwise.
|
|
9191
|
-
*/
|
|
9192
|
-
invertedColorScheme: boolean) => void): this;
|
|
9193
|
-
once(event: 'inverted-color-scheme-changed', listener: (event: Event,
|
|
9194
|
-
/**
|
|
9195
|
-
* `true` if an inverted color scheme (a high contrast color scheme with light text
|
|
9196
|
-
* and dark backgrounds) is being used, `false` otherwise.
|
|
9197
|
-
*/
|
|
9198
|
-
invertedColorScheme: boolean) => void): this;
|
|
9199
|
-
addListener(event: 'inverted-color-scheme-changed', listener: (event: Event,
|
|
9200
|
-
/**
|
|
9201
|
-
* `true` if an inverted color scheme (a high contrast color scheme with light text
|
|
9202
|
-
* and dark backgrounds) is being used, `false` otherwise.
|
|
9203
|
-
*/
|
|
9204
|
-
invertedColorScheme: boolean) => void): this;
|
|
9205
|
-
removeListener(event: 'inverted-color-scheme-changed', listener: (event: Event,
|
|
9206
|
-
/**
|
|
9207
|
-
* `true` if an inverted color scheme (a high contrast color scheme with light text
|
|
9208
|
-
* and dark backgrounds) is being used, `false` otherwise.
|
|
9209
|
-
*/
|
|
9210
|
-
invertedColorScheme: boolean) => void): this;
|
|
9211
9160
|
/**
|
|
9212
9161
|
* A promise that resolves with `true` if consent was granted and `false` if it was
|
|
9213
9162
|
* denied. If an invalid `mediaType` is passed, the promise will be rejected. If an
|
|
@@ -9338,36 +9287,6 @@ declare namespace Electron {
|
|
|
9338
9287
|
* @platform win32
|
|
9339
9288
|
*/
|
|
9340
9289
|
isAeroGlassEnabled(): boolean;
|
|
9341
|
-
/**
|
|
9342
|
-
* Whether the system is in Dark Mode.
|
|
9343
|
-
*
|
|
9344
|
-
* **Deprecated:** Should use the new `nativeTheme.shouldUseDarkColors` API.
|
|
9345
|
-
*
|
|
9346
|
-
* @deprecated
|
|
9347
|
-
* @platform darwin,win32
|
|
9348
|
-
*/
|
|
9349
|
-
isDarkMode(): boolean;
|
|
9350
|
-
/**
|
|
9351
|
-
* `true` if a high contrast theme is active, `false` otherwise.
|
|
9352
|
-
*
|
|
9353
|
-
* **Deprecated:** Should use the new `nativeTheme.shouldUseHighContrastColors`
|
|
9354
|
-
* API.
|
|
9355
|
-
*
|
|
9356
|
-
* @deprecated
|
|
9357
|
-
* @platform darwin,win32
|
|
9358
|
-
*/
|
|
9359
|
-
isHighContrastColorScheme(): boolean;
|
|
9360
|
-
/**
|
|
9361
|
-
* `true` if an inverted color scheme (a high contrast color scheme with light text
|
|
9362
|
-
* and dark backgrounds) is active, `false` otherwise.
|
|
9363
|
-
*
|
|
9364
|
-
* **Deprecated:** Should use the new `nativeTheme.shouldUseInvertedColorScheme`
|
|
9365
|
-
* API.
|
|
9366
|
-
*
|
|
9367
|
-
* @deprecated
|
|
9368
|
-
* @platform win32
|
|
9369
|
-
*/
|
|
9370
|
-
isInvertedColorScheme(): boolean;
|
|
9371
9290
|
/**
|
|
9372
9291
|
* Whether the Swipe between pages setting is on.
|
|
9373
9292
|
*
|
|
@@ -9532,6 +9451,7 @@ declare namespace Electron {
|
|
|
9532
9451
|
*
|
|
9533
9452
|
* This property is only available on macOS 10.14 Mojave or newer.
|
|
9534
9453
|
*
|
|
9454
|
+
* @deprecated
|
|
9535
9455
|
* @platform darwin
|
|
9536
9456
|
*/
|
|
9537
9457
|
appLevelAppearance: ('dark' | 'light' | 'unknown');
|
|
@@ -12377,6 +12297,11 @@ declare namespace Electron {
|
|
|
12377
12297
|
* page becomes backgrounded. This also affects the Page Visibility API.
|
|
12378
12298
|
*/
|
|
12379
12299
|
getBackgroundThrottling(): boolean;
|
|
12300
|
+
/**
|
|
12301
|
+
* the current title of the DevTools window. This will only be visible if DevTools
|
|
12302
|
+
* is opened in `undocked` or `detach` mode.
|
|
12303
|
+
*/
|
|
12304
|
+
getDevToolsTitle(): string;
|
|
12380
12305
|
/**
|
|
12381
12306
|
* If _offscreen rendering_ is enabled returns the current frame rate.
|
|
12382
12307
|
*/
|
|
@@ -12722,6 +12647,11 @@ declare namespace Electron {
|
|
|
12722
12647
|
* when the page becomes backgrounded. This also affects the Page Visibility API.
|
|
12723
12648
|
*/
|
|
12724
12649
|
setBackgroundThrottling(allowed: boolean): void;
|
|
12650
|
+
/**
|
|
12651
|
+
* Changes the title of the DevTools window to `title`. This will only be visible
|
|
12652
|
+
* if DevTools is opened in `undocked` or `detach` mode.
|
|
12653
|
+
*/
|
|
12654
|
+
setDevToolsTitle(title: string): void;
|
|
12725
12655
|
/**
|
|
12726
12656
|
* Uses the `devToolsWebContents` as the target `WebContents` to show devtools.
|
|
12727
12657
|
*
|
|
@@ -14583,16 +14513,16 @@ declare namespace Electron {
|
|
|
14583
14513
|
*/
|
|
14584
14514
|
origin?: string;
|
|
14585
14515
|
/**
|
|
14586
|
-
* The types of storages to clear, can
|
|
14516
|
+
* The types of storages to clear, can be `cookies`, `filesystem`, `indexdb`,
|
|
14587
14517
|
* `localstorage`, `shadercache`, `websql`, `serviceworkers`, `cachestorage`. If
|
|
14588
14518
|
* not specified, clear all storage types.
|
|
14589
14519
|
*/
|
|
14590
|
-
storages?:
|
|
14520
|
+
storages?: Array<'cookies' | 'filesystem' | 'indexdb' | 'localstorage' | 'shadercache' | 'websql' | 'serviceworkers' | 'cachestorage'>;
|
|
14591
14521
|
/**
|
|
14592
|
-
* The types of quotas to clear, can
|
|
14593
|
-
*
|
|
14522
|
+
* The types of quotas to clear, can be `temporary`, `syncable`. If not specified,
|
|
14523
|
+
* clear all quotas.
|
|
14594
14524
|
*/
|
|
14595
|
-
quotas?:
|
|
14525
|
+
quotas?: Array<'temporary' | 'syncable'>;
|
|
14596
14526
|
}
|
|
14597
14527
|
|
|
14598
14528
|
interface ClientRequestConstructorOptions {
|
|
@@ -14854,9 +14784,9 @@ declare namespace Electron {
|
|
|
14854
14784
|
frameCharset: string;
|
|
14855
14785
|
/**
|
|
14856
14786
|
* If the context menu was invoked on an input field, the type of that field.
|
|
14857
|
-
* Possible values
|
|
14787
|
+
* Possible values include `none`, `plainText`, `password`, `other`.
|
|
14858
14788
|
*/
|
|
14859
|
-
inputFieldType:
|
|
14789
|
+
inputFieldType: ('none' | 'plainText' | 'password' | 'other');
|
|
14860
14790
|
/**
|
|
14861
14791
|
* If the context is editable, whether or not spellchecking is enabled.
|
|
14862
14792
|
*/
|
|
@@ -15112,6 +15042,10 @@ declare namespace Electron {
|
|
|
15112
15042
|
* Defaults to `Impact`.
|
|
15113
15043
|
*/
|
|
15114
15044
|
fantasy?: string;
|
|
15045
|
+
/**
|
|
15046
|
+
* Defaults to `Latin Modern Math`.
|
|
15047
|
+
*/
|
|
15048
|
+
math?: string;
|
|
15115
15049
|
}
|
|
15116
15050
|
|
|
15117
15051
|
interface Details {
|
|
@@ -15771,12 +15705,12 @@ declare namespace Electron {
|
|
|
15771
15705
|
* `showSubstitutions`, `toggleSmartQuotes`, `toggleSmartDashes`,
|
|
15772
15706
|
* `toggleTextReplacement`, `startSpeaking`, `stopSpeaking`, `zoom`, `front`,
|
|
15773
15707
|
* `appMenu`, `fileMenu`, `editMenu`, `viewMenu`, `shareMenu`, `recentDocuments`,
|
|
15774
|
-
* `toggleTabBar`, `selectNextTab`, `selectPreviousTab`, `
|
|
15775
|
-
* `clearRecentDocuments`, `moveTabToNewWindow` or `windowMenu`
|
|
15776
|
-
* of the menu item, when specified the `click` property will
|
|
15777
|
-
* roles.
|
|
15708
|
+
* `toggleTabBar`, `selectNextTab`, `selectPreviousTab`, `showAllTabs`,
|
|
15709
|
+
* `mergeAllWindows`, `clearRecentDocuments`, `moveTabToNewWindow` or `windowMenu`
|
|
15710
|
+
* - Define the action of the menu item, when specified the `click` property will
|
|
15711
|
+
* be ignored. See roles.
|
|
15778
15712
|
*/
|
|
15779
|
-
role?: ('undo' | 'redo' | 'cut' | 'copy' | 'paste' | 'pasteAndMatchStyle' | 'delete' | 'selectAll' | 'reload' | 'forceReload' | 'toggleDevTools' | 'resetZoom' | 'zoomIn' | 'zoomOut' | 'toggleSpellChecker' | 'togglefullscreen' | 'window' | 'minimize' | 'close' | 'help' | 'about' | 'services' | 'hide' | 'hideOthers' | 'unhide' | 'quit' | 'showSubstitutions' | 'toggleSmartQuotes' | 'toggleSmartDashes' | 'toggleTextReplacement' | 'startSpeaking' | 'stopSpeaking' | 'zoom' | 'front' | 'appMenu' | 'fileMenu' | 'editMenu' | 'viewMenu' | 'shareMenu' | 'recentDocuments' | 'toggleTabBar' | 'selectNextTab' | 'selectPreviousTab' | 'mergeAllWindows' | 'clearRecentDocuments' | 'moveTabToNewWindow' | 'windowMenu');
|
|
15713
|
+
role?: ('undo' | 'redo' | 'cut' | 'copy' | 'paste' | 'pasteAndMatchStyle' | 'delete' | 'selectAll' | 'reload' | 'forceReload' | 'toggleDevTools' | 'resetZoom' | 'zoomIn' | 'zoomOut' | 'toggleSpellChecker' | 'togglefullscreen' | 'window' | 'minimize' | 'close' | 'help' | 'about' | 'services' | 'hide' | 'hideOthers' | 'unhide' | 'quit' | 'showSubstitutions' | 'toggleSmartQuotes' | 'toggleSmartDashes' | 'toggleTextReplacement' | 'startSpeaking' | 'stopSpeaking' | 'zoom' | 'front' | 'appMenu' | 'fileMenu' | 'editMenu' | 'viewMenu' | 'shareMenu' | 'recentDocuments' | 'toggleTabBar' | 'selectNextTab' | 'selectPreviousTab' | 'showAllTabs' | 'mergeAllWindows' | 'clearRecentDocuments' | 'moveTabToNewWindow' | 'windowMenu');
|
|
15780
15714
|
/**
|
|
15781
15715
|
* Can be `normal`, `separator`, `submenu`, `checkbox` or `radio`.
|
|
15782
15716
|
*/
|
|
@@ -16304,6 +16238,10 @@ declare namespace Electron {
|
|
|
16304
16238
|
* `true`.
|
|
16305
16239
|
*/
|
|
16306
16240
|
activate?: boolean;
|
|
16241
|
+
/**
|
|
16242
|
+
* A title for the DevTools window (only in `undocked` or `detach` mode).
|
|
16243
|
+
*/
|
|
16244
|
+
title?: string;
|
|
16307
16245
|
}
|
|
16308
16246
|
|
|
16309
16247
|
interface OpenDialogOptions {
|
|
@@ -16606,8 +16544,8 @@ declare namespace Electron {
|
|
|
16606
16544
|
pageSize?: (('A0' | 'A1' | 'A2' | 'A3' | 'A4' | 'A5' | 'A6' | 'Legal' | 'Letter' | 'Tabloid' | 'Ledger')) | (Size);
|
|
16607
16545
|
margins?: Margins;
|
|
16608
16546
|
/**
|
|
16609
|
-
*
|
|
16610
|
-
*
|
|
16547
|
+
* Page ranges to print, e.g., '1-5, 8, 11-13'. Defaults to the empty string, which
|
|
16548
|
+
* means print all pages.
|
|
16611
16549
|
*/
|
|
16612
16550
|
pageRanges?: string;
|
|
16613
16551
|
/**
|
|
@@ -16747,13 +16685,14 @@ declare namespace Electron {
|
|
|
16747
16685
|
*/
|
|
16748
16686
|
height?: number;
|
|
16749
16687
|
/**
|
|
16750
|
-
* The desired quality of the resize image. Possible values
|
|
16751
|
-
* or `best`. The default is `best`. These values express a desired
|
|
16752
|
-
* tradeoff. They are translated into an algorithm-specific method
|
|
16753
|
-
* the capabilities (CPU, GPU) of the underlying platform. It is
|
|
16754
|
-
* three methods to be mapped to the same algorithm on a given
|
|
16688
|
+
* The desired quality of the resize image. Possible values include `good`,
|
|
16689
|
+
* `better`, or `best`. The default is `best`. These values express a desired
|
|
16690
|
+
* quality/speed tradeoff. They are translated into an algorithm-specific method
|
|
16691
|
+
* that depends on the capabilities (CPU, GPU) of the underlying platform. It is
|
|
16692
|
+
* possible for all three methods to be mapped to the same algorithm on a given
|
|
16693
|
+
* platform.
|
|
16755
16694
|
*/
|
|
16756
|
-
quality?:
|
|
16695
|
+
quality?: ('good' | 'better' | 'best');
|
|
16757
16696
|
}
|
|
16758
16697
|
|
|
16759
16698
|
interface ResolveHostOptions {
|
|
@@ -16996,9 +16935,9 @@ declare namespace Electron {
|
|
|
16996
16935
|
interface SourcesOptions {
|
|
16997
16936
|
/**
|
|
16998
16937
|
* An array of strings that lists the types of desktop sources to be captured,
|
|
16999
|
-
* available types
|
|
16938
|
+
* available types can be `screen` and `window`.
|
|
17000
16939
|
*/
|
|
17001
|
-
types:
|
|
16940
|
+
types: Array<'screen' | 'window'>;
|
|
17002
16941
|
/**
|
|
17003
16942
|
* The size that the media source thumbnail should be scaled to. Default is `150` x
|
|
17004
16943
|
* `150`. Set width or height to 0 when you do not need the thumbnails. This will
|
|
@@ -17371,7 +17310,7 @@ declare namespace Electron {
|
|
|
17371
17310
|
|
|
17372
17311
|
interface USBProtectedClassesHandlerHandlerDetails {
|
|
17373
17312
|
/**
|
|
17374
|
-
* The current list of protected USB classes. Possible class values
|
|
17313
|
+
* The current list of protected USB classes. Possible class values include:
|
|
17375
17314
|
*/
|
|
17376
17315
|
protectedClasses: Array<'audio' | 'audio-video' | 'hid' | 'mass-storage' | 'smart-card' | 'video' | 'wireless'>;
|
|
17377
17316
|
}
|
|
@@ -17960,9 +17899,9 @@ declare namespace Electron {
|
|
|
17960
17899
|
frameCharset: string;
|
|
17961
17900
|
/**
|
|
17962
17901
|
* If the context menu was invoked on an input field, the type of that field.
|
|
17963
|
-
* Possible values
|
|
17902
|
+
* Possible values include `none`, `plainText`, `password`, `other`.
|
|
17964
17903
|
*/
|
|
17965
|
-
inputFieldType:
|
|
17904
|
+
inputFieldType: ('none' | 'plainText' | 'password' | 'other');
|
|
17966
17905
|
/**
|
|
17967
17906
|
* If the context is editable, whether or not spellchecking is enabled.
|
|
17968
17907
|
*/
|
package/package.json
CHANGED