chrome-types 0.1.228 → 0.1.229
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.
- package/_all.d.ts +34 -6
- package/index.d.ts +34 -6
- 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
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Tue Aug 29 2023 22:29:22 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 7641e402ebfdb1e9115a8fb2034262c05d8365e0
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -22572,6 +22572,34 @@ declare namespace chrome {
|
|
|
22572
22572
|
* True if the entry has been read.
|
|
22573
22573
|
*/
|
|
22574
22574
|
hasBeenRead: boolean;
|
|
22575
|
+
|
|
22576
|
+
/**
|
|
22577
|
+
* The last update time of the entry. Recorded in milliseconds since Jan 1st 1970.
|
|
22578
|
+
*/
|
|
22579
|
+
lastUpdateTime: number;
|
|
22580
|
+
|
|
22581
|
+
/**
|
|
22582
|
+
* The creation time of the entry. Recorded in milliseconds since Jan 1st 1970.
|
|
22583
|
+
*/
|
|
22584
|
+
creationTime: number;
|
|
22585
|
+
}
|
|
22586
|
+
|
|
22587
|
+
export interface AddEntryOptions {
|
|
22588
|
+
|
|
22589
|
+
/**
|
|
22590
|
+
* The url of the entry.
|
|
22591
|
+
*/
|
|
22592
|
+
url: string;
|
|
22593
|
+
|
|
22594
|
+
/**
|
|
22595
|
+
* The title of the entry.
|
|
22596
|
+
*/
|
|
22597
|
+
title: string;
|
|
22598
|
+
|
|
22599
|
+
/**
|
|
22600
|
+
* True if the entry has been read.
|
|
22601
|
+
*/
|
|
22602
|
+
hasBeenRead: boolean;
|
|
22575
22603
|
}
|
|
22576
22604
|
|
|
22577
22605
|
export interface RemoveOptions {
|
|
@@ -22626,9 +22654,9 @@ declare namespace chrome {
|
|
|
22626
22654
|
) => void>;
|
|
22627
22655
|
|
|
22628
22656
|
/**
|
|
22629
|
-
* Triggered when a ReadingListEntry is
|
|
22657
|
+
* Triggered when a ReadingListEntry is removed from the reading list.
|
|
22630
22658
|
*/
|
|
22631
|
-
export const
|
|
22659
|
+
export const onEntryRemoved: events.Event<(
|
|
22632
22660
|
entry: ReadingListEntry,
|
|
22633
22661
|
) => void>;
|
|
22634
22662
|
|
|
@@ -22646,7 +22674,7 @@ declare namespace chrome {
|
|
|
22646
22674
|
*/
|
|
22647
22675
|
export function addEntry(
|
|
22648
22676
|
|
|
22649
|
-
entry:
|
|
22677
|
+
entry: AddEntryOptions,
|
|
22650
22678
|
): Promise<void>;
|
|
22651
22679
|
|
|
22652
22680
|
/**
|
|
@@ -22657,7 +22685,7 @@ declare namespace chrome {
|
|
|
22657
22685
|
*/
|
|
22658
22686
|
export function addEntry(
|
|
22659
22687
|
|
|
22660
|
-
entry:
|
|
22688
|
+
entry: AddEntryOptions,
|
|
22661
22689
|
|
|
22662
22690
|
callback?: () => void,
|
|
22663
22691
|
): void;
|
package/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Tue Aug 29 2023 22:29:17 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 7641e402ebfdb1e9115a8fb2034262c05d8365e0
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -17336,6 +17336,34 @@ declare namespace chrome {
|
|
|
17336
17336
|
* True if the entry has been read.
|
|
17337
17337
|
*/
|
|
17338
17338
|
hasBeenRead: boolean;
|
|
17339
|
+
|
|
17340
|
+
/**
|
|
17341
|
+
* The last update time of the entry. Recorded in milliseconds since Jan 1st 1970.
|
|
17342
|
+
*/
|
|
17343
|
+
lastUpdateTime: number;
|
|
17344
|
+
|
|
17345
|
+
/**
|
|
17346
|
+
* The creation time of the entry. Recorded in milliseconds since Jan 1st 1970.
|
|
17347
|
+
*/
|
|
17348
|
+
creationTime: number;
|
|
17349
|
+
}
|
|
17350
|
+
|
|
17351
|
+
export interface AddEntryOptions {
|
|
17352
|
+
|
|
17353
|
+
/**
|
|
17354
|
+
* The url of the entry.
|
|
17355
|
+
*/
|
|
17356
|
+
url: string;
|
|
17357
|
+
|
|
17358
|
+
/**
|
|
17359
|
+
* The title of the entry.
|
|
17360
|
+
*/
|
|
17361
|
+
title: string;
|
|
17362
|
+
|
|
17363
|
+
/**
|
|
17364
|
+
* True if the entry has been read.
|
|
17365
|
+
*/
|
|
17366
|
+
hasBeenRead: boolean;
|
|
17339
17367
|
}
|
|
17340
17368
|
|
|
17341
17369
|
export interface RemoveOptions {
|
|
@@ -17390,9 +17418,9 @@ declare namespace chrome {
|
|
|
17390
17418
|
) => void>;
|
|
17391
17419
|
|
|
17392
17420
|
/**
|
|
17393
|
-
* Triggered when a ReadingListEntry is
|
|
17421
|
+
* Triggered when a ReadingListEntry is removed from the reading list.
|
|
17394
17422
|
*/
|
|
17395
|
-
export const
|
|
17423
|
+
export const onEntryRemoved: events.Event<(
|
|
17396
17424
|
entry: ReadingListEntry,
|
|
17397
17425
|
) => void>;
|
|
17398
17426
|
|
|
@@ -17410,7 +17438,7 @@ declare namespace chrome {
|
|
|
17410
17438
|
*/
|
|
17411
17439
|
export function addEntry(
|
|
17412
17440
|
|
|
17413
|
-
entry:
|
|
17441
|
+
entry: AddEntryOptions,
|
|
17414
17442
|
): Promise<void>;
|
|
17415
17443
|
|
|
17416
17444
|
/**
|
|
@@ -17421,7 +17449,7 @@ declare namespace chrome {
|
|
|
17421
17449
|
*/
|
|
17422
17450
|
export function addEntry(
|
|
17423
17451
|
|
|
17424
|
-
entry:
|
|
17452
|
+
entry: AddEntryOptions,
|
|
17425
17453
|
|
|
17426
17454
|
callback?: () => void,
|
|
17427
17455
|
): void;
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"name": "chrome-types",
|
|
7
7
|
"config": {
|
|
8
|
-
"build-hash": "
|
|
8
|
+
"build-hash": "573a3f6f71c389cf"
|
|
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.
|
|
19
|
+
"version": "0.1.229"
|
|
20
20
|
}
|