electron 30.0.0-beta.8 → 31.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 +174 -41
- 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-v31.0.0-alpha.1-darwin-arm64.zip": "ca2db0e491a46e69ce3361a36870a7796d40ece4461ab818777f83811d0bdd60",
|
|
3
|
+
"chromedriver-v31.0.0-alpha.1-darwin-x64.zip": "0cd8de476d5a2b52793d9d5caa32cc590db80c12707f571a1da29489a6531aad",
|
|
4
|
+
"chromedriver-v31.0.0-alpha.1-linux-arm64.zip": "7f537954d754f3f34ec0fb070bbd59428246b9f841622fed5db1637b19f0d6eb",
|
|
5
|
+
"chromedriver-v31.0.0-alpha.1-linux-armv7l.zip": "3f42df3c85cf34af433732e520bcc97f53007535091a3d2fd96df3b73e8f2d47",
|
|
6
|
+
"chromedriver-v31.0.0-alpha.1-linux-x64.zip": "d86350376dafe8b1ed2d349a0a0ddd8df9063ed7e068c9a6166cd6a71dcfb830",
|
|
7
|
+
"chromedriver-v31.0.0-alpha.1-mas-arm64.zip": "cfca8e0d24057fb7d30b2abce610b026958b68f13bfc073768f1ee2c2b8d2a80",
|
|
8
|
+
"chromedriver-v31.0.0-alpha.1-mas-x64.zip": "ff034012f8e39527bd4892ab8878dfc3c8dfa32f028569319afd8871ca1d5d63",
|
|
9
|
+
"chromedriver-v31.0.0-alpha.1-win32-arm64.zip": "b49d253074b0318a999fc2037b3bc2c26286117ecfbf09e8ffccc9999b39e711",
|
|
10
|
+
"chromedriver-v31.0.0-alpha.1-win32-ia32.zip": "2ec882435faa98bdd4feab96b31cc05b82fdd741c1d0a915eeb07d029bae9c62",
|
|
11
|
+
"chromedriver-v31.0.0-alpha.1-win32-x64.zip": "0cbe234a54c25d273dc80c1e28f534b147d86c35292bf7751909618858c99cc9",
|
|
12
|
+
"electron-api.json": "8f0215cb69d480464b6b672da861bc2fcb2d424614030667a5ec55292134f4bc",
|
|
13
|
+
"electron-v31.0.0-alpha.1-darwin-arm64-dsym-snapshot.zip": "335d5c2038e51435d2a72b982f2de17fe98d0df8efbe9558d02e5b37814ebed0",
|
|
14
|
+
"electron-v31.0.0-alpha.1-darwin-arm64-dsym.zip": "46620dd333242a0ec6233b5bc0a17f7bdba2dfdb6fa4895902630f8fd1fbd498",
|
|
15
|
+
"electron-v31.0.0-alpha.1-darwin-arm64-symbols.zip": "791c1c8709426938f6def75bf1365201d68e9bf935b41f9048f237ee5b015102",
|
|
16
|
+
"electron-v31.0.0-alpha.1-darwin-arm64.zip": "53dd2365d307ed4c08dbf15b2e3cb5ec58327ca572831eb1be2f36b699326d1e",
|
|
17
|
+
"electron-v31.0.0-alpha.1-darwin-x64-dsym-snapshot.zip": "b744d8cb6413a6fcb123951d3e5f08ea5382a2fcda070d15e5ad8a7f72d13ed5",
|
|
18
|
+
"electron-v31.0.0-alpha.1-darwin-x64-dsym.zip": "c47f62460833679286b3ad910cb9f31307b251970e35a992f9de20fb630b0287",
|
|
19
|
+
"electron-v31.0.0-alpha.1-darwin-x64-symbols.zip": "84d4cd5815edbbcf955133e3acd4b58a9131ae3322b845d5f15b433be8d2e244",
|
|
20
|
+
"electron-v31.0.0-alpha.1-darwin-x64.zip": "8677207812acaaf21a0706c10e70d2bb246c1f2c8fc65196f31f3431cc9c00ff",
|
|
21
|
+
"electron-v31.0.0-alpha.1-linux-arm64-debug.zip": "563c997015a7aa6dae379fb7641075ff8b47415dd8b1e1dcf1d001b94252cf20",
|
|
22
|
+
"electron-v31.0.0-alpha.1-linux-arm64-symbols.zip": "a087d3714fe769221441fa2ba6578c609f34af1e7642a47ed281faa25cf80066",
|
|
23
|
+
"electron-v31.0.0-alpha.1-linux-arm64.zip": "15ed790aef1ca4c31ce6c300565a14bdb0f7787626724ea2fd890c8ebd23d60e",
|
|
24
|
+
"electron-v31.0.0-alpha.1-linux-armv7l-debug.zip": "563c997015a7aa6dae379fb7641075ff8b47415dd8b1e1dcf1d001b94252cf20",
|
|
25
|
+
"electron-v31.0.0-alpha.1-linux-armv7l-symbols.zip": "7547761399f0fb8079b6766041d284f4a0ba8dfe545d060cffac8d6d996d7bca",
|
|
26
|
+
"electron-v31.0.0-alpha.1-linux-armv7l.zip": "dcd5d83842d746ad26950b5c38e1e0cf4efade98ec3b7da6284dddc07088b243",
|
|
27
|
+
"electron-v31.0.0-alpha.1-linux-x64-debug.zip": "01ba1f0dfee3e1b056d0283c8ea12fdf9c44c0911a15fd3edfc77bcb59a078be",
|
|
28
|
+
"electron-v31.0.0-alpha.1-linux-x64-symbols.zip": "f1b72efcc9e35fdf47e91115f79fae7fe7647ac7dc9e036712139fbad10738be",
|
|
29
|
+
"electron-v31.0.0-alpha.1-linux-x64.zip": "1cc20ecb1895f301e084e2b5c1d2f15806bb9c2f7dd8a33b9061b40b54d05dcb",
|
|
30
|
+
"electron-v31.0.0-alpha.1-mas-arm64-dsym-snapshot.zip": "d1b16ff31f15befacbfd8d227864bd4574738bbad34e08a83d465fb517dd2a57",
|
|
31
|
+
"electron-v31.0.0-alpha.1-mas-arm64-dsym.zip": "f4ee340382ca391cf03128fa2dc64c5bdd15dd4402ebbd5004f340621e670706",
|
|
32
|
+
"electron-v31.0.0-alpha.1-mas-arm64-symbols.zip": "a6106d79292e6e6b16639a6ca8f3515e702a84346ae284a59f3354a95d33b6ab",
|
|
33
|
+
"electron-v31.0.0-alpha.1-mas-arm64.zip": "53598c0f72f5ff4d93b04070ac7a08858f7e63532e03cc2643093315019ba5a7",
|
|
34
|
+
"electron-v31.0.0-alpha.1-mas-x64-dsym-snapshot.zip": "b208d2b0edd17a30e5e1e62b5f047baa9579fe89e6042147eb26ef2fb75b9d85",
|
|
35
|
+
"electron-v31.0.0-alpha.1-mas-x64-dsym.zip": "64bfac2569c7085ef844e9ac4701ea31390eacc2a95606fa20b1a428fa06706b",
|
|
36
|
+
"electron-v31.0.0-alpha.1-mas-x64-symbols.zip": "59488f8dbc25fab1e88b7645c5300f28d13aacaf15096db74c72042b6a89a4e2",
|
|
37
|
+
"electron-v31.0.0-alpha.1-mas-x64.zip": "18baaa4ae095f0697e85681bc0afd445c6de24e164e0b9c95218be944bf197e2",
|
|
38
|
+
"electron-v31.0.0-alpha.1-win32-arm64-pdb.zip": "323f59912210bbf1a31d3ee5b502277b726b6088eb429b8bd06c446dde4dadd6",
|
|
39
|
+
"electron-v31.0.0-alpha.1-win32-arm64-symbols.zip": "ad4019a5eced937054920c63755d06859c4e3c724ce2879dc6eff4cce4bdd138",
|
|
40
|
+
"electron-v31.0.0-alpha.1-win32-arm64-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
41
|
+
"electron-v31.0.0-alpha.1-win32-arm64.zip": "262d409138088d24ea7a0947928e5ef4303591c09b333ec5f2641026ef288770",
|
|
42
|
+
"electron-v31.0.0-alpha.1-win32-ia32-pdb.zip": "2aea5f21890622057fbd61dfca80459ce38f290cf3ca1f0529b74dea40f3b0b8",
|
|
43
|
+
"electron-v31.0.0-alpha.1-win32-ia32-symbols.zip": "abfd43c8d526862c49f887d44df94bb138824e3ff54deda112229e9f0da54f04",
|
|
44
|
+
"electron-v31.0.0-alpha.1-win32-ia32-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
45
|
+
"electron-v31.0.0-alpha.1-win32-ia32.zip": "bf20bf18d7b0923f31b016034d00ec399f96b298a5185b3834283e2bef8ee147",
|
|
46
|
+
"electron-v31.0.0-alpha.1-win32-x64-pdb.zip": "e37e73f6c50030469c72b4faa3833d39de51872c2a0ffab06834ca38058e6512",
|
|
47
|
+
"electron-v31.0.0-alpha.1-win32-x64-symbols.zip": "f3944d7df9feb35e25ec2f4fbbf4abe5c8b57e62f2572b5ede00765ac141da39",
|
|
48
|
+
"electron-v31.0.0-alpha.1-win32-x64-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
49
|
+
"electron-v31.0.0-alpha.1-win32-x64.zip": "4b48fadd2cd25aa72c61e119b8eb89e8bdccce65ad2cf646529e84fa22975cf1",
|
|
50
|
+
"electron.d.ts": "421663a8b590dc935c339f9d4f21802bcd779f462dfdb0382e978bd21fcf0874",
|
|
51
|
+
"ffmpeg-v31.0.0-alpha.1-darwin-arm64.zip": "c15a1efc21fd6c2919dde08f337b6c1fa61199d65dd6ae0bc54c27596c3ca8d3",
|
|
52
|
+
"ffmpeg-v31.0.0-alpha.1-darwin-x64.zip": "2238e97b114ce4256c1cd2a8b257614b065521474eb32ab5088c695867c228ca",
|
|
53
|
+
"ffmpeg-v31.0.0-alpha.1-linux-arm64.zip": "2ab72d32691aaafc8035fa0a455c1b2d2dea6eca9b8919782e7173c7470d47db",
|
|
54
|
+
"ffmpeg-v31.0.0-alpha.1-linux-armv7l.zip": "a24396bf27b4cd67d0d7f6d39bb447c3325ddb3030a04e940d507a2bed700186",
|
|
55
|
+
"ffmpeg-v31.0.0-alpha.1-linux-x64.zip": "d71329d77bb5ea86d745624990e808b941558114ced7bdf27a7cc568336bd46a",
|
|
56
|
+
"ffmpeg-v31.0.0-alpha.1-mas-arm64.zip": "1a70b59b155bfeb2fcef791dad0c0ef90dc4509b53197d6a5539ecbb921de76b",
|
|
57
|
+
"ffmpeg-v31.0.0-alpha.1-mas-x64.zip": "4769618a240201b6d66d330e1a2915656142391a4e6853b4f6db71a4b5ae33bc",
|
|
58
|
+
"ffmpeg-v31.0.0-alpha.1-win32-arm64.zip": "8e7031ee48fbbab6279dc9f60e8a91afe998a1f10bf6bd6ad85cf175110e5355",
|
|
59
|
+
"ffmpeg-v31.0.0-alpha.1-win32-ia32.zip": "111b7e531657dc5f241828b822708358503d825a3766cca19c41934df9e55994",
|
|
60
|
+
"ffmpeg-v31.0.0-alpha.1-win32-x64.zip": "7712c857365ef0b31d501ade170d14031fd52ba12e02c23c67c88874743c77e5",
|
|
61
|
+
"hunspell_dictionaries.zip": "c51f3b1dbd7140cd5ab08437c203b6924fb38f010e2f88b66f1ce5bbcd301553",
|
|
62
|
+
"libcxx-objects-v31.0.0-alpha.1-linux-arm64.zip": "150ce656c771c9f950ae1ed237fb090bbfd5247991b3a79811ae2bf50d43009a",
|
|
63
|
+
"libcxx-objects-v31.0.0-alpha.1-linux-armv7l.zip": "251ac06bc731ede273dd053ea9148a3d691ebafab9469d860b24f9a29b7dfb55",
|
|
64
|
+
"libcxx-objects-v31.0.0-alpha.1-linux-x64.zip": "62e59fc17c07f1e8c8ddee96f3a505bb7acac2d8921e80b6143cb7cfc8925e03",
|
|
65
|
+
"libcxx_headers.zip": "f8f7cff8e7a9278f5e80017dd2c64f67186e224ffba482477e0f8b78b5b52775",
|
|
66
|
+
"libcxxabi_headers.zip": "005402ab72aa8b3b5aec94eaca4db8a8cbc4f445eeb7a8277b5b9f80e157b20e",
|
|
67
|
+
"mksnapshot-v31.0.0-alpha.1-darwin-arm64.zip": "f43a9da57903798daaba3597613712f5734e8bfe023046879b3738eaf3251fd1",
|
|
68
|
+
"mksnapshot-v31.0.0-alpha.1-darwin-x64.zip": "c5eb8be70d3948ca6511a97c0be88c41460e705b98ec8bc97224025ba3b98d0a",
|
|
69
|
+
"mksnapshot-v31.0.0-alpha.1-linux-arm64-x64.zip": "39843c6a659775a5baafda6f8bf0d48986e069e9ec87eb6801456411638e5c7d",
|
|
70
|
+
"mksnapshot-v31.0.0-alpha.1-linux-armv7l-x64.zip": "d51f3f9cd61f465c3c8d3a8451e91b179b00234cb645b4bb8d00ba8603b852b0",
|
|
71
|
+
"mksnapshot-v31.0.0-alpha.1-linux-x64.zip": "96934394ad9dd897864dac32f3f631b9a5fde3152faa1bac4923c91ab715ec5f",
|
|
72
|
+
"mksnapshot-v31.0.0-alpha.1-mas-arm64.zip": "35686f3f624c96fceaab60069403b53eb569964a4738f21f5b474bbb1d608bd8",
|
|
73
|
+
"mksnapshot-v31.0.0-alpha.1-mas-x64.zip": "aaedfa43820495048a77238afaacc6e59c18a22b7bc30cabfb212a69b7d13865",
|
|
74
|
+
"mksnapshot-v31.0.0-alpha.1-win32-arm64-x64.zip": "07341f6a48281ce605d191418e93077ee9fdcad9788487469340e1757c72ed29",
|
|
75
|
+
"mksnapshot-v31.0.0-alpha.1-win32-ia32.zip": "666176d12a1e1cdc2ab9eafce5132ef7c6c4638f59532187827be37aea2fe746",
|
|
76
|
+
"mksnapshot-v31.0.0-alpha.1-win32-x64.zip": "bd5f8549ca8bd362d43d2737e733513f640c54d4729eaca0bdca38a039015ed9"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron
|
|
1
|
+
// Type definitions for Electron 31.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
|
|
@@ -632,6 +632,11 @@ declare namespace Electron {
|
|
|
632
632
|
* launched from Notification Center. You can also call `app.isReady()` to check if
|
|
633
633
|
* this event has already fired and `app.whenReady()` to get a Promise that is
|
|
634
634
|
* fulfilled when Electron is initialized.
|
|
635
|
+
*
|
|
636
|
+
* **Note**: The `ready` event is only fired after the main process has finished
|
|
637
|
+
* running the first tick of the event loop. If an Electron API needs to be called
|
|
638
|
+
* before the `ready` event, ensure that it is called synchronously in the
|
|
639
|
+
* top-level context of the main process.
|
|
635
640
|
*/
|
|
636
641
|
on(event: 'ready', listener: (event: Event,
|
|
637
642
|
/**
|
|
@@ -7778,6 +7783,24 @@ declare namespace Electron {
|
|
|
7778
7783
|
path: string;
|
|
7779
7784
|
}
|
|
7780
7785
|
|
|
7786
|
+
interface FilesystemPermissionRequest extends PermissionRequest {
|
|
7787
|
+
|
|
7788
|
+
// Docs: https://electronjs.org/docs/api/structures/filesystem-permission-request
|
|
7789
|
+
|
|
7790
|
+
/**
|
|
7791
|
+
* The access type of the `fileSystem` request. Can be `writable` or `readable`.
|
|
7792
|
+
*/
|
|
7793
|
+
fileAccessType?: ('writable' | 'readable');
|
|
7794
|
+
/**
|
|
7795
|
+
* The path of the `fileSystem` request.
|
|
7796
|
+
*/
|
|
7797
|
+
filePath?: string;
|
|
7798
|
+
/**
|
|
7799
|
+
* Whether the `fileSystem` request is a directory.
|
|
7800
|
+
*/
|
|
7801
|
+
isDirectory?: boolean;
|
|
7802
|
+
}
|
|
7803
|
+
|
|
7781
7804
|
interface GlobalShortcut {
|
|
7782
7805
|
|
|
7783
7806
|
// Docs: https://electronjs.org/docs/api/global-shortcut
|
|
@@ -8483,6 +8506,20 @@ declare namespace Electron {
|
|
|
8483
8506
|
type: ('rawKeyDown' | 'keyDown' | 'keyUp' | 'char');
|
|
8484
8507
|
}
|
|
8485
8508
|
|
|
8509
|
+
interface MediaAccessPermissionRequest extends PermissionRequest {
|
|
8510
|
+
|
|
8511
|
+
// Docs: https://electronjs.org/docs/api/structures/media-access-permission-request
|
|
8512
|
+
|
|
8513
|
+
/**
|
|
8514
|
+
* The types of media access being requested - elements can be `video` or `audio`.
|
|
8515
|
+
*/
|
|
8516
|
+
mediaTypes?: Array<'video' | 'audio'>;
|
|
8517
|
+
/**
|
|
8518
|
+
* The security origin of the request.
|
|
8519
|
+
*/
|
|
8520
|
+
securityOrigin?: string;
|
|
8521
|
+
}
|
|
8522
|
+
|
|
8486
8523
|
interface MemoryInfo {
|
|
8487
8524
|
|
|
8488
8525
|
// Docs: https://electronjs.org/docs/api/structures/memory-info
|
|
@@ -9502,6 +9539,16 @@ declare namespace Electron {
|
|
|
9502
9539
|
userText?: string;
|
|
9503
9540
|
}
|
|
9504
9541
|
|
|
9542
|
+
interface OpenExternalPermissionRequest extends PermissionRequest {
|
|
9543
|
+
|
|
9544
|
+
// Docs: https://electronjs.org/docs/api/structures/open-external-permission-request
|
|
9545
|
+
|
|
9546
|
+
/**
|
|
9547
|
+
* The url of the `openExternal` request.
|
|
9548
|
+
*/
|
|
9549
|
+
externalURL?: string;
|
|
9550
|
+
}
|
|
9551
|
+
|
|
9505
9552
|
interface ParentPort extends NodeJS.EventEmitter {
|
|
9506
9553
|
|
|
9507
9554
|
// Docs: https://electronjs.org/docs/api/parent-port
|
|
@@ -9549,6 +9596,20 @@ declare namespace Electron {
|
|
|
9549
9596
|
timestamp: number;
|
|
9550
9597
|
}
|
|
9551
9598
|
|
|
9599
|
+
interface PermissionRequest {
|
|
9600
|
+
|
|
9601
|
+
// Docs: https://electronjs.org/docs/api/structures/permission-request
|
|
9602
|
+
|
|
9603
|
+
/**
|
|
9604
|
+
* Whether the frame making the request is the main frame.
|
|
9605
|
+
*/
|
|
9606
|
+
isMainFrame: boolean;
|
|
9607
|
+
/**
|
|
9608
|
+
* The last URL the requesting frame loaded.
|
|
9609
|
+
*/
|
|
9610
|
+
requestingUrl: string;
|
|
9611
|
+
}
|
|
9612
|
+
|
|
9552
9613
|
interface Point {
|
|
9553
9614
|
|
|
9554
9615
|
// Docs: https://electronjs.org/docs/api/structures/point
|
|
@@ -11410,6 +11471,25 @@ declare namespace Electron {
|
|
|
11410
11471
|
* resolves when the code cache clear operation is complete.
|
|
11411
11472
|
*/
|
|
11412
11473
|
clearCodeCaches(options: ClearCodeCachesOptions): Promise<void>;
|
|
11474
|
+
/**
|
|
11475
|
+
* resolves when all data has been cleared.
|
|
11476
|
+
*
|
|
11477
|
+
* Clears various different types of data.
|
|
11478
|
+
*
|
|
11479
|
+
* This method clears more types of data and is more thourough than the
|
|
11480
|
+
* `clearStorageData` method.
|
|
11481
|
+
*
|
|
11482
|
+
* **Note:** Cookies are stored at a broader scope than origins. When removing
|
|
11483
|
+
* cookies and filtering by `origins` (or `excludeOrigins`), the cookies will be
|
|
11484
|
+
* removed at the registrable domain level. For example, clearing cookies for the
|
|
11485
|
+
* origin `https://really.specific.origin.example.com/` will end up clearing all
|
|
11486
|
+
* cookies for `example.com`. Clearing cookies for the origin
|
|
11487
|
+
* `https://my.website.example.co.uk/` will end up clearing all cookies for
|
|
11488
|
+
* `example.co.uk`.
|
|
11489
|
+
*
|
|
11490
|
+
* For more information, refer to Chromium's `BrowsingDataRemover` interface.
|
|
11491
|
+
*/
|
|
11492
|
+
clearData(options?: ClearDataOptions): Promise<void>;
|
|
11413
11493
|
/**
|
|
11414
11494
|
* Resolves when the operation is complete.
|
|
11415
11495
|
*
|
|
@@ -11687,7 +11767,7 @@ declare namespace Electron {
|
|
|
11687
11767
|
* `setPermissionCheckHandler` to get complete permission handling. Most web APIs
|
|
11688
11768
|
* do a permission check and then make a permission request if the check is denied.
|
|
11689
11769
|
*/
|
|
11690
|
-
setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'clipboard-read' | 'clipboard-sanitized-write' | 'display-capture' | 'fullscreen' | 'geolocation' | 'idle-detection' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'notifications' | 'pointerLock' | 'keyboardLock' | 'openExternal' | 'speaker-selection' | 'storage-access' | 'top-level-storage-access' | 'window-management' | 'unknown', callback: (permissionGranted: boolean) => void, details:
|
|
11770
|
+
setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'clipboard-read' | 'clipboard-sanitized-write' | 'display-capture' | 'fullscreen' | 'geolocation' | 'idle-detection' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'notifications' | 'pointerLock' | 'keyboardLock' | 'openExternal' | 'speaker-selection' | 'storage-access' | 'top-level-storage-access' | 'window-management' | 'unknown' | 'fileSystem', callback: (permissionGranted: boolean) => void, details: (PermissionRequest) | (FilesystemPermissionRequest) | (MediaAccessPermissionRequest) | (OpenExternalPermissionRequest)) => void) | (null)): void;
|
|
11691
11771
|
/**
|
|
11692
11772
|
* Adds scripts that will be executed on ALL web contents that are associated with
|
|
11693
11773
|
* this session just before normal `preload` scripts run.
|
|
@@ -16236,8 +16316,11 @@ declare namespace Electron {
|
|
|
16236
16316
|
* by `window.open()`, a link with `target="_blank"`, shift+clicking on a link, or
|
|
16237
16317
|
* submitting a form with `<form target="_blank">`. See `window.open()` for more
|
|
16238
16318
|
* details and how to use this in conjunction with `did-create-window`.
|
|
16319
|
+
*
|
|
16320
|
+
* An example showing how to customize the process of new `BrowserWindow` creation
|
|
16321
|
+
* to be `BrowserView` attached to main window instead:
|
|
16239
16322
|
*/
|
|
16240
|
-
setWindowOpenHandler(handler: (details: HandlerDetails) =>
|
|
16323
|
+
setWindowOpenHandler(handler: (details: HandlerDetails) => WindowOpenHandlerResponse): void;
|
|
16241
16324
|
/**
|
|
16242
16325
|
* Changes the zoom factor to the specified factor. Zoom factor is zoom percent
|
|
16243
16326
|
* divided by 100, so 300% = 3.0.
|
|
@@ -17842,6 +17925,33 @@ declare namespace Electron {
|
|
|
17842
17925
|
webpreferences?: ('transparent');
|
|
17843
17926
|
}
|
|
17844
17927
|
|
|
17928
|
+
interface WindowOpenHandlerResponse {
|
|
17929
|
+
|
|
17930
|
+
// Docs: https://electronjs.org/docs/api/structures/window-open-handler-response
|
|
17931
|
+
|
|
17932
|
+
/**
|
|
17933
|
+
* Can be `allow` or `deny`. Controls whether new window should be created.
|
|
17934
|
+
*/
|
|
17935
|
+
action: ('allow' | 'deny');
|
|
17936
|
+
/**
|
|
17937
|
+
* If specified, will be called instead of `new BrowserWindow` to create the new
|
|
17938
|
+
* child window and event `did-create-window` will not be emitted. Constructed
|
|
17939
|
+
* child window should use passed `options` object. This can be used for example to
|
|
17940
|
+
* have the new window open as a BrowserView instead of in a separate window.
|
|
17941
|
+
*/
|
|
17942
|
+
createWindow?: (options: BrowserWindowConstructorOptions) => WebContents;
|
|
17943
|
+
/**
|
|
17944
|
+
* By default, child windows are closed when their opener is closed. This can be
|
|
17945
|
+
* changed by specifying `outlivesOpener: true`, in which case the opened window
|
|
17946
|
+
* will not be closed when its opener is closed.
|
|
17947
|
+
*/
|
|
17948
|
+
outlivesOpener?: boolean;
|
|
17949
|
+
/**
|
|
17950
|
+
* Allows customization of the created window.
|
|
17951
|
+
*/
|
|
17952
|
+
overrideBrowserWindowOptions?: BrowserWindowConstructorOptions;
|
|
17953
|
+
}
|
|
17954
|
+
|
|
17845
17955
|
interface AboutPanelOptionsOptions {
|
|
17846
17956
|
/**
|
|
17847
17957
|
* The app's name.
|
|
@@ -18090,6 +18200,30 @@ declare namespace Electron {
|
|
|
18090
18200
|
urls?: string[];
|
|
18091
18201
|
}
|
|
18092
18202
|
|
|
18203
|
+
interface ClearDataOptions {
|
|
18204
|
+
/**
|
|
18205
|
+
* The types of data to clear. By default, this will clear all types of data.
|
|
18206
|
+
*/
|
|
18207
|
+
dataTypes?: Array<'backgroundFetch' | 'cache' | 'cookies' | 'downloads' | 'fileSystems' | 'indexedDB' | 'localStorage' | 'serviceWorkers' | 'webSQL'>;
|
|
18208
|
+
/**
|
|
18209
|
+
* Clear data for only these origins. Cannot be used with `excludeOrigins`.
|
|
18210
|
+
*/
|
|
18211
|
+
origins?: string[];
|
|
18212
|
+
/**
|
|
18213
|
+
* Clear data for all origins except these ones. Cannot be used with `origins`.
|
|
18214
|
+
*/
|
|
18215
|
+
excludeOrigins?: string[];
|
|
18216
|
+
/**
|
|
18217
|
+
* Skips deleting cookies that would close current network connections. (Default:
|
|
18218
|
+
* `false`)
|
|
18219
|
+
*/
|
|
18220
|
+
avoidClosingConnections?: boolean;
|
|
18221
|
+
/**
|
|
18222
|
+
* The behavior for matching data to origins.
|
|
18223
|
+
*/
|
|
18224
|
+
originMatchingMode?: ('third-parties-included' | 'origin-in-all-contexts');
|
|
18225
|
+
}
|
|
18226
|
+
|
|
18093
18227
|
interface ClearStorageDataOptions {
|
|
18094
18228
|
/**
|
|
18095
18229
|
* Should follow `window.location.origin`’s representation `scheme://host:port`.
|
|
@@ -19409,27 +19543,24 @@ declare namespace Electron {
|
|
|
19409
19543
|
*/
|
|
19410
19544
|
id?: string;
|
|
19411
19545
|
/**
|
|
19412
|
-
* Inserts this item before the item with the specified
|
|
19413
|
-
*
|
|
19414
|
-
*
|
|
19415
|
-
* the item.
|
|
19546
|
+
* Inserts this item before the item with the specified id. If the referenced item
|
|
19547
|
+
* doesn't exist the item will be inserted at the end of the menu. Also implies
|
|
19548
|
+
* that the menu item in question should be placed in the same “group” as the item.
|
|
19416
19549
|
*/
|
|
19417
19550
|
before?: string[];
|
|
19418
19551
|
/**
|
|
19419
|
-
* Inserts this item after the item with the specified
|
|
19420
|
-
*
|
|
19552
|
+
* Inserts this item after the item with the specified id. If the referenced item
|
|
19553
|
+
* doesn't exist the item will be inserted at the end of the menu.
|
|
19421
19554
|
*/
|
|
19422
19555
|
after?: string[];
|
|
19423
19556
|
/**
|
|
19424
19557
|
* Provides a means for a single context menu to declare the placement of their
|
|
19425
|
-
* containing group before the containing group of the item with the specified
|
|
19426
|
-
* label.
|
|
19558
|
+
* containing group before the containing group of the item with the specified id.
|
|
19427
19559
|
*/
|
|
19428
19560
|
beforeGroupContaining?: string[];
|
|
19429
19561
|
/**
|
|
19430
19562
|
* Provides a means for a single context menu to declare the placement of their
|
|
19431
|
-
* containing group after the containing group of the item with the specified
|
|
19432
|
-
* label.
|
|
19563
|
+
* containing group after the containing group of the item with the specified id.
|
|
19433
19564
|
*/
|
|
19434
19565
|
afterGroupContaining?: string[];
|
|
19435
19566
|
}
|
|
@@ -20082,29 +20213,6 @@ declare namespace Electron {
|
|
|
20082
20213
|
isMainFrame: boolean;
|
|
20083
20214
|
}
|
|
20084
20215
|
|
|
20085
|
-
interface PermissionRequestHandlerHandlerDetails {
|
|
20086
|
-
/**
|
|
20087
|
-
* The url of the `openExternal` request.
|
|
20088
|
-
*/
|
|
20089
|
-
externalURL?: string;
|
|
20090
|
-
/**
|
|
20091
|
-
* The security origin of the `media` request.
|
|
20092
|
-
*/
|
|
20093
|
-
securityOrigin?: string;
|
|
20094
|
-
/**
|
|
20095
|
-
* The types of media access being requested, elements can be `video` or `audio`
|
|
20096
|
-
*/
|
|
20097
|
-
mediaTypes?: Array<'video' | 'audio'>;
|
|
20098
|
-
/**
|
|
20099
|
-
* The last URL the requesting frame loaded
|
|
20100
|
-
*/
|
|
20101
|
-
requestingUrl: string;
|
|
20102
|
-
/**
|
|
20103
|
-
* Whether the frame making the request is the main frame
|
|
20104
|
-
*/
|
|
20105
|
-
isMainFrame: boolean;
|
|
20106
|
-
}
|
|
20107
|
-
|
|
20108
20216
|
interface PluginCrashedEvent extends DOMEvent {
|
|
20109
20217
|
name: string;
|
|
20110
20218
|
version: string;
|
|
@@ -21665,6 +21773,7 @@ declare namespace Electron {
|
|
|
21665
21773
|
type CallbackResponse = Electron.CallbackResponse;
|
|
21666
21774
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
21667
21775
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
21776
|
+
type ClearDataOptions = Electron.ClearDataOptions;
|
|
21668
21777
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
21669
21778
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
21670
21779
|
type CloseOpts = Electron.CloseOpts;
|
|
@@ -21757,7 +21866,6 @@ declare namespace Electron {
|
|
|
21757
21866
|
type Parameters = Electron.Parameters;
|
|
21758
21867
|
type Payment = Electron.Payment;
|
|
21759
21868
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
21760
|
-
type PermissionRequestHandlerHandlerDetails = Electron.PermissionRequestHandlerHandlerDetails;
|
|
21761
21869
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
21762
21870
|
type PopupOptions = Electron.PopupOptions;
|
|
21763
21871
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
@@ -21847,6 +21955,7 @@ declare namespace Electron {
|
|
|
21847
21955
|
type ExtensionInfo = Electron.ExtensionInfo;
|
|
21848
21956
|
type FileFilter = Electron.FileFilter;
|
|
21849
21957
|
type FilePathWithHeaders = Electron.FilePathWithHeaders;
|
|
21958
|
+
type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
|
|
21850
21959
|
type GPUFeatureStatus = Electron.GPUFeatureStatus;
|
|
21851
21960
|
type HIDDevice = Electron.HIDDevice;
|
|
21852
21961
|
type InputEvent = Electron.InputEvent;
|
|
@@ -21857,6 +21966,7 @@ declare namespace Electron {
|
|
|
21857
21966
|
type JumpListItem = Electron.JumpListItem;
|
|
21858
21967
|
type KeyboardEvent = Electron.KeyboardEvent;
|
|
21859
21968
|
type KeyboardInputEvent = Electron.KeyboardInputEvent;
|
|
21969
|
+
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
21860
21970
|
type MemoryInfo = Electron.MemoryInfo;
|
|
21861
21971
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
21862
21972
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
@@ -21864,7 +21974,9 @@ declare namespace Electron {
|
|
|
21864
21974
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|
|
21865
21975
|
type NotificationAction = Electron.NotificationAction;
|
|
21866
21976
|
type NotificationResponse = Electron.NotificationResponse;
|
|
21977
|
+
type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequest;
|
|
21867
21978
|
type PaymentDiscount = Electron.PaymentDiscount;
|
|
21979
|
+
type PermissionRequest = Electron.PermissionRequest;
|
|
21868
21980
|
type Point = Electron.Point;
|
|
21869
21981
|
type PostBody = Electron.PostBody;
|
|
21870
21982
|
type PrinterInfo = Electron.PrinterInfo;
|
|
@@ -21903,6 +22015,7 @@ declare namespace Electron {
|
|
|
21903
22015
|
type WebPreferences = Electron.WebPreferences;
|
|
21904
22016
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
21905
22017
|
type WebSource = Electron.WebSource;
|
|
22018
|
+
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
21906
22019
|
}
|
|
21907
22020
|
|
|
21908
22021
|
namespace Main {
|
|
@@ -22001,6 +22114,7 @@ declare namespace Electron {
|
|
|
22001
22114
|
type CallbackResponse = Electron.CallbackResponse;
|
|
22002
22115
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
22003
22116
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
22117
|
+
type ClearDataOptions = Electron.ClearDataOptions;
|
|
22004
22118
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
22005
22119
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
22006
22120
|
type CloseOpts = Electron.CloseOpts;
|
|
@@ -22093,7 +22207,6 @@ declare namespace Electron {
|
|
|
22093
22207
|
type Parameters = Electron.Parameters;
|
|
22094
22208
|
type Payment = Electron.Payment;
|
|
22095
22209
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
22096
|
-
type PermissionRequestHandlerHandlerDetails = Electron.PermissionRequestHandlerHandlerDetails;
|
|
22097
22210
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
22098
22211
|
type PopupOptions = Electron.PopupOptions;
|
|
22099
22212
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
@@ -22183,6 +22296,7 @@ declare namespace Electron {
|
|
|
22183
22296
|
type ExtensionInfo = Electron.ExtensionInfo;
|
|
22184
22297
|
type FileFilter = Electron.FileFilter;
|
|
22185
22298
|
type FilePathWithHeaders = Electron.FilePathWithHeaders;
|
|
22299
|
+
type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
|
|
22186
22300
|
type GPUFeatureStatus = Electron.GPUFeatureStatus;
|
|
22187
22301
|
type HIDDevice = Electron.HIDDevice;
|
|
22188
22302
|
type InputEvent = Electron.InputEvent;
|
|
@@ -22193,6 +22307,7 @@ declare namespace Electron {
|
|
|
22193
22307
|
type JumpListItem = Electron.JumpListItem;
|
|
22194
22308
|
type KeyboardEvent = Electron.KeyboardEvent;
|
|
22195
22309
|
type KeyboardInputEvent = Electron.KeyboardInputEvent;
|
|
22310
|
+
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
22196
22311
|
type MemoryInfo = Electron.MemoryInfo;
|
|
22197
22312
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
22198
22313
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
@@ -22200,7 +22315,9 @@ declare namespace Electron {
|
|
|
22200
22315
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|
|
22201
22316
|
type NotificationAction = Electron.NotificationAction;
|
|
22202
22317
|
type NotificationResponse = Electron.NotificationResponse;
|
|
22318
|
+
type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequest;
|
|
22203
22319
|
type PaymentDiscount = Electron.PaymentDiscount;
|
|
22320
|
+
type PermissionRequest = Electron.PermissionRequest;
|
|
22204
22321
|
type Point = Electron.Point;
|
|
22205
22322
|
type PostBody = Electron.PostBody;
|
|
22206
22323
|
type PrinterInfo = Electron.PrinterInfo;
|
|
@@ -22239,6 +22356,7 @@ declare namespace Electron {
|
|
|
22239
22356
|
type WebPreferences = Electron.WebPreferences;
|
|
22240
22357
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
22241
22358
|
type WebSource = Electron.WebSource;
|
|
22359
|
+
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
22242
22360
|
}
|
|
22243
22361
|
|
|
22244
22362
|
namespace Renderer {
|
|
@@ -22269,6 +22387,7 @@ declare namespace Electron {
|
|
|
22269
22387
|
type CallbackResponse = Electron.CallbackResponse;
|
|
22270
22388
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
22271
22389
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
22390
|
+
type ClearDataOptions = Electron.ClearDataOptions;
|
|
22272
22391
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
22273
22392
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
22274
22393
|
type CloseOpts = Electron.CloseOpts;
|
|
@@ -22361,7 +22480,6 @@ declare namespace Electron {
|
|
|
22361
22480
|
type Parameters = Electron.Parameters;
|
|
22362
22481
|
type Payment = Electron.Payment;
|
|
22363
22482
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
22364
|
-
type PermissionRequestHandlerHandlerDetails = Electron.PermissionRequestHandlerHandlerDetails;
|
|
22365
22483
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
22366
22484
|
type PopupOptions = Electron.PopupOptions;
|
|
22367
22485
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
@@ -22451,6 +22569,7 @@ declare namespace Electron {
|
|
|
22451
22569
|
type ExtensionInfo = Electron.ExtensionInfo;
|
|
22452
22570
|
type FileFilter = Electron.FileFilter;
|
|
22453
22571
|
type FilePathWithHeaders = Electron.FilePathWithHeaders;
|
|
22572
|
+
type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
|
|
22454
22573
|
type GPUFeatureStatus = Electron.GPUFeatureStatus;
|
|
22455
22574
|
type HIDDevice = Electron.HIDDevice;
|
|
22456
22575
|
type InputEvent = Electron.InputEvent;
|
|
@@ -22461,6 +22580,7 @@ declare namespace Electron {
|
|
|
22461
22580
|
type JumpListItem = Electron.JumpListItem;
|
|
22462
22581
|
type KeyboardEvent = Electron.KeyboardEvent;
|
|
22463
22582
|
type KeyboardInputEvent = Electron.KeyboardInputEvent;
|
|
22583
|
+
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
22464
22584
|
type MemoryInfo = Electron.MemoryInfo;
|
|
22465
22585
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
22466
22586
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
@@ -22468,7 +22588,9 @@ declare namespace Electron {
|
|
|
22468
22588
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|
|
22469
22589
|
type NotificationAction = Electron.NotificationAction;
|
|
22470
22590
|
type NotificationResponse = Electron.NotificationResponse;
|
|
22591
|
+
type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequest;
|
|
22471
22592
|
type PaymentDiscount = Electron.PaymentDiscount;
|
|
22593
|
+
type PermissionRequest = Electron.PermissionRequest;
|
|
22472
22594
|
type Point = Electron.Point;
|
|
22473
22595
|
type PostBody = Electron.PostBody;
|
|
22474
22596
|
type PrinterInfo = Electron.PrinterInfo;
|
|
@@ -22507,6 +22629,7 @@ declare namespace Electron {
|
|
|
22507
22629
|
type WebPreferences = Electron.WebPreferences;
|
|
22508
22630
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
22509
22631
|
type WebSource = Electron.WebSource;
|
|
22632
|
+
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
22510
22633
|
}
|
|
22511
22634
|
|
|
22512
22635
|
namespace Utility {
|
|
@@ -22532,6 +22655,7 @@ declare namespace Electron {
|
|
|
22532
22655
|
type CallbackResponse = Electron.CallbackResponse;
|
|
22533
22656
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
22534
22657
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
22658
|
+
type ClearDataOptions = Electron.ClearDataOptions;
|
|
22535
22659
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
22536
22660
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
22537
22661
|
type CloseOpts = Electron.CloseOpts;
|
|
@@ -22624,7 +22748,6 @@ declare namespace Electron {
|
|
|
22624
22748
|
type Parameters = Electron.Parameters;
|
|
22625
22749
|
type Payment = Electron.Payment;
|
|
22626
22750
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
22627
|
-
type PermissionRequestHandlerHandlerDetails = Electron.PermissionRequestHandlerHandlerDetails;
|
|
22628
22751
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
22629
22752
|
type PopupOptions = Electron.PopupOptions;
|
|
22630
22753
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
@@ -22714,6 +22837,7 @@ declare namespace Electron {
|
|
|
22714
22837
|
type ExtensionInfo = Electron.ExtensionInfo;
|
|
22715
22838
|
type FileFilter = Electron.FileFilter;
|
|
22716
22839
|
type FilePathWithHeaders = Electron.FilePathWithHeaders;
|
|
22840
|
+
type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
|
|
22717
22841
|
type GPUFeatureStatus = Electron.GPUFeatureStatus;
|
|
22718
22842
|
type HIDDevice = Electron.HIDDevice;
|
|
22719
22843
|
type InputEvent = Electron.InputEvent;
|
|
@@ -22724,6 +22848,7 @@ declare namespace Electron {
|
|
|
22724
22848
|
type JumpListItem = Electron.JumpListItem;
|
|
22725
22849
|
type KeyboardEvent = Electron.KeyboardEvent;
|
|
22726
22850
|
type KeyboardInputEvent = Electron.KeyboardInputEvent;
|
|
22851
|
+
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
22727
22852
|
type MemoryInfo = Electron.MemoryInfo;
|
|
22728
22853
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
22729
22854
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
@@ -22731,7 +22856,9 @@ declare namespace Electron {
|
|
|
22731
22856
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|
|
22732
22857
|
type NotificationAction = Electron.NotificationAction;
|
|
22733
22858
|
type NotificationResponse = Electron.NotificationResponse;
|
|
22859
|
+
type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequest;
|
|
22734
22860
|
type PaymentDiscount = Electron.PaymentDiscount;
|
|
22861
|
+
type PermissionRequest = Electron.PermissionRequest;
|
|
22735
22862
|
type Point = Electron.Point;
|
|
22736
22863
|
type PostBody = Electron.PostBody;
|
|
22737
22864
|
type PrinterInfo = Electron.PrinterInfo;
|
|
@@ -22770,6 +22897,7 @@ declare namespace Electron {
|
|
|
22770
22897
|
type WebPreferences = Electron.WebPreferences;
|
|
22771
22898
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
22772
22899
|
type WebSource = Electron.WebSource;
|
|
22900
|
+
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
22773
22901
|
}
|
|
22774
22902
|
|
|
22775
22903
|
namespace CrossProcessExports {
|
|
@@ -22885,6 +23013,7 @@ declare namespace Electron {
|
|
|
22885
23013
|
type CallbackResponse = Electron.CallbackResponse;
|
|
22886
23014
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
22887
23015
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
23016
|
+
type ClearDataOptions = Electron.ClearDataOptions;
|
|
22888
23017
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
22889
23018
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
22890
23019
|
type CloseOpts = Electron.CloseOpts;
|
|
@@ -22977,7 +23106,6 @@ declare namespace Electron {
|
|
|
22977
23106
|
type Parameters = Electron.Parameters;
|
|
22978
23107
|
type Payment = Electron.Payment;
|
|
22979
23108
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
22980
|
-
type PermissionRequestHandlerHandlerDetails = Electron.PermissionRequestHandlerHandlerDetails;
|
|
22981
23109
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
22982
23110
|
type PopupOptions = Electron.PopupOptions;
|
|
22983
23111
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
@@ -23067,6 +23195,7 @@ declare namespace Electron {
|
|
|
23067
23195
|
type ExtensionInfo = Electron.ExtensionInfo;
|
|
23068
23196
|
type FileFilter = Electron.FileFilter;
|
|
23069
23197
|
type FilePathWithHeaders = Electron.FilePathWithHeaders;
|
|
23198
|
+
type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
|
|
23070
23199
|
type GPUFeatureStatus = Electron.GPUFeatureStatus;
|
|
23071
23200
|
type HIDDevice = Electron.HIDDevice;
|
|
23072
23201
|
type InputEvent = Electron.InputEvent;
|
|
@@ -23077,6 +23206,7 @@ declare namespace Electron {
|
|
|
23077
23206
|
type JumpListItem = Electron.JumpListItem;
|
|
23078
23207
|
type KeyboardEvent = Electron.KeyboardEvent;
|
|
23079
23208
|
type KeyboardInputEvent = Electron.KeyboardInputEvent;
|
|
23209
|
+
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
23080
23210
|
type MemoryInfo = Electron.MemoryInfo;
|
|
23081
23211
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
23082
23212
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
@@ -23084,7 +23214,9 @@ declare namespace Electron {
|
|
|
23084
23214
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|
|
23085
23215
|
type NotificationAction = Electron.NotificationAction;
|
|
23086
23216
|
type NotificationResponse = Electron.NotificationResponse;
|
|
23217
|
+
type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequest;
|
|
23087
23218
|
type PaymentDiscount = Electron.PaymentDiscount;
|
|
23219
|
+
type PermissionRequest = Electron.PermissionRequest;
|
|
23088
23220
|
type Point = Electron.Point;
|
|
23089
23221
|
type PostBody = Electron.PostBody;
|
|
23090
23222
|
type PrinterInfo = Electron.PrinterInfo;
|
|
@@ -23123,6 +23255,7 @@ declare namespace Electron {
|
|
|
23123
23255
|
type WebPreferences = Electron.WebPreferences;
|
|
23124
23256
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
23125
23257
|
type WebSource = Electron.WebSource;
|
|
23258
|
+
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
23126
23259
|
}
|
|
23127
23260
|
|
|
23128
23261
|
const app: App;
|
package/package.json
CHANGED