chrome-types 0.1.169 → 0.1.171
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 +21 -14
- package/index.d.ts +20 -13
- 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 Tue
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Tue Feb 07 2023 22:30:44 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 5b914c5f7be3b8ce5027ec14f1953e921eee4772
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -520,7 +520,7 @@ declare namespace chrome {
|
|
|
520
520
|
/**
|
|
521
521
|
* Sets the text color for the badge.
|
|
522
522
|
*
|
|
523
|
-
* @since
|
|
523
|
+
* @since Chrome 110
|
|
524
524
|
*/
|
|
525
525
|
export function setBadgeTextColor(
|
|
526
526
|
|
|
@@ -541,7 +541,7 @@ declare namespace chrome {
|
|
|
541
541
|
/**
|
|
542
542
|
* Sets the text color for the badge.
|
|
543
543
|
*
|
|
544
|
-
* @since
|
|
544
|
+
* @since Chrome 110
|
|
545
545
|
*/
|
|
546
546
|
export function setBadgeTextColor(
|
|
547
547
|
|
|
@@ -564,7 +564,7 @@ declare namespace chrome {
|
|
|
564
564
|
/**
|
|
565
565
|
* Gets the text color of the action.
|
|
566
566
|
*
|
|
567
|
-
* @since
|
|
567
|
+
* @since Chrome 110
|
|
568
568
|
*/
|
|
569
569
|
export function getBadgeTextColor(
|
|
570
570
|
|
|
@@ -574,7 +574,7 @@ declare namespace chrome {
|
|
|
574
574
|
/**
|
|
575
575
|
* Gets the text color of the action.
|
|
576
576
|
*
|
|
577
|
-
* @since
|
|
577
|
+
* @since Chrome 110
|
|
578
578
|
*/
|
|
579
579
|
export function getBadgeTextColor(
|
|
580
580
|
|
|
@@ -986,7 +986,7 @@ declare namespace chrome {
|
|
|
986
986
|
/**
|
|
987
987
|
* Enumeration of app launch sources. This should be kept in sync with AppLaunchSource in components/services/app\_service/public/mojom/types.mojom, and GetLaunchSourceEnum() in extensions/browser/api/app\_runtime/app\_runtime\_api.cc. Note the enumeration is used in UMA histogram so entries should not be re-ordered or removed.
|
|
988
988
|
*/
|
|
989
|
-
export type LaunchSource = "untracked" | "app_launcher" | "new_tab_page" | "reload" | "restart" | "load_and_launch" | "command_line" | "file_handler" | "url_handler" | "system_tray" | "about_page" | "keyboard" | "extensions_page" | "management_api" | "ephemeral_app" | "background" | "kiosk" | "chrome_internal" | "test" | "installed_notification" | "context_menu" | "arc" | "intent_url";
|
|
989
|
+
export type LaunchSource = "untracked" | "app_launcher" | "new_tab_page" | "reload" | "restart" | "load_and_launch" | "command_line" | "file_handler" | "url_handler" | "system_tray" | "about_page" | "keyboard" | "extensions_page" | "management_api" | "ephemeral_app" | "background" | "kiosk" | "chrome_internal" | "test" | "installed_notification" | "context_menu" | "arc" | "intent_url" | "app_home_page";
|
|
990
990
|
|
|
991
991
|
/**
|
|
992
992
|
* An app can be launched with a specific action in mind, for example, to create a new note. The type of action the app was launched with is available inside of the `actionData` field from the LaunchData instance.
|
|
@@ -3113,6 +3113,10 @@ declare namespace chrome {
|
|
|
3113
3113
|
|
|
3114
3114
|
nextFocus?: AutomationNode;
|
|
3115
3115
|
|
|
3116
|
+
previousWindowFocus?: AutomationNode;
|
|
3117
|
+
|
|
3118
|
+
nextWindowFocus?: AutomationNode;
|
|
3119
|
+
|
|
3116
3120
|
/**
|
|
3117
3121
|
* The index of this node in its parent node's list of children. If this is the root node, this will be undefined.
|
|
3118
3122
|
*/
|
|
@@ -12627,19 +12631,19 @@ declare namespace chrome {
|
|
|
12627
12631
|
/**
|
|
12628
12632
|
* Whether to use the Enterprise User Key or the Enterprise Machine Key.
|
|
12629
12633
|
*
|
|
12630
|
-
* @since
|
|
12634
|
+
* @since Chrome 110
|
|
12631
12635
|
*/
|
|
12632
12636
|
export type Scope = "USER" | "MACHINE";
|
|
12633
12637
|
|
|
12634
12638
|
/**
|
|
12635
12639
|
* Type of key to generate.
|
|
12636
12640
|
*
|
|
12637
|
-
* @since
|
|
12641
|
+
* @since Chrome 110
|
|
12638
12642
|
*/
|
|
12639
12643
|
export type Algorithm = "RSA" | "ECDSA";
|
|
12640
12644
|
|
|
12641
12645
|
/**
|
|
12642
|
-
* @since
|
|
12646
|
+
* @since Chrome 110
|
|
12643
12647
|
*/
|
|
12644
12648
|
export interface RegisterKeyOptions {
|
|
12645
12649
|
|
|
@@ -12650,7 +12654,7 @@ declare namespace chrome {
|
|
|
12650
12654
|
}
|
|
12651
12655
|
|
|
12652
12656
|
/**
|
|
12653
|
-
* @since
|
|
12657
|
+
* @since Chrome 110
|
|
12654
12658
|
*/
|
|
12655
12659
|
export interface ChallengeKeyOptions {
|
|
12656
12660
|
|
|
@@ -12744,7 +12748,7 @@ declare namespace chrome {
|
|
|
12744
12748
|
*
|
|
12745
12749
|
* @param options Object containing the fields defined in {@link ChallengeKeyOptions}.
|
|
12746
12750
|
* @param callback Called back with the challenge response.
|
|
12747
|
-
* @since
|
|
12751
|
+
* @since Chrome 110
|
|
12748
12752
|
*/
|
|
12749
12753
|
export function challengeKey(
|
|
12750
12754
|
|
|
@@ -12766,6 +12770,7 @@ declare namespace chrome {
|
|
|
12766
12770
|
* @param callback Called back with the challenge response.
|
|
12767
12771
|
* @deprecated Use {@link challengeKey} instead.
|
|
12768
12772
|
* @since Chrome 50
|
|
12773
|
+
* @chrome-deprecated-since Chrome 110
|
|
12769
12774
|
*/
|
|
12770
12775
|
export function challengeMachineKey(
|
|
12771
12776
|
|
|
@@ -12791,6 +12796,7 @@ declare namespace chrome {
|
|
|
12791
12796
|
* @param callback Called back with the challenge response.
|
|
12792
12797
|
* @deprecated Use {@link challengeKey} instead.
|
|
12793
12798
|
* @since Chrome 50
|
|
12799
|
+
* @chrome-deprecated-since Chrome 110
|
|
12794
12800
|
*/
|
|
12795
12801
|
export function challengeMachineKey(
|
|
12796
12802
|
|
|
@@ -12812,6 +12818,7 @@ declare namespace chrome {
|
|
|
12812
12818
|
* @param callback Called back with the challenge response.
|
|
12813
12819
|
* @deprecated Use {@link challengeKey} instead.
|
|
12814
12820
|
* @since Chrome 50
|
|
12821
|
+
* @chrome-deprecated-since Chrome 110
|
|
12815
12822
|
*/
|
|
12816
12823
|
export function challengeUserKey(
|
|
12817
12824
|
|
|
@@ -13823,7 +13830,7 @@ declare namespace chrome {
|
|
|
13823
13830
|
/**
|
|
13824
13831
|
* A mapping of one or more MIME types to one or more file extensions. e.g. "accept": {"text/csv": ".csv"} or {"text/csv": \[".csv", ".txt"\]}.
|
|
13825
13832
|
*
|
|
13826
|
-
* @since
|
|
13833
|
+
* @since Chrome 110
|
|
13827
13834
|
*/
|
|
13828
13835
|
accept: {[name: string]: any};
|
|
13829
13836
|
|
|
@@ -23196,7 +23203,7 @@ declare namespace chrome {
|
|
|
23196
23203
|
/**
|
|
23197
23204
|
* If enabled, the experimental [Privacy Sandbox](https://www.chromium.org/Home/chromium-privacy/privacy-sandbox) features are active. The value of this preference is of type boolean, and the default value is `true`.
|
|
23198
23205
|
*
|
|
23199
|
-
* @deprecated We’re deprecating the API
|
|
23206
|
+
* @deprecated We’re deprecating the API {@link websites.privacySandboxEnabled chrome.privacy.websites.privacySandboxEnabled}, though it will remain active for backward compatibility until release M113. Instead, please use {@link websites.topicsEnabled chrome.privacy.websites.topicsEnabled}, {@link websites.fledgeEnabled chrome.privacy.websites.fledgeEnabled} and {@link websites.adMeasurementEnabled chrome.privacy.websites.adMeasurementEnabled}. During the migration period: 1. Enabling privacySandboxEnabled will CLEAR the new APIs listed above because extensions aren’t allowed to enable them; 2. Disabling privacySandboxEnabled will also disable the new APIs; 3. Clearing privacySandboxEnabled will also clear the new APIs.
|
|
23200
23207
|
* @since Chrome 90
|
|
23201
23208
|
*/
|
|
23202
23209
|
privacySandboxEnabled: types.ChromeSetting<boolean>,
|
package/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on Tue
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Tue Feb 07 2023 22:30:37 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 5b914c5f7be3b8ce5027ec14f1953e921eee4772
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -578,7 +578,7 @@ declare namespace chrome {
|
|
|
578
578
|
/**
|
|
579
579
|
* Sets the text color for the badge.
|
|
580
580
|
*
|
|
581
|
-
* @since
|
|
581
|
+
* @since Chrome 110
|
|
582
582
|
*/
|
|
583
583
|
export function setBadgeTextColor(
|
|
584
584
|
|
|
@@ -599,7 +599,7 @@ declare namespace chrome {
|
|
|
599
599
|
/**
|
|
600
600
|
* Sets the text color for the badge.
|
|
601
601
|
*
|
|
602
|
-
* @since
|
|
602
|
+
* @since Chrome 110
|
|
603
603
|
*/
|
|
604
604
|
export function setBadgeTextColor(
|
|
605
605
|
|
|
@@ -622,7 +622,7 @@ declare namespace chrome {
|
|
|
622
622
|
/**
|
|
623
623
|
* Gets the text color of the action.
|
|
624
624
|
*
|
|
625
|
-
* @since
|
|
625
|
+
* @since Chrome 110
|
|
626
626
|
*/
|
|
627
627
|
export function getBadgeTextColor(
|
|
628
628
|
|
|
@@ -632,7 +632,7 @@ declare namespace chrome {
|
|
|
632
632
|
/**
|
|
633
633
|
* Gets the text color of the action.
|
|
634
634
|
*
|
|
635
|
-
* @since
|
|
635
|
+
* @since Chrome 110
|
|
636
636
|
*/
|
|
637
637
|
export function getBadgeTextColor(
|
|
638
638
|
|
|
@@ -2363,6 +2363,10 @@ declare namespace chrome {
|
|
|
2363
2363
|
|
|
2364
2364
|
nextFocus?: AutomationNode;
|
|
2365
2365
|
|
|
2366
|
+
previousWindowFocus?: AutomationNode;
|
|
2367
|
+
|
|
2368
|
+
nextWindowFocus?: AutomationNode;
|
|
2369
|
+
|
|
2366
2370
|
/**
|
|
2367
2371
|
* The index of this node in its parent node's list of children. If this is the root node, this will be undefined.
|
|
2368
2372
|
*/
|
|
@@ -8813,19 +8817,19 @@ declare namespace chrome {
|
|
|
8813
8817
|
/**
|
|
8814
8818
|
* Whether to use the Enterprise User Key or the Enterprise Machine Key.
|
|
8815
8819
|
*
|
|
8816
|
-
* @since
|
|
8820
|
+
* @since Chrome 110
|
|
8817
8821
|
*/
|
|
8818
8822
|
export type Scope = "USER" | "MACHINE";
|
|
8819
8823
|
|
|
8820
8824
|
/**
|
|
8821
8825
|
* Type of key to generate.
|
|
8822
8826
|
*
|
|
8823
|
-
* @since
|
|
8827
|
+
* @since Chrome 110
|
|
8824
8828
|
*/
|
|
8825
8829
|
export type Algorithm = "RSA" | "ECDSA";
|
|
8826
8830
|
|
|
8827
8831
|
/**
|
|
8828
|
-
* @since
|
|
8832
|
+
* @since Chrome 110
|
|
8829
8833
|
*/
|
|
8830
8834
|
export interface RegisterKeyOptions {
|
|
8831
8835
|
|
|
@@ -8836,7 +8840,7 @@ declare namespace chrome {
|
|
|
8836
8840
|
}
|
|
8837
8841
|
|
|
8838
8842
|
/**
|
|
8839
|
-
* @since
|
|
8843
|
+
* @since Chrome 110
|
|
8840
8844
|
*/
|
|
8841
8845
|
export interface ChallengeKeyOptions {
|
|
8842
8846
|
|
|
@@ -8930,7 +8934,7 @@ declare namespace chrome {
|
|
|
8930
8934
|
*
|
|
8931
8935
|
* @param options Object containing the fields defined in {@link ChallengeKeyOptions}.
|
|
8932
8936
|
* @param callback Called back with the challenge response.
|
|
8933
|
-
* @since
|
|
8937
|
+
* @since Chrome 110
|
|
8934
8938
|
*/
|
|
8935
8939
|
export function challengeKey(
|
|
8936
8940
|
|
|
@@ -8952,6 +8956,7 @@ declare namespace chrome {
|
|
|
8952
8956
|
* @param callback Called back with the challenge response.
|
|
8953
8957
|
* @deprecated Use {@link challengeKey} instead.
|
|
8954
8958
|
* @since Chrome 50
|
|
8959
|
+
* @chrome-deprecated-since Chrome 110
|
|
8955
8960
|
*/
|
|
8956
8961
|
export function challengeMachineKey(
|
|
8957
8962
|
|
|
@@ -8977,6 +8982,7 @@ declare namespace chrome {
|
|
|
8977
8982
|
* @param callback Called back with the challenge response.
|
|
8978
8983
|
* @deprecated Use {@link challengeKey} instead.
|
|
8979
8984
|
* @since Chrome 50
|
|
8985
|
+
* @chrome-deprecated-since Chrome 110
|
|
8980
8986
|
*/
|
|
8981
8987
|
export function challengeMachineKey(
|
|
8982
8988
|
|
|
@@ -8998,6 +9004,7 @@ declare namespace chrome {
|
|
|
8998
9004
|
* @param callback Called back with the challenge response.
|
|
8999
9005
|
* @deprecated Use {@link challengeKey} instead.
|
|
9000
9006
|
* @since Chrome 50
|
|
9007
|
+
* @chrome-deprecated-since Chrome 110
|
|
9001
9008
|
*/
|
|
9002
9009
|
export function challengeUserKey(
|
|
9003
9010
|
|
|
@@ -9875,7 +9882,7 @@ declare namespace chrome {
|
|
|
9875
9882
|
/**
|
|
9876
9883
|
* A mapping of one or more MIME types to one or more file extensions. e.g. "accept": {"text/csv": ".csv"} or {"text/csv": \[".csv", ".txt"\]}.
|
|
9877
9884
|
*
|
|
9878
|
-
* @since
|
|
9885
|
+
* @since Chrome 110
|
|
9879
9886
|
*/
|
|
9880
9887
|
accept: {[name: string]: any};
|
|
9881
9888
|
|
|
@@ -18122,7 +18129,7 @@ declare namespace chrome {
|
|
|
18122
18129
|
/**
|
|
18123
18130
|
* If enabled, the experimental [Privacy Sandbox](https://www.chromium.org/Home/chromium-privacy/privacy-sandbox) features are active. The value of this preference is of type boolean, and the default value is `true`.
|
|
18124
18131
|
*
|
|
18125
|
-
* @deprecated We’re deprecating the API
|
|
18132
|
+
* @deprecated We’re deprecating the API {@link websites.privacySandboxEnabled chrome.privacy.websites.privacySandboxEnabled}, though it will remain active for backward compatibility until release M113. Instead, please use {@link websites.topicsEnabled chrome.privacy.websites.topicsEnabled}, {@link websites.fledgeEnabled chrome.privacy.websites.fledgeEnabled} and {@link websites.adMeasurementEnabled chrome.privacy.websites.adMeasurementEnabled}. During the migration period: 1. Enabling privacySandboxEnabled will CLEAR the new APIs listed above because extensions aren’t allowed to enable them; 2. Disabling privacySandboxEnabled will also disable the new APIs; 3. Clearing privacySandboxEnabled will also clear the new APIs.
|
|
18126
18133
|
* @since Chrome 90
|
|
18127
18134
|
*/
|
|
18128
18135
|
privacySandboxEnabled: types.ChromeSetting<boolean>,
|
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": "db4113e145362dfb"
|
|
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.171"
|
|
20
20
|
}
|