electron 43.2.0 → 43.4.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 +75 -75
- package/electron.d.ts +163 -101
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v43.
|
|
3
|
-
"chromedriver-v43.
|
|
4
|
-
"chromedriver-v43.
|
|
5
|
-
"chromedriver-v43.
|
|
6
|
-
"chromedriver-v43.
|
|
7
|
-
"chromedriver-v43.
|
|
8
|
-
"chromedriver-v43.
|
|
9
|
-
"chromedriver-v43.
|
|
10
|
-
"chromedriver-v43.
|
|
11
|
-
"chromedriver-v43.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v43.
|
|
14
|
-
"electron-v43.
|
|
15
|
-
"electron-v43.
|
|
16
|
-
"electron-v43.
|
|
17
|
-
"electron-v43.
|
|
18
|
-
"electron-v43.
|
|
19
|
-
"electron-v43.
|
|
20
|
-
"electron-v43.
|
|
21
|
-
"electron-v43.
|
|
22
|
-
"electron-v43.
|
|
23
|
-
"electron-v43.
|
|
24
|
-
"electron-v43.
|
|
25
|
-
"electron-v43.
|
|
26
|
-
"electron-v43.
|
|
27
|
-
"electron-v43.
|
|
28
|
-
"electron-v43.
|
|
29
|
-
"electron-v43.
|
|
30
|
-
"electron-v43.
|
|
31
|
-
"electron-v43.
|
|
32
|
-
"electron-v43.
|
|
33
|
-
"electron-v43.
|
|
34
|
-
"electron-v43.
|
|
35
|
-
"electron-v43.
|
|
36
|
-
"electron-v43.
|
|
37
|
-
"electron-v43.
|
|
38
|
-
"electron-v43.
|
|
39
|
-
"electron-v43.
|
|
40
|
-
"electron-v43.
|
|
41
|
-
"electron-v43.
|
|
42
|
-
"electron-v43.
|
|
43
|
-
"electron-v43.
|
|
44
|
-
"electron-v43.
|
|
45
|
-
"electron-v43.
|
|
46
|
-
"electron-v43.
|
|
47
|
-
"electron-v43.
|
|
48
|
-
"electron-v43.
|
|
49
|
-
"electron-v43.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v43.
|
|
52
|
-
"ffmpeg-v43.
|
|
53
|
-
"ffmpeg-v43.
|
|
54
|
-
"ffmpeg-v43.
|
|
55
|
-
"ffmpeg-v43.
|
|
56
|
-
"ffmpeg-v43.
|
|
57
|
-
"ffmpeg-v43.
|
|
58
|
-
"ffmpeg-v43.
|
|
59
|
-
"ffmpeg-v43.
|
|
60
|
-
"ffmpeg-v43.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v43.
|
|
63
|
-
"libcxx-objects-v43.
|
|
64
|
-
"libcxx-objects-v43.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v43.
|
|
68
|
-
"mksnapshot-v43.
|
|
69
|
-
"mksnapshot-v43.
|
|
70
|
-
"mksnapshot-v43.
|
|
71
|
-
"mksnapshot-v43.
|
|
72
|
-
"mksnapshot-v43.
|
|
73
|
-
"mksnapshot-v43.
|
|
74
|
-
"mksnapshot-v43.
|
|
75
|
-
"mksnapshot-v43.
|
|
76
|
-
"mksnapshot-v43.
|
|
2
|
+
"chromedriver-v43.4.0-darwin-arm64.zip": "ba96ddf981287ee98222b4acae3afe9d5460ff2492c62b96c09bd72b7f77d4a0",
|
|
3
|
+
"chromedriver-v43.4.0-darwin-x64.zip": "d80d2ed2c3554e2eaa6925b95dff9f6c5c9e1574f610c3c400257f93a8f961ff",
|
|
4
|
+
"chromedriver-v43.4.0-linux-arm64.zip": "bd2e5539a7b9213d910cf4724df07a6b9ba6cb9d1820afc51155ff94f021458c",
|
|
5
|
+
"chromedriver-v43.4.0-linux-armv7l.zip": "b90ec1026f7f3ac321e3c7b217d99d33d44168d4eed295962b353f5e58a16b31",
|
|
6
|
+
"chromedriver-v43.4.0-linux-x64.zip": "aa2baa30cde1062807c06a74a3f495c4f4a9b2b8946c1d3dadf2bfe2634662c8",
|
|
7
|
+
"chromedriver-v43.4.0-mas-arm64.zip": "14ce19ba3d941c4a658eb9915c5528a0470ff415d0545aa86b764642f40cb2d3",
|
|
8
|
+
"chromedriver-v43.4.0-mas-x64.zip": "44425d8c6f3941415dbba6b3368b2dde655a32b6e03259772343eeae03a2ad54",
|
|
9
|
+
"chromedriver-v43.4.0-win32-arm64.zip": "a81e83c7451a65510b8ccb2fe014e54888970fae7d52c9e527fa737d30d72a7b",
|
|
10
|
+
"chromedriver-v43.4.0-win32-ia32.zip": "25a7188bd5b6eb777b0eeb24d0545dc19af647b5eb3744303a09ae18dfe6db88",
|
|
11
|
+
"chromedriver-v43.4.0-win32-x64.zip": "1f8bcb62b5deb8ab2de74aaab87b46bc137e0e4b5cabd9c8143b96b921555830",
|
|
12
|
+
"electron-api.json": "fd26e5997ad10b7de2dfd7813b1e8a479c9e9ba625e2667a1c0666a1d06e66ef",
|
|
13
|
+
"electron-v43.4.0-darwin-arm64-dsym-snapshot.zip": "8539a1aed00504ca3045045585f69603258dd38da79d244886c336a5e0116cb6",
|
|
14
|
+
"electron-v43.4.0-darwin-arm64-dsym.tar.xz": "17e5b633228399ff2a19181c1cba8fbd1e7d4f71bff366bbc007927eaacce49b",
|
|
15
|
+
"electron-v43.4.0-darwin-arm64-symbols.zip": "60719e4df4030b63793e1aeee043ea9af370fc3782866a6c28a89cf305378f15",
|
|
16
|
+
"electron-v43.4.0-darwin-arm64.zip": "827f9f182566f46846377575b51c547b9926b111637313a373b6f717462aebac",
|
|
17
|
+
"electron-v43.4.0-darwin-x64-dsym-snapshot.zip": "3083bfd94b4579359472e46427587adbe3c93f36c33bb8dfdacf0f0ccffc009f",
|
|
18
|
+
"electron-v43.4.0-darwin-x64-dsym.tar.xz": "e7d11fa2741b020eb6ef3ecb4583be034bc05320a9b816786ab12972c915d75d",
|
|
19
|
+
"electron-v43.4.0-darwin-x64-symbols.zip": "1fb49d0d4ec93edb8bfa8d598d2747a2155356a903ffc22b86c6e85f77add1f3",
|
|
20
|
+
"electron-v43.4.0-darwin-x64.zip": "7ab39ec1b0bcf5463f2dc0040142fbc1c30cd7bc3f99086066f588c717b11e24",
|
|
21
|
+
"electron-v43.4.0-linux-arm64-debug.zip": "c4be122f21718fb5bbd9119db31a1bd16ee58b92e24e04c2d1800214563ef4e2",
|
|
22
|
+
"electron-v43.4.0-linux-arm64-symbols.zip": "40c945b1dc067c8ced6abb42efb225a26cb49316402a2c58f09e6783d75e4b17",
|
|
23
|
+
"electron-v43.4.0-linux-arm64.zip": "17021d48739857106a26dd95bf749f95b89ae924955c3c7e7ff5a3f06251ac14",
|
|
24
|
+
"electron-v43.4.0-linux-armv7l-debug.zip": "5461de4a5272a02c89b85cf4da1203e81b243e377352f8751a3bef1f711d236e",
|
|
25
|
+
"electron-v43.4.0-linux-armv7l-symbols.zip": "48dd6ef5345725b0a3e107ab4fc6feb7c42481eb2084e6e5c2d8f1eb6ccf51d3",
|
|
26
|
+
"electron-v43.4.0-linux-armv7l.zip": "8fd14c358e04c1720f13b2ae1fced79d9abac30287c7b4ac330f14ec041ed0f0",
|
|
27
|
+
"electron-v43.4.0-linux-x64-debug.zip": "3a74e777e5c2fca9fdcf15ee9b8443ece9bb38f51b2fb7e6dcc1c8f6b030c944",
|
|
28
|
+
"electron-v43.4.0-linux-x64-symbols.zip": "a7a24c204131101737b52752010d39b10330f74dd203d2646337a2458da7a7c6",
|
|
29
|
+
"electron-v43.4.0-linux-x64.zip": "7c5f7918bcae74a05a814543940eb28469c055edaa3cfcf41d0ff1787b314c52",
|
|
30
|
+
"electron-v43.4.0-mas-arm64-dsym-snapshot.zip": "dff710930c504ec3d4168da2e14504b5afb76a88adf1cf4a792b4a983cb112b0",
|
|
31
|
+
"electron-v43.4.0-mas-arm64-dsym.tar.xz": "2df045b39b5d44bfdaded0e413626eb5dda873cf9f29dc8f81b11edc6a604a74",
|
|
32
|
+
"electron-v43.4.0-mas-arm64-symbols.zip": "d45aba63bdf51f2216ab583a997e733d391c8ad86872bf4d83b3d9862b006c74",
|
|
33
|
+
"electron-v43.4.0-mas-arm64.zip": "8037c385407a2efc9b85b0d1b39121735571e0bc6a00eb44d29c1873fbe1a9d3",
|
|
34
|
+
"electron-v43.4.0-mas-x64-dsym-snapshot.zip": "a00b06a86333c9a9bcf74ae6d0caa52fe0791086e13df7470790fa018377e070",
|
|
35
|
+
"electron-v43.4.0-mas-x64-dsym.tar.xz": "8aca562763126d98db666b062c2507488a9a544d0b43c56e0292e8ccf4f53225",
|
|
36
|
+
"electron-v43.4.0-mas-x64-symbols.zip": "b3b30cbfe91f6661080f4cd0a67d3c5ac958b1dafb9b8d5318d2b3d5cf3469b8",
|
|
37
|
+
"electron-v43.4.0-mas-x64.zip": "a51158c5bb802cd441049fd733bfe803b6b5581f01dd83bbfb5cee07b45626c4",
|
|
38
|
+
"electron-v43.4.0-win32-arm64-pdb.zip": "3cb3258991ecba5b8c887716fabb330a2ab9fe388e0d5dbcd7948f38faf67b03",
|
|
39
|
+
"electron-v43.4.0-win32-arm64-symbols.zip": "19f53a29e220eb1ddf4a018d76b8f668d9d787c589f7b724bc49f8502cbdc671",
|
|
40
|
+
"electron-v43.4.0-win32-arm64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
|
|
41
|
+
"electron-v43.4.0-win32-arm64.zip": "cec4e502e5db33b432adcf1278072fb14b9edeb88403e0952e4b864bdf51b0ef",
|
|
42
|
+
"electron-v43.4.0-win32-ia32-pdb.zip": "4123a5fb3b564de903648915ddef685bd15a9c6daeaa6e82680dd8cbdd015890",
|
|
43
|
+
"electron-v43.4.0-win32-ia32-symbols.zip": "7909b9c8a0c4419f918280f9ad44a5f3c94355b0653d736716274d94e56c8a91",
|
|
44
|
+
"electron-v43.4.0-win32-ia32-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
|
|
45
|
+
"electron-v43.4.0-win32-ia32.zip": "3a61c1eb57f78c41528701bb30d96dd06d6be68c14ba9e0d81d654cc8302508e",
|
|
46
|
+
"electron-v43.4.0-win32-x64-pdb.zip": "95da0eea30721af522b9139b72207f5c6061e7386555ff97076bdf37adce61db",
|
|
47
|
+
"electron-v43.4.0-win32-x64-symbols.zip": "f257210ffe132c8bb9e1c44f42dc58219b3813462a9192cc80eefc2719c689a8",
|
|
48
|
+
"electron-v43.4.0-win32-x64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
|
|
49
|
+
"electron-v43.4.0-win32-x64.zip": "ef0709cfa719739acce73de6f9b684304baf38c6454376638a70d34a7cecffe0",
|
|
50
|
+
"electron.d.ts": "4d3df2ffb4e7a17c87406c05006b376dfee44f43efbebdcbda2f4edca4933cbd",
|
|
51
|
+
"ffmpeg-v43.4.0-darwin-arm64.zip": "040baa8508ca1f19c4b4cd226d6f218f3f82c2e0d3fa68bbb7a574b1e91394ca",
|
|
52
|
+
"ffmpeg-v43.4.0-darwin-x64.zip": "56e3974865d2263159a26348bda5607a55e6165ba9db2f5d82ea45dd76b39452",
|
|
53
|
+
"ffmpeg-v43.4.0-linux-arm64.zip": "70f389e13a6c1b154861ccaa702198afa253057156bc81159accea0881799cb8",
|
|
54
|
+
"ffmpeg-v43.4.0-linux-armv7l.zip": "001847bd19549781850fd6f69941a54f92356ed26bca02892e9642637215668d",
|
|
55
|
+
"ffmpeg-v43.4.0-linux-x64.zip": "0be0a3ab9e3c08a71e6d989562118556c39b867bb821889cdfc0fb92d872e486",
|
|
56
|
+
"ffmpeg-v43.4.0-mas-arm64.zip": "a270ae596d2b62bc6da47320dd15abb88acaac995f8c7d35e07d848bdedab09e",
|
|
57
|
+
"ffmpeg-v43.4.0-mas-x64.zip": "c3124da87c76656ad04af92261c0e231fe05862dce9fdce9709a554ce87f4074",
|
|
58
|
+
"ffmpeg-v43.4.0-win32-arm64.zip": "baddcf2eea3f65089a04aee9b9b7186f2b7e8bb43c4ba7663bb00c2ba50a3533",
|
|
59
|
+
"ffmpeg-v43.4.0-win32-ia32.zip": "46bb8bb91419e1a0280240a70b6da97fde7d301f07888a37fddb6a9650b99fe9",
|
|
60
|
+
"ffmpeg-v43.4.0-win32-x64.zip": "eb12e776d9580688d99b83f54e2cebaa729b06f78dabe639df73f14a067ed9bf",
|
|
61
|
+
"hunspell_dictionaries.zip": "d03ef351bad81d4a8db0ec4d69b618cd17978a18e2674b4a920f29fe50167135",
|
|
62
|
+
"libcxx-objects-v43.4.0-linux-arm64.zip": "b2649f02378148c1bfe11410bfe24ebccb7e5193c60d4bad7954cef9fe3ee64b",
|
|
63
|
+
"libcxx-objects-v43.4.0-linux-armv7l.zip": "b8ad9133f5338e18c681eaba7406a479047f1b8c67341dac5b845cc7ecf4e542",
|
|
64
|
+
"libcxx-objects-v43.4.0-linux-x64.zip": "9037ce78ce5fc48b27ca140d263102d843e2dec9d88f665534ee6e197a1b8d9c",
|
|
65
|
+
"libcxx_headers.zip": "c7f95e48490b769221edee27ce9142bdb39266616fbbc2405a25734ddba5d49b",
|
|
66
|
+
"libcxxabi_headers.zip": "0cd1ca2c3de86f979a1379fc3e9f66f11165a433ef88ecd32cd3ae865ef39c12",
|
|
67
|
+
"mksnapshot-v43.4.0-darwin-arm64.zip": "c55a95e48187655d230bf01de7b0d0dce0f9a308818e078a9cedfd845e8a5449",
|
|
68
|
+
"mksnapshot-v43.4.0-darwin-x64.zip": "5699cd39f2250980ba0d2cb3b3fe00fff22e66bb9371810d5959385a8885e366",
|
|
69
|
+
"mksnapshot-v43.4.0-linux-arm64-x64.zip": "847d62dc67acd647b5fdf02b78ed36f02ed1507e1e8409daf0038ef5d78253ae",
|
|
70
|
+
"mksnapshot-v43.4.0-linux-armv7l-x64.zip": "69ec18deadfdd4e3dc6bed2594d6049905a3cc45f107c956478d45c1500db440",
|
|
71
|
+
"mksnapshot-v43.4.0-linux-x64.zip": "08e437a7d1ba338de9faba0e2fbff9cac9ac002f1d3d8b0a6d990038a90c8450",
|
|
72
|
+
"mksnapshot-v43.4.0-mas-arm64.zip": "574b7d36384ca89d09271805224f4729a3df9be0f014d9e3a8d82eec3907be37",
|
|
73
|
+
"mksnapshot-v43.4.0-mas-x64.zip": "26c3f5fc1baf83a7ce8090f0e838d68c7826d1ddbb1e818298fa94a486e8391d",
|
|
74
|
+
"mksnapshot-v43.4.0-win32-arm64-x64.zip": "2fabd7c4c2c896ebdedaea186d8dcabad5bf127e58ed2c7c14bc6065edb1e204",
|
|
75
|
+
"mksnapshot-v43.4.0-win32-ia32.zip": "6c1132e59f0f828188f66f2f824764ebd947b5f44d4f1415a834666e32d08a92",
|
|
76
|
+
"mksnapshot-v43.4.0-win32-x64.zip": "c3a941e93336a8237369216a988441fb8ef397521d728f839387db2ceb75c24c"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 43.
|
|
1
|
+
// Type definitions for Electron 43.4.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
|
|
@@ -50,7 +50,7 @@ declare namespace Electron {
|
|
|
50
50
|
// Docs: https://electronjs.org/docs/api/app
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* Emitted when
|
|
53
|
+
* Emitted when Chromium's accessibility support changes. This event fires when
|
|
54
54
|
* assistive technologies, such as screen readers, are enabled or disabled. See
|
|
55
55
|
* https://www.chromium.org/developers/design-documents/accessibility for more
|
|
56
56
|
* details.
|
|
@@ -59,7 +59,7 @@ declare namespace Electron {
|
|
|
59
59
|
*/
|
|
60
60
|
on(event: 'accessibility-support-changed', listener: (event: Event,
|
|
61
61
|
/**
|
|
62
|
-
* `true` when
|
|
62
|
+
* `true` when Chromium's accessibility support is enabled, `false` otherwise.
|
|
63
63
|
*/
|
|
64
64
|
accessibilitySupportEnabled: boolean) => void): this;
|
|
65
65
|
/**
|
|
@@ -67,7 +67,7 @@ declare namespace Electron {
|
|
|
67
67
|
*/
|
|
68
68
|
off(event: 'accessibility-support-changed', listener: (event: Event,
|
|
69
69
|
/**
|
|
70
|
-
* `true` when
|
|
70
|
+
* `true` when Chromium's accessibility support is enabled, `false` otherwise.
|
|
71
71
|
*/
|
|
72
72
|
accessibilitySupportEnabled: boolean) => void): this;
|
|
73
73
|
/**
|
|
@@ -75,7 +75,7 @@ declare namespace Electron {
|
|
|
75
75
|
*/
|
|
76
76
|
once(event: 'accessibility-support-changed', listener: (event: Event,
|
|
77
77
|
/**
|
|
78
|
-
* `true` when
|
|
78
|
+
* `true` when Chromium's accessibility support is enabled, `false` otherwise.
|
|
79
79
|
*/
|
|
80
80
|
accessibilitySupportEnabled: boolean) => void): this;
|
|
81
81
|
/**
|
|
@@ -83,7 +83,7 @@ declare namespace Electron {
|
|
|
83
83
|
*/
|
|
84
84
|
addListener(event: 'accessibility-support-changed', listener: (event: Event,
|
|
85
85
|
/**
|
|
86
|
-
* `true` when
|
|
86
|
+
* `true` when Chromium's accessibility support is enabled, `false` otherwise.
|
|
87
87
|
*/
|
|
88
88
|
accessibilitySupportEnabled: boolean) => void): this;
|
|
89
89
|
/**
|
|
@@ -91,7 +91,7 @@ declare namespace Electron {
|
|
|
91
91
|
*/
|
|
92
92
|
removeListener(event: 'accessibility-support-changed', listener: (event: Event,
|
|
93
93
|
/**
|
|
94
|
-
* `true` when
|
|
94
|
+
* `true` when Chromium's accessibility support is enabled, `false` otherwise.
|
|
95
95
|
*/
|
|
96
96
|
accessibilitySupportEnabled: boolean) => void): this;
|
|
97
97
|
/**
|
|
@@ -1396,9 +1396,9 @@ declare namespace Electron {
|
|
|
1396
1396
|
*/
|
|
1397
1397
|
invalidateCurrentActivity(): void;
|
|
1398
1398
|
/**
|
|
1399
|
-
* `true` if
|
|
1400
|
-
* will return `true` if the use of assistive technologies, such as screen
|
|
1401
|
-
* has been detected. See
|
|
1399
|
+
* `true` if Chromium's accessibility support is enabled, `false` otherwise. This
|
|
1400
|
+
* API will return `true` if the use of assistive technologies, such as screen
|
|
1401
|
+
* readers, has been detected. See
|
|
1402
1402
|
* https://www.chromium.org/developers/design-documents/accessibility for more
|
|
1403
1403
|
* details.
|
|
1404
1404
|
*
|
|
@@ -1589,7 +1589,7 @@ declare namespace Electron {
|
|
|
1589
1589
|
*/
|
|
1590
1590
|
setAboutPanelOptions(options: AboutPanelOptionsOptions): void;
|
|
1591
1591
|
/**
|
|
1592
|
-
* Manually enables
|
|
1592
|
+
* Manually enables Chromium's accessibility support, allowing to expose
|
|
1593
1593
|
* accessibility switch to users in application settings. See Chromium's
|
|
1594
1594
|
* accessibility docs for more details. Disabled by default.
|
|
1595
1595
|
*
|
|
@@ -1898,10 +1898,10 @@ declare namespace Electron {
|
|
|
1898
1898
|
*/
|
|
1899
1899
|
whenReady(): Promise<void>;
|
|
1900
1900
|
/**
|
|
1901
|
-
* A `boolean` property that's `true` if
|
|
1902
|
-
* `false` otherwise. This property will be `true` if the use of assistive
|
|
1901
|
+
* A `boolean` property that's `true` if Chromium's accessibility support is
|
|
1902
|
+
* enabled, `false` otherwise. This property will be `true` if the use of assistive
|
|
1903
1903
|
* technologies, such as screen readers, has been detected. Setting this property
|
|
1904
|
-
* to `true` manually enables
|
|
1904
|
+
* to `true` manually enables Chromium's accessibility support, allowing developers
|
|
1905
1905
|
* to expose accessibility switch to users in application settings.
|
|
1906
1906
|
*
|
|
1907
1907
|
* See Chromium's accessibility docs for more details. Disabled by default.
|
|
@@ -10182,8 +10182,8 @@ declare namespace Electron {
|
|
|
10182
10182
|
* see Response.
|
|
10183
10183
|
*
|
|
10184
10184
|
* Sends a request, similarly to how `fetch()` works in the renderer, using
|
|
10185
|
-
*
|
|
10186
|
-
* HTTP stack.
|
|
10185
|
+
* Chromium's network stack. This differs from Node's `fetch()`, which uses
|
|
10186
|
+
* Node.js's HTTP stack.
|
|
10187
10187
|
*
|
|
10188
10188
|
* Example:
|
|
10189
10189
|
*
|
|
@@ -11189,6 +11189,95 @@ declare namespace Electron {
|
|
|
11189
11189
|
options: Options;
|
|
11190
11190
|
}
|
|
11191
11191
|
|
|
11192
|
+
interface PrintToPDFMargins {
|
|
11193
|
+
|
|
11194
|
+
// Docs: https://electronjs.org/docs/api/structures/print-to-pdf-margins
|
|
11195
|
+
|
|
11196
|
+
/**
|
|
11197
|
+
* Bottom margin in inches. Defaults to 1cm (~0.4 inches).
|
|
11198
|
+
*/
|
|
11199
|
+
bottom?: number;
|
|
11200
|
+
/**
|
|
11201
|
+
* Left margin in inches. Defaults to 1cm (~0.4 inches).
|
|
11202
|
+
*/
|
|
11203
|
+
left?: number;
|
|
11204
|
+
/**
|
|
11205
|
+
* Right margin in inches. Defaults to 1cm (~0.4 inches).
|
|
11206
|
+
*/
|
|
11207
|
+
right?: number;
|
|
11208
|
+
/**
|
|
11209
|
+
* Top margin in inches. Defaults to 1cm (~0.4 inches).
|
|
11210
|
+
*/
|
|
11211
|
+
top?: number;
|
|
11212
|
+
}
|
|
11213
|
+
|
|
11214
|
+
interface PrintToPDFOptions {
|
|
11215
|
+
|
|
11216
|
+
// Docs: https://electronjs.org/docs/api/structures/print-to-pdf-options
|
|
11217
|
+
|
|
11218
|
+
/**
|
|
11219
|
+
* Whether to display header and footer. Defaults to false.
|
|
11220
|
+
*/
|
|
11221
|
+
displayHeaderFooter?: boolean;
|
|
11222
|
+
/**
|
|
11223
|
+
* HTML template for the print footer. Should use the same format as the
|
|
11224
|
+
* `headerTemplate`.
|
|
11225
|
+
*/
|
|
11226
|
+
footerTemplate?: string;
|
|
11227
|
+
/**
|
|
11228
|
+
* Whether or not to generate a PDF document outline from content headers. Defaults
|
|
11229
|
+
* to false.
|
|
11230
|
+
*
|
|
11231
|
+
* @experimental
|
|
11232
|
+
*/
|
|
11233
|
+
generateDocumentOutline?: boolean;
|
|
11234
|
+
/**
|
|
11235
|
+
* Whether or not to generate a tagged (accessible) PDF. Defaults to false. As this
|
|
11236
|
+
* property is experimental, the generated PDF may not adhere fully to PDF/UA and
|
|
11237
|
+
* WCAG standards.
|
|
11238
|
+
*
|
|
11239
|
+
* @experimental
|
|
11240
|
+
*/
|
|
11241
|
+
generateTaggedPDF?: boolean;
|
|
11242
|
+
/**
|
|
11243
|
+
* HTML template for the print header. Should be valid HTML markup with following
|
|
11244
|
+
* classes used to inject printing values into them: `date` (formatted print date),
|
|
11245
|
+
* `title` (document title), `url` (document location), `pageNumber` (current page
|
|
11246
|
+
* number) and `totalPages` (total pages in the document). For example, `<span
|
|
11247
|
+
* class=title></span>` would generate span containing the title.
|
|
11248
|
+
*/
|
|
11249
|
+
headerTemplate?: string;
|
|
11250
|
+
/**
|
|
11251
|
+
* Paper orientation.`true` for landscape, `false` for portrait. Defaults to false.
|
|
11252
|
+
*/
|
|
11253
|
+
landscape?: boolean;
|
|
11254
|
+
margins?: PrintToPDFMargins;
|
|
11255
|
+
/**
|
|
11256
|
+
* Page ranges to print, e.g., '1-5, 8, 11-13'. Defaults to the empty string, which
|
|
11257
|
+
* means print all pages.
|
|
11258
|
+
*/
|
|
11259
|
+
pageRanges?: string;
|
|
11260
|
+
/**
|
|
11261
|
+
* Specify page size of the generated PDF. Can be `A0`, `A1`, `A2`, `A3`, `A4`,
|
|
11262
|
+
* `A5`, `A6`, `Legal`, `Letter`, `Tabloid`, `Ledger`, or an Object containing
|
|
11263
|
+
* `height` and `width` in inches. Defaults to `Letter`.
|
|
11264
|
+
*/
|
|
11265
|
+
pageSize?: (('A0' | 'A1' | 'A2' | 'A3' | 'A4' | 'A5' | 'A6' | 'Legal' | 'Letter' | 'Tabloid' | 'Ledger')) | (Size);
|
|
11266
|
+
/**
|
|
11267
|
+
* Whether or not to prefer page size as defined by css. Defaults to false, in
|
|
11268
|
+
* which case the content will be scaled to fit the paper size.
|
|
11269
|
+
*/
|
|
11270
|
+
preferCSSPageSize?: boolean;
|
|
11271
|
+
/**
|
|
11272
|
+
* Whether to print background graphics. Defaults to false.
|
|
11273
|
+
*/
|
|
11274
|
+
printBackground?: boolean;
|
|
11275
|
+
/**
|
|
11276
|
+
* Scale of the webpage rendering. Defaults to 1.
|
|
11277
|
+
*/
|
|
11278
|
+
scale?: number;
|
|
11279
|
+
}
|
|
11280
|
+
|
|
11192
11281
|
interface ProcessMemoryInfo {
|
|
11193
11282
|
|
|
11194
11283
|
// Docs: https://electronjs.org/docs/api/structures/process-memory-info
|
|
@@ -12956,8 +13045,8 @@ declare namespace Electron {
|
|
|
12956
13045
|
* see Response.
|
|
12957
13046
|
*
|
|
12958
13047
|
* Sends a request, similarly to how `fetch()` works in the renderer, using
|
|
12959
|
-
*
|
|
12960
|
-
* HTTP stack.
|
|
13048
|
+
* Chromium's network stack. This differs from Node's `fetch()`, which uses
|
|
13049
|
+
* Node.js's HTTP stack.
|
|
12961
13050
|
*
|
|
12962
13051
|
* Example:
|
|
12963
13052
|
*
|
|
@@ -17111,23 +17200,23 @@ declare namespace Electron {
|
|
|
17111
17200
|
* The usage is the same with the `login` event of `app`.
|
|
17112
17201
|
*/
|
|
17113
17202
|
on(event: 'login', listener: (event: Event,
|
|
17114
|
-
authenticationResponseDetails:
|
|
17203
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17115
17204
|
authInfo: AuthInfo,
|
|
17116
17205
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17117
17206
|
off(event: 'login', listener: (event: Event,
|
|
17118
|
-
authenticationResponseDetails:
|
|
17207
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17119
17208
|
authInfo: AuthInfo,
|
|
17120
17209
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17121
17210
|
once(event: 'login', listener: (event: Event,
|
|
17122
|
-
authenticationResponseDetails:
|
|
17211
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17123
17212
|
authInfo: AuthInfo,
|
|
17124
17213
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17125
17214
|
addListener(event: 'login', listener: (event: Event,
|
|
17126
|
-
authenticationResponseDetails:
|
|
17215
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17127
17216
|
authInfo: AuthInfo,
|
|
17128
17217
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17129
17218
|
removeListener(event: 'login', listener: (event: Event,
|
|
17130
|
-
authenticationResponseDetails:
|
|
17219
|
+
authenticationResponseDetails: AuthenticationResponseDetails,
|
|
17131
17220
|
authInfo: AuthInfo,
|
|
17132
17221
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
17133
17222
|
/**
|
|
@@ -18934,6 +19023,22 @@ declare namespace Electron {
|
|
|
18934
19023
|
* For example:
|
|
18935
19024
|
*/
|
|
18936
19025
|
postMessage(channel: string, message: any, transfer?: MessagePortMain[]): void;
|
|
19026
|
+
/**
|
|
19027
|
+
* Resolves with the generated PDF data.
|
|
19028
|
+
*
|
|
19029
|
+
* Prints the frame's web page as PDF.
|
|
19030
|
+
*
|
|
19031
|
+
* Unlike `webContents.printToPDF`, this method prints only the contents of the
|
|
19032
|
+
* frame it is called on. This can be used to print an individual `<iframe>` from
|
|
19033
|
+
* the main process.
|
|
19034
|
+
*
|
|
19035
|
+
* The `landscape` will be ignored if `@page` CSS at-rule is used in the web page.
|
|
19036
|
+
*
|
|
19037
|
+
* An example of printing an iframe to PDF:
|
|
19038
|
+
*
|
|
19039
|
+
* See Page.printToPdf for more information.
|
|
19040
|
+
*/
|
|
19041
|
+
printToPDF(options: PrintToPDFOptions): Promise<Buffer>;
|
|
18937
19042
|
/**
|
|
18938
19043
|
* Whether the reload was initiated successfully. Only results in `false` when the
|
|
18939
19044
|
* frame has no history.
|
|
@@ -20451,6 +20556,18 @@ declare namespace Electron {
|
|
|
20451
20556
|
interface AuthenticationResponseDetails {
|
|
20452
20557
|
url: string;
|
|
20453
20558
|
pid: number;
|
|
20559
|
+
/**
|
|
20560
|
+
* Indicates whether the request is for a navigation.
|
|
20561
|
+
*/
|
|
20562
|
+
isRequestForNavigation: boolean;
|
|
20563
|
+
/**
|
|
20564
|
+
* Indicates whether this is the first authentication attempt.
|
|
20565
|
+
*/
|
|
20566
|
+
firstAuthAttempt: boolean;
|
|
20567
|
+
/**
|
|
20568
|
+
* The headers returned in the response.
|
|
20569
|
+
*/
|
|
20570
|
+
responseHeaders?: Record<string, (string) | (string[])>;
|
|
20454
20571
|
}
|
|
20455
20572
|
|
|
20456
20573
|
interface AuthInfo {
|
|
@@ -22006,10 +22123,6 @@ declare namespace Electron {
|
|
|
22006
22123
|
baseURLForDataURL?: string;
|
|
22007
22124
|
}
|
|
22008
22125
|
|
|
22009
|
-
interface LoginAuthenticationResponseDetails {
|
|
22010
|
-
url: string;
|
|
22011
|
-
}
|
|
22012
|
-
|
|
22013
22126
|
interface LoginItemSettings {
|
|
22014
22127
|
/**
|
|
22015
22128
|
* `true` if the app is set to open at login.
|
|
@@ -23085,70 +23198,6 @@ declare namespace Electron {
|
|
|
23085
23198
|
numSockets?: number;
|
|
23086
23199
|
}
|
|
23087
23200
|
|
|
23088
|
-
interface PrintToPDFOptions {
|
|
23089
|
-
/**
|
|
23090
|
-
* Paper orientation.`true` for landscape, `false` for portrait. Defaults to false.
|
|
23091
|
-
*/
|
|
23092
|
-
landscape?: boolean;
|
|
23093
|
-
/**
|
|
23094
|
-
* Whether to display header and footer. Defaults to false.
|
|
23095
|
-
*/
|
|
23096
|
-
displayHeaderFooter?: boolean;
|
|
23097
|
-
/**
|
|
23098
|
-
* Whether to print background graphics. Defaults to false.
|
|
23099
|
-
*/
|
|
23100
|
-
printBackground?: boolean;
|
|
23101
|
-
/**
|
|
23102
|
-
* Scale of the webpage rendering. Defaults to 1.
|
|
23103
|
-
*/
|
|
23104
|
-
scale?: number;
|
|
23105
|
-
/**
|
|
23106
|
-
* Specify page size of the generated PDF. Can be `A0`, `A1`, `A2`, `A3`, `A4`,
|
|
23107
|
-
* `A5`, `A6`, `Legal`, `Letter`, `Tabloid`, `Ledger`, or an Object containing
|
|
23108
|
-
* `height` and `width` in inches. Defaults to `Letter`.
|
|
23109
|
-
*/
|
|
23110
|
-
pageSize?: (('A0' | 'A1' | 'A2' | 'A3' | 'A4' | 'A5' | 'A6' | 'Legal' | 'Letter' | 'Tabloid' | 'Ledger')) | (Size);
|
|
23111
|
-
margins?: Margins;
|
|
23112
|
-
/**
|
|
23113
|
-
* Page ranges to print, e.g., '1-5, 8, 11-13'. Defaults to the empty string, which
|
|
23114
|
-
* means print all pages.
|
|
23115
|
-
*/
|
|
23116
|
-
pageRanges?: string;
|
|
23117
|
-
/**
|
|
23118
|
-
* HTML template for the print header. Should be valid HTML markup with following
|
|
23119
|
-
* classes used to inject printing values into them: `date` (formatted print date),
|
|
23120
|
-
* `title` (document title), `url` (document location), `pageNumber` (current page
|
|
23121
|
-
* number) and `totalPages` (total pages in the document). For example, `<span
|
|
23122
|
-
* class=title></span>` would generate span containing the title.
|
|
23123
|
-
*/
|
|
23124
|
-
headerTemplate?: string;
|
|
23125
|
-
/**
|
|
23126
|
-
* HTML template for the print footer. Should use the same format as the
|
|
23127
|
-
* `headerTemplate`.
|
|
23128
|
-
*/
|
|
23129
|
-
footerTemplate?: string;
|
|
23130
|
-
/**
|
|
23131
|
-
* Whether or not to prefer page size as defined by css. Defaults to false, in
|
|
23132
|
-
* which case the content will be scaled to fit the paper size.
|
|
23133
|
-
*/
|
|
23134
|
-
preferCSSPageSize?: boolean;
|
|
23135
|
-
/**
|
|
23136
|
-
* Whether or not to generate a tagged (accessible) PDF. Defaults to false. As this
|
|
23137
|
-
* property is experimental, the generated PDF may not adhere fully to PDF/UA and
|
|
23138
|
-
* WCAG standards.
|
|
23139
|
-
*
|
|
23140
|
-
* @experimental
|
|
23141
|
-
*/
|
|
23142
|
-
generateTaggedPDF?: boolean;
|
|
23143
|
-
/**
|
|
23144
|
-
* Whether or not to generate a PDF document outline from content headers. Defaults
|
|
23145
|
-
* to false.
|
|
23146
|
-
*
|
|
23147
|
-
* @experimental
|
|
23148
|
-
*/
|
|
23149
|
-
generateDocumentOutline?: boolean;
|
|
23150
|
-
}
|
|
23151
|
-
|
|
23152
23201
|
interface Privileges {
|
|
23153
23202
|
/**
|
|
23154
23203
|
* Default false.
|
|
@@ -23690,6 +23739,15 @@ declare namespace Electron {
|
|
|
23690
23739
|
* The total amount of memory not being used by applications or disk cache.
|
|
23691
23740
|
*/
|
|
23692
23741
|
free: number;
|
|
23742
|
+
/**
|
|
23743
|
+
* The kernel's estimate of the amount of memory available for allocation without
|
|
23744
|
+
* swapping, from `/proc/meminfo` `MemAvailable`. Use this as the memory pressure
|
|
23745
|
+
* signal on Linux; `free` there is `MemFree`, which excludes page cache and other
|
|
23746
|
+
* reclaimable memory.
|
|
23747
|
+
*
|
|
23748
|
+
* @platform linux
|
|
23749
|
+
*/
|
|
23750
|
+
available: number;
|
|
23693
23751
|
/**
|
|
23694
23752
|
* The amount of memory that currently has been paged out to storage. Includes
|
|
23695
23753
|
* memory for file caches, network buffers, and other system services.
|
|
@@ -25043,7 +25101,6 @@ declare namespace Electron {
|
|
|
25043
25101
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
25044
25102
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
25045
25103
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
25046
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
25047
25104
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
25048
25105
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
25049
25106
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -25083,7 +25140,6 @@ declare namespace Electron {
|
|
|
25083
25140
|
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
25084
25141
|
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
|
25085
25142
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
25086
|
-
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
25087
25143
|
type Privileges = Electron.Privileges;
|
|
25088
25144
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
25089
25145
|
type Provider = Electron.Provider;
|
|
@@ -25226,6 +25282,8 @@ declare namespace Electron {
|
|
|
25226
25282
|
type PreloadScript = Electron.PreloadScript;
|
|
25227
25283
|
type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
|
|
25228
25284
|
type PrinterInfo = Electron.PrinterInfo;
|
|
25285
|
+
type PrintToPDFMargins = Electron.PrintToPDFMargins;
|
|
25286
|
+
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
25229
25287
|
type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
|
|
25230
25288
|
type ProcessMetric = Electron.ProcessMetric;
|
|
25231
25289
|
type Product = Electron.Product;
|
|
@@ -25452,7 +25510,6 @@ declare namespace Electron {
|
|
|
25452
25510
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
25453
25511
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
25454
25512
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
25455
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
25456
25513
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
25457
25514
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
25458
25515
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -25492,7 +25549,6 @@ declare namespace Electron {
|
|
|
25492
25549
|
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
25493
25550
|
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
|
25494
25551
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
25495
|
-
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
25496
25552
|
type Privileges = Electron.Privileges;
|
|
25497
25553
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
25498
25554
|
type Provider = Electron.Provider;
|
|
@@ -25635,6 +25691,8 @@ declare namespace Electron {
|
|
|
25635
25691
|
type PreloadScript = Electron.PreloadScript;
|
|
25636
25692
|
type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
|
|
25637
25693
|
type PrinterInfo = Electron.PrinterInfo;
|
|
25694
|
+
type PrintToPDFMargins = Electron.PrintToPDFMargins;
|
|
25695
|
+
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
25638
25696
|
type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
|
|
25639
25697
|
type ProcessMetric = Electron.ProcessMetric;
|
|
25640
25698
|
type Product = Electron.Product;
|
|
@@ -25788,7 +25846,6 @@ declare namespace Electron {
|
|
|
25788
25846
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
25789
25847
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
25790
25848
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
25791
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
25792
25849
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
25793
25850
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
25794
25851
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -25828,7 +25885,6 @@ declare namespace Electron {
|
|
|
25828
25885
|
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
25829
25886
|
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
|
25830
25887
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
25831
|
-
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
25832
25888
|
type Privileges = Electron.Privileges;
|
|
25833
25889
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
25834
25890
|
type Provider = Electron.Provider;
|
|
@@ -25971,6 +26027,8 @@ declare namespace Electron {
|
|
|
25971
26027
|
type PreloadScript = Electron.PreloadScript;
|
|
25972
26028
|
type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
|
|
25973
26029
|
type PrinterInfo = Electron.PrinterInfo;
|
|
26030
|
+
type PrintToPDFMargins = Electron.PrintToPDFMargins;
|
|
26031
|
+
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
25974
26032
|
type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
|
|
25975
26033
|
type ProcessMetric = Electron.ProcessMetric;
|
|
25976
26034
|
type Product = Electron.Product;
|
|
@@ -26123,7 +26181,6 @@ declare namespace Electron {
|
|
|
26123
26181
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
26124
26182
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
26125
26183
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
26126
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
26127
26184
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
26128
26185
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
26129
26186
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -26163,7 +26220,6 @@ declare namespace Electron {
|
|
|
26163
26220
|
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
26164
26221
|
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
|
26165
26222
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
26166
|
-
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
26167
26223
|
type Privileges = Electron.Privileges;
|
|
26168
26224
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
26169
26225
|
type Provider = Electron.Provider;
|
|
@@ -26306,6 +26362,8 @@ declare namespace Electron {
|
|
|
26306
26362
|
type PreloadScript = Electron.PreloadScript;
|
|
26307
26363
|
type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
|
|
26308
26364
|
type PrinterInfo = Electron.PrinterInfo;
|
|
26365
|
+
type PrintToPDFMargins = Electron.PrintToPDFMargins;
|
|
26366
|
+
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
26309
26367
|
type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
|
|
26310
26368
|
type ProcessMetric = Electron.ProcessMetric;
|
|
26311
26369
|
type Product = Electron.Product;
|
|
@@ -26553,7 +26611,6 @@ declare namespace Electron {
|
|
|
26553
26611
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
26554
26612
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
26555
26613
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
26556
|
-
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
26557
26614
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
26558
26615
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
26559
26616
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -26593,7 +26650,6 @@ declare namespace Electron {
|
|
|
26593
26650
|
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
26594
26651
|
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
|
26595
26652
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
26596
|
-
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
26597
26653
|
type Privileges = Electron.Privileges;
|
|
26598
26654
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
26599
26655
|
type Provider = Electron.Provider;
|
|
@@ -26736,6 +26792,8 @@ declare namespace Electron {
|
|
|
26736
26792
|
type PreloadScript = Electron.PreloadScript;
|
|
26737
26793
|
type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
|
|
26738
26794
|
type PrinterInfo = Electron.PrinterInfo;
|
|
26795
|
+
type PrintToPDFMargins = Electron.PrintToPDFMargins;
|
|
26796
|
+
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
26739
26797
|
type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
|
|
26740
26798
|
type ProcessMetric = Electron.ProcessMetric;
|
|
26741
26799
|
type Product = Electron.Product;
|
|
@@ -26948,6 +27006,10 @@ declare namespace NodeJS {
|
|
|
26948
27006
|
* to the system.
|
|
26949
27007
|
* * `free` Integer - The total amount of memory not being used by applications or
|
|
26950
27008
|
* disk cache.
|
|
27009
|
+
* * `available` Integer _Linux_ - The kernel's estimate of the amount of memory
|
|
27010
|
+
* available for allocation without swapping, from `/proc/meminfo` `MemAvailable`.
|
|
27011
|
+
* Use this as the memory pressure signal on Linux; `free` there is `MemFree`,
|
|
27012
|
+
* which excludes page cache and other reclaimable memory.
|
|
26951
27013
|
* * `fileBacked` Integer _macOS_ - The amount of memory that currently has been
|
|
26952
27014
|
* paged out to storage. Includes memory for file caches, network buffers, and
|
|
26953
27015
|
* other system services.
|