@types/chrome 0.0.248 → 0.0.249

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. chrome/README.md +1 -1
  2. chrome/index.d.ts +7 -4
  3. 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: Tue, 17 Oct 2023 22:10:14 GMT
11
+ * Last updated: Mon, 06 Nov 2023 04:17:54 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 DirectoryPathRecursiveRequestedEventOptions extends DirectoryPathRequestedEventOptions {
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 DirectoryPathRecursiveRequestedEvent extends
4008
+ export interface CreateDirectoryRequestedEvent extends
4006
4009
  chrome.events.Event<
4007
4010
  (
4008
- options: DirectoryPathRecursiveRequestedEventOptions,
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: DirectoryPathRecursiveRequestedEvent;
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.248",
3
+ "version": "0.0.249",
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": "9860d7b122e9b41b782f6587edb1202070e290d8514cb72ce12c73d8e27b281b",
96
+ "typesPublisherContentHash": "959c4fddc2ba530d4e6fb5827335ea056d9a7ca9143041ebf421f18168571d16",
97
97
  "typeScriptVersion": "4.5"
98
98
  }