chrome-types 0.1.220 → 0.1.221

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 +34 -4
  2. package/index.d.ts +34 -4
  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 Fri Aug 04 2023 22:30:29 GMT+0000 (Coordinated Universal Time)
18
- // Built at cedac4e4766600eba0c0482adf430d1af71fb4b8
17
+ // Generated on Mon Aug 07 2023 22:29:58 GMT+0000 (Coordinated Universal Time)
18
+ // Built at d7c1b3101aa1b91a744399eabc12dd6336629ac9
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -12669,6 +12669,22 @@ declare namespace chrome {
12669
12669
  */
12670
12670
  export type CommonActionId = "SAVE_FOR_OFFLINE" | "OFFLINE_NOT_NECESSARY" | "SHARE";
12671
12671
 
12672
+ /**
12673
+ * @since Pending
12674
+ */
12675
+ export interface CloudIdentifier {
12676
+
12677
+ /**
12678
+ * Identifier for the cloud storage provider (e.g. 'drive.google.com').
12679
+ */
12680
+ providerName: string;
12681
+
12682
+ /**
12683
+ * The provider's identifier for the given file/directory.
12684
+ */
12685
+ id: string;
12686
+ }
12687
+
12672
12688
  export interface EntryMetadata {
12673
12689
 
12674
12690
  /**
@@ -12700,6 +12716,13 @@ declare namespace chrome {
12700
12716
  * Thumbnail image as a data URI in either PNG, JPEG or WEBP format, at most 32 KB in size. Optional, but can be provided only when explicitly requested by the {@link onGetMetadataRequested} event.
12701
12717
  */
12702
12718
  thumbnail?: string;
12719
+
12720
+ /**
12721
+ * Cloud storage representation of this entry. Must be provided if requested in `options` and the file is backed by cloud storage. For local files not backed by cloud storage, it should be undefined when requested.
12722
+ *
12723
+ * @since Pending
12724
+ */
12725
+ cloudIdentifier?: CloudIdentifier;
12703
12726
  }
12704
12727
 
12705
12728
  export interface Watcher {
@@ -12891,9 +12914,16 @@ declare namespace chrome {
12891
12914
  mimeType: boolean;
12892
12915
 
12893
12916
  /**
12894
- * Set to `true` if the thumbnail is requested.
12917
+ * Set to `true` if `thumbnail` value is requested.
12895
12918
  */
12896
12919
  thumbnail: boolean;
12920
+
12921
+ /**
12922
+ * Set to `true` if `cloudIdentifier` value is requested.
12923
+ *
12924
+ * @since Pending
12925
+ */
12926
+ cloudIdentifier: boolean;
12897
12927
  }
12898
12928
 
12899
12929
  /**
@@ -12972,7 +13002,7 @@ declare namespace chrome {
12972
13002
  mimeType: boolean;
12973
13003
 
12974
13004
  /**
12975
- * Set to `true` if the thumbnail is requested.
13005
+ * Set to `true` if `thumbnail` value is requested.
12976
13006
  *
12977
13007
  * @since Chrome 49
12978
13008
  */
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Fri Aug 04 2023 22:30:24 GMT+0000 (Coordinated Universal Time)
18
- // Built at cedac4e4766600eba0c0482adf430d1af71fb4b8
17
+ // Generated on Mon Aug 07 2023 22:29:53 GMT+0000 (Coordinated Universal Time)
18
+ // Built at d7c1b3101aa1b91a744399eabc12dd6336629ac9
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -8381,6 +8381,22 @@ declare namespace chrome {
8381
8381
  */
8382
8382
  export type CommonActionId = "SAVE_FOR_OFFLINE" | "OFFLINE_NOT_NECESSARY" | "SHARE";
8383
8383
 
8384
+ /**
8385
+ * @since Pending
8386
+ */
8387
+ export interface CloudIdentifier {
8388
+
8389
+ /**
8390
+ * Identifier for the cloud storage provider (e.g. 'drive.google.com').
8391
+ */
8392
+ providerName: string;
8393
+
8394
+ /**
8395
+ * The provider's identifier for the given file/directory.
8396
+ */
8397
+ id: string;
8398
+ }
8399
+
8384
8400
  export interface EntryMetadata {
8385
8401
 
8386
8402
  /**
@@ -8412,6 +8428,13 @@ declare namespace chrome {
8412
8428
  * Thumbnail image as a data URI in either PNG, JPEG or WEBP format, at most 32 KB in size. Optional, but can be provided only when explicitly requested by the {@link onGetMetadataRequested} event.
8413
8429
  */
8414
8430
  thumbnail?: string;
8431
+
8432
+ /**
8433
+ * Cloud storage representation of this entry. Must be provided if requested in `options` and the file is backed by cloud storage. For local files not backed by cloud storage, it should be undefined when requested.
8434
+ *
8435
+ * @since Pending
8436
+ */
8437
+ cloudIdentifier?: CloudIdentifier;
8415
8438
  }
8416
8439
 
8417
8440
  export interface Watcher {
@@ -8603,9 +8626,16 @@ declare namespace chrome {
8603
8626
  mimeType: boolean;
8604
8627
 
8605
8628
  /**
8606
- * Set to `true` if the thumbnail is requested.
8629
+ * Set to `true` if `thumbnail` value is requested.
8607
8630
  */
8608
8631
  thumbnail: boolean;
8632
+
8633
+ /**
8634
+ * Set to `true` if `cloudIdentifier` value is requested.
8635
+ *
8636
+ * @since Pending
8637
+ */
8638
+ cloudIdentifier: boolean;
8609
8639
  }
8610
8640
 
8611
8641
  /**
@@ -8684,7 +8714,7 @@ declare namespace chrome {
8684
8714
  mimeType: boolean;
8685
8715
 
8686
8716
  /**
8687
- * Set to `true` if the thumbnail is requested.
8717
+ * Set to `true` if `thumbnail` value is requested.
8688
8718
  *
8689
8719
  * @since Chrome 49
8690
8720
  */
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "6e5667e877a0ff26"
8
+ "build-hash": "b7918cf1e5ba71b5"
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.220"
19
+ "version": "0.1.221"
20
20
  }