chrome-types 0.1.86 → 0.1.87

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 +20 -3
  2. package/index.d.ts +20 -3
  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 Thu Feb 03 2022 22:30:14 GMT+0000 (Coordinated Universal Time)
18
- // Built at 27124edddb3bedc7b89edf1147a3437c82851fd4
17
+ // Generated on Wed Feb 09 2022 22:28:20 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 5de99f2d63898410388e1c54d18c8184bbc9a6a4
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -17369,8 +17369,9 @@ declare namespace chrome {
17369
17369
  * @chrome-enum "IN\_LOGIN\_SCREEN" The user is in the login screen.
17370
17370
  * @chrome-enum "IN\_SESSION" The user is in the session.
17371
17371
  * @chrome-enum "IN\_LOCK\_SCREEN" The user is in the lock screen.
17372
+ * @chrome-enum "IN\_RMA\_SCREEN" The device is in RMA mode, finalizing repairs.
17372
17373
  */
17373
- export type SessionState = "UNKNOWN" | "IN_OOBE_SCREEN" | "IN_LOGIN_SCREEN" | "IN_SESSION" | "IN_LOCK_SCREEN";
17374
+ export type SessionState = "UNKNOWN" | "IN_OOBE_SCREEN" | "IN_LOGIN_SCREEN" | "IN_SESSION" | "IN_LOCK_SCREEN" | "IN_RMA_SCREEN";
17374
17375
 
17375
17376
  /**
17376
17377
  * Dispatched when the session state changes. `sessionState` is the new session state.
@@ -20727,6 +20728,17 @@ declare namespace chrome {
20727
20728
  text: string,
20728
20729
  ) => void>;
20729
20730
 
20731
+ /**
20732
+ * Sets the description and styling for the default suggestion. The default suggestion is the text that is displayed in the first suggestion row underneath the URL bar.
20733
+ *
20734
+ * @chrome-returns-extra since Pending
20735
+ * @param suggestion A partial SuggestResult object, without the 'content' parameter.
20736
+ */
20737
+ export function setDefaultSuggestion(
20738
+
20739
+ suggestion: DefaultSuggestResult,
20740
+ ): Promise<void>;
20741
+
20730
20742
  /**
20731
20743
  * Sets the description and styling for the default suggestion. The default suggestion is the text that is displayed in the first suggestion row underneath the URL bar.
20732
20744
  *
@@ -20735,6 +20747,11 @@ declare namespace chrome {
20735
20747
  export function setDefaultSuggestion(
20736
20748
 
20737
20749
  suggestion: DefaultSuggestResult,
20750
+
20751
+ /**
20752
+ * @since Pending
20753
+ */
20754
+ callback?: () => void,
20738
20755
  ): void;
20739
20756
  }
20740
20757
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Thu Feb 03 2022 22:30:10 GMT+0000 (Coordinated Universal Time)
18
- // Built at 27124edddb3bedc7b89edf1147a3437c82851fd4
17
+ // Generated on Wed Feb 09 2022 22:28:14 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 5de99f2d63898410388e1c54d18c8184bbc9a6a4
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -12670,8 +12670,9 @@ declare namespace chrome {
12670
12670
  * @chrome-enum "IN\_LOGIN\_SCREEN" The user is in the login screen.
12671
12671
  * @chrome-enum "IN\_SESSION" The user is in the session.
12672
12672
  * @chrome-enum "IN\_LOCK\_SCREEN" The user is in the lock screen.
12673
+ * @chrome-enum "IN\_RMA\_SCREEN" The device is in RMA mode, finalizing repairs.
12673
12674
  */
12674
- export type SessionState = "UNKNOWN" | "IN_OOBE_SCREEN" | "IN_LOGIN_SCREEN" | "IN_SESSION" | "IN_LOCK_SCREEN";
12675
+ export type SessionState = "UNKNOWN" | "IN_OOBE_SCREEN" | "IN_LOGIN_SCREEN" | "IN_SESSION" | "IN_LOCK_SCREEN" | "IN_RMA_SCREEN";
12675
12676
 
12676
12677
  /**
12677
12678
  * Dispatched when the session state changes. `sessionState` is the new session state.
@@ -13785,6 +13786,17 @@ declare namespace chrome {
13785
13786
  text: string,
13786
13787
  ) => void>;
13787
13788
 
13789
+ /**
13790
+ * Sets the description and styling for the default suggestion. The default suggestion is the text that is displayed in the first suggestion row underneath the URL bar.
13791
+ *
13792
+ * @chrome-returns-extra since Pending
13793
+ * @param suggestion A partial SuggestResult object, without the 'content' parameter.
13794
+ */
13795
+ export function setDefaultSuggestion(
13796
+
13797
+ suggestion: DefaultSuggestResult,
13798
+ ): Promise<void>;
13799
+
13788
13800
  /**
13789
13801
  * Sets the description and styling for the default suggestion. The default suggestion is the text that is displayed in the first suggestion row underneath the URL bar.
13790
13802
  *
@@ -13793,6 +13805,11 @@ declare namespace chrome {
13793
13805
  export function setDefaultSuggestion(
13794
13806
 
13795
13807
  suggestion: DefaultSuggestResult,
13808
+
13809
+ /**
13810
+ * @since Pending
13811
+ */
13812
+ callback?: () => void,
13796
13813
  ): void;
13797
13814
  }
13798
13815
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "dff006794b45dbf0"
8
+ "build-hash": "b7a71e6f500926e0"
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.86"
19
+ "version": "0.1.87"
20
20
  }