electron 44.0.0-alpha.7 → 44.0.0-alpha.8
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/README.md +3 -4
- package/checksums.json +61 -61
- package/electron.d.ts +67 -113
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,10 +39,9 @@ Each Electron release provides binaries for macOS, Windows, and Linux.
|
|
|
39
39
|
|
|
40
40
|
* macOS (Ventura and up): Electron provides 64-bit Intel and Apple Silicon / ARM binaries for macOS.
|
|
41
41
|
* Windows (Windows 10 and up): Electron provides `x64` (`amd64`) and `arm64` binaries for Windows.
|
|
42
|
-
* Linux:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
* Debian 10 and newer
|
|
42
|
+
* Linux: Electron provides `x64` (`amd64`) and `arm64` binaries for Linux. Electron supports major Linux distributions (e.g., Ubuntu, Fedora, Debian) in versions that are still supported by both Chromium and the distro maker (without requiring a paid subscription). The prebuilt binaries are built on Ubuntu.
|
|
43
|
+
|
|
44
|
+
In general, Electron tries to [align with Chromium on platform support](https://support.google.com/chrome/answer/95346).
|
|
46
45
|
|
|
47
46
|
## Electron Fiddle
|
|
48
47
|
|
package/checksums.json
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v44.0.0-alpha.
|
|
3
|
-
"chromedriver-v44.0.0-alpha.
|
|
4
|
-
"chromedriver-v44.0.0-alpha.
|
|
5
|
-
"chromedriver-v44.0.0-alpha.
|
|
6
|
-
"chromedriver-v44.0.0-alpha.
|
|
7
|
-
"chromedriver-v44.0.0-alpha.
|
|
8
|
-
"chromedriver-v44.0.0-alpha.
|
|
9
|
-
"chromedriver-v44.0.0-alpha.
|
|
10
|
-
"electron-api.json": "
|
|
11
|
-
"electron-v44.0.0-alpha.
|
|
12
|
-
"electron-v44.0.0-alpha.
|
|
13
|
-
"electron-v44.0.0-alpha.
|
|
14
|
-
"electron-v44.0.0-alpha.
|
|
15
|
-
"electron-v44.0.0-alpha.
|
|
16
|
-
"electron-v44.0.0-alpha.
|
|
17
|
-
"electron-v44.0.0-alpha.
|
|
18
|
-
"electron-v44.0.0-alpha.
|
|
19
|
-
"electron-v44.0.0-alpha.
|
|
20
|
-
"electron-v44.0.0-alpha.
|
|
21
|
-
"electron-v44.0.0-alpha.
|
|
22
|
-
"electron-v44.0.0-alpha.
|
|
23
|
-
"electron-v44.0.0-alpha.
|
|
24
|
-
"electron-v44.0.0-alpha.
|
|
25
|
-
"electron-v44.0.0-alpha.
|
|
26
|
-
"electron-v44.0.0-alpha.
|
|
27
|
-
"electron-v44.0.0-alpha.
|
|
28
|
-
"electron-v44.0.0-alpha.
|
|
29
|
-
"electron-v44.0.0-alpha.
|
|
30
|
-
"electron-v44.0.0-alpha.
|
|
31
|
-
"electron-v44.0.0-alpha.
|
|
32
|
-
"electron-v44.0.0-alpha.
|
|
33
|
-
"electron-v44.0.0-alpha.
|
|
34
|
-
"electron-v44.0.0-alpha.
|
|
35
|
-
"electron-v44.0.0-alpha.
|
|
36
|
-
"electron-v44.0.0-alpha.
|
|
37
|
-
"electron-v44.0.0-alpha.
|
|
38
|
-
"electron-v44.0.0-alpha.
|
|
39
|
-
"electron-v44.0.0-alpha.
|
|
40
|
-
"electron-v44.0.0-alpha.
|
|
41
|
-
"electron.d.ts": "
|
|
42
|
-
"ffmpeg-v44.0.0-alpha.
|
|
43
|
-
"ffmpeg-v44.0.0-alpha.
|
|
44
|
-
"ffmpeg-v44.0.0-alpha.
|
|
45
|
-
"ffmpeg-v44.0.0-alpha.
|
|
46
|
-
"ffmpeg-v44.0.0-alpha.
|
|
47
|
-
"ffmpeg-v44.0.0-alpha.
|
|
48
|
-
"ffmpeg-v44.0.0-alpha.
|
|
49
|
-
"ffmpeg-v44.0.0-alpha.
|
|
50
|
-
"hunspell_dictionaries.zip": "
|
|
51
|
-
"libcxx-objects-v44.0.0-alpha.
|
|
52
|
-
"libcxx-objects-v44.0.0-alpha.
|
|
53
|
-
"libcxx_headers.zip": "
|
|
54
|
-
"libcxxabi_headers.zip": "
|
|
55
|
-
"mksnapshot-v44.0.0-alpha.
|
|
56
|
-
"mksnapshot-v44.0.0-alpha.
|
|
57
|
-
"mksnapshot-v44.0.0-alpha.
|
|
58
|
-
"mksnapshot-v44.0.0-alpha.
|
|
59
|
-
"mksnapshot-v44.0.0-alpha.
|
|
60
|
-
"mksnapshot-v44.0.0-alpha.
|
|
61
|
-
"mksnapshot-v44.0.0-alpha.
|
|
62
|
-
"mksnapshot-v44.0.0-alpha.
|
|
2
|
+
"chromedriver-v44.0.0-alpha.8-darwin-arm64.zip": "27d056c8abf32db31e18b76e2af4b1a985990b1ff0d1a02d864f416b6e6bbe4f",
|
|
3
|
+
"chromedriver-v44.0.0-alpha.8-darwin-x64.zip": "a3cbc7d89e2cc57e462e65c7643b543defe76c0cb0a31e7b45a158b99fd9bd26",
|
|
4
|
+
"chromedriver-v44.0.0-alpha.8-linux-arm64.zip": "ad6121ce5bb7bb314ab38ca47f73637ae0274b733d583fc54658ada80c5052d2",
|
|
5
|
+
"chromedriver-v44.0.0-alpha.8-linux-x64.zip": "f1e51eb74796f1b9befbdb547e8bcaf5d9aed6fd4fb25d2cdf5dcdcae5b74918",
|
|
6
|
+
"chromedriver-v44.0.0-alpha.8-mas-arm64.zip": "74055cffca7bbeabc4eedf2793d19c8d0cbf256c57e4a1eab2bf44df40939ae3",
|
|
7
|
+
"chromedriver-v44.0.0-alpha.8-mas-x64.zip": "fe805f161c59a544de0d511c76f7934ddaf749b4f80a26d17b857b355c3e870c",
|
|
8
|
+
"chromedriver-v44.0.0-alpha.8-win32-arm64.zip": "25d5477dd2454e6dcf8c65d65607226caa4f34dd909ec10d6b8ea5444baa29fa",
|
|
9
|
+
"chromedriver-v44.0.0-alpha.8-win32-x64.zip": "1d6361a1f6249d0664d0bfe28fb39c8ea887328298176e1c0614edac69c320a1",
|
|
10
|
+
"electron-api.json": "87c2b8c96f777567e2d6b819e026319b6407861af8ee72b181f38cdc67ae1620",
|
|
11
|
+
"electron-v44.0.0-alpha.8-darwin-arm64-dsym-snapshot.zip": "ee7a943453873a2907c955169f9275f32b38d28f51a12ecb938b4b8e86d79795",
|
|
12
|
+
"electron-v44.0.0-alpha.8-darwin-arm64-dsym.tar.xz": "21554e4939df6509a668ac406aacf73ee0dd72676bf6f4781d9cb83244ba85b3",
|
|
13
|
+
"electron-v44.0.0-alpha.8-darwin-arm64-symbols.zip": "fac2e6fa12139c43d169dcbc4d65fb04b5d290d4bdb07b2e88cad25fe300873f",
|
|
14
|
+
"electron-v44.0.0-alpha.8-darwin-arm64.zip": "5fe2f100f95133b85dd39ab64912525e2d610b603fd70fc6b4bb3bbc1350294f",
|
|
15
|
+
"electron-v44.0.0-alpha.8-darwin-x64-dsym-snapshot.zip": "919f56313fe4518a1d8fecefb44b8f3448288f2e16a835ecab500c00bf66223e",
|
|
16
|
+
"electron-v44.0.0-alpha.8-darwin-x64-dsym.tar.xz": "cf42d89daf16f6b799d7b5bb051428973007b91bf845d2c5521abd61c6c8d56c",
|
|
17
|
+
"electron-v44.0.0-alpha.8-darwin-x64-symbols.zip": "7151567da3bf0ff72d179f777966d358943b311ef1f5d2501b94b78c2336df3b",
|
|
18
|
+
"electron-v44.0.0-alpha.8-darwin-x64.zip": "f0aa9eabddbebf6169df313424e70cfbce46ed0d18b42220c67729ce10312c30",
|
|
19
|
+
"electron-v44.0.0-alpha.8-linux-arm64-debug.zip": "e3aae740bad6ab48ac2a3be4644d6d64909cd8502d1e19afdd326091380fc89f",
|
|
20
|
+
"electron-v44.0.0-alpha.8-linux-arm64-symbols.zip": "e3caca254b99eddd974b5a6e9d31d99c0a3c9961b09047525e93b4b8a6334787",
|
|
21
|
+
"electron-v44.0.0-alpha.8-linux-arm64.zip": "546b664b40117b6c8bda31b7140a9739f777906ea3f76ee290ba8faad8755dab",
|
|
22
|
+
"electron-v44.0.0-alpha.8-linux-x64-debug.zip": "457177a2307e61fadffb3619d384909f36b412483125e5769a472131df47ef61",
|
|
23
|
+
"electron-v44.0.0-alpha.8-linux-x64-symbols.zip": "4b2c480401556836110cd539a7020d8520f671e0004b524ac2cbc6ff526b2566",
|
|
24
|
+
"electron-v44.0.0-alpha.8-linux-x64.zip": "85e326a3bbce6e5b09230874b301fdc1146ee83ea65a5034559c5294c9600457",
|
|
25
|
+
"electron-v44.0.0-alpha.8-mas-arm64-dsym-snapshot.zip": "cc18e69502da971dfe367527d8d1b070fff98f56eac5b6c99c5821690c776e9d",
|
|
26
|
+
"electron-v44.0.0-alpha.8-mas-arm64-dsym.tar.xz": "5979dbd15fdde1a28ed4a595a2952e392d30aea0f0bd4365ab4f25d2b5dae537",
|
|
27
|
+
"electron-v44.0.0-alpha.8-mas-arm64-symbols.zip": "ccfe2aba277d3d91c7cccbf740009a41e43b5e04621384aaceaaa3407095e7ca",
|
|
28
|
+
"electron-v44.0.0-alpha.8-mas-arm64.zip": "3e13886b9c40d1df5a11a207d07a4e76838461ff74b8325f978587fb1f440b30",
|
|
29
|
+
"electron-v44.0.0-alpha.8-mas-x64-dsym-snapshot.zip": "ebb5054bd1ede5db94b2a51fe054b6d88a82bfc67aceee88430796fc75f54302",
|
|
30
|
+
"electron-v44.0.0-alpha.8-mas-x64-dsym.tar.xz": "6a32afc5a6b898761b1df24510eb5b4abfc7501b4eb9e6cd4872bd892a5e6045",
|
|
31
|
+
"electron-v44.0.0-alpha.8-mas-x64-symbols.zip": "33e9535067a1d23c0aab5313cb0f7dd6cf7d747d823d78524569b27c08ecec37",
|
|
32
|
+
"electron-v44.0.0-alpha.8-mas-x64.zip": "559ee3af1e4534eaa8e04e5cec526961a236aca1416ed95aebf6bdfa59b20bdc",
|
|
33
|
+
"electron-v44.0.0-alpha.8-win32-arm64-pdb.zip": "3fdcfbff9e3bdc045e73cb2eb124234945a848b69f20fa7a024d6afccbef5ec7",
|
|
34
|
+
"electron-v44.0.0-alpha.8-win32-arm64-symbols.zip": "25780fe58204bc8bba4f4891a6dd7c1022a4f51045f875ba85cdb132c2d3083b",
|
|
35
|
+
"electron-v44.0.0-alpha.8-win32-arm64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
|
|
36
|
+
"electron-v44.0.0-alpha.8-win32-arm64.zip": "06f230f1a5cb337984230ef7aa102d26f482a3f7af2c6e699cc85c566ffd187b",
|
|
37
|
+
"electron-v44.0.0-alpha.8-win32-x64-pdb.zip": "f31a6af7c7826669877212adbdbebd7e6aacccf23d266da960a8f9b57eb8a7bd",
|
|
38
|
+
"electron-v44.0.0-alpha.8-win32-x64-symbols.zip": "26edc5e02a92b1999a49e5f7304df3e0c78dabd7edfadbee27b2057a8c2e2000",
|
|
39
|
+
"electron-v44.0.0-alpha.8-win32-x64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
|
|
40
|
+
"electron-v44.0.0-alpha.8-win32-x64.zip": "1857a6b83cd8d0d99159a989e526bb0b41e5e7786626a179dc70dc124a42bd77",
|
|
41
|
+
"electron.d.ts": "c6c4d566762a5a74591c656978f740471b0cf997f7c5fb2ab15e65438d682253",
|
|
42
|
+
"ffmpeg-v44.0.0-alpha.8-darwin-arm64.zip": "a3f25d333840bbdae0d696ca5c454b8874a71a7d4df958cc17f7738f5d84c058",
|
|
43
|
+
"ffmpeg-v44.0.0-alpha.8-darwin-x64.zip": "7f3d04aa8704f2dcd97f134bccbcd16c738874100aa6a7f23ffdb8e8fd61fa48",
|
|
44
|
+
"ffmpeg-v44.0.0-alpha.8-linux-arm64.zip": "da453aa8631c2d24112ea9c01c0fbf82bf300f385e282e5f37c1655c6cef6236",
|
|
45
|
+
"ffmpeg-v44.0.0-alpha.8-linux-x64.zip": "752e6bff6a30cff96e24bfc3bc66eb41dfda2b85326227b90b34f6dad341ba2f",
|
|
46
|
+
"ffmpeg-v44.0.0-alpha.8-mas-arm64.zip": "aa03a4f8f8dd7180cc1a3ebed6b234c9df2f9be7053a33994fe0000dfaa4cecf",
|
|
47
|
+
"ffmpeg-v44.0.0-alpha.8-mas-x64.zip": "aedfa6ec55ead6251c61180b7b456074a78feadcc3ae27fe29b312a4ef61475e",
|
|
48
|
+
"ffmpeg-v44.0.0-alpha.8-win32-arm64.zip": "53bbe24bc7c5b2d093b5aaa908af815a38b84005183f63665c6f5ae64624fd6c",
|
|
49
|
+
"ffmpeg-v44.0.0-alpha.8-win32-x64.zip": "5aff2b7b518bc4d6d6c4f7dc4e798f9e1e1c1d2a0a9c81f7b035705ba3b22e66",
|
|
50
|
+
"hunspell_dictionaries.zip": "8cad9e21e51840642a1b11425f7b6025ee23b65fbab50635e916bf769be33002",
|
|
51
|
+
"libcxx-objects-v44.0.0-alpha.8-linux-arm64.zip": "f1eb847e12aa4feaf5bb18794e85dc9da8754872c649ee216747663449a7a4d8",
|
|
52
|
+
"libcxx-objects-v44.0.0-alpha.8-linux-x64.zip": "61023162542e0ffa40f78924b691a671d035aec0646738390cb844c3c487f150",
|
|
53
|
+
"libcxx_headers.zip": "9a909adf1fa420a6a4fe3b52bccdf4ab95ab80b8e71bbef3a3cbba47b0fd476e",
|
|
54
|
+
"libcxxabi_headers.zip": "be2f8fe6fea9b0bad2659dfe73aeaf40e8cc1bf25338d6cfb7b5e87c03bd2627",
|
|
55
|
+
"mksnapshot-v44.0.0-alpha.8-darwin-arm64.zip": "9ab1bd20a314f1405436bc7ec3248046579956a9d458e7d01ee6976c1ce127a1",
|
|
56
|
+
"mksnapshot-v44.0.0-alpha.8-darwin-x64.zip": "3d282b382a8349a6b09dab3a72d9ced7381b23cea13532e2330379793ba1a64a",
|
|
57
|
+
"mksnapshot-v44.0.0-alpha.8-linux-arm64-x64.zip": "6892703eb8db3073e8b53f770383e3e8f9b8cb36893adfa88e31e5b7f253a20c",
|
|
58
|
+
"mksnapshot-v44.0.0-alpha.8-linux-x64.zip": "37f2b2ac0485c822a7216893509d93779ba807a6c8529e692c223097d9b48c8a",
|
|
59
|
+
"mksnapshot-v44.0.0-alpha.8-mas-arm64.zip": "7938bce09e503cd8f0a080549ca89c53c78cbf28314929e4862768eeecaa7e8b",
|
|
60
|
+
"mksnapshot-v44.0.0-alpha.8-mas-x64.zip": "b4f4db85713fd46e147fc1425cf5d5bcadc62cb6229e4ecbeffb49daf74e5764",
|
|
61
|
+
"mksnapshot-v44.0.0-alpha.8-win32-arm64-x64.zip": "70b10ec56ca820cc260f869b46da2a9a834b5a18976760decf5920c766a17faa",
|
|
62
|
+
"mksnapshot-v44.0.0-alpha.8-win32-x64.zip": "843a609549550e2a29a3c4a05c987b067edf76ea2ec3aba50d6071942341e0a4"
|
|
63
63
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 44.0.0-alpha.
|
|
1
|
+
// Type definitions for Electron 44.0.0-alpha.8
|
|
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
|
|
@@ -6949,118 +6949,91 @@ declare namespace Electron {
|
|
|
6949
6949
|
|
|
6950
6950
|
// Docs: https://electronjs.org/docs/api/clipboard
|
|
6951
6951
|
|
|
6952
|
-
/**
|
|
6953
|
-
* An array of supported formats for the clipboard `type`.
|
|
6954
|
-
*/
|
|
6955
|
-
availableFormats(type?: 'selection' | 'clipboard'): string[];
|
|
6956
6952
|
/**
|
|
6957
6953
|
* Clears the clipboard content.
|
|
6958
6954
|
*/
|
|
6959
|
-
clear(
|
|
6960
|
-
/**
|
|
6961
|
-
* Whether the clipboard supports the specified `format`.
|
|
6962
|
-
*
|
|
6963
|
-
* @experimental
|
|
6964
|
-
*/
|
|
6965
|
-
has(format: string, type?: 'selection' | 'clipboard'): boolean;
|
|
6966
|
-
/**
|
|
6967
|
-
* Reads `format` type from the clipboard.
|
|
6968
|
-
*
|
|
6969
|
-
* `format` should contain valid ASCII characters and have `/` separator. `a/c`,
|
|
6970
|
-
* `a/bc` are valid formats while `/abc`, `abc/`, `a/`, `/a`, `a` are not valid.
|
|
6971
|
-
*
|
|
6972
|
-
* @experimental
|
|
6973
|
-
*/
|
|
6974
|
-
read(format: string): string;
|
|
6975
|
-
/**
|
|
6976
|
-
* * `title` string
|
|
6977
|
-
* * `url` string
|
|
6978
|
-
*
|
|
6979
|
-
* Returns an Object containing `title` and `url` keys representing the bookmark in
|
|
6980
|
-
* the clipboard. The `title` and `url` values will be empty strings when the
|
|
6981
|
-
* bookmark is unavailable. The `title` value will always be empty on Windows.
|
|
6982
|
-
*
|
|
6983
|
-
* @platform darwin,win32
|
|
6984
|
-
*/
|
|
6985
|
-
readBookmark(): ReadBookmark;
|
|
6986
|
-
/**
|
|
6987
|
-
* Reads `format` type from the clipboard.
|
|
6988
|
-
*
|
|
6989
|
-
* @experimental
|
|
6990
|
-
*/
|
|
6991
|
-
readBuffer(format: string): Buffer;
|
|
6992
|
-
/**
|
|
6993
|
-
* The text on the find pasteboard, which is the pasteboard that holds information
|
|
6994
|
-
* about the current state of the active application’s find panel.
|
|
6995
|
-
*
|
|
6996
|
-
* This method uses synchronous IPC when called from the renderer process. The
|
|
6997
|
-
* cached value is reread from the find pasteboard whenever the application is
|
|
6998
|
-
* activated.
|
|
6999
|
-
*
|
|
7000
|
-
* @platform darwin
|
|
7001
|
-
*/
|
|
7002
|
-
readFindText(): string;
|
|
6955
|
+
clear(): void;
|
|
7003
6956
|
/**
|
|
7004
|
-
*
|
|
6957
|
+
* A promise that resolves with `true` if the clipboard contains data of the
|
|
6958
|
+
* specified `mimetype`, otherwise `false`. To check for a raw format, eg
|
|
6959
|
+
* `public/utf8-plain-text`, use the `electron application/osclipboard` custom
|
|
6960
|
+
* format (`electron application/osclipboard;format="public/utf8-plain-text"`).
|
|
7005
6961
|
*/
|
|
7006
|
-
|
|
6962
|
+
has(mimetype: string): Promise<boolean>;
|
|
7007
6963
|
/**
|
|
7008
|
-
*
|
|
6964
|
+
* A promise that resolves with an array of ClipboardItem objects containing the
|
|
6965
|
+
* clipboard's contents.
|
|
7009
6966
|
*/
|
|
7010
|
-
|
|
6967
|
+
read(): Promise<Electron.ClipboardItem[]>;
|
|
7011
6968
|
/**
|
|
7012
|
-
*
|
|
6969
|
+
* A promise that resolves with the content of the clipboard as plain text. Modeled
|
|
6970
|
+
* after the W3C `navigator.clipboard.readText` API.
|
|
7013
6971
|
*/
|
|
7014
|
-
|
|
6972
|
+
readText(): Promise<string>;
|
|
7015
6973
|
/**
|
|
7016
|
-
*
|
|
6974
|
+
* Resolves once the data has been written to the clipboard. All entries supplied
|
|
6975
|
+
* in a single `write()` call are committed to the system clipboard atomically.
|
|
7017
6976
|
*/
|
|
7018
|
-
|
|
6977
|
+
write(data: ClipboardItem[]): Promise<void>;
|
|
7019
6978
|
/**
|
|
7020
|
-
*
|
|
6979
|
+
* A promise that resolves once the text has been written to the clipboard. Modeled
|
|
6980
|
+
* after the W3C `navigator.clipboard.writeText` API.
|
|
7021
6981
|
*/
|
|
7022
|
-
|
|
6982
|
+
writeText(text: string): Promise<void>;
|
|
7023
6983
|
/**
|
|
7024
|
-
*
|
|
6984
|
+
* A `Clipboard` property — a `Clipboard` object on Linux that operates against the
|
|
6985
|
+
* selection clipboard instead of the system clipboard, and `undefined` on all
|
|
6986
|
+
* other platforms. It exposes the same `read`, `write`, `readText`, `writeText`,
|
|
6987
|
+
* `has`, and `clear` methods as the top-level `clipboard` module.
|
|
7025
6988
|
*
|
|
7026
|
-
*
|
|
7027
|
-
* can use `clipboard.write` to write both a bookmark and fallback text to the
|
|
7028
|
-
* clipboard.
|
|
7029
|
-
*
|
|
7030
|
-
* @platform darwin,win32
|
|
6989
|
+
* @platform linux
|
|
7031
6990
|
*/
|
|
7032
|
-
|
|
6991
|
+
readonly selection: Clipboard;
|
|
6992
|
+
}
|
|
6993
|
+
|
|
6994
|
+
interface ClipboardBookmark {
|
|
6995
|
+
|
|
6996
|
+
// Docs: https://electronjs.org/docs/api/structures/clipboard-bookmark
|
|
6997
|
+
|
|
7033
6998
|
/**
|
|
7034
|
-
*
|
|
7035
|
-
*
|
|
7036
|
-
* @experimental
|
|
6999
|
+
* The title of the bookmark.
|
|
7037
7000
|
*/
|
|
7038
|
-
|
|
7001
|
+
title: string;
|
|
7039
7002
|
/**
|
|
7040
|
-
*
|
|
7041
|
-
* information about the current state of the active application’s find panel) as
|
|
7042
|
-
* plain text. This method uses synchronous IPC when called from the renderer
|
|
7043
|
-
* process.
|
|
7044
|
-
*
|
|
7045
|
-
* @platform darwin
|
|
7003
|
+
* The URL of the bookmark.
|
|
7046
7004
|
*/
|
|
7047
|
-
|
|
7005
|
+
url: string;
|
|
7006
|
+
}
|
|
7007
|
+
|
|
7008
|
+
class ClipboardItem {
|
|
7009
|
+
|
|
7010
|
+
// Docs: https://electronjs.org/docs/api/clipboard-item
|
|
7011
|
+
|
|
7048
7012
|
/**
|
|
7049
|
-
*
|
|
7013
|
+
* ClipboardItem
|
|
7050
7014
|
*/
|
|
7051
|
-
|
|
7015
|
+
constructor(items: Record<string, (string) | (ClipboardBookmark) | (Blob) | (Promise<(Blob) | (string)>)>);
|
|
7052
7016
|
/**
|
|
7053
|
-
*
|
|
7017
|
+
* Resolves with the payload for the given MIME type. Modeled after the W3C
|
|
7018
|
+
* `ClipboardItem.getType` method. The promise resolves to a `Blob` for most MIME
|
|
7019
|
+
* types; the one exception is `getType('electron application/bookmark')`, which
|
|
7020
|
+
* resolves to a ClipboardBookmark object instead. Rejects when `type` is not
|
|
7021
|
+
* present in `clipboardItem.types`.
|
|
7054
7022
|
*/
|
|
7055
|
-
|
|
7023
|
+
getType(type: string): (Promise<Blob>) | (Promise<Electron.ClipboardBookmark>);
|
|
7056
7024
|
/**
|
|
7057
|
-
*
|
|
7025
|
+
* Resolves with a ClipboardBookmark when a bookmark is available in the clipboard.
|
|
7026
|
+
* Rejects when a bookmark is not available in the clipboard.
|
|
7058
7027
|
*/
|
|
7059
|
-
|
|
7028
|
+
getType(bookmark: 'electron application/bookmark'): Promise<Electron.ClipboardBookmark>;
|
|
7060
7029
|
/**
|
|
7061
|
-
*
|
|
7030
|
+
* A `string[]` property — the MIME types of the data carried by this entry. For a
|
|
7031
|
+
* constructed `ClipboardItem` these are the keys passed to the constructor; for an
|
|
7032
|
+
* item returned by `clipboard.read()` these are the MIME types the platform
|
|
7033
|
+
* clipboard currently makes available.
|
|
7034
|
+
*
|
|
7062
7035
|
*/
|
|
7063
|
-
|
|
7036
|
+
readonly types: string[];
|
|
7064
7037
|
}
|
|
7065
7038
|
|
|
7066
7039
|
interface ColorSpace {
|
|
@@ -21350,17 +21323,6 @@ declare namespace Electron {
|
|
|
21350
21323
|
startTime?: number;
|
|
21351
21324
|
}
|
|
21352
21325
|
|
|
21353
|
-
interface Data {
|
|
21354
|
-
text?: string;
|
|
21355
|
-
html?: string;
|
|
21356
|
-
image?: NativeImage;
|
|
21357
|
-
rtf?: string;
|
|
21358
|
-
/**
|
|
21359
|
-
* The title of the URL at `text`.
|
|
21360
|
-
*/
|
|
21361
|
-
bookmark?: string;
|
|
21362
|
-
}
|
|
21363
|
-
|
|
21364
21326
|
interface DecryptStringAsyncReturnValue {
|
|
21365
21327
|
/**
|
|
21366
21328
|
* whether data that has just been returned from the decrypt operation should be
|
|
@@ -23319,11 +23281,6 @@ declare namespace Electron {
|
|
|
23319
23281
|
username?: string;
|
|
23320
23282
|
}
|
|
23321
23283
|
|
|
23322
|
-
interface ReadBookmark {
|
|
23323
|
-
title: string;
|
|
23324
|
-
url: string;
|
|
23325
|
-
}
|
|
23326
|
-
|
|
23327
23284
|
interface ReceivedSharedTextureData {
|
|
23328
23285
|
/**
|
|
23329
23286
|
* The imported shared texture.
|
|
@@ -25053,8 +25010,6 @@ declare namespace Electron {
|
|
|
25053
25010
|
|
|
25054
25011
|
namespace Common {
|
|
25055
25012
|
type Event<Params extends object = {}> = Electron.Event<Params>;
|
|
25056
|
-
const clipboard: Clipboard;
|
|
25057
|
-
type Clipboard = Electron.Clipboard;
|
|
25058
25013
|
const crashReporter: CrashReporter;
|
|
25059
25014
|
type CrashReporter = Electron.CrashReporter;
|
|
25060
25015
|
const nativeImage: typeof NativeImage;
|
|
@@ -25104,7 +25059,6 @@ declare namespace Electron {
|
|
|
25104
25059
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
25105
25060
|
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
25106
25061
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
25107
|
-
type Data = Electron.Data;
|
|
25108
25062
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
25109
25063
|
type DefaultFontFamily = Electron.DefaultFontFamily;
|
|
25110
25064
|
type Details = Electron.Details;
|
|
@@ -25199,7 +25153,6 @@ declare namespace Electron {
|
|
|
25199
25153
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
25200
25154
|
type Provider = Electron.Provider;
|
|
25201
25155
|
type PurchaseProductOpts = Electron.PurchaseProductOpts;
|
|
25202
|
-
type ReadBookmark = Electron.ReadBookmark;
|
|
25203
25156
|
type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
|
|
25204
25157
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
25205
25158
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
@@ -25294,6 +25247,7 @@ declare namespace Electron {
|
|
|
25294
25247
|
type BluetoothDevice = Electron.BluetoothDevice;
|
|
25295
25248
|
type Certificate = Electron.Certificate;
|
|
25296
25249
|
type CertificatePrincipal = Electron.CertificatePrincipal;
|
|
25250
|
+
type ClipboardBookmark = Electron.ClipboardBookmark;
|
|
25297
25251
|
type ColorSpace = Electron.ColorSpace;
|
|
25298
25252
|
type Cookie = Electron.Cookie;
|
|
25299
25253
|
type CPUUsage = Electron.CPUUsage;
|
|
@@ -25398,6 +25352,9 @@ declare namespace Electron {
|
|
|
25398
25352
|
class BrowserView extends Electron.BrowserView {}
|
|
25399
25353
|
class BrowserWindow extends Electron.BrowserWindow {}
|
|
25400
25354
|
type ClientRequest = Electron.ClientRequest;
|
|
25355
|
+
const clipboard: Clipboard;
|
|
25356
|
+
type Clipboard = Electron.Clipboard;
|
|
25357
|
+
class ClipboardItem extends Electron.ClipboardItem {}
|
|
25401
25358
|
type CommandLine = Electron.CommandLine;
|
|
25402
25359
|
const contentTracing: ContentTracing;
|
|
25403
25360
|
type ContentTracing = Electron.ContentTracing;
|
|
@@ -25513,7 +25470,6 @@ declare namespace Electron {
|
|
|
25513
25470
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
25514
25471
|
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
25515
25472
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
25516
|
-
type Data = Electron.Data;
|
|
25517
25473
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
25518
25474
|
type DefaultFontFamily = Electron.DefaultFontFamily;
|
|
25519
25475
|
type Details = Electron.Details;
|
|
@@ -25608,7 +25564,6 @@ declare namespace Electron {
|
|
|
25608
25564
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
25609
25565
|
type Provider = Electron.Provider;
|
|
25610
25566
|
type PurchaseProductOpts = Electron.PurchaseProductOpts;
|
|
25611
|
-
type ReadBookmark = Electron.ReadBookmark;
|
|
25612
25567
|
type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
|
|
25613
25568
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
25614
25569
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
@@ -25703,6 +25658,7 @@ declare namespace Electron {
|
|
|
25703
25658
|
type BluetoothDevice = Electron.BluetoothDevice;
|
|
25704
25659
|
type Certificate = Electron.Certificate;
|
|
25705
25660
|
type CertificatePrincipal = Electron.CertificatePrincipal;
|
|
25661
|
+
type ClipboardBookmark = Electron.ClipboardBookmark;
|
|
25706
25662
|
type ColorSpace = Electron.ColorSpace;
|
|
25707
25663
|
type Cookie = Electron.Cookie;
|
|
25708
25664
|
type CPUUsage = Electron.CPUUsage;
|
|
@@ -25849,7 +25805,6 @@ declare namespace Electron {
|
|
|
25849
25805
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
25850
25806
|
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
25851
25807
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
25852
|
-
type Data = Electron.Data;
|
|
25853
25808
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
25854
25809
|
type DefaultFontFamily = Electron.DefaultFontFamily;
|
|
25855
25810
|
type Details = Electron.Details;
|
|
@@ -25944,7 +25899,6 @@ declare namespace Electron {
|
|
|
25944
25899
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
25945
25900
|
type Provider = Electron.Provider;
|
|
25946
25901
|
type PurchaseProductOpts = Electron.PurchaseProductOpts;
|
|
25947
|
-
type ReadBookmark = Electron.ReadBookmark;
|
|
25948
25902
|
type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
|
|
25949
25903
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
25950
25904
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
@@ -26039,6 +25993,7 @@ declare namespace Electron {
|
|
|
26039
25993
|
type BluetoothDevice = Electron.BluetoothDevice;
|
|
26040
25994
|
type Certificate = Electron.Certificate;
|
|
26041
25995
|
type CertificatePrincipal = Electron.CertificatePrincipal;
|
|
25996
|
+
type ClipboardBookmark = Electron.ClipboardBookmark;
|
|
26042
25997
|
type ColorSpace = Electron.ColorSpace;
|
|
26043
25998
|
type Cookie = Electron.Cookie;
|
|
26044
25999
|
type CPUUsage = Electron.CPUUsage;
|
|
@@ -26184,7 +26139,6 @@ declare namespace Electron {
|
|
|
26184
26139
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
26185
26140
|
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
26186
26141
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
26187
|
-
type Data = Electron.Data;
|
|
26188
26142
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
26189
26143
|
type DefaultFontFamily = Electron.DefaultFontFamily;
|
|
26190
26144
|
type Details = Electron.Details;
|
|
@@ -26279,7 +26233,6 @@ declare namespace Electron {
|
|
|
26279
26233
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
26280
26234
|
type Provider = Electron.Provider;
|
|
26281
26235
|
type PurchaseProductOpts = Electron.PurchaseProductOpts;
|
|
26282
|
-
type ReadBookmark = Electron.ReadBookmark;
|
|
26283
26236
|
type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
|
|
26284
26237
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
26285
26238
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
@@ -26374,6 +26327,7 @@ declare namespace Electron {
|
|
|
26374
26327
|
type BluetoothDevice = Electron.BluetoothDevice;
|
|
26375
26328
|
type Certificate = Electron.Certificate;
|
|
26376
26329
|
type CertificatePrincipal = Electron.CertificatePrincipal;
|
|
26330
|
+
type ClipboardBookmark = Electron.ClipboardBookmark;
|
|
26377
26331
|
type ColorSpace = Electron.ColorSpace;
|
|
26378
26332
|
type Cookie = Electron.Cookie;
|
|
26379
26333
|
type CPUUsage = Electron.CPUUsage;
|
|
@@ -26480,6 +26434,7 @@ declare namespace Electron {
|
|
|
26480
26434
|
type ClientRequest = Electron.ClientRequest;
|
|
26481
26435
|
const clipboard: Clipboard;
|
|
26482
26436
|
type Clipboard = Electron.Clipboard;
|
|
26437
|
+
class ClipboardItem extends Electron.ClipboardItem {}
|
|
26483
26438
|
type CommandLine = Electron.CommandLine;
|
|
26484
26439
|
const contentTracing: ContentTracing;
|
|
26485
26440
|
type ContentTracing = Electron.ContentTracing;
|
|
@@ -26614,7 +26569,6 @@ declare namespace Electron {
|
|
|
26614
26569
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
26615
26570
|
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
26616
26571
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
26617
|
-
type Data = Electron.Data;
|
|
26618
26572
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
26619
26573
|
type DefaultFontFamily = Electron.DefaultFontFamily;
|
|
26620
26574
|
type Details = Electron.Details;
|
|
@@ -26709,7 +26663,6 @@ declare namespace Electron {
|
|
|
26709
26663
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
26710
26664
|
type Provider = Electron.Provider;
|
|
26711
26665
|
type PurchaseProductOpts = Electron.PurchaseProductOpts;
|
|
26712
|
-
type ReadBookmark = Electron.ReadBookmark;
|
|
26713
26666
|
type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
|
|
26714
26667
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
26715
26668
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
@@ -26804,6 +26757,7 @@ declare namespace Electron {
|
|
|
26804
26757
|
type BluetoothDevice = Electron.BluetoothDevice;
|
|
26805
26758
|
type Certificate = Electron.Certificate;
|
|
26806
26759
|
type CertificatePrincipal = Electron.CertificatePrincipal;
|
|
26760
|
+
type ClipboardBookmark = Electron.ClipboardBookmark;
|
|
26807
26761
|
type ColorSpace = Electron.ColorSpace;
|
|
26808
26762
|
type Cookie = Electron.Cookie;
|
|
26809
26763
|
type CPUUsage = Electron.CPUUsage;
|
package/package.json
CHANGED