chrome-types 0.1.310 → 0.1.311
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 +43 -2
- package/index.d.ts +43 -2
- 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 Mon Oct 21 2024 22:32:45 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 9c5b28be7f43e0f74c0ec2b6c687fa0de7c1e0f4
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -32836,6 +32836,36 @@ declare namespace chrome {
|
|
|
32836
32836
|
*/
|
|
32837
32837
|
export type VoiceGender = "male" | "female";
|
|
32838
32838
|
|
|
32839
|
+
/**
|
|
32840
|
+
* The install status of a voice.
|
|
32841
|
+
*
|
|
32842
|
+
* @since Pending
|
|
32843
|
+
*/
|
|
32844
|
+
export type LanguageInstallStatus = "notInstalled" | "installing" | "installed" | "failed";
|
|
32845
|
+
|
|
32846
|
+
/**
|
|
32847
|
+
* Install status of a language.
|
|
32848
|
+
*
|
|
32849
|
+
* @since Pending
|
|
32850
|
+
*/
|
|
32851
|
+
export interface LanguageStatus {
|
|
32852
|
+
|
|
32853
|
+
/**
|
|
32854
|
+
* Language string in the form language code-region code, where the region may be omitted. Examples are en, en-AU, zh-CH.
|
|
32855
|
+
*/
|
|
32856
|
+
lang: string;
|
|
32857
|
+
|
|
32858
|
+
/**
|
|
32859
|
+
* Installation status.
|
|
32860
|
+
*/
|
|
32861
|
+
installStatus: LanguageInstallStatus;
|
|
32862
|
+
|
|
32863
|
+
/**
|
|
32864
|
+
* Detail about installation failures. Optionally populated if the language failed to install.
|
|
32865
|
+
*/
|
|
32866
|
+
error?: string;
|
|
32867
|
+
}
|
|
32868
|
+
|
|
32839
32869
|
/**
|
|
32840
32870
|
* Options specified to the tts.speak() method.
|
|
32841
32871
|
*
|
|
@@ -32991,6 +33021,17 @@ declare namespace chrome {
|
|
|
32991
33021
|
|
|
32992
33022
|
voices: tts.TtsVoice[],
|
|
32993
33023
|
): void;
|
|
33024
|
+
|
|
33025
|
+
/**
|
|
33026
|
+
* Called by an engine when a language install is attempted, and when a language is uninstalled. Also called in response to a status request from a client. When a voice is installed or uninstalled, the engine should also call ttsEngine.updateVoices to register the voice.
|
|
33027
|
+
*
|
|
33028
|
+
* @param status The install status of the language.
|
|
33029
|
+
* @since Pending
|
|
33030
|
+
*/
|
|
33031
|
+
export function updateLanguage(
|
|
33032
|
+
|
|
33033
|
+
status: LanguageStatus,
|
|
33034
|
+
): void;
|
|
32994
33035
|
}
|
|
32995
33036
|
|
|
32996
33037
|
/**
|
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 Mon Oct 21 2024 22:32:40 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 9c5b28be7f43e0f74c0ec2b6c687fa0de7c1e0f4
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -25688,6 +25688,36 @@ declare namespace chrome {
|
|
|
25688
25688
|
*/
|
|
25689
25689
|
export type VoiceGender = "male" | "female";
|
|
25690
25690
|
|
|
25691
|
+
/**
|
|
25692
|
+
* The install status of a voice.
|
|
25693
|
+
*
|
|
25694
|
+
* @since Pending
|
|
25695
|
+
*/
|
|
25696
|
+
export type LanguageInstallStatus = "notInstalled" | "installing" | "installed" | "failed";
|
|
25697
|
+
|
|
25698
|
+
/**
|
|
25699
|
+
* Install status of a language.
|
|
25700
|
+
*
|
|
25701
|
+
* @since Pending
|
|
25702
|
+
*/
|
|
25703
|
+
export interface LanguageStatus {
|
|
25704
|
+
|
|
25705
|
+
/**
|
|
25706
|
+
* Language string in the form language code-region code, where the region may be omitted. Examples are en, en-AU, zh-CH.
|
|
25707
|
+
*/
|
|
25708
|
+
lang: string;
|
|
25709
|
+
|
|
25710
|
+
/**
|
|
25711
|
+
* Installation status.
|
|
25712
|
+
*/
|
|
25713
|
+
installStatus: LanguageInstallStatus;
|
|
25714
|
+
|
|
25715
|
+
/**
|
|
25716
|
+
* Detail about installation failures. Optionally populated if the language failed to install.
|
|
25717
|
+
*/
|
|
25718
|
+
error?: string;
|
|
25719
|
+
}
|
|
25720
|
+
|
|
25691
25721
|
/**
|
|
25692
25722
|
* Options specified to the tts.speak() method.
|
|
25693
25723
|
*
|
|
@@ -25843,6 +25873,17 @@ declare namespace chrome {
|
|
|
25843
25873
|
|
|
25844
25874
|
voices: tts.TtsVoice[],
|
|
25845
25875
|
): void;
|
|
25876
|
+
|
|
25877
|
+
/**
|
|
25878
|
+
* Called by an engine when a language install is attempted, and when a language is uninstalled. Also called in response to a status request from a client. When a voice is installed or uninstalled, the engine should also call ttsEngine.updateVoices to register the voice.
|
|
25879
|
+
*
|
|
25880
|
+
* @param status The install status of the language.
|
|
25881
|
+
* @since Pending
|
|
25882
|
+
*/
|
|
25883
|
+
export function updateLanguage(
|
|
25884
|
+
|
|
25885
|
+
status: LanguageStatus,
|
|
25886
|
+
): void;
|
|
25846
25887
|
}
|
|
25847
25888
|
|
|
25848
25889
|
/**
|
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": "5286a4e5f0638a01"
|
|
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.311"
|
|
20
20
|
}
|