chrome-types 0.1.217 → 0.1.218

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 +43 -2
  2. package/index.d.ts +43 -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 Jul 18 2023 22:30:55 GMT+0000 (Coordinated Universal Time)
18
- // Built at b630402640aa61a0daf8c3f93961f2c3efdb309e
17
+ // Generated on Wed Jul 19 2023 22:32:52 GMT+0000 (Coordinated Universal Time)
18
+ // Built at ecd9836255aac59c10fe92b3b179620298034162
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -22500,6 +22500,24 @@ declare namespace chrome {
22500
22500
  url: string;
22501
22501
  }
22502
22502
 
22503
+ export interface UpdateEntryOptions {
22504
+
22505
+ /**
22506
+ * The url that will be updated.
22507
+ */
22508
+ url: string;
22509
+
22510
+ /**
22511
+ * The updated title.
22512
+ */
22513
+ title?: string;
22514
+
22515
+ /**
22516
+ * The updated read status.
22517
+ */
22518
+ hasBeenRead?: boolean;
22519
+ }
22520
+
22503
22521
  /**
22504
22522
  * Adds an entry to the reading list if it does not exist.
22505
22523
  *
@@ -22545,6 +22563,29 @@ declare namespace chrome {
22545
22563
 
22546
22564
  callback?: () => void,
22547
22565
  ): void;
22566
+
22567
+ /**
22568
+ * Updates the features of a reading list entry if it exists.
22569
+ *
22570
+ * @param info The entry to update.
22571
+ */
22572
+ export function updateEntry(
22573
+
22574
+ info: UpdateEntryOptions,
22575
+ ): Promise<void>;
22576
+
22577
+ /**
22578
+ * Updates the features of a reading list entry if it exists.
22579
+ *
22580
+ * @param info The entry to update.
22581
+ * @param callback Invoked once the matched entries have been updated.
22582
+ */
22583
+ export function updateEntry(
22584
+
22585
+ info: UpdateEntryOptions,
22586
+
22587
+ callback?: () => void,
22588
+ ): void;
22548
22589
  }
22549
22590
 
22550
22591
  /**
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Tue Jul 18 2023 22:30:49 GMT+0000 (Coordinated Universal Time)
18
- // Built at b630402640aa61a0daf8c3f93961f2c3efdb309e
17
+ // Generated on Wed Jul 19 2023 22:32:45 GMT+0000 (Coordinated Universal Time)
18
+ // Built at ecd9836255aac59c10fe92b3b179620298034162
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -17264,6 +17264,24 @@ declare namespace chrome {
17264
17264
  url: string;
17265
17265
  }
17266
17266
 
17267
+ export interface UpdateEntryOptions {
17268
+
17269
+ /**
17270
+ * The url that will be updated.
17271
+ */
17272
+ url: string;
17273
+
17274
+ /**
17275
+ * The updated title.
17276
+ */
17277
+ title?: string;
17278
+
17279
+ /**
17280
+ * The updated read status.
17281
+ */
17282
+ hasBeenRead?: boolean;
17283
+ }
17284
+
17267
17285
  /**
17268
17286
  * Adds an entry to the reading list if it does not exist.
17269
17287
  *
@@ -17309,6 +17327,29 @@ declare namespace chrome {
17309
17327
 
17310
17328
  callback?: () => void,
17311
17329
  ): void;
17330
+
17331
+ /**
17332
+ * Updates the features of a reading list entry if it exists.
17333
+ *
17334
+ * @param info The entry to update.
17335
+ */
17336
+ export function updateEntry(
17337
+
17338
+ info: UpdateEntryOptions,
17339
+ ): Promise<void>;
17340
+
17341
+ /**
17342
+ * Updates the features of a reading list entry if it exists.
17343
+ *
17344
+ * @param info The entry to update.
17345
+ * @param callback Invoked once the matched entries have been updated.
17346
+ */
17347
+ export function updateEntry(
17348
+
17349
+ info: UpdateEntryOptions,
17350
+
17351
+ callback?: () => void,
17352
+ ): void;
17312
17353
  }
17313
17354
 
17314
17355
  /**
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "80cebf7571de3400"
8
+ "build-hash": "6f6d6d0b1b7cf4d7"
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.217"
19
+ "version": "0.1.218"
20
20
  }