chrome-types 0.1.300 → 0.1.301
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.
- package/_all.d.ts +45 -2
- package/index.d.ts +45 -2
- package/package.json +2 -2
package/_all.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Wed Aug 21 2024 22:31:07 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at e94374c4e515b22f24c1814ebee7522d7946795e
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -207,6 +207,17 @@ declare namespace chrome {
|
|
|
207
207
|
isOnToolbar: boolean;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
+
/**
|
|
211
|
+
* @since Pending
|
|
212
|
+
*/
|
|
213
|
+
export interface UserSettingsChange {
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Whether the extension's action icon is visible on browser windows' top-level toolbar (i.e., whether the extension has been 'pinned' by the user).
|
|
217
|
+
*/
|
|
218
|
+
isOnToolbar?: boolean;
|
|
219
|
+
}
|
|
220
|
+
|
|
210
221
|
/**
|
|
211
222
|
* @since Chrome 99
|
|
212
223
|
*/
|
|
@@ -225,6 +236,15 @@ declare namespace chrome {
|
|
|
225
236
|
tab: tabs.Tab,
|
|
226
237
|
) => void>;
|
|
227
238
|
|
|
239
|
+
/**
|
|
240
|
+
* Fired when user-specified settings relating to an extension's action change.
|
|
241
|
+
*
|
|
242
|
+
* @since Pending
|
|
243
|
+
*/
|
|
244
|
+
export const onUserSettingsChanged: events.Event<(
|
|
245
|
+
change: UserSettingsChange,
|
|
246
|
+
) => void>;
|
|
247
|
+
|
|
228
248
|
/**
|
|
229
249
|
* Sets the title of the action. This shows up in the tooltip.
|
|
230
250
|
*/
|
|
@@ -28339,6 +28359,29 @@ declare namespace chrome {
|
|
|
28339
28359
|
) => void,
|
|
28340
28360
|
): void;
|
|
28341
28361
|
|
|
28362
|
+
/**
|
|
28363
|
+
* Gets all keys from storage.
|
|
28364
|
+
*
|
|
28365
|
+
* @since Pending
|
|
28366
|
+
*/
|
|
28367
|
+
getKeys(): Promise<string[]>;
|
|
28368
|
+
|
|
28369
|
+
/**
|
|
28370
|
+
* Gets all keys from storage.
|
|
28371
|
+
*
|
|
28372
|
+
* @param callback Callback with storage keys, or on failure (in which case {@link runtime.lastError} will be set).
|
|
28373
|
+
* @since Pending
|
|
28374
|
+
*/
|
|
28375
|
+
getKeys(
|
|
28376
|
+
|
|
28377
|
+
/**
|
|
28378
|
+
* @param keys Array with keys read from storage.
|
|
28379
|
+
*/
|
|
28380
|
+
callback?: (
|
|
28381
|
+
keys: string[],
|
|
28382
|
+
) => void,
|
|
28383
|
+
): void;
|
|
28384
|
+
|
|
28342
28385
|
/**
|
|
28343
28386
|
* Gets the amount of space (in bytes) being used by one or more items.
|
|
28344
28387
|
*
|
package/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Wed Aug 21 2024 22:31:02 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at e94374c4e515b22f24c1814ebee7522d7946795e
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -265,6 +265,17 @@ declare namespace chrome {
|
|
|
265
265
|
isOnToolbar: boolean;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
+
/**
|
|
269
|
+
* @since Pending
|
|
270
|
+
*/
|
|
271
|
+
export interface UserSettingsChange {
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Whether the extension's action icon is visible on browser windows' top-level toolbar (i.e., whether the extension has been 'pinned' by the user).
|
|
275
|
+
*/
|
|
276
|
+
isOnToolbar?: boolean;
|
|
277
|
+
}
|
|
278
|
+
|
|
268
279
|
/**
|
|
269
280
|
* @since Chrome 99
|
|
270
281
|
*/
|
|
@@ -283,6 +294,15 @@ declare namespace chrome {
|
|
|
283
294
|
tab: tabs.Tab,
|
|
284
295
|
) => void>;
|
|
285
296
|
|
|
297
|
+
/**
|
|
298
|
+
* Fired when user-specified settings relating to an extension's action change.
|
|
299
|
+
*
|
|
300
|
+
* @since Pending
|
|
301
|
+
*/
|
|
302
|
+
export const onUserSettingsChanged: events.Event<(
|
|
303
|
+
change: UserSettingsChange,
|
|
304
|
+
) => void>;
|
|
305
|
+
|
|
286
306
|
/**
|
|
287
307
|
* Sets the title of the action. This shows up in the tooltip.
|
|
288
308
|
*/
|
|
@@ -21811,6 +21831,29 @@ declare namespace chrome {
|
|
|
21811
21831
|
) => void,
|
|
21812
21832
|
): void;
|
|
21813
21833
|
|
|
21834
|
+
/**
|
|
21835
|
+
* Gets all keys from storage.
|
|
21836
|
+
*
|
|
21837
|
+
* @since Pending
|
|
21838
|
+
*/
|
|
21839
|
+
getKeys(): Promise<string[]>;
|
|
21840
|
+
|
|
21841
|
+
/**
|
|
21842
|
+
* Gets all keys from storage.
|
|
21843
|
+
*
|
|
21844
|
+
* @param callback Callback with storage keys, or on failure (in which case {@link runtime.lastError} will be set).
|
|
21845
|
+
* @since Pending
|
|
21846
|
+
*/
|
|
21847
|
+
getKeys(
|
|
21848
|
+
|
|
21849
|
+
/**
|
|
21850
|
+
* @param keys Array with keys read from storage.
|
|
21851
|
+
*/
|
|
21852
|
+
callback?: (
|
|
21853
|
+
keys: string[],
|
|
21854
|
+
) => void,
|
|
21855
|
+
): void;
|
|
21856
|
+
|
|
21814
21857
|
/**
|
|
21815
21858
|
* Gets the amount of space (in bytes) being used by one or more items.
|
|
21816
21859
|
*
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"name": "chrome-types",
|
|
7
7
|
"config": {
|
|
8
|
-
"build-hash": "
|
|
8
|
+
"build-hash": "a4e8765df6bcfb9a"
|
|
9
9
|
},
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"url": "https://github.com/GoogleChrome/chrome-types/issues"
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/GoogleChrome/chrome-types",
|
|
19
|
-
"version": "0.1.
|
|
19
|
+
"version": "0.1.301"
|
|
20
20
|
}
|