@types/chrome 0.0.247 → 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 +2 -3
  2. chrome/index.d.ts +7 -24
  3. chrome/package.json +33 -33
chrome/README.md CHANGED
@@ -2,15 +2,14 @@
2
2
  > `npm install --save @types/chrome`
3
3
 
4
4
  # Summary
5
- This package contains type definitions for Chrome extension development (http://developer.chrome.com/extensions/).
5
+ This package contains type definitions for chrome (http://developer.chrome.com/extensions/).
6
6
 
7
7
  # Details
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 08:35:46 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
- * Global values: `chrome`
14
13
 
15
14
  # Credits
16
15
  These definitions were written by [Matthew Kimber](https://github.com/matthewkimber), [otiai10](https://github.com/otiai10), [sreimer15](https://github.com/sreimer15), [MatCarlson](https://github.com/MatCarlson), [ekinsol](https://github.com/ekinsol), [Brian Wilson](https://github.com/echoabstract), [Sebastiaan Pasma](https://github.com/spasma), [bdbai](https://github.com/bdbai), [pokutuna](https://github.com/pokutuna), [Jason Xian](https://github.com/JasonXian), [userTim](https://github.com/usertim), [Idan Zeierman](https://github.com/idan315), [Nicolas Rodriguez](https://github.com/nicolas377), [Ido Salomon](https://github.com/idosal), and [Federico Brigante](https://github.com/fregante).
chrome/index.d.ts CHANGED
@@ -1,23 +1,3 @@
1
- // Type definitions for Chrome extension development
2
- // Project: http://developer.chrome.com/extensions/
3
- // Definitions by: Matthew Kimber <https://github.com/matthewkimber>
4
- // otiai10 <https://github.com/otiai10>
5
- // sreimer15 <https://github.com/sreimer15>
6
- // MatCarlson <https://github.com/MatCarlson>
7
- // ekinsol <https://github.com/ekinsol>
8
- // Brian Wilson <https://github.com/echoabstract>
9
- // Sebastiaan Pasma <https://github.com/spasma>
10
- // bdbai <https://github.com/bdbai>
11
- // pokutuna <https://github.com/pokutuna>
12
- // Jason Xian <https://github.com/JasonXian>
13
- // userTim <https://github.com/usertim>
14
- // Idan Zeierman <https://github.com/idan315>
15
- // Nicolas Rodriguez <https://github.com/nicolas377>
16
- // Ido Salomon <https://github.com/idosal>
17
- // Federico Brigante <https://github.com/fregante>
18
- // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
19
- // TypeScript Version: 2.4
20
-
21
1
  /// <reference types="filesystem" />
22
2
  /// <reference path="./har-format/index.d.ts" />
23
3
  /// <reference path="./chrome-cast/index.d.ts" />
@@ -3932,7 +3912,10 @@ declare namespace chrome.fileSystemProvider {
3932
3912
  length: number;
3933
3913
  }
3934
3914
 
3935
- export interface DirectoryPathRecursiveRequestedEventOptions extends DirectoryPathRequestedEventOptions {
3915
+ export interface CreateDirectoryRequestedEventOptions extends RequestedEventOptions {
3916
+ /** The path of the directory to be created. */
3917
+ directoryPath: string;
3918
+
3936
3919
  /** Whether the operation is recursive (for directories only). */
3937
3920
  recursive: boolean;
3938
3921
  }
@@ -4022,10 +4005,10 @@ declare namespace chrome.fileSystemProvider {
4022
4005
  >
4023
4006
  {}
4024
4007
 
4025
- export interface DirectoryPathRecursiveRequestedEvent extends
4008
+ export interface CreateDirectoryRequestedEvent extends
4026
4009
  chrome.events.Event<
4027
4010
  (
4028
- options: DirectoryPathRecursiveRequestedEventOptions,
4011
+ options: CreateDirectoryRequestedEventOptions,
4029
4012
  successCallback: Function,
4030
4013
  errorCallback: (error: string) => void,
4031
4014
  ) => void
@@ -4164,7 +4147,7 @@ declare namespace chrome.fileSystemProvider {
4164
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. */
4165
4148
  export var onReadFileRequested: OpenedFileOffsetRequestedEvent;
4166
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. */
4167
- export var onCreateDirectoryRequested: DirectoryPathRecursiveRequestedEvent;
4150
+ export var onCreateDirectoryRequested: CreateDirectoryRequestedEvent;
4168
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. */
4169
4152
  export var onDeleteEntryRequested: EntryPathRecursiveRequestedEvent;
4170
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,84 +1,84 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.0.247",
4
- "description": "TypeScript definitions for Chrome extension development",
3
+ "version": "0.0.249",
4
+ "description": "TypeScript definitions for chrome",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
6
6
  "license": "MIT",
7
7
  "contributors": [
8
8
  {
9
9
  "name": "Matthew Kimber",
10
- "url": "https://github.com/matthewkimber",
11
- "githubUsername": "matthewkimber"
10
+ "githubUsername": "matthewkimber",
11
+ "url": "https://github.com/matthewkimber"
12
12
  },
13
13
  {
14
14
  "name": "otiai10",
15
- "url": "https://github.com/otiai10",
16
- "githubUsername": "otiai10"
15
+ "githubUsername": "otiai10",
16
+ "url": "https://github.com/otiai10"
17
17
  },
18
18
  {
19
19
  "name": "sreimer15",
20
- "url": "https://github.com/sreimer15",
21
- "githubUsername": "sreimer15"
20
+ "githubUsername": "sreimer15",
21
+ "url": "https://github.com/sreimer15"
22
22
  },
23
23
  {
24
24
  "name": "MatCarlson",
25
- "url": "https://github.com/MatCarlson",
26
- "githubUsername": "MatCarlson"
25
+ "githubUsername": "MatCarlson",
26
+ "url": "https://github.com/MatCarlson"
27
27
  },
28
28
  {
29
29
  "name": "ekinsol",
30
- "url": "https://github.com/ekinsol",
31
- "githubUsername": "ekinsol"
30
+ "githubUsername": "ekinsol",
31
+ "url": "https://github.com/ekinsol"
32
32
  },
33
33
  {
34
34
  "name": "Brian Wilson",
35
- "url": "https://github.com/echoabstract",
36
- "githubUsername": "echoabstract"
35
+ "githubUsername": "echoabstract",
36
+ "url": "https://github.com/echoabstract"
37
37
  },
38
38
  {
39
39
  "name": "Sebastiaan Pasma",
40
- "url": "https://github.com/spasma",
41
- "githubUsername": "spasma"
40
+ "githubUsername": "spasma",
41
+ "url": "https://github.com/spasma"
42
42
  },
43
43
  {
44
44
  "name": "bdbai",
45
- "url": "https://github.com/bdbai",
46
- "githubUsername": "bdbai"
45
+ "githubUsername": "bdbai",
46
+ "url": "https://github.com/bdbai"
47
47
  },
48
48
  {
49
49
  "name": "pokutuna",
50
- "url": "https://github.com/pokutuna",
51
- "githubUsername": "pokutuna"
50
+ "githubUsername": "pokutuna",
51
+ "url": "https://github.com/pokutuna"
52
52
  },
53
53
  {
54
54
  "name": "Jason Xian",
55
- "url": "https://github.com/JasonXian",
56
- "githubUsername": "JasonXian"
55
+ "githubUsername": "JasonXian",
56
+ "url": "https://github.com/JasonXian"
57
57
  },
58
58
  {
59
59
  "name": "userTim",
60
- "url": "https://github.com/usertim",
61
- "githubUsername": "usertim"
60
+ "githubUsername": "usertim",
61
+ "url": "https://github.com/usertim"
62
62
  },
63
63
  {
64
64
  "name": "Idan Zeierman",
65
- "url": "https://github.com/idan315",
66
- "githubUsername": "idan315"
65
+ "githubUsername": "idan315",
66
+ "url": "https://github.com/idan315"
67
67
  },
68
68
  {
69
69
  "name": "Nicolas Rodriguez",
70
- "url": "https://github.com/nicolas377",
71
- "githubUsername": "nicolas377"
70
+ "githubUsername": "nicolas377",
71
+ "url": "https://github.com/nicolas377"
72
72
  },
73
73
  {
74
74
  "name": "Ido Salomon",
75
- "url": "https://github.com/idosal",
76
- "githubUsername": "idosal"
75
+ "githubUsername": "idosal",
76
+ "url": "https://github.com/idosal"
77
77
  },
78
78
  {
79
79
  "name": "Federico Brigante",
80
- "url": "https://github.com/fregante",
81
- "githubUsername": "fregante"
80
+ "githubUsername": "fregante",
81
+ "url": "https://github.com/fregante"
82
82
  }
83
83
  ],
84
84
  "main": "",
@@ -93,6 +93,6 @@
93
93
  "@types/filesystem": "*",
94
94
  "@types/har-format": "*"
95
95
  },
96
- "typesPublisherContentHash": "512090978eb88598330492b74665ed86878337edf6a414a257d546788aab1765",
96
+ "typesPublisherContentHash": "959c4fddc2ba530d4e6fb5827335ea056d9a7ca9143041ebf421f18168571d16",
97
97
  "typeScriptVersion": "4.5"
98
98
  }