@types/chrome 0.0.245 → 0.0.246
Sign up to get free protection for your applications and to get access to all the features.
- chrome/LICENSE +0 -0
- chrome/README.md +1 -1
- chrome/chrome-cast/index.d.ts +0 -0
- chrome/har-format/index.d.ts +0 -0
- chrome/index.d.ts +24 -13
- chrome/package.json +3 -3
chrome/LICENSE
CHANGED
File without changes
|
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, 14 Sep 2023 01:49:18 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
File without changes
|
chrome/har-format/index.d.ts
CHANGED
File without changes
|
chrome/index.d.ts
CHANGED
@@ -3716,6 +3716,13 @@ declare namespace chrome.fileSystemProvider {
|
|
3716
3716
|
lastTag?: string | undefined;
|
3717
3717
|
}
|
3718
3718
|
|
3719
|
+
export interface CloudIdentifier {
|
3720
|
+
/** Identifier for the cloud storage provider (e.g. 'drive.google.com'). */
|
3721
|
+
providerName: string;
|
3722
|
+
/** The provider's identifier for the given file/directory. */
|
3723
|
+
id: string;
|
3724
|
+
}
|
3725
|
+
|
3719
3726
|
export interface EntryMetadata {
|
3720
3727
|
/** True if it is a directory. Must be provided if requested in `options`. */
|
3721
3728
|
isDirectory?: boolean;
|
@@ -3729,6 +3736,8 @@ declare namespace chrome.fileSystemProvider {
|
|
3729
3736
|
mimeType?: string | undefined;
|
3730
3737
|
/** Optional. 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 onGetMetadataRequested event. */
|
3731
3738
|
thumbnail?: string | undefined;
|
3739
|
+
/** Optional. 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. */
|
3740
|
+
cloudIdentifier?: CloudIdentifier | undefined;
|
3732
3741
|
}
|
3733
3742
|
|
3734
3743
|
export interface FileSystemInfo {
|
@@ -3852,34 +3861,36 @@ declare namespace chrome.fileSystemProvider {
|
|
3852
3861
|
}
|
3853
3862
|
|
3854
3863
|
export interface MetadataRequestedEventOptions extends EntryPathRequestedEventOptions {
|
3855
|
-
/** Set to true if
|
3856
|
-
thumbnail: boolean;
|
3857
|
-
/** Set to true if is_directory value is requested. */
|
3864
|
+
/** Set to true if `is_directory` value is requested. */
|
3858
3865
|
isDirectory: boolean;
|
3859
|
-
/** Set to true if name value is requested. */
|
3866
|
+
/** Set to true if `name` value is requested. */
|
3860
3867
|
name: boolean;
|
3861
|
-
/** Set to true if size value is requested. */
|
3868
|
+
/** Set to true if `size` value is requested. */
|
3862
3869
|
size: boolean;
|
3863
|
-
/** Set to true if modificationTime value is requested. */
|
3870
|
+
/** Set to true if `modificationTime` value is requested. */
|
3864
3871
|
modificationTime: boolean;
|
3865
|
-
/** Set to true if mimeType value is requested. */
|
3872
|
+
/** Set to true if `mimeType` value is requested. */
|
3866
3873
|
mimeType: boolean;
|
3874
|
+
/** Set to true if `thumbnail` is requested. */
|
3875
|
+
thumbnail: boolean;
|
3876
|
+
/** Set to true if `cloudIdentifier` is requested. */
|
3877
|
+
cloudIdentifier: boolean;
|
3867
3878
|
}
|
3868
3879
|
|
3869
3880
|
export interface DirectoryPathRequestedEventOptions extends RequestedEventOptions {
|
3870
3881
|
/** The path of the directory which is to be operated on. */
|
3871
3882
|
directoryPath: string;
|
3872
|
-
/** Set to true if is_directory value is requested. */
|
3883
|
+
/** Set to true if `is_directory` value is requested. */
|
3873
3884
|
isDirectory: boolean;
|
3874
|
-
/** Set to true if name value is requested. */
|
3885
|
+
/** Set to true if `name` value is requested. */
|
3875
3886
|
name: boolean;
|
3876
|
-
/** Set to true if size value is requested. */
|
3887
|
+
/** Set to true if `size` value is requested. */
|
3877
3888
|
size: boolean;
|
3878
|
-
/** Set to true if modificationTime value is requested. */
|
3889
|
+
/** Set to true if `modificationTime` value is requested. */
|
3879
3890
|
modificationTime: boolean;
|
3880
|
-
/** Set to true if mimeType value is requested. */
|
3891
|
+
/** Set to true if `mimeType` value is requested. */
|
3881
3892
|
mimeType: boolean;
|
3882
|
-
/** Set to true if
|
3893
|
+
/** Set to true if `thumbnail` is requested. */
|
3883
3894
|
thumbnail: boolean;
|
3884
3895
|
}
|
3885
3896
|
|
chrome/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/chrome",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.246",
|
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": "
|
97
|
-
"typeScriptVersion": "4.
|
96
|
+
"typesPublisherContentHash": "d34ba23465c02e7a99227f0693cc1dc72ebb90df2f125628f9d2e76ed11c2d03",
|
97
|
+
"typeScriptVersion": "4.5"
|
98
98
|
}
|