@types/chrome 0.0.266 → 0.0.268
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.
- chrome/README.md +1 -1
- chrome/index.d.ts +12 -1
- chrome/package.json +2 -2
chrome/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for chrome (http://developer.chrome.com/e
|
|
|
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: Fri, 10 May 2024 22:07:01 GMT
|
|
12
12
|
* Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
|
|
13
13
|
|
|
14
14
|
# Credits
|
chrome/index.d.ts
CHANGED
|
@@ -3779,6 +3779,11 @@ declare namespace chrome.fileSystemProvider {
|
|
|
3779
3779
|
id: string;
|
|
3780
3780
|
}
|
|
3781
3781
|
|
|
3782
|
+
export interface CloudFileInfo {
|
|
3783
|
+
/** A tag that represents the version of the file. */
|
|
3784
|
+
versionTag?: string | undefined;
|
|
3785
|
+
}
|
|
3786
|
+
|
|
3782
3787
|
export interface EntryMetadata {
|
|
3783
3788
|
/** True if it is a directory. Must be provided if requested in `options`. */
|
|
3784
3789
|
isDirectory?: boolean;
|
|
@@ -3794,6 +3799,8 @@ declare namespace chrome.fileSystemProvider {
|
|
|
3794
3799
|
thumbnail?: string | undefined;
|
|
3795
3800
|
/** 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. */
|
|
3796
3801
|
cloudIdentifier?: CloudIdentifier | undefined;
|
|
3802
|
+
/** Optional. 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. */
|
|
3803
|
+
cloudFileInfo?: CloudFileInfo | undefined;
|
|
3797
3804
|
}
|
|
3798
3805
|
|
|
3799
3806
|
export interface FileSystemInfo {
|
|
@@ -3887,6 +3894,8 @@ declare namespace chrome.fileSystemProvider {
|
|
|
3887
3894
|
entryPath: string;
|
|
3888
3895
|
/** The type of the change which happened to the entry. */
|
|
3889
3896
|
changeType: string;
|
|
3897
|
+
/** Information relating to the file if backed by a cloud file system. */
|
|
3898
|
+
cloudFileInfo?: CloudFileInfo | undefined;
|
|
3890
3899
|
}
|
|
3891
3900
|
|
|
3892
3901
|
export interface NotificationOptions {
|
|
@@ -3931,6 +3940,8 @@ declare namespace chrome.fileSystemProvider {
|
|
|
3931
3940
|
thumbnail: boolean;
|
|
3932
3941
|
/** Set to true if `cloudIdentifier` is requested. */
|
|
3933
3942
|
cloudIdentifier: boolean;
|
|
3943
|
+
/** Set to true if `cloudFileInfo` is requested. */
|
|
3944
|
+
cloudFileInfo: boolean;
|
|
3934
3945
|
}
|
|
3935
3946
|
|
|
3936
3947
|
export interface DirectoryPathRequestedEventOptions extends RequestedEventOptions {
|
|
@@ -4039,7 +4050,7 @@ declare namespace chrome.fileSystemProvider {
|
|
|
4039
4050
|
chrome.events.Event<
|
|
4040
4051
|
(
|
|
4041
4052
|
options: OpenFileRequestedEventOptions,
|
|
4042
|
-
successCallback:
|
|
4053
|
+
successCallback: (metadata?: EntryMetadata) => void,
|
|
4043
4054
|
errorCallback: (error: string) => void,
|
|
4044
4055
|
) => void
|
|
4045
4056
|
>
|
chrome/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/chrome",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.268",
|
|
4
4
|
"description": "TypeScript definitions for chrome",
|
|
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": "0ddb1da999194f310815426823ddcaaada0e59180472d2cdaf035bab9a85bb25",
|
|
97
97
|
"typeScriptVersion": "4.7"
|
|
98
98
|
}
|