chrome-types 0.1.304 → 0.1.306
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 +4 -34
- package/index.d.ts +4 -34
- 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 Fri Sep 13 2024 22:31:24 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 5b5f5f056a1ea5580fb938a5c6060ce9cb3c5562
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -12740,37 +12740,6 @@ declare namespace chrome {
|
|
|
12740
12740
|
}
|
|
12741
12741
|
}
|
|
12742
12742
|
|
|
12743
|
-
/**
|
|
12744
|
-
* Experimental API to handle data collection in the browser process for AI features.
|
|
12745
|
-
*
|
|
12746
|
-
* @alpha
|
|
12747
|
-
* @chrome-channel dev
|
|
12748
|
-
*/
|
|
12749
|
-
export namespace experimentalAiData {
|
|
12750
|
-
|
|
12751
|
-
export function getAiData(
|
|
12752
|
-
|
|
12753
|
-
domNodeId: number,
|
|
12754
|
-
|
|
12755
|
-
frameId: string,
|
|
12756
|
-
|
|
12757
|
-
userInput: string,
|
|
12758
|
-
): Promise<ArrayBuffer>;
|
|
12759
|
-
|
|
12760
|
-
export function getAiData(
|
|
12761
|
-
|
|
12762
|
-
domNodeId: number,
|
|
12763
|
-
|
|
12764
|
-
frameId: string,
|
|
12765
|
-
|
|
12766
|
-
userInput: string,
|
|
12767
|
-
|
|
12768
|
-
callback?: (
|
|
12769
|
-
data: ArrayBuffer,
|
|
12770
|
-
) => void,
|
|
12771
|
-
): void;
|
|
12772
|
-
}
|
|
12773
|
-
|
|
12774
12743
|
/**
|
|
12775
12744
|
* The `chrome.extension` API has utilities that can be used by any extension page. It includes support for exchanging messages between an extension and its content scripts or between extensions, as described in detail in [Message Passing](https://developer.chrome.com/docs/extensions/messaging).
|
|
12776
12745
|
*/
|
|
@@ -24253,9 +24222,10 @@ declare namespace chrome {
|
|
|
24253
24222
|
* @chrome-enum "BACKGROUND" Specifies the context type as a service worker.
|
|
24254
24223
|
* @chrome-enum "OFFSCREEN\_DOCUMENT" Specifies the context type as an offscreen document.
|
|
24255
24224
|
* @chrome-enum "SIDE\_PANEL" Specifies the context type as a side panel.
|
|
24225
|
+
* @chrome-enum "DEVELOPER\_TOOLS" Specifies the context type as developer tools.
|
|
24256
24226
|
* @since Chrome 114
|
|
24257
24227
|
*/
|
|
24258
|
-
export type ContextType = "TAB" | "POPUP" | "BACKGROUND" | "OFFSCREEN_DOCUMENT" | "SIDE_PANEL";
|
|
24228
|
+
export type ContextType = "TAB" | "POPUP" | "BACKGROUND" | "OFFSCREEN_DOCUMENT" | "SIDE_PANEL" | "DEVELOPER_TOOLS";
|
|
24259
24229
|
|
|
24260
24230
|
/**
|
|
24261
24231
|
* A context hosting extension content.
|
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 Fri Sep 13 2024 22:31:19 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 5b5f5f056a1ea5580fb938a5c6060ce9cb3c5562
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -8870,37 +8870,6 @@ declare namespace chrome {
|
|
|
8870
8870
|
}
|
|
8871
8871
|
}
|
|
8872
8872
|
|
|
8873
|
-
/**
|
|
8874
|
-
* Experimental API to handle data collection in the browser process for AI features.
|
|
8875
|
-
*
|
|
8876
|
-
* @alpha
|
|
8877
|
-
* @chrome-channel dev
|
|
8878
|
-
*/
|
|
8879
|
-
export namespace experimentalAiData {
|
|
8880
|
-
|
|
8881
|
-
export function getAiData(
|
|
8882
|
-
|
|
8883
|
-
domNodeId: number,
|
|
8884
|
-
|
|
8885
|
-
frameId: string,
|
|
8886
|
-
|
|
8887
|
-
userInput: string,
|
|
8888
|
-
): Promise<ArrayBuffer>;
|
|
8889
|
-
|
|
8890
|
-
export function getAiData(
|
|
8891
|
-
|
|
8892
|
-
domNodeId: number,
|
|
8893
|
-
|
|
8894
|
-
frameId: string,
|
|
8895
|
-
|
|
8896
|
-
userInput: string,
|
|
8897
|
-
|
|
8898
|
-
callback?: (
|
|
8899
|
-
data: ArrayBuffer,
|
|
8900
|
-
) => void,
|
|
8901
|
-
): void;
|
|
8902
|
-
}
|
|
8903
|
-
|
|
8904
8873
|
/**
|
|
8905
8874
|
* The `chrome.extension` API has utilities that can be used by any extension page. It includes support for exchanging messages between an extension and its content scripts or between extensions, as described in detail in [Message Passing](https://developer.chrome.com/docs/extensions/messaging).
|
|
8906
8875
|
*/
|
|
@@ -19009,9 +18978,10 @@ declare namespace chrome {
|
|
|
19009
18978
|
* @chrome-enum "BACKGROUND" Specifies the context type as a service worker.
|
|
19010
18979
|
* @chrome-enum "OFFSCREEN\_DOCUMENT" Specifies the context type as an offscreen document.
|
|
19011
18980
|
* @chrome-enum "SIDE\_PANEL" Specifies the context type as a side panel.
|
|
18981
|
+
* @chrome-enum "DEVELOPER\_TOOLS" Specifies the context type as developer tools.
|
|
19012
18982
|
* @since Chrome 114
|
|
19013
18983
|
*/
|
|
19014
|
-
export type ContextType = "TAB" | "POPUP" | "BACKGROUND" | "OFFSCREEN_DOCUMENT" | "SIDE_PANEL";
|
|
18984
|
+
export type ContextType = "TAB" | "POPUP" | "BACKGROUND" | "OFFSCREEN_DOCUMENT" | "SIDE_PANEL" | "DEVELOPER_TOOLS";
|
|
19015
18985
|
|
|
19016
18986
|
/**
|
|
19017
18987
|
* A context hosting extension content.
|
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": "0a3f2673585fc1d9"
|
|
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.306"
|
|
20
20
|
}
|