chrome-types 0.1.122 → 0.1.125
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/_all.d.ts +97 -4
- package/index.d.ts +97 -4
- package/package.json +2 -2
package/_all.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Thu Jul 14 2022 22:30:10 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at c7edeee4c65fd5291d0223506895cc68966a4875
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -1895,7 +1895,7 @@ declare namespace chrome {
|
|
|
1895
1895
|
/**
|
|
1896
1896
|
* Where the node's name is from.
|
|
1897
1897
|
*/
|
|
1898
|
-
export type NameFromType = "
|
|
1898
|
+
export type NameFromType = "attribute" | "attributeExplicitlyEmpty" | "caption" | "contents" | "placeholder" | "relatedElement" | "title" | "value";
|
|
1899
1899
|
|
|
1900
1900
|
export type DescriptionFromType = "ariaDescription" | "buttonLabel" | "popupElement" | "relatedElement" | "rubyAnnotation" | "summary" | "svgDescElement" | "tableCaption" | "title";
|
|
1901
1901
|
|
|
@@ -20816,7 +20816,7 @@ declare namespace chrome {
|
|
|
20816
20816
|
*
|
|
20817
20817
|
* @alpha
|
|
20818
20818
|
* @chrome-permission offscreen
|
|
20819
|
-
* @chrome-channel
|
|
20819
|
+
* @chrome-channel canary
|
|
20820
20820
|
* @chrome-min-manifest MV3
|
|
20821
20821
|
*/
|
|
20822
20822
|
export namespace offscreen {
|
|
@@ -24401,6 +24401,99 @@ declare namespace chrome {
|
|
|
24401
24401
|
}
|
|
24402
24402
|
}
|
|
24403
24403
|
|
|
24404
|
+
/**
|
|
24405
|
+
* chrome.sidePanel API
|
|
24406
|
+
*
|
|
24407
|
+
* @alpha
|
|
24408
|
+
* @chrome-permission sidePanel
|
|
24409
|
+
* @chrome-channel canary
|
|
24410
|
+
* @chrome-min-manifest MV3
|
|
24411
|
+
*/
|
|
24412
|
+
export namespace sidePanel {
|
|
24413
|
+
|
|
24414
|
+
export interface SidePanel {
|
|
24415
|
+
|
|
24416
|
+
/**
|
|
24417
|
+
* Developer specified path for side panel display.
|
|
24418
|
+
*/
|
|
24419
|
+
default_path: string;
|
|
24420
|
+
}
|
|
24421
|
+
|
|
24422
|
+
export interface PanelOptions {
|
|
24423
|
+
|
|
24424
|
+
/**
|
|
24425
|
+
* If specified, the side panel options will only apply to the tab with this id. If omitted, these options set the default behavior (used for any tab that doesn't have specific settings).
|
|
24426
|
+
*/
|
|
24427
|
+
tabId?: number;
|
|
24428
|
+
|
|
24429
|
+
/**
|
|
24430
|
+
* The path to the side panel HTML file to use. This must be a local resource within the extension package.
|
|
24431
|
+
*/
|
|
24432
|
+
path?: string;
|
|
24433
|
+
|
|
24434
|
+
/**
|
|
24435
|
+
* Whether the side panel should be enabled.
|
|
24436
|
+
*/
|
|
24437
|
+
enabled?: boolean;
|
|
24438
|
+
}
|
|
24439
|
+
|
|
24440
|
+
export interface GetPanelOptions {
|
|
24441
|
+
|
|
24442
|
+
/**
|
|
24443
|
+
* If specified, the side panel options for the given tab will be returned. Otherwise, returns the default side panel options (used for any tab that doesn't have specific settings).
|
|
24444
|
+
*/
|
|
24445
|
+
tabId?: number;
|
|
24446
|
+
}
|
|
24447
|
+
|
|
24448
|
+
/**
|
|
24449
|
+
* Configures the side panel.
|
|
24450
|
+
*
|
|
24451
|
+
* @param options The configuration options to apply to the panel.
|
|
24452
|
+
*/
|
|
24453
|
+
export function setOptions(
|
|
24454
|
+
|
|
24455
|
+
options: PanelOptions,
|
|
24456
|
+
): Promise<void>;
|
|
24457
|
+
|
|
24458
|
+
/**
|
|
24459
|
+
* Configures the side panel.
|
|
24460
|
+
*
|
|
24461
|
+
* @param options The configuration options to apply to the panel.
|
|
24462
|
+
* @param callback Invoked when the options have been set.
|
|
24463
|
+
*/
|
|
24464
|
+
export function setOptions(
|
|
24465
|
+
|
|
24466
|
+
options: PanelOptions,
|
|
24467
|
+
|
|
24468
|
+
callback?: () => void,
|
|
24469
|
+
): void;
|
|
24470
|
+
|
|
24471
|
+
/**
|
|
24472
|
+
* Returns the active panel configuration.
|
|
24473
|
+
*
|
|
24474
|
+
* @param options Specifies the context to return the configuration for.
|
|
24475
|
+
*/
|
|
24476
|
+
export function getOptions(
|
|
24477
|
+
|
|
24478
|
+
options: GetPanelOptions,
|
|
24479
|
+
): Promise<PanelOptions>;
|
|
24480
|
+
|
|
24481
|
+
/**
|
|
24482
|
+
* Returns the active panel configuration.
|
|
24483
|
+
*
|
|
24484
|
+
* @param options Specifies the context to return the configuration for.
|
|
24485
|
+
* @param callback Called with the active panel configuration.
|
|
24486
|
+
*/
|
|
24487
|
+
export function getOptions(
|
|
24488
|
+
|
|
24489
|
+
options: GetPanelOptions,
|
|
24490
|
+
|
|
24491
|
+
callback?: (
|
|
24492
|
+
options: PanelOptions,
|
|
24493
|
+
) => void,
|
|
24494
|
+
): void;
|
|
24495
|
+
}
|
|
24496
|
+
|
|
24404
24497
|
/**
|
|
24405
24498
|
* Use the `chrome.socket` API to send and receive data over the network using TCP and UDP connections. **Note:** Starting with Chrome 33, this API is deprecated in favor of the {@link sockets.udp}, {@link sockets.tcp} and {@link sockets.tcpServer} APIs.
|
|
24406
24499
|
*
|
package/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Thu Jul 14 2022 22:30:05 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at c7edeee4c65fd5291d0223506895cc68966a4875
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -1146,7 +1146,7 @@ declare namespace chrome {
|
|
|
1146
1146
|
/**
|
|
1147
1147
|
* Where the node's name is from.
|
|
1148
1148
|
*/
|
|
1149
|
-
export type NameFromType = "
|
|
1149
|
+
export type NameFromType = "attribute" | "attributeExplicitlyEmpty" | "caption" | "contents" | "placeholder" | "relatedElement" | "title" | "value";
|
|
1150
1150
|
|
|
1151
1151
|
export type DescriptionFromType = "ariaDescription" | "buttonLabel" | "popupElement" | "relatedElement" | "rubyAnnotation" | "summary" | "svgDescElement" | "tableCaption" | "title";
|
|
1152
1152
|
|
|
@@ -15998,7 +15998,7 @@ declare namespace chrome {
|
|
|
15998
15998
|
*
|
|
15999
15999
|
* @alpha
|
|
16000
16000
|
* @chrome-permission offscreen
|
|
16001
|
-
* @chrome-channel
|
|
16001
|
+
* @chrome-channel canary
|
|
16002
16002
|
* @chrome-min-manifest MV3
|
|
16003
16003
|
*/
|
|
16004
16004
|
export namespace offscreen {
|
|
@@ -18814,6 +18814,99 @@ declare namespace chrome {
|
|
|
18814
18814
|
}
|
|
18815
18815
|
}
|
|
18816
18816
|
|
|
18817
|
+
/**
|
|
18818
|
+
* chrome.sidePanel API
|
|
18819
|
+
*
|
|
18820
|
+
* @alpha
|
|
18821
|
+
* @chrome-permission sidePanel
|
|
18822
|
+
* @chrome-channel canary
|
|
18823
|
+
* @chrome-min-manifest MV3
|
|
18824
|
+
*/
|
|
18825
|
+
export namespace sidePanel {
|
|
18826
|
+
|
|
18827
|
+
export interface SidePanel {
|
|
18828
|
+
|
|
18829
|
+
/**
|
|
18830
|
+
* Developer specified path for side panel display.
|
|
18831
|
+
*/
|
|
18832
|
+
default_path: string;
|
|
18833
|
+
}
|
|
18834
|
+
|
|
18835
|
+
export interface PanelOptions {
|
|
18836
|
+
|
|
18837
|
+
/**
|
|
18838
|
+
* If specified, the side panel options will only apply to the tab with this id. If omitted, these options set the default behavior (used for any tab that doesn't have specific settings).
|
|
18839
|
+
*/
|
|
18840
|
+
tabId?: number;
|
|
18841
|
+
|
|
18842
|
+
/**
|
|
18843
|
+
* The path to the side panel HTML file to use. This must be a local resource within the extension package.
|
|
18844
|
+
*/
|
|
18845
|
+
path?: string;
|
|
18846
|
+
|
|
18847
|
+
/**
|
|
18848
|
+
* Whether the side panel should be enabled.
|
|
18849
|
+
*/
|
|
18850
|
+
enabled?: boolean;
|
|
18851
|
+
}
|
|
18852
|
+
|
|
18853
|
+
export interface GetPanelOptions {
|
|
18854
|
+
|
|
18855
|
+
/**
|
|
18856
|
+
* If specified, the side panel options for the given tab will be returned. Otherwise, returns the default side panel options (used for any tab that doesn't have specific settings).
|
|
18857
|
+
*/
|
|
18858
|
+
tabId?: number;
|
|
18859
|
+
}
|
|
18860
|
+
|
|
18861
|
+
/**
|
|
18862
|
+
* Configures the side panel.
|
|
18863
|
+
*
|
|
18864
|
+
* @param options The configuration options to apply to the panel.
|
|
18865
|
+
*/
|
|
18866
|
+
export function setOptions(
|
|
18867
|
+
|
|
18868
|
+
options: PanelOptions,
|
|
18869
|
+
): Promise<void>;
|
|
18870
|
+
|
|
18871
|
+
/**
|
|
18872
|
+
* Configures the side panel.
|
|
18873
|
+
*
|
|
18874
|
+
* @param options The configuration options to apply to the panel.
|
|
18875
|
+
* @param callback Invoked when the options have been set.
|
|
18876
|
+
*/
|
|
18877
|
+
export function setOptions(
|
|
18878
|
+
|
|
18879
|
+
options: PanelOptions,
|
|
18880
|
+
|
|
18881
|
+
callback?: () => void,
|
|
18882
|
+
): void;
|
|
18883
|
+
|
|
18884
|
+
/**
|
|
18885
|
+
* Returns the active panel configuration.
|
|
18886
|
+
*
|
|
18887
|
+
* @param options Specifies the context to return the configuration for.
|
|
18888
|
+
*/
|
|
18889
|
+
export function getOptions(
|
|
18890
|
+
|
|
18891
|
+
options: GetPanelOptions,
|
|
18892
|
+
): Promise<PanelOptions>;
|
|
18893
|
+
|
|
18894
|
+
/**
|
|
18895
|
+
* Returns the active panel configuration.
|
|
18896
|
+
*
|
|
18897
|
+
* @param options Specifies the context to return the configuration for.
|
|
18898
|
+
* @param callback Called with the active panel configuration.
|
|
18899
|
+
*/
|
|
18900
|
+
export function getOptions(
|
|
18901
|
+
|
|
18902
|
+
options: GetPanelOptions,
|
|
18903
|
+
|
|
18904
|
+
callback?: (
|
|
18905
|
+
options: PanelOptions,
|
|
18906
|
+
) => void,
|
|
18907
|
+
): void;
|
|
18908
|
+
}
|
|
18909
|
+
|
|
18817
18910
|
/**
|
|
18818
18911
|
* Use the `chrome.sockets.tcp` API to send and receive data over the network using TCP connections. This API supersedes the TCP functionality previously found in the `chrome.socket` API.
|
|
18819
18912
|
*
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"name": "chrome-types",
|
|
7
7
|
"config": {
|
|
8
|
-
"build-hash": "
|
|
8
|
+
"build-hash": "63a5ddb636ad068f"
|
|
9
9
|
},
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"url": "https://github.com/GoogleChrome/chrome-types/issues"
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/GoogleChrome/chrome-types",
|
|
19
|
-
"version": "0.1.
|
|
19
|
+
"version": "0.1.125"
|
|
20
20
|
}
|