@types/chrome 0.0.235 → 0.0.237
Sign up to get free protection for your applications and to get access to all the features.
- chrome/README.md +1 -1
- chrome/chrome-cast/index.d.ts +14 -15
- chrome/index.d.ts +13 -3
- chrome/package.json +2 -2
chrome/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Chrome extension development (http://
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated:
|
11
|
+
* Last updated: Thu, 25 May 2023 20:34:07 GMT
|
12
12
|
* Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
|
13
13
|
* Global values: `chrome`
|
14
14
|
|
chrome/chrome-cast/index.d.ts
CHANGED
@@ -93,7 +93,6 @@ declare namespace chrome.cast {
|
|
93
93
|
}
|
94
94
|
|
95
95
|
/**
|
96
|
-
* @const {!Array<number>}
|
97
96
|
* @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast#.VERSION
|
98
97
|
*/
|
99
98
|
export var VERSION: Array<number>;
|
@@ -733,11 +732,11 @@ declare namespace chrome.cast.media {
|
|
733
732
|
images: Array<chrome.cast.Image>;
|
734
733
|
metadataType: chrome.cast.media.MetadataType;
|
735
734
|
releaseDate: string;
|
736
|
-
/** @deprecated
|
735
|
+
/** @deprecated Use releaseDate instead. */
|
737
736
|
releaseYear: number;
|
738
737
|
subtitle: string;
|
739
738
|
title: string;
|
740
|
-
/** @deprecated
|
739
|
+
/** @deprecated Use metadataType instead. */
|
741
740
|
type: chrome.cast.media.MetadataType;
|
742
741
|
}
|
743
742
|
|
@@ -750,12 +749,12 @@ declare namespace chrome.cast.media {
|
|
750
749
|
images: Array<chrome.cast.Image>;
|
751
750
|
metadataType: chrome.cast.media.MetadataType;
|
752
751
|
releaseDate: string;
|
753
|
-
/** @deprecated
|
752
|
+
/** @deprecated Use releaseDate instead. */
|
754
753
|
releaseYear: number;
|
755
754
|
subtitle: string;
|
756
755
|
title: string;
|
757
756
|
studio: string;
|
758
|
-
/** @deprecated
|
757
|
+
/** @deprecated Use metadataType instead. */
|
759
758
|
type: chrome.cast.media.MetadataType;
|
760
759
|
}
|
761
760
|
|
@@ -773,15 +772,15 @@ declare namespace chrome.cast.media {
|
|
773
772
|
images: Array<chrome.cast.Image>;
|
774
773
|
originalAirdate: string;
|
775
774
|
|
776
|
-
/** @deprecated
|
775
|
+
/** @deprecated Use metadataType instead. */
|
777
776
|
type: chrome.cast.media.MetadataType;
|
778
|
-
/** @deprecated
|
777
|
+
/** @deprecated Use title instead. */
|
779
778
|
episodeTitle: string;
|
780
|
-
/** @deprecated
|
779
|
+
/** @deprecated Use season instead. */
|
781
780
|
seasonNumber: number;
|
782
|
-
/** @deprecated
|
781
|
+
/** @deprecated Use episode instead. */
|
783
782
|
episodeNumber: number;
|
784
|
-
/** @deprecated
|
783
|
+
/** @deprecated Use originalAirdate instead. */
|
785
784
|
releaseYear: number;
|
786
785
|
}
|
787
786
|
|
@@ -803,11 +802,11 @@ declare namespace chrome.cast.media {
|
|
803
802
|
images: Array<chrome.cast.Image>;
|
804
803
|
releaseDate: string;
|
805
804
|
|
806
|
-
/** @deprecated
|
805
|
+
/** @deprecated Use metadataType instead. */
|
807
806
|
type: chrome.cast.media.MetadataType;
|
808
|
-
/** @deprecated
|
807
|
+
/** @deprecated Use artist instead. */
|
809
808
|
artistName: string;
|
810
|
-
/** @deprecated
|
809
|
+
/** @deprecated Use releaseDate instead. */
|
811
810
|
releaseYear: number;
|
812
811
|
}
|
813
812
|
|
@@ -828,7 +827,7 @@ declare namespace chrome.cast.media {
|
|
828
827
|
height: number;
|
829
828
|
creationDateTime: string;
|
830
829
|
|
831
|
-
/** @deprecated
|
830
|
+
/** @deprecated Use metadataType instead. */
|
832
831
|
type: chrome.cast.media.MetadataType;
|
833
832
|
}
|
834
833
|
|
@@ -875,7 +874,7 @@ declare namespace chrome.cast.media {
|
|
875
874
|
supportedMediaCommands: Array<chrome.cast.media.MediaCommand>;
|
876
875
|
volume: chrome.cast.Volume;
|
877
876
|
|
878
|
-
/** @deprecated
|
877
|
+
/** @deprecated Use getEstimatedTime instead */
|
879
878
|
currentTime: number;
|
880
879
|
|
881
880
|
/**
|
chrome/index.d.ts
CHANGED
@@ -8430,7 +8430,7 @@ declare namespace chrome.system.display {
|
|
8430
8430
|
* This is only valid for the primary display.
|
8431
8431
|
* If provided, mirroringSourceId must not be provided and other properties may not apply.
|
8432
8432
|
* This is has no effect if not provided.
|
8433
|
-
* @see
|
8433
|
+
* @see `enableUnifiedDesktop` for details
|
8434
8434
|
* @since Chrome 59
|
8435
8435
|
*/
|
8436
8436
|
isUnified?: boolean | undefined;
|
@@ -8483,7 +8483,7 @@ declare namespace chrome.system.display {
|
|
8483
8483
|
|
8484
8484
|
/**
|
8485
8485
|
* If set, updates the display's logical bounds origin along y-axis.
|
8486
|
-
* @see
|
8486
|
+
* @see boundsOriginX
|
8487
8487
|
*/
|
8488
8488
|
boundsOriginY?: number | undefined;
|
8489
8489
|
|
@@ -8511,7 +8511,7 @@ declare namespace chrome.system.display {
|
|
8511
8511
|
export interface DisplayInfoFlags {
|
8512
8512
|
/**
|
8513
8513
|
* If set to true, only a single DisplayUnitInfo will be returned by getInfo when in unified desktop mode.
|
8514
|
-
* @see
|
8514
|
+
* @see enableUnifiedDesktop
|
8515
8515
|
* @default false
|
8516
8516
|
*/
|
8517
8517
|
singleUnified?: boolean | undefined;
|
@@ -9207,11 +9207,21 @@ declare namespace chrome.tabs {
|
|
9207
9207
|
* @since Chrome 41.
|
9208
9208
|
*/
|
9209
9209
|
frameId?: number | undefined;
|
9210
|
+
/**
|
9211
|
+
* Optional. Open a port to a specific document identified by documentId instead of all frames in the tab.
|
9212
|
+
* @since Chrome 106.
|
9213
|
+
*/
|
9214
|
+
documentId?: string;
|
9210
9215
|
}
|
9211
9216
|
|
9212
9217
|
export interface MessageSendOptions {
|
9213
9218
|
/** Optional. Send a message to a specific frame identified by frameId instead of all frames in the tab. */
|
9214
9219
|
frameId?: number | undefined;
|
9220
|
+
/**
|
9221
|
+
* Optional. Send a message to a specific document identified by documentId instead of all frames in the tab.
|
9222
|
+
* @since Chrome 106.
|
9223
|
+
*/
|
9224
|
+
documentId?: string;
|
9215
9225
|
}
|
9216
9226
|
|
9217
9227
|
export interface GroupOptions {
|
chrome/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/chrome",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.237",
|
4
4
|
"description": "TypeScript definitions for Chrome extension development",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
|
6
6
|
"license": "MIT",
|
@@ -93,6 +93,6 @@
|
|
93
93
|
"@types/filesystem": "*",
|
94
94
|
"@types/har-format": "*"
|
95
95
|
},
|
96
|
-
"typesPublisherContentHash": "
|
96
|
+
"typesPublisherContentHash": "e06352e39c69b4ac24c612d4adfc4414614c702dc9e23b0b1e12fa0313f851f2",
|
97
97
|
"typeScriptVersion": "4.3"
|
98
98
|
}
|