1- // Type definitions for Electron 36.5 .0+wvcus
1+ // Type definitions for Electron 36.6 .0+wvcus
22// Project: http://electronjs.org/
33// Definitions by: The Electron Team <https://github.com/electron/electron>
44// Definitions: https://github.com/electron/typescript-definitions
@@ -3560,6 +3560,14 @@ declare namespace Electron {
35603560
35613561 // Docs: https://electronjs.org/docs/api/structures/base-window-options
35623562
3563+ /**
3564+ * The accent color for the window. By default, follows user preference in System
3565+ * Settings. Set to `false` to explicitly disable, or set the color in Hex, RGB,
3566+ * RGBA, HSL, HSLA or named CSS color format. Alpha values will be ignored.
3567+ *
3568+ * @platform win32
3569+ */
3570+ accentColor?: (boolean) | (string);
35633571 /**
35643572 * Whether clicking an inactive window will also click through to the web contents.
35653573 * Default is `false` on macOS. This option is not configurable on other platforms.
@@ -8335,6 +8343,10 @@ declare namespace Electron {
83358343
83368344 // Docs: https://electronjs.org/docs/api/structures/hid-device
83378345
8346+ /**
8347+ * an array of report formats. See MDN documentation for more.
8348+ */
8349+ collections: Array<Collections>;
83388350 /**
83398351 * Unique identifier for the device.
83408352 */
@@ -19676,6 +19688,44 @@ declare namespace Electron {
1967619688 waitForBeforeUnload: boolean;
1967719689 }
1967819690
19691+ interface Collections {
19692+ /**
19693+ * An integer representing the usage ID component of the HID usage associated with
19694+ * this collection.
19695+ */
19696+ usage: number;
19697+ /**
19698+ * An integer representing the usage page component of the HID usage associated
19699+ * with this collection.
19700+ */
19701+ usagePage: number;
19702+ /**
19703+ * An 8-bit value representing the collection type, which describes a different
19704+ * relationship between the grouped items.
19705+ */
19706+ type: number;
19707+ /**
19708+ * An array of sub-collections which takes the same format as a top-level
19709+ * collection.
19710+ */
19711+ children: Children[];
19712+ /**
19713+ * An array of inputReport items which represent individual input reports described
19714+ * in this collection.
19715+ */
19716+ inputReports: InputReports[];
19717+ /**
19718+ * An array of outputReport items which represent individual output reports
19719+ * described in this collection.
19720+ */
19721+ outputReports: OutputReports[];
19722+ /**
19723+ * An array of featureReport items which represent individual feature reports
19724+ * described in this collection.
19725+ */
19726+ featureReports: FeatureReports[];
19727+ }
19728+
1967919729 interface Config {
1968019730 /**
1968119731 * Can be `tls1`, `tls1.1`, `tls1.2` or `tls1.3`. The minimum SSL version to allow
@@ -23054,6 +23104,9 @@ declare namespace Electron {
2305423104 edge: ('bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right');
2305523105 }
2305623106
23107+ interface Children {
23108+ }
23109+
2305723110 interface EditFlags {
2305823111 /**
2305923112 * Whether the renderer believes it can undo.
@@ -23092,6 +23145,9 @@ declare namespace Electron {
2309223145 interface Env {
2309323146 }
2309423147
23148+ interface FeatureReports {
23149+ }
23150+
2309523151 interface FoundInPageResult {
2309623152 requestId: number;
2309723153 /**
@@ -23109,6 +23165,9 @@ declare namespace Electron {
2310923165 finalUpdate: boolean;
2311023166 }
2311123167
23168+ interface InputReports {
23169+ }
23170+
2311223171 interface LaunchItems {
2311323172 /**
2311423173 * name value of a registry entry.
@@ -23243,6 +23302,9 @@ declare namespace Electron {
2324323302 frameCount?: number;
2324423303 }
2324523304
23305+ interface OutputReports {
23306+ }
23307+
2324623308 interface PageRanges {
2324723309 /**
2324823310 * Index of the first page to print (0-based).
@@ -23441,6 +23503,7 @@ declare namespace Electron {
2344123503 type ClientCertRequestParams = Electron.ClientCertRequestParams;
2344223504 type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
2344323505 type CloseOpts = Electron.CloseOpts;
23506+ type Collections = Electron.Collections;
2344423507 type Config = Electron.Config;
2344523508 type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
2344623509 type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
@@ -23609,13 +23672,17 @@ declare namespace Electron {
2360923672 type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
2361023673 type WillNavigateEvent = Electron.WillNavigateEvent;
2361123674 type WillResizeDetails = Electron.WillResizeDetails;
23675+ type Children = Electron.Children;
2361223676 type EditFlags = Electron.EditFlags;
2361323677 type Env = Electron.Env;
23678+ type FeatureReports = Electron.FeatureReports;
2361423679 type FoundInPageResult = Electron.FoundInPageResult;
23680+ type InputReports = Electron.InputReports;
2361523681 type LaunchItems = Electron.LaunchItems;
2361623682 type Margins = Electron.Margins;
2361723683 type MediaFlags = Electron.MediaFlags;
2361823684 type Metadata = Electron.Metadata;
23685+ type OutputReports = Electron.OutputReports;
2361923686 type PageRanges = Electron.PageRanges;
2362023687 type Params = Electron.Params;
2362123688 type Planes = Electron.Planes;
@@ -23819,6 +23886,7 @@ declare namespace Electron {
2381923886 type ClientCertRequestParams = Electron.ClientCertRequestParams;
2382023887 type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
2382123888 type CloseOpts = Electron.CloseOpts;
23889+ type Collections = Electron.Collections;
2382223890 type Config = Electron.Config;
2382323891 type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
2382423892 type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
@@ -23987,13 +24055,17 @@ declare namespace Electron {
2398724055 type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
2398824056 type WillNavigateEvent = Electron.WillNavigateEvent;
2398924057 type WillResizeDetails = Electron.WillResizeDetails;
24058+ type Children = Electron.Children;
2399024059 type EditFlags = Electron.EditFlags;
2399124060 type Env = Electron.Env;
24061+ type FeatureReports = Electron.FeatureReports;
2399224062 type FoundInPageResult = Electron.FoundInPageResult;
24063+ type InputReports = Electron.InputReports;
2399324064 type LaunchItems = Electron.LaunchItems;
2399424065 type Margins = Electron.Margins;
2399524066 type MediaFlags = Electron.MediaFlags;
2399624067 type Metadata = Electron.Metadata;
24068+ type OutputReports = Electron.OutputReports;
2399724069 type PageRanges = Electron.PageRanges;
2399824070 type Params = Electron.Params;
2399924071 type Planes = Electron.Planes;
@@ -24123,6 +24195,7 @@ declare namespace Electron {
2412324195 type ClientCertRequestParams = Electron.ClientCertRequestParams;
2412424196 type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
2412524197 type CloseOpts = Electron.CloseOpts;
24198+ type Collections = Electron.Collections;
2412624199 type Config = Electron.Config;
2412724200 type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
2412824201 type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
@@ -24291,13 +24364,17 @@ declare namespace Electron {
2429124364 type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
2429224365 type WillNavigateEvent = Electron.WillNavigateEvent;
2429324366 type WillResizeDetails = Electron.WillResizeDetails;
24367+ type Children = Electron.Children;
2429424368 type EditFlags = Electron.EditFlags;
2429524369 type Env = Electron.Env;
24370+ type FeatureReports = Electron.FeatureReports;
2429624371 type FoundInPageResult = Electron.FoundInPageResult;
24372+ type InputReports = Electron.InputReports;
2429724373 type LaunchItems = Electron.LaunchItems;
2429824374 type Margins = Electron.Margins;
2429924375 type MediaFlags = Electron.MediaFlags;
2430024376 type Metadata = Electron.Metadata;
24377+ type OutputReports = Electron.OutputReports;
2430124378 type PageRanges = Electron.PageRanges;
2430224379 type Params = Electron.Params;
2430324380 type Planes = Electron.Planes;
@@ -24424,6 +24501,7 @@ declare namespace Electron {
2442424501 type ClientCertRequestParams = Electron.ClientCertRequestParams;
2442524502 type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
2442624503 type CloseOpts = Electron.CloseOpts;
24504+ type Collections = Electron.Collections;
2442724505 type Config = Electron.Config;
2442824506 type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
2442924507 type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
@@ -24592,13 +24670,17 @@ declare namespace Electron {
2459224670 type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
2459324671 type WillNavigateEvent = Electron.WillNavigateEvent;
2459424672 type WillResizeDetails = Electron.WillResizeDetails;
24673+ type Children = Electron.Children;
2459524674 type EditFlags = Electron.EditFlags;
2459624675 type Env = Electron.Env;
24676+ type FeatureReports = Electron.FeatureReports;
2459724677 type FoundInPageResult = Electron.FoundInPageResult;
24678+ type InputReports = Electron.InputReports;
2459824679 type LaunchItems = Electron.LaunchItems;
2459924680 type Margins = Electron.Margins;
2460024681 type MediaFlags = Electron.MediaFlags;
2460124682 type Metadata = Electron.Metadata;
24683+ type OutputReports = Electron.OutputReports;
2460224684 type PageRanges = Electron.PageRanges;
2460324685 type Params = Electron.Params;
2460424686 type Planes = Electron.Planes;
@@ -24819,6 +24901,7 @@ declare namespace Electron {
2481924901 type ClientCertRequestParams = Electron.ClientCertRequestParams;
2482024902 type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
2482124903 type CloseOpts = Electron.CloseOpts;
24904+ type Collections = Electron.Collections;
2482224905 type Config = Electron.Config;
2482324906 type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
2482424907 type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
@@ -24987,13 +25070,17 @@ declare namespace Electron {
2498725070 type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
2498825071 type WillNavigateEvent = Electron.WillNavigateEvent;
2498925072 type WillResizeDetails = Electron.WillResizeDetails;
25073+ type Children = Electron.Children;
2499025074 type EditFlags = Electron.EditFlags;
2499125075 type Env = Electron.Env;
25076+ type FeatureReports = Electron.FeatureReports;
2499225077 type FoundInPageResult = Electron.FoundInPageResult;
25078+ type InputReports = Electron.InputReports;
2499325079 type LaunchItems = Electron.LaunchItems;
2499425080 type Margins = Electron.Margins;
2499525081 type MediaFlags = Electron.MediaFlags;
2499625082 type Metadata = Electron.Metadata;
25083+ type OutputReports = Electron.OutputReports;
2499725084 type PageRanges = Electron.PageRanges;
2499825085 type Params = Electron.Params;
2499925086 type Planes = Electron.Planes;
0 commit comments