electron 44.5.0 → 44.6.0
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 +67 -67
- package/electron.d.ts +117 -4
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v44.
|
|
3
|
-
"chromedriver-v44.
|
|
4
|
-
"chromedriver-v44.
|
|
5
|
-
"chromedriver-v44.
|
|
6
|
-
"chromedriver-v44.
|
|
7
|
-
"chromedriver-v44.
|
|
8
|
-
"chromedriver-v44.
|
|
9
|
-
"chromedriver-v44.
|
|
10
|
-
"electron-api.json": "
|
|
11
|
-
"electron-v44.
|
|
12
|
-
"electron-v44.
|
|
13
|
-
"electron-v44.
|
|
14
|
-
"electron-v44.
|
|
15
|
-
"electron-v44.
|
|
16
|
-
"electron-v44.
|
|
17
|
-
"electron-v44.
|
|
18
|
-
"electron-v44.
|
|
19
|
-
"electron-v44.
|
|
20
|
-
"electron-v44.
|
|
21
|
-
"electron-v44.
|
|
22
|
-
"electron-v44.
|
|
23
|
-
"electron-v44.
|
|
24
|
-
"electron-v44.
|
|
25
|
-
"electron-v44.
|
|
26
|
-
"electron-v44.
|
|
27
|
-
"electron-v44.
|
|
28
|
-
"electron-v44.
|
|
29
|
-
"electron-v44.
|
|
30
|
-
"electron-v44.
|
|
31
|
-
"electron-v44.
|
|
32
|
-
"electron-v44.
|
|
33
|
-
"electron-v44.
|
|
34
|
-
"electron-v44.
|
|
35
|
-
"electron-v44.
|
|
36
|
-
"electron-v44.
|
|
37
|
-
"electron-v44.
|
|
38
|
-
"electron-v44.
|
|
39
|
-
"electron-v44.
|
|
40
|
-
"electron-v44.
|
|
41
|
-
"electron.d.ts": "
|
|
42
|
-
"ffmpeg-v44.
|
|
43
|
-
"ffmpeg-v44.
|
|
44
|
-
"ffmpeg-v44.
|
|
45
|
-
"ffmpeg-v44.
|
|
46
|
-
"ffmpeg-v44.
|
|
47
|
-
"ffmpeg-v44.
|
|
48
|
-
"ffmpeg-v44.
|
|
49
|
-
"ffmpeg-v44.
|
|
50
|
-
"hunspell_dictionaries.zip": "
|
|
51
|
-
"libcxx-objects-v44.
|
|
52
|
-
"libcxx-objects-v44.
|
|
53
|
-
"libcxx_headers.zip": "
|
|
54
|
-
"libcxxabi_headers.zip": "
|
|
55
|
-
"mksnapshot-v44.
|
|
56
|
-
"mksnapshot-v44.
|
|
57
|
-
"mksnapshot-v44.
|
|
58
|
-
"mksnapshot-v44.
|
|
59
|
-
"mksnapshot-v44.
|
|
60
|
-
"mksnapshot-v44.
|
|
61
|
-
"mksnapshot-v44.
|
|
62
|
-
"mksnapshot-v44.
|
|
63
|
-
"xcache-v44.
|
|
64
|
-
"xcache-v44.
|
|
65
|
-
"xcache-v44.
|
|
66
|
-
"xcache-v44.
|
|
67
|
-
"xcache-v44.
|
|
68
|
-
"xcache-v44.
|
|
2
|
+
"chromedriver-v44.6.0-darwin-arm64.zip": "503cc6bf17a08643043de0207fc4c18f13fbfd3399b3b5bd76f98258ada280b4",
|
|
3
|
+
"chromedriver-v44.6.0-darwin-x64.zip": "ed5b5e8268e1a1c4dcbaa3aedf60e274c3ae88bcd9665cd6e2cd65e7c585b1c1",
|
|
4
|
+
"chromedriver-v44.6.0-linux-arm64.zip": "f2af7d79d2edfd3252a6b277aae28620881130fe30f3d30956eb5bed07abf37e",
|
|
5
|
+
"chromedriver-v44.6.0-linux-x64.zip": "06ce9f963c6392397b7a96110984d84b0415cf5d7819104524f77764d4804738",
|
|
6
|
+
"chromedriver-v44.6.0-mas-arm64.zip": "3626e0740024cde25b45e46d8155e795350bf896810481ffde0432abbbe540c0",
|
|
7
|
+
"chromedriver-v44.6.0-mas-x64.zip": "9d2ecf1bc1c5a9082a6d9cf1881342a443bcf0987039272e0b8eb8a39c13955b",
|
|
8
|
+
"chromedriver-v44.6.0-win32-arm64.zip": "4a4335313882473bdf1d2915d3c4d5c9ec9822d70070b5b5e941138c7e54a9bd",
|
|
9
|
+
"chromedriver-v44.6.0-win32-x64.zip": "b97d6464c62dbe2e27ecaf419f8fd6397ec78120824d0adaa73f445e01b6f113",
|
|
10
|
+
"electron-api.json": "da08166b3197e5dbc565a2654184e551e45333f9160f6b54103de23baafd4618",
|
|
11
|
+
"electron-v44.6.0-darwin-arm64-dsym-snapshot.zip": "7db4f8b1a8f54b16f38b1b1d744342927a81cb0cb3467e7bde53b867be4e410b",
|
|
12
|
+
"electron-v44.6.0-darwin-arm64-dsym.tar.xz": "c5df66b4c3869832b598f4d37176597ecd0e000052c3591ea40a2b7c363d86ea",
|
|
13
|
+
"electron-v44.6.0-darwin-arm64-symbols.zip": "8b254b0045fed20bb8348a4c989d624aceb07693676139cd06e6cfc29838a8c7",
|
|
14
|
+
"electron-v44.6.0-darwin-arm64.zip": "023a69ab3a2e8fac0a62746c2aaaf42f637b7ab07b8d78fb64f00c48e01fef8c",
|
|
15
|
+
"electron-v44.6.0-darwin-x64-dsym-snapshot.zip": "7db4f8b1a8f54b16f38b1b1d744342927a81cb0cb3467e7bde53b867be4e410b",
|
|
16
|
+
"electron-v44.6.0-darwin-x64-dsym.tar.xz": "237c672a0a06f5203f9e05685c7cde06bd2b893e8f552d6382f17225a1d97a00",
|
|
17
|
+
"electron-v44.6.0-darwin-x64-symbols.zip": "611be162f52c4ef8db60cbf05762af1f164c8fd720b7c84e32511e02af99b1da",
|
|
18
|
+
"electron-v44.6.0-darwin-x64.zip": "25076a029742bb6bc4a1110db208658837c9febb0688a6f34acddcc645bdfb45",
|
|
19
|
+
"electron-v44.6.0-linux-arm64-debug.zip": "f9a51e4274f03bfec9ae9ee32c0c44c54d04c5b5c69159a8cdc1a18e327ace66",
|
|
20
|
+
"electron-v44.6.0-linux-arm64-symbols.zip": "449f9ef9a9371d7210dc99246f1a231db39c29992c9f66d85b4cab0ddadc0091",
|
|
21
|
+
"electron-v44.6.0-linux-arm64.zip": "9298bc6fb86528e79fbc643aaefe4e195e58153c40cddcfedec52a59ce114c79",
|
|
22
|
+
"electron-v44.6.0-linux-x64-debug.zip": "dded03ddf1a3d35707fa6da6dad4619234aa32aba31430c6df49b18741a4a353",
|
|
23
|
+
"electron-v44.6.0-linux-x64-symbols.zip": "1e5b67ae6b2bf1d4f7fc5e1f5e625bba634400f9259a9fe806322d5f43827f2a",
|
|
24
|
+
"electron-v44.6.0-linux-x64.zip": "20cafbe96e0ab8ad95cd31804acd683142b361f9e25f1595aecf67177d0a8915",
|
|
25
|
+
"electron-v44.6.0-mas-arm64-dsym-snapshot.zip": "7db4f8b1a8f54b16f38b1b1d744342927a81cb0cb3467e7bde53b867be4e410b",
|
|
26
|
+
"electron-v44.6.0-mas-arm64-dsym.tar.xz": "01eef336e5720e9e28c0e57f7bcfe37c4d010d6ffe7fca229d57ea3ff5578676",
|
|
27
|
+
"electron-v44.6.0-mas-arm64-symbols.zip": "3385ddf5963b209d1ef1d056d3ce8a77c1dfe25f49c45dbbba586dc903e18b49",
|
|
28
|
+
"electron-v44.6.0-mas-arm64.zip": "05f0cefd4f1d079a4feb7a6bfb2e622e992d7ebd75c8e0d92d6f5c47ef874547",
|
|
29
|
+
"electron-v44.6.0-mas-x64-dsym-snapshot.zip": "7db4f8b1a8f54b16f38b1b1d744342927a81cb0cb3467e7bde53b867be4e410b",
|
|
30
|
+
"electron-v44.6.0-mas-x64-dsym.tar.xz": "ea64f8f6a4a44f799da7aa08d53aab28cf115137579973d1aec84e645dc09300",
|
|
31
|
+
"electron-v44.6.0-mas-x64-symbols.zip": "552ff11d9a91365ec4f1b5cf1d2eb82fee54b3688e1aa9a49cfd32983fc9696b",
|
|
32
|
+
"electron-v44.6.0-mas-x64.zip": "8c1ee798f9aab430fb66b3a889b2307995c688b33338f3bce8787b20bbd68b66",
|
|
33
|
+
"electron-v44.6.0-win32-arm64-pdb.zip": "98a576a9fe5e282ef6c9cdac8fdd888d6979e0a2cacecd55a75171e2878001f3",
|
|
34
|
+
"electron-v44.6.0-win32-arm64-symbols.zip": "f69130ca89e3211af4adc0095bb76d1d640a92cb970ccd631cb44ef3d9aef046",
|
|
35
|
+
"electron-v44.6.0-win32-arm64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
|
|
36
|
+
"electron-v44.6.0-win32-arm64.zip": "f7992db96756c7df63fba3ccf335585cac4fb204aa8eae5f6fe8ba29403fe7c2",
|
|
37
|
+
"electron-v44.6.0-win32-x64-pdb.zip": "a9141aadd9ba73e762803a72fe8c59454cce29075c07198ed4f81821e0d94e1f",
|
|
38
|
+
"electron-v44.6.0-win32-x64-symbols.zip": "5943bfe35ca43e12c5f1aab427b762aef371c072f9a2f88b02a3ddee0f659e10",
|
|
39
|
+
"electron-v44.6.0-win32-x64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
|
|
40
|
+
"electron-v44.6.0-win32-x64.zip": "04d6071f8deca081044e1398f96f65e4c1550ffdb3f882504cd78528d821d422",
|
|
41
|
+
"electron.d.ts": "1ead362490b3beb1ec50fa0c22220c40eba602eba1692d55b21ceb2d2d9c213e",
|
|
42
|
+
"ffmpeg-v44.6.0-darwin-arm64.zip": "d020ce172c3a82486ab84e5f77bcc47d2d865d02a3d04c186bc59bc706d471c2",
|
|
43
|
+
"ffmpeg-v44.6.0-darwin-x64.zip": "2fe2acd0b7a1f11d12e5698e4cd1ad6902bc24a586695c0ef273f8d493e787b8",
|
|
44
|
+
"ffmpeg-v44.6.0-linux-arm64.zip": "f5ab61470855cfc70c2168318fcd6f2f4746f0505e28c09c4f7a99493ff1302d",
|
|
45
|
+
"ffmpeg-v44.6.0-linux-x64.zip": "72160780a613d3171eeaf5995f0af0724ab011af81967254e29e7e7d27409a05",
|
|
46
|
+
"ffmpeg-v44.6.0-mas-arm64.zip": "6b4ef818d29790a38438c0c0cb15817c141b82954615b715949ba777d2816020",
|
|
47
|
+
"ffmpeg-v44.6.0-mas-x64.zip": "ce07527e0b5bc5b8aeae5cf9ed6f0eabb9f1ff830b440b4cfeb8dad7acc7d05e",
|
|
48
|
+
"ffmpeg-v44.6.0-win32-arm64.zip": "8f209b30fe4b97830f8e0ec3c482cab542bf7e063f21ff415f73d346582878c7",
|
|
49
|
+
"ffmpeg-v44.6.0-win32-x64.zip": "baa9f0808b3a8b07d0a5a63e5784a0a5b0e40c6f76a4f0d290ccbe19167872cf",
|
|
50
|
+
"hunspell_dictionaries.zip": "2617e2ea45c63abaffb47e17aa85e0f32da79817c1b525b8938fa0c887b70ecf",
|
|
51
|
+
"libcxx-objects-v44.6.0-linux-arm64.zip": "fad6a3ae9422614b12b17384423c03af4fbe309ab6d288006259d2a4bd1623b2",
|
|
52
|
+
"libcxx-objects-v44.6.0-linux-x64.zip": "c7a10c86a1a37a56f74cfb1f20f722cd47a7b46c55666302afa228ee09350449",
|
|
53
|
+
"libcxx_headers.zip": "7c60f8b49fddcc9395a66e1c8559b5f112fadabecc1e33e65622fdfea3563f32",
|
|
54
|
+
"libcxxabi_headers.zip": "f1129a0445b75092897fc3e036a56e5146132c48c0d6a9f1063f9faa9efa6524",
|
|
55
|
+
"mksnapshot-v44.6.0-darwin-arm64.zip": "6f1e039d050dcf4ba099069e18d0228627892b73dbb0d6d056c7d35451e94ee6",
|
|
56
|
+
"mksnapshot-v44.6.0-darwin-x64.zip": "1520d8aaa4cef828fd01659edd64822897862a87be63f2d0363b306e2b9f9b52",
|
|
57
|
+
"mksnapshot-v44.6.0-linux-arm64-x64.zip": "14b2e1a39ce5416cd6969ca57647b020da06cb287ccde6cbc1b8fe9f9a719d53",
|
|
58
|
+
"mksnapshot-v44.6.0-linux-x64.zip": "e3189173b8c24463c18d2ee437510f7b8b780dc49d84425fdad50ae3f649dbd3",
|
|
59
|
+
"mksnapshot-v44.6.0-mas-arm64.zip": "e8dc4f612a238731ad4fcd167be573b8c99725eb94c2ed0a31ce4c66686c0c90",
|
|
60
|
+
"mksnapshot-v44.6.0-mas-x64.zip": "0cbf65741df4175dac50503aa0e9b7ba85dcf39288c4ba927514f1133a0751fd",
|
|
61
|
+
"mksnapshot-v44.6.0-win32-arm64-x64.zip": "215a701adbd11936fb5267b10ed7da10d81dad2e17a0a56ef34b65f4f47fd512",
|
|
62
|
+
"mksnapshot-v44.6.0-win32-x64.zip": "f83d6e8a368d8a6499cf9dfd08297b35b797f851e21da5ac2a4e65c7641bf0f6",
|
|
63
|
+
"xcache-v44.6.0-darwin-arm64.zip": "924fea5e656a65d423ae980c4240934522eca8ab7bbdbbd32cfd5f26a43c57f2",
|
|
64
|
+
"xcache-v44.6.0-darwin-x64.zip": "a06a379d77fdf1429340ee184ed44e70165d740d9e007c02b0cc47d9af5b12b9",
|
|
65
|
+
"xcache-v44.6.0-linux-arm64.zip": "329669130ebabbfd5e47f131e660e9f6ea59f103344d800781c794943d81da9d",
|
|
66
|
+
"xcache-v44.6.0-linux-x64.zip": "3001de37d35eadbf6e172b30fecfe9ecb68d8f3c83e3ac6f7b7d726ec72a4dc3",
|
|
67
|
+
"xcache-v44.6.0-win32-arm64.zip": "321d6538c6c3ad4763292510f80115cd0ec7bde33469738dc26cb654567199a3",
|
|
68
|
+
"xcache-v44.6.0-win32-x64.zip": "7913a9c82a0d25463d49496b2560b7116bb344fb700eb2d64b272983a6376b39"
|
|
69
69
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 44.
|
|
1
|
+
// Type definitions for Electron 44.6.0
|
|
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
|
|
@@ -11615,6 +11615,12 @@ declare namespace Electron {
|
|
|
11615
11615
|
|
|
11616
11616
|
// Docs: https://electronjs.org/docs/api/protocol
|
|
11617
11617
|
|
|
11618
|
+
/**
|
|
11619
|
+
* The source registered for `scheme` with `protocol.registerSource`, or `null`.
|
|
11620
|
+
*
|
|
11621
|
+
* @experimental
|
|
11622
|
+
*/
|
|
11623
|
+
getSource(scheme: string): (ProtocolSource) | (null);
|
|
11618
11624
|
/**
|
|
11619
11625
|
* Register a protocol handler for `scheme`. Requests made to URLs with this scheme
|
|
11620
11626
|
* will delegate to this handler to determine what response should be sent.
|
|
@@ -11678,7 +11684,7 @@ declare namespace Electron {
|
|
|
11678
11684
|
*/
|
|
11679
11685
|
interceptStringProtocol(scheme: string, handler: (request: ProtocolRequest, callback: (response: (string) | (ProtocolResponse)) => void) => void): boolean;
|
|
11680
11686
|
/**
|
|
11681
|
-
* Whether `scheme`
|
|
11687
|
+
* Whether `scheme` already has a handler or a source.
|
|
11682
11688
|
*/
|
|
11683
11689
|
isProtocolHandled(scheme: string): boolean;
|
|
11684
11690
|
/**
|
|
@@ -11773,6 +11779,28 @@ declare namespace Electron {
|
|
|
11773
11779
|
* correctly expect streaming responses.
|
|
11774
11780
|
*/
|
|
11775
11781
|
registerSchemesAsPrivileged(customSchemes: CustomScheme[]): void;
|
|
11782
|
+
/**
|
|
11783
|
+
* Serves `scheme` from directories on disk without a JavaScript handler. Each
|
|
11784
|
+
* request is matched against `routes` (a route with a `host` wins over one
|
|
11785
|
+
* without, then the longest `path` prefix wins), the rest of the URL's path is
|
|
11786
|
+
* resolved inside that route's `root`, and the file is streamed to the requester
|
|
11787
|
+
* the way `file:` URLs are, including from `asar` archives, with `Content-Type`
|
|
11788
|
+
* taken from the file extension. A path that resolves outside `root`, a missing
|
|
11789
|
+
* file, a request that matches no route, or a method other than `GET`/`HEAD` fails
|
|
11790
|
+
* with `net::ERR_FILE_NOT_FOUND`. A URL whose path ends in `/` serves the route's
|
|
11791
|
+
* `index` file.
|
|
11792
|
+
*
|
|
11793
|
+
* Use this instead of `protocol.handle` when a scheme only serves an app's own
|
|
11794
|
+
* bundled files: no request touches the main thread, so pages and their
|
|
11795
|
+
* subresources load at the same speed whether or not the main process is busy.
|
|
11796
|
+
*
|
|
11797
|
+
* A scheme has either a handler or a source; `protocol.unhandle` removes either,
|
|
11798
|
+
* and `protocol.isProtocolHandled` reports both. `webRequest` listeners apply to
|
|
11799
|
+
* these requests as to any other.
|
|
11800
|
+
*
|
|
11801
|
+
* @experimental
|
|
11802
|
+
*/
|
|
11803
|
+
registerSource(scheme: string, source: ProtocolSource): void;
|
|
11776
11804
|
/**
|
|
11777
11805
|
* Whether the protocol was successfully registered
|
|
11778
11806
|
*
|
|
@@ -11803,7 +11831,8 @@ declare namespace Electron {
|
|
|
11803
11831
|
*/
|
|
11804
11832
|
registerStringProtocol(scheme: string, handler: (request: ProtocolRequest, callback: (response: (string) | (ProtocolResponse)) => void) => void): boolean;
|
|
11805
11833
|
/**
|
|
11806
|
-
* Removes a protocol handler registered with `protocol.handle
|
|
11834
|
+
* Removes a protocol handler registered with `protocol.handle` or a source
|
|
11835
|
+
* registered with `protocol.registerSource`.
|
|
11807
11836
|
*/
|
|
11808
11837
|
unhandle(scheme: string): void;
|
|
11809
11838
|
/**
|
|
@@ -11920,6 +11949,32 @@ declare namespace Electron {
|
|
|
11920
11949
|
data: (string) | (Buffer);
|
|
11921
11950
|
}
|
|
11922
11951
|
|
|
11952
|
+
interface ProtocolRoute {
|
|
11953
|
+
|
|
11954
|
+
// Docs: https://electronjs.org/docs/api/structures/protocol-route
|
|
11955
|
+
|
|
11956
|
+
/**
|
|
11957
|
+
* Which URLs on the scheme this route serves. A route without `match` serves every
|
|
11958
|
+
* URL.
|
|
11959
|
+
*/
|
|
11960
|
+
match?: Match;
|
|
11961
|
+
/**
|
|
11962
|
+
* What the matched URLs are served from.
|
|
11963
|
+
*/
|
|
11964
|
+
source: Source;
|
|
11965
|
+
}
|
|
11966
|
+
|
|
11967
|
+
interface ProtocolSource {
|
|
11968
|
+
|
|
11969
|
+
// Docs: https://electronjs.org/docs/api/structures/protocol-source
|
|
11970
|
+
|
|
11971
|
+
/**
|
|
11972
|
+
* How URLs on the scheme map to directories on disk; see
|
|
11973
|
+
* `protocol.registerSource`.
|
|
11974
|
+
*/
|
|
11975
|
+
routes: ProtocolRoute[];
|
|
11976
|
+
}
|
|
11977
|
+
|
|
11923
11978
|
interface ProxyConfig {
|
|
11924
11979
|
|
|
11925
11980
|
// Docs: https://electronjs.org/docs/api/structures/proxy-config
|
|
@@ -13521,7 +13576,7 @@ declare namespace Electron {
|
|
|
13521
13576
|
*
|
|
13522
13577
|
* Passing `null` instead of a function resets the handler to its default state.
|
|
13523
13578
|
*/
|
|
13524
|
-
setDisplayMediaRequestHandler(handler: ((request: DisplayMediaRequestHandlerHandlerRequest, callback: (streams: Streams) => void) => void) | (null), opts?: DisplayMediaRequestHandlerOpts): void;
|
|
13579
|
+
setDisplayMediaRequestHandler(handler: ((request: DisplayMediaRequestHandlerHandlerRequest, callback: (streams: (Streams) | (null)) => void) => void) | (null), opts?: DisplayMediaRequestHandlerOpts): void;
|
|
13525
13580
|
/**
|
|
13526
13581
|
* Sets download saving directory. By default, the download directory will be the
|
|
13527
13582
|
* `Downloads` under the respective app folder.
|
|
@@ -22493,6 +22548,20 @@ declare namespace Electron {
|
|
|
22493
22548
|
args?: string[];
|
|
22494
22549
|
}
|
|
22495
22550
|
|
|
22551
|
+
interface Match {
|
|
22552
|
+
/**
|
|
22553
|
+
* Host name to match, for standard schemes. It is compared with the URL's host as
|
|
22554
|
+
* a whole, case-insensitively; there is no wildcard or subdomain matching. Omit to
|
|
22555
|
+
* match any host.
|
|
22556
|
+
*/
|
|
22557
|
+
host?: string;
|
|
22558
|
+
/**
|
|
22559
|
+
* Path prefix to match, starting with `/` and written as it appears in a URL
|
|
22560
|
+
* (percent-encoded). Defaults to `/`.
|
|
22561
|
+
*/
|
|
22562
|
+
path?: string;
|
|
22563
|
+
}
|
|
22564
|
+
|
|
22496
22565
|
interface MenuItemConstructorOptions {
|
|
22497
22566
|
/**
|
|
22498
22567
|
* Will be called with `click(menuItem, window, event)` when the menu item is
|
|
@@ -23992,6 +24061,30 @@ declare namespace Electron {
|
|
|
23992
24061
|
topFrameSite: string;
|
|
23993
24062
|
}
|
|
23994
24063
|
|
|
24064
|
+
interface Source {
|
|
24065
|
+
/**
|
|
24066
|
+
* Must be `directory`.
|
|
24067
|
+
*/
|
|
24068
|
+
type: string;
|
|
24069
|
+
/**
|
|
24070
|
+
* Absolute path of the directory. The part of the URL's path after `match.path` is
|
|
24071
|
+
* resolved inside it; paths that would leave it are not served. May point into an
|
|
24072
|
+
* `asar` archive.
|
|
24073
|
+
*/
|
|
24074
|
+
root: string;
|
|
24075
|
+
/**
|
|
24076
|
+
* File served for a URL whose path ends in `/`. Defaults to `index.html`; an empty
|
|
24077
|
+
* string disables it.
|
|
24078
|
+
*/
|
|
24079
|
+
index?: string;
|
|
24080
|
+
/**
|
|
24081
|
+
* Response headers added to every file served by this route. Headers computed by
|
|
24082
|
+
* the file loader, including `Content-Type`, `Content-Length`, and
|
|
24083
|
+
* `Content-Range`, will override these supplied values.
|
|
24084
|
+
*/
|
|
24085
|
+
headers?: Record<string, string>;
|
|
24086
|
+
}
|
|
24087
|
+
|
|
23995
24088
|
interface SourcesOptions {
|
|
23996
24089
|
/**
|
|
23997
24090
|
* An array of strings that lists the types of desktop sources to be captured,
|
|
@@ -25429,6 +25522,7 @@ declare namespace Electron {
|
|
|
25429
25522
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
25430
25523
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
25431
25524
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
25525
|
+
type Match = Electron.Match;
|
|
25432
25526
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
25433
25527
|
type MessageBoxOptions = Electron.MessageBoxOptions;
|
|
25434
25528
|
type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
|
|
@@ -25492,6 +25586,7 @@ declare namespace Electron {
|
|
|
25492
25586
|
type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
|
|
25493
25587
|
type Settings = Electron.Settings;
|
|
25494
25588
|
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
25589
|
+
type Source = Electron.Source;
|
|
25495
25590
|
type SourcesOptions = Electron.SourcesOptions;
|
|
25496
25591
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
25497
25592
|
type StartTask = Electron.StartTask;
|
|
@@ -25619,6 +25714,8 @@ declare namespace Electron {
|
|
|
25619
25714
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
25620
25715
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
25621
25716
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
25717
|
+
type ProtocolRoute = Electron.ProtocolRoute;
|
|
25718
|
+
type ProtocolSource = Electron.ProtocolSource;
|
|
25622
25719
|
type ProxyConfig = Electron.ProxyConfig;
|
|
25623
25720
|
type Rectangle = Electron.Rectangle;
|
|
25624
25721
|
type Referrer = Electron.Referrer;
|
|
@@ -25842,6 +25939,7 @@ declare namespace Electron {
|
|
|
25842
25939
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
25843
25940
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
25844
25941
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
25942
|
+
type Match = Electron.Match;
|
|
25845
25943
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
25846
25944
|
type MessageBoxOptions = Electron.MessageBoxOptions;
|
|
25847
25945
|
type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
|
|
@@ -25905,6 +26003,7 @@ declare namespace Electron {
|
|
|
25905
26003
|
type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
|
|
25906
26004
|
type Settings = Electron.Settings;
|
|
25907
26005
|
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
26006
|
+
type Source = Electron.Source;
|
|
25908
26007
|
type SourcesOptions = Electron.SourcesOptions;
|
|
25909
26008
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
25910
26009
|
type StartTask = Electron.StartTask;
|
|
@@ -26032,6 +26131,8 @@ declare namespace Electron {
|
|
|
26032
26131
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
26033
26132
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
26034
26133
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
26134
|
+
type ProtocolRoute = Electron.ProtocolRoute;
|
|
26135
|
+
type ProtocolSource = Electron.ProtocolSource;
|
|
26035
26136
|
type ProxyConfig = Electron.ProxyConfig;
|
|
26036
26137
|
type Rectangle = Electron.Rectangle;
|
|
26037
26138
|
type Referrer = Electron.Referrer;
|
|
@@ -26179,6 +26280,7 @@ declare namespace Electron {
|
|
|
26179
26280
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
26180
26281
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
26181
26282
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
26283
|
+
type Match = Electron.Match;
|
|
26182
26284
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
26183
26285
|
type MessageBoxOptions = Electron.MessageBoxOptions;
|
|
26184
26286
|
type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
|
|
@@ -26242,6 +26344,7 @@ declare namespace Electron {
|
|
|
26242
26344
|
type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
|
|
26243
26345
|
type Settings = Electron.Settings;
|
|
26244
26346
|
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
26347
|
+
type Source = Electron.Source;
|
|
26245
26348
|
type SourcesOptions = Electron.SourcesOptions;
|
|
26246
26349
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
26247
26350
|
type StartTask = Electron.StartTask;
|
|
@@ -26369,6 +26472,8 @@ declare namespace Electron {
|
|
|
26369
26472
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
26370
26473
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
26371
26474
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
26475
|
+
type ProtocolRoute = Electron.ProtocolRoute;
|
|
26476
|
+
type ProtocolSource = Electron.ProtocolSource;
|
|
26372
26477
|
type ProxyConfig = Electron.ProxyConfig;
|
|
26373
26478
|
type Rectangle = Electron.Rectangle;
|
|
26374
26479
|
type Referrer = Electron.Referrer;
|
|
@@ -26515,6 +26620,7 @@ declare namespace Electron {
|
|
|
26515
26620
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
26516
26621
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
26517
26622
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
26623
|
+
type Match = Electron.Match;
|
|
26518
26624
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
26519
26625
|
type MessageBoxOptions = Electron.MessageBoxOptions;
|
|
26520
26626
|
type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
|
|
@@ -26578,6 +26684,7 @@ declare namespace Electron {
|
|
|
26578
26684
|
type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
|
|
26579
26685
|
type Settings = Electron.Settings;
|
|
26580
26686
|
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
26687
|
+
type Source = Electron.Source;
|
|
26581
26688
|
type SourcesOptions = Electron.SourcesOptions;
|
|
26582
26689
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
26583
26690
|
type StartTask = Electron.StartTask;
|
|
@@ -26705,6 +26812,8 @@ declare namespace Electron {
|
|
|
26705
26812
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
26706
26813
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
26707
26814
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
26815
|
+
type ProtocolRoute = Electron.ProtocolRoute;
|
|
26816
|
+
type ProtocolSource = Electron.ProtocolSource;
|
|
26708
26817
|
type ProxyConfig = Electron.ProxyConfig;
|
|
26709
26818
|
type Rectangle = Electron.Rectangle;
|
|
26710
26819
|
type Referrer = Electron.Referrer;
|
|
@@ -26947,6 +27056,7 @@ declare namespace Electron {
|
|
|
26947
27056
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
26948
27057
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
26949
27058
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
27059
|
+
type Match = Electron.Match;
|
|
26950
27060
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
26951
27061
|
type MessageBoxOptions = Electron.MessageBoxOptions;
|
|
26952
27062
|
type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
|
|
@@ -27010,6 +27120,7 @@ declare namespace Electron {
|
|
|
27010
27120
|
type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
|
|
27011
27121
|
type Settings = Electron.Settings;
|
|
27012
27122
|
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
27123
|
+
type Source = Electron.Source;
|
|
27013
27124
|
type SourcesOptions = Electron.SourcesOptions;
|
|
27014
27125
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
27015
27126
|
type StartTask = Electron.StartTask;
|
|
@@ -27137,6 +27248,8 @@ declare namespace Electron {
|
|
|
27137
27248
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
27138
27249
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
27139
27250
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
27251
|
+
type ProtocolRoute = Electron.ProtocolRoute;
|
|
27252
|
+
type ProtocolSource = Electron.ProtocolSource;
|
|
27140
27253
|
type ProxyConfig = Electron.ProxyConfig;
|
|
27141
27254
|
type Rectangle = Electron.Rectangle;
|
|
27142
27255
|
type Referrer = Electron.Referrer;
|