chrome-types 0.1.274 → 0.1.275

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 +40 -3
  2. package/index.d.ts +40 -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 Tue Mar 19 2024 21:58:29 GMT+0000 (Coordinated Universal Time)
18
- // Built at a732d94bc71ad98bdfb0441c5cc2a4b7ef180ac0
17
+ // Generated on Mon Mar 25 2024 22:29:38 GMT+0000 (Coordinated Universal Time)
18
+ // Built at b06e805659902c48f6f09b9d5aa5337ea2399c1c
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -13624,6 +13624,17 @@ declare namespace chrome {
13624
13624
  id: string;
13625
13625
  }
13626
13626
 
13627
+ /**
13628
+ * @since Pending
13629
+ */
13630
+ export interface CloudFileInfo {
13631
+
13632
+ /**
13633
+ * A tag that represents the version of the file.
13634
+ */
13635
+ versionTag?: string;
13636
+ }
13637
+
13627
13638
  export interface EntryMetadata {
13628
13639
 
13629
13640
  /**
@@ -13662,6 +13673,13 @@ declare namespace chrome {
13662
13673
  * @since Chrome 117
13663
13674
  */
13664
13675
  cloudIdentifier?: CloudIdentifier;
13676
+
13677
+ /**
13678
+ * Information that identifies a specific file in the underlying cloud file system. Must be provided if requested in `options` and the file is backed by cloud storage.
13679
+ *
13680
+ * @since Pending
13681
+ */
13682
+ cloudFileInfo?: CloudFileInfo;
13665
13683
  }
13666
13684
 
13667
13685
  export interface Watcher {
@@ -13863,6 +13881,13 @@ declare namespace chrome {
13863
13881
  * @since Chrome 117
13864
13882
  */
13865
13883
  cloudIdentifier: boolean;
13884
+
13885
+ /**
13886
+ * Set to `true` if `cloudFileInfo` value is requested.
13887
+ *
13888
+ * @since Pending
13889
+ */
13890
+ cloudFileInfo: boolean;
13866
13891
  }
13867
13892
 
13868
13893
  /**
@@ -14297,6 +14322,13 @@ declare namespace chrome {
14297
14322
  * The type of the change which happened to the entry.
14298
14323
  */
14299
14324
  changeType: ChangeType;
14325
+
14326
+ /**
14327
+ * Information relating to the file if backed by a cloud file system.
14328
+ *
14329
+ * @since Pending
14330
+ */
14331
+ cloudFileInfo?: CloudFileInfo;
14300
14332
  }
14301
14333
 
14302
14334
  export interface NotifyOptions {
@@ -14406,7 +14438,12 @@ declare namespace chrome {
14406
14438
  */
14407
14439
  export const onOpenFileRequested: events.Event<(
14408
14440
  options: OpenFileRequestedOptions,
14409
- successCallback: () => void,
14441
+ successCallback: (
14442
+ /**
14443
+ * @since Pending
14444
+ */
14445
+ metadata?: EntryMetadata,
14446
+ ) => void,
14410
14447
  errorCallback: (
14411
14448
  error: ProviderError,
14412
14449
  ) => void,
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Tue Mar 19 2024 21:58:24 GMT+0000 (Coordinated Universal Time)
18
- // Built at a732d94bc71ad98bdfb0441c5cc2a4b7ef180ac0
17
+ // Generated on Mon Mar 25 2024 22:29:33 GMT+0000 (Coordinated Universal Time)
18
+ // Built at b06e805659902c48f6f09b9d5aa5337ea2399c1c
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -9346,6 +9346,17 @@ declare namespace chrome {
9346
9346
  id: string;
9347
9347
  }
9348
9348
 
9349
+ /**
9350
+ * @since Pending
9351
+ */
9352
+ export interface CloudFileInfo {
9353
+
9354
+ /**
9355
+ * A tag that represents the version of the file.
9356
+ */
9357
+ versionTag?: string;
9358
+ }
9359
+
9349
9360
  export interface EntryMetadata {
9350
9361
 
9351
9362
  /**
@@ -9384,6 +9395,13 @@ declare namespace chrome {
9384
9395
  * @since Chrome 117
9385
9396
  */
9386
9397
  cloudIdentifier?: CloudIdentifier;
9398
+
9399
+ /**
9400
+ * Information that identifies a specific file in the underlying cloud file system. Must be provided if requested in `options` and the file is backed by cloud storage.
9401
+ *
9402
+ * @since Pending
9403
+ */
9404
+ cloudFileInfo?: CloudFileInfo;
9387
9405
  }
9388
9406
 
9389
9407
  export interface Watcher {
@@ -9585,6 +9603,13 @@ declare namespace chrome {
9585
9603
  * @since Chrome 117
9586
9604
  */
9587
9605
  cloudIdentifier: boolean;
9606
+
9607
+ /**
9608
+ * Set to `true` if `cloudFileInfo` value is requested.
9609
+ *
9610
+ * @since Pending
9611
+ */
9612
+ cloudFileInfo: boolean;
9588
9613
  }
9589
9614
 
9590
9615
  /**
@@ -10019,6 +10044,13 @@ declare namespace chrome {
10019
10044
  * The type of the change which happened to the entry.
10020
10045
  */
10021
10046
  changeType: ChangeType;
10047
+
10048
+ /**
10049
+ * Information relating to the file if backed by a cloud file system.
10050
+ *
10051
+ * @since Pending
10052
+ */
10053
+ cloudFileInfo?: CloudFileInfo;
10022
10054
  }
10023
10055
 
10024
10056
  export interface NotifyOptions {
@@ -10128,7 +10160,12 @@ declare namespace chrome {
10128
10160
  */
10129
10161
  export const onOpenFileRequested: events.Event<(
10130
10162
  options: OpenFileRequestedOptions,
10131
- successCallback: () => void,
10163
+ successCallback: (
10164
+ /**
10165
+ * @since Pending
10166
+ */
10167
+ metadata?: EntryMetadata,
10168
+ ) => void,
10132
10169
  errorCallback: (
10133
10170
  error: ProviderError,
10134
10171
  ) => void,
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "76c7bd5dbfb2941d"
8
+ "build-hash": "7bbc5e180a585b16"
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.274"
19
+ "version": "0.1.275"
20
20
  }