chrome-types 0.1.312 → 0.1.313

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.
Files changed (3) hide show
  1. package/_all.d.ts +45 -2
  2. package/index.d.ts +45 -2
  3. 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 Oct 22 2024 22:31:13 GMT+0000 (Coordinated Universal Time)
18
- // Built at fb4bebb91f8e8605559e3fd14641980a0f4ae8f0
17
+ // Generated on Tue Oct 29 2024 22:31:40 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 5508ef152b45e6f8f0a7b52e3accccfec95faf35
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -12190,6 +12190,49 @@ declare namespace chrome {
12190
12190
  ): void;
12191
12191
  }
12192
12192
 
12193
+ /**
12194
+ * Use the `chrome.enterprise.kioskInput` API to change input settings for Kiosk sessions. Note: This API is only available to extensions installed by enterprise policy in ChromeOS Kiosk sessions.
12195
+ *
12196
+ * @since Pending
12197
+ * @chrome-permission enterprise.kioskInput
12198
+ * @chrome-install-location policy
12199
+ * @chrome-platform chromeos
12200
+ * @chrome-platform lacros
12201
+ */
12202
+ export namespace enterprise.kioskInput {
12203
+
12204
+ export interface SetCurrentInputMethodOptions {
12205
+
12206
+ /**
12207
+ * The input method ID to set as current input method. This input method has to be enabled by enterprise policies. Supported IDs are located in https://crsrc.org/c/chrome/browser/resources/chromeos/input\_method.
12208
+ */
12209
+ inputMethodId: string;
12210
+ }
12211
+
12212
+ /**
12213
+ * Sets the current input method. This function only changes the current input method to an enabled input method. Input methods can be enabled by enterprise polices. If the input method ID is invalid, or not enabled, {@link runtime.lastError} will be set with a failure reason.
12214
+ *
12215
+ * @param options Object containing the fields defined in {@link SetCurrentInputMethodOptions}.
12216
+ */
12217
+ export function setCurrentInputMethod(
12218
+
12219
+ options: SetCurrentInputMethodOptions,
12220
+ ): Promise<void>;
12221
+
12222
+ /**
12223
+ * Sets the current input method. This function only changes the current input method to an enabled input method. Input methods can be enabled by enterprise polices. If the input method ID is invalid, or not enabled, {@link runtime.lastError} will be set with a failure reason.
12224
+ *
12225
+ * @param options Object containing the fields defined in {@link SetCurrentInputMethodOptions}.
12226
+ * @param callback Called when the input method is changed or if there is an error.
12227
+ */
12228
+ export function setCurrentInputMethod(
12229
+
12230
+ options: SetCurrentInputMethodOptions,
12231
+
12232
+ callback?: () => void,
12233
+ ): void;
12234
+ }
12235
+
12193
12236
  /**
12194
12237
  * Use the `chrome.enterprise.networkingAttributes` API to read information about your current network. Note: This API is only available to extensions force-installed by enterprise policy.
12195
12238
  *
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Tue Oct 22 2024 22:31:08 GMT+0000 (Coordinated Universal Time)
18
- // Built at fb4bebb91f8e8605559e3fd14641980a0f4ae8f0
17
+ // Generated on Tue Oct 29 2024 22:31:35 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 5508ef152b45e6f8f0a7b52e3accccfec95faf35
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -8320,6 +8320,49 @@ declare namespace chrome {
8320
8320
  ): void;
8321
8321
  }
8322
8322
 
8323
+ /**
8324
+ * Use the `chrome.enterprise.kioskInput` API to change input settings for Kiosk sessions. Note: This API is only available to extensions installed by enterprise policy in ChromeOS Kiosk sessions.
8325
+ *
8326
+ * @since Pending
8327
+ * @chrome-permission enterprise.kioskInput
8328
+ * @chrome-install-location policy
8329
+ * @chrome-platform chromeos
8330
+ * @chrome-platform lacros
8331
+ */
8332
+ export namespace enterprise.kioskInput {
8333
+
8334
+ export interface SetCurrentInputMethodOptions {
8335
+
8336
+ /**
8337
+ * The input method ID to set as current input method. This input method has to be enabled by enterprise policies. Supported IDs are located in https://crsrc.org/c/chrome/browser/resources/chromeos/input\_method.
8338
+ */
8339
+ inputMethodId: string;
8340
+ }
8341
+
8342
+ /**
8343
+ * Sets the current input method. This function only changes the current input method to an enabled input method. Input methods can be enabled by enterprise polices. If the input method ID is invalid, or not enabled, {@link runtime.lastError} will be set with a failure reason.
8344
+ *
8345
+ * @param options Object containing the fields defined in {@link SetCurrentInputMethodOptions}.
8346
+ */
8347
+ export function setCurrentInputMethod(
8348
+
8349
+ options: SetCurrentInputMethodOptions,
8350
+ ): Promise<void>;
8351
+
8352
+ /**
8353
+ * Sets the current input method. This function only changes the current input method to an enabled input method. Input methods can be enabled by enterprise polices. If the input method ID is invalid, or not enabled, {@link runtime.lastError} will be set with a failure reason.
8354
+ *
8355
+ * @param options Object containing the fields defined in {@link SetCurrentInputMethodOptions}.
8356
+ * @param callback Called when the input method is changed or if there is an error.
8357
+ */
8358
+ export function setCurrentInputMethod(
8359
+
8360
+ options: SetCurrentInputMethodOptions,
8361
+
8362
+ callback?: () => void,
8363
+ ): void;
8364
+ }
8365
+
8323
8366
  /**
8324
8367
  * Use the `chrome.enterprise.networkingAttributes` API to read information about your current network. Note: This API is only available to extensions force-installed by enterprise policy.
8325
8368
  *
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "2f2ba4c0667c5342"
8
+ "build-hash": "7d91390fb88fae5e"
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.312"
19
+ "version": "0.1.313"
20
20
  }