@types/chrome 0.1.36 → 0.1.37
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.
- chrome/README.md +1 -1
- chrome/index.d.ts +47 -0
- chrome/package.json +2 -2
chrome/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for chrome (https://developer.chrome.com/
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 20 Feb 2026 20:44:11 GMT
|
|
12
12
|
* Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
|
|
13
13
|
|
|
14
14
|
# Credits
|
chrome/index.d.ts
CHANGED
|
@@ -692,9 +692,16 @@ declare namespace chrome {
|
|
|
692
692
|
|
|
693
693
|
/** @deprecated Bookmark write operations are no longer limited by Chrome. */
|
|
694
694
|
export const MAX_WRITE_OPERATIONS_PER_HOUR: 1000000;
|
|
695
|
+
|
|
695
696
|
/** @deprecated Bookmark write operations are no longer limited by Chrome. */
|
|
696
697
|
export const MAX_SUSTAINED_WRITE_OPERATIONS_PER_MINUTE: 1000000;
|
|
697
698
|
|
|
699
|
+
/**
|
|
700
|
+
* The `id` associated with the root level node.
|
|
701
|
+
* @since Chrome 145
|
|
702
|
+
*/
|
|
703
|
+
export const ROOT_NODE_ID = "0";
|
|
704
|
+
|
|
698
705
|
/**
|
|
699
706
|
* Creates a bookmark or folder under the specified parentId. If url is NULL or missing, it will be a folder.
|
|
700
707
|
*
|
|
@@ -11047,6 +11054,11 @@ declare namespace chrome {
|
|
|
11047
11054
|
height?: number | undefined;
|
|
11048
11055
|
/** The session ID used to uniquely identify a tab obtained from the {@link sessions} API. */
|
|
11049
11056
|
sessionId?: string | undefined;
|
|
11057
|
+
/**
|
|
11058
|
+
* The ID of the Split View that the tab belongs to.
|
|
11059
|
+
* @since Chrome 145
|
|
11060
|
+
*/
|
|
11061
|
+
splitViewId?: number | undefined;
|
|
11050
11062
|
/**
|
|
11051
11063
|
* The ID of the group that the tab belongs to.
|
|
11052
11064
|
* @since Chrome 88
|
|
@@ -11118,6 +11130,12 @@ declare namespace chrome {
|
|
|
11118
11130
|
*/
|
|
11119
11131
|
export const MAX_CAPTURE_VISIBLE_TAB_CALLS_PER_SECOND = 2;
|
|
11120
11132
|
|
|
11133
|
+
/**
|
|
11134
|
+
* An ID that represents the absence of a split tab.
|
|
11135
|
+
* @since Chrome 145
|
|
11136
|
+
*/
|
|
11137
|
+
export const SPLIT_VIEW_ID_NONE: -1;
|
|
11138
|
+
|
|
11121
11139
|
/**
|
|
11122
11140
|
* An ID that represents the absence of a browser tab.
|
|
11123
11141
|
* @since Chrome 46
|
|
@@ -14083,6 +14101,30 @@ declare namespace chrome {
|
|
|
14083
14101
|
responseHeaders?: HeaderInfo[];
|
|
14084
14102
|
}
|
|
14085
14103
|
|
|
14104
|
+
/** @since Chrome 145 */
|
|
14105
|
+
export enum RuleConditionKeys {
|
|
14106
|
+
URL_FILTER = "urlFilter",
|
|
14107
|
+
REGEX_FILTER = "regexFilter",
|
|
14108
|
+
IS_URL_FILTER_CASE_SENSITIVE = "isUrlFilterCaseSensitive",
|
|
14109
|
+
INITIATOR_DOMAINS = "initiatorDomains",
|
|
14110
|
+
EXCLUDED_INITIATOR_DOMAINS = "excludedInitiatorDomains",
|
|
14111
|
+
REQUEST_DOMAINS = "requestDomains",
|
|
14112
|
+
EXCLUDED_REQUEST_DOMAINS = "excludedRequestDomains",
|
|
14113
|
+
TOP_DOMAINS = "topDomains",
|
|
14114
|
+
EXCLUDED_TOP_DOMAINS = "excludedTopDomains",
|
|
14115
|
+
DOMAINS = "domains",
|
|
14116
|
+
EXCLUDED_DOMAINS = "excludedDomains",
|
|
14117
|
+
RESOURCE_TYPES = "resourceTypes",
|
|
14118
|
+
EXCLUDED_RESOURCE_TYPES = "excludedResourceTypes",
|
|
14119
|
+
REQUEST_METHODS = "requestMethods",
|
|
14120
|
+
EXCLUDED_REQUEST_METHODS = "excludedRequestMethods",
|
|
14121
|
+
DOMAIN_TYPE = "domainType",
|
|
14122
|
+
TAB_IDS = "tabIds",
|
|
14123
|
+
EXCLUDED_TAB_IDS = "excludedTabIds",
|
|
14124
|
+
RESPONSE_HEADERS = "responseHeaders",
|
|
14125
|
+
EXCLUDED_RESPONSE_HEADERS = "excludedResponseHeaders",
|
|
14126
|
+
}
|
|
14127
|
+
|
|
14086
14128
|
export interface MatchedRule {
|
|
14087
14129
|
/** A matching rule's ID. */
|
|
14088
14130
|
ruleId: number;
|
|
@@ -14303,6 +14345,11 @@ declare namespace chrome {
|
|
|
14303
14345
|
responseHeaders?: { [name: string]: unknown };
|
|
14304
14346
|
/** The ID of the tab in which the hypothetical request takes place. Does not need to correspond to a real tab ID. Default is -1, meaning that the request isn't related to a tab. */
|
|
14305
14347
|
tabId?: number;
|
|
14348
|
+
/**
|
|
14349
|
+
* The associated top-level frame URL (if any) for the request.
|
|
14350
|
+
* @since Chrome 145
|
|
14351
|
+
*/
|
|
14352
|
+
topUrl?: string;
|
|
14306
14353
|
/** The resource type of the hypothetical request. */
|
|
14307
14354
|
type: `${ResourceType}`;
|
|
14308
14355
|
/** The URL of the hypothetical request. */
|
chrome/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/chrome",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.37",
|
|
4
4
|
"description": "TypeScript definitions for chrome",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
|
|
6
6
|
"license": "MIT",
|
|
@@ -94,6 +94,6 @@
|
|
|
94
94
|
"@types/har-format": "*"
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {},
|
|
97
|
-
"typesPublisherContentHash": "
|
|
97
|
+
"typesPublisherContentHash": "df76fec6a021d0929c93f32b59caf85c79097833cae716247457666f15a39396",
|
|
98
98
|
"typeScriptVersion": "5.2"
|
|
99
99
|
}
|