@types/chrome 0.0.248 → 0.0.250
Sign up to get free protection for your applications and to get access to all the features.
- chrome/README.md +1 -1
- chrome/index.d.ts +7 -4
- 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: Mon, 06 Nov 2023 22:41:05 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
@@ -3912,7 +3912,10 @@ declare namespace chrome.fileSystemProvider {
|
|
3912
3912
|
length: number;
|
3913
3913
|
}
|
3914
3914
|
|
3915
|
-
export interface
|
3915
|
+
export interface CreateDirectoryRequestedEventOptions extends RequestedEventOptions {
|
3916
|
+
/** The path of the directory to be created. */
|
3917
|
+
directoryPath: string;
|
3918
|
+
|
3916
3919
|
/** Whether the operation is recursive (for directories only). */
|
3917
3920
|
recursive: boolean;
|
3918
3921
|
}
|
@@ -4002,10 +4005,10 @@ declare namespace chrome.fileSystemProvider {
|
|
4002
4005
|
>
|
4003
4006
|
{}
|
4004
4007
|
|
4005
|
-
export interface
|
4008
|
+
export interface CreateDirectoryRequestedEvent extends
|
4006
4009
|
chrome.events.Event<
|
4007
4010
|
(
|
4008
|
-
options:
|
4011
|
+
options: CreateDirectoryRequestedEventOptions,
|
4009
4012
|
successCallback: Function,
|
4010
4013
|
errorCallback: (error: string) => void,
|
4011
4014
|
) => void
|
@@ -4144,7 +4147,7 @@ declare namespace chrome.fileSystemProvider {
|
|
4144
4147
|
/** Raised when reading contents of a file opened previously with openRequestId is requested. The results must be returned in chunks by calling successCallback several times. In case of an error, errorCallback must be called. */
|
4145
4148
|
export var onReadFileRequested: OpenedFileOffsetRequestedEvent;
|
4146
4149
|
/** Raised when creating a directory is requested. The operation must fail with the EXISTS error if the target directory already exists. If recursive is true, then all of the missing directories on the directory path must be created. */
|
4147
|
-
export var onCreateDirectoryRequested:
|
4150
|
+
export var onCreateDirectoryRequested: CreateDirectoryRequestedEvent;
|
4148
4151
|
/** Raised when deleting an entry is requested. If recursive is true, and the entry is a directory, then all of the entries inside must be recursively deleted as well. */
|
4149
4152
|
export var onDeleteEntryRequested: EntryPathRecursiveRequestedEvent;
|
4150
4153
|
/** Raised when creating a file is requested. If the file already exists, then errorCallback must be called with the "EXISTS" error code. */
|
chrome/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/chrome",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.250",
|
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": "fdaf6bc6c342ccc5d05b899da4d2df9a2bd3c7db066915240b7f1d92956d1b2b",
|
97
97
|
"typeScriptVersion": "4.5"
|
98
98
|
}
|