chrome-types 0.1.294 → 0.1.296
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 +12 -40
- package/index.d.ts +12 -40
- 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 Mon Jul 29 2024 16:29:25 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at f91b9ddb02bf6da75c33f3e5657c454f0fa32e7a
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -8371,6 +8371,13 @@ declare namespace chrome {
|
|
|
8371
8371
|
* The ID of the tab in which the hypothetical request takes place. Does not need to correspond to a real tab ID. Default is -1, meaning that the request isn't related to a tab.
|
|
8372
8372
|
*/
|
|
8373
8373
|
tabId?: number;
|
|
8374
|
+
|
|
8375
|
+
/**
|
|
8376
|
+
* The headers provided by a hypothetical response if the request does not get blocked or redirected before it is sent. Represented as an object which maps a header name to a list of string values. If not specified, the hypothetical response would return empty response headers, which can match rules which match on the non-existence of headers. E.g. `{"content-type": ["text/html; charset=utf-8", "multipart/form-data"]}`
|
|
8377
|
+
*
|
|
8378
|
+
* @since Pending
|
|
8379
|
+
*/
|
|
8380
|
+
responseHeaders?: {[name: string]: any};
|
|
8374
8381
|
}
|
|
8375
8382
|
|
|
8376
8383
|
export interface MatchedRuleInfoDebug {
|
|
@@ -18355,13 +18362,13 @@ declare namespace chrome {
|
|
|
18355
18362
|
|
|
18356
18363
|
/**
|
|
18357
18364
|
* The `chrome.management` API provides ways to manage the list of extensions/apps that are installed and running. It is particularly useful for extensions that [override](https://developer.chrome.com/extensions/develop/ui/override-chrome-pages) the built-in New Tab page.
|
|
18365
|
+
*
|
|
18366
|
+
* @chrome-permission management
|
|
18358
18367
|
*/
|
|
18359
18368
|
export namespace management {
|
|
18360
18369
|
|
|
18361
18370
|
/**
|
|
18362
18371
|
* Information about an icon belonging to an extension, app, or theme.
|
|
18363
|
-
*
|
|
18364
|
-
* @chrome-permission management
|
|
18365
18372
|
*/
|
|
18366
18373
|
export interface IconInfo {
|
|
18367
18374
|
|
|
@@ -18378,8 +18385,6 @@ declare namespace chrome {
|
|
|
18378
18385
|
|
|
18379
18386
|
/**
|
|
18380
18387
|
* These are all possible app launch types.
|
|
18381
|
-
*
|
|
18382
|
-
* @chrome-permission management
|
|
18383
18388
|
*/
|
|
18384
18389
|
export type LaunchType = "OPEN_AS_REGULAR_TAB" | "OPEN_AS_PINNED_TAB" | "OPEN_AS_WINDOW" | "OPEN_FULL_SCREEN";
|
|
18385
18390
|
|
|
@@ -18387,7 +18392,6 @@ declare namespace chrome {
|
|
|
18387
18392
|
* A reason the item is disabled.
|
|
18388
18393
|
*
|
|
18389
18394
|
* @since Chrome 44
|
|
18390
|
-
* @chrome-permission management
|
|
18391
18395
|
*/
|
|
18392
18396
|
export type ExtensionDisabledReason = "unknown" | "permissions_increase";
|
|
18393
18397
|
|
|
@@ -18395,7 +18399,6 @@ declare namespace chrome {
|
|
|
18395
18399
|
* The type of this extension, app, or theme.
|
|
18396
18400
|
*
|
|
18397
18401
|
* @since Chrome 44
|
|
18398
|
-
* @chrome-permission management
|
|
18399
18402
|
*/
|
|
18400
18403
|
export type ExtensionType = "extension" | "hosted_app" | "packaged_app" | "legacy_packaged_app" | "theme" | "login_screen_extension";
|
|
18401
18404
|
|
|
@@ -18408,14 +18411,11 @@ declare namespace chrome {
|
|
|
18408
18411
|
* `other`: The extension was installed by other means.
|
|
18409
18412
|
*
|
|
18410
18413
|
* @since Chrome 44
|
|
18411
|
-
* @chrome-permission management
|
|
18412
18414
|
*/
|
|
18413
18415
|
export type ExtensionInstallType = "admin" | "development" | "normal" | "sideload" | "other";
|
|
18414
18416
|
|
|
18415
18417
|
/**
|
|
18416
18418
|
* Information about an installed extension, app, or theme.
|
|
18417
|
-
*
|
|
18418
|
-
* @chrome-permission management
|
|
18419
18419
|
*/
|
|
18420
18420
|
export interface ExtensionInfo {
|
|
18421
18421
|
|
|
@@ -18545,7 +18545,6 @@ declare namespace chrome {
|
|
|
18545
18545
|
* Options for how to handle the extension's uninstallation.
|
|
18546
18546
|
*
|
|
18547
18547
|
* @since Chrome 88
|
|
18548
|
-
* @chrome-permission management
|
|
18549
18548
|
*/
|
|
18550
18549
|
export interface UninstallOptions {
|
|
18551
18550
|
|
|
@@ -18557,8 +18556,6 @@ declare namespace chrome {
|
|
|
18557
18556
|
|
|
18558
18557
|
/**
|
|
18559
18558
|
* Fired when an app or extension has been installed.
|
|
18560
|
-
*
|
|
18561
|
-
* @chrome-permission management
|
|
18562
18559
|
*/
|
|
18563
18560
|
export const onInstalled: events.Event<(
|
|
18564
18561
|
info: ExtensionInfo,
|
|
@@ -18566,8 +18563,6 @@ declare namespace chrome {
|
|
|
18566
18563
|
|
|
18567
18564
|
/**
|
|
18568
18565
|
* Fired when an app or extension has been uninstalled.
|
|
18569
|
-
*
|
|
18570
|
-
* @chrome-permission management
|
|
18571
18566
|
*/
|
|
18572
18567
|
export const onUninstalled: events.Event<(
|
|
18573
18568
|
id: string,
|
|
@@ -18575,8 +18570,6 @@ declare namespace chrome {
|
|
|
18575
18570
|
|
|
18576
18571
|
/**
|
|
18577
18572
|
* Fired when an app or extension has been enabled.
|
|
18578
|
-
*
|
|
18579
|
-
* @chrome-permission management
|
|
18580
18573
|
*/
|
|
18581
18574
|
export const onEnabled: events.Event<(
|
|
18582
18575
|
info: ExtensionInfo,
|
|
@@ -18584,8 +18577,6 @@ declare namespace chrome {
|
|
|
18584
18577
|
|
|
18585
18578
|
/**
|
|
18586
18579
|
* Fired when an app or extension has been disabled.
|
|
18587
|
-
*
|
|
18588
|
-
* @chrome-permission management
|
|
18589
18580
|
*/
|
|
18590
18581
|
export const onDisabled: events.Event<(
|
|
18591
18582
|
info: ExtensionInfo,
|
|
@@ -18595,14 +18586,11 @@ declare namespace chrome {
|
|
|
18595
18586
|
* Returns a list of information about installed extensions and apps.
|
|
18596
18587
|
*
|
|
18597
18588
|
* @chrome-returns-extra since Chrome 88
|
|
18598
|
-
* @chrome-permission management
|
|
18599
18589
|
*/
|
|
18600
18590
|
export function getAll(): Promise<ExtensionInfo[]>;
|
|
18601
18591
|
|
|
18602
18592
|
/**
|
|
18603
18593
|
* Returns a list of information about installed extensions and apps.
|
|
18604
|
-
*
|
|
18605
|
-
* @chrome-permission management
|
|
18606
18594
|
*/
|
|
18607
18595
|
export function getAll(
|
|
18608
18596
|
|
|
@@ -18616,7 +18604,6 @@ declare namespace chrome {
|
|
|
18616
18604
|
*
|
|
18617
18605
|
* @chrome-returns-extra since Chrome 88
|
|
18618
18606
|
* @param id The ID from an item of {@link management.ExtensionInfo}.
|
|
18619
|
-
* @chrome-permission management
|
|
18620
18607
|
*/
|
|
18621
18608
|
export function get(
|
|
18622
18609
|
|
|
@@ -18627,7 +18614,6 @@ declare namespace chrome {
|
|
|
18627
18614
|
* Returns information about the installed extension, app, or theme that has the given ID.
|
|
18628
18615
|
*
|
|
18629
18616
|
* @param id The ID from an item of {@link management.ExtensionInfo}.
|
|
18630
|
-
* @chrome-permission management
|
|
18631
18617
|
*/
|
|
18632
18618
|
export function get(
|
|
18633
18619
|
|
|
@@ -18660,7 +18646,6 @@ declare namespace chrome {
|
|
|
18660
18646
|
*
|
|
18661
18647
|
* @chrome-returns-extra since Chrome 88
|
|
18662
18648
|
* @param id The ID of an already installed extension.
|
|
18663
|
-
* @chrome-permission management
|
|
18664
18649
|
*/
|
|
18665
18650
|
export function getPermissionWarningsById(
|
|
18666
18651
|
|
|
@@ -18671,7 +18656,6 @@ declare namespace chrome {
|
|
|
18671
18656
|
* Returns a list of [permission warnings](https://developer.chrome.com/extensions/develop/concepts/permission-warnings) for the given extension id.
|
|
18672
18657
|
*
|
|
18673
18658
|
* @param id The ID of an already installed extension.
|
|
18674
|
-
* @chrome-permission management
|
|
18675
18659
|
*/
|
|
18676
18660
|
export function getPermissionWarningsById(
|
|
18677
18661
|
|
|
@@ -18713,7 +18697,6 @@ declare namespace chrome {
|
|
|
18713
18697
|
* @chrome-returns-extra since Chrome 88
|
|
18714
18698
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
18715
18699
|
* @param enabled Whether this item should be enabled or disabled.
|
|
18716
|
-
* @chrome-permission management
|
|
18717
18700
|
*/
|
|
18718
18701
|
export function setEnabled(
|
|
18719
18702
|
|
|
@@ -18727,7 +18710,6 @@ declare namespace chrome {
|
|
|
18727
18710
|
*
|
|
18728
18711
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
18729
18712
|
* @param enabled Whether this item should be enabled or disabled.
|
|
18730
|
-
* @chrome-permission management
|
|
18731
18713
|
*/
|
|
18732
18714
|
export function setEnabled(
|
|
18733
18715
|
|
|
@@ -18743,7 +18725,6 @@ declare namespace chrome {
|
|
|
18743
18725
|
*
|
|
18744
18726
|
* @chrome-returns-extra since Chrome 88
|
|
18745
18727
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
18746
|
-
* @chrome-permission management
|
|
18747
18728
|
*/
|
|
18748
18729
|
export function uninstall(
|
|
18749
18730
|
|
|
@@ -18756,7 +18737,6 @@ declare namespace chrome {
|
|
|
18756
18737
|
* Uninstalls a currently installed app or extension. Note: This function does not work in managed environments when the user is not allowed to uninstall the specified extension/app. If the uninstall fails (e.g. the user cancels the dialog) the promise will be rejected or the callback will be called with {@link runtime.lastError} set.
|
|
18757
18738
|
*
|
|
18758
18739
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
18759
|
-
* @chrome-permission management
|
|
18760
18740
|
*/
|
|
18761
18741
|
export function uninstall(
|
|
18762
18742
|
|
|
@@ -18792,7 +18772,6 @@ declare namespace chrome {
|
|
|
18792
18772
|
*
|
|
18793
18773
|
* @chrome-returns-extra since Chrome 88
|
|
18794
18774
|
* @param id The extension id of the application.
|
|
18795
|
-
* @chrome-permission management
|
|
18796
18775
|
*/
|
|
18797
18776
|
export function launchApp(
|
|
18798
18777
|
|
|
@@ -18803,7 +18782,6 @@ declare namespace chrome {
|
|
|
18803
18782
|
* Launches an application.
|
|
18804
18783
|
*
|
|
18805
18784
|
* @param id The extension id of the application.
|
|
18806
|
-
* @chrome-permission management
|
|
18807
18785
|
*/
|
|
18808
18786
|
export function launchApp(
|
|
18809
18787
|
|
|
@@ -18817,7 +18795,6 @@ declare namespace chrome {
|
|
|
18817
18795
|
*
|
|
18818
18796
|
* @chrome-returns-extra since Chrome 88
|
|
18819
18797
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
18820
|
-
* @chrome-permission management
|
|
18821
18798
|
*/
|
|
18822
18799
|
export function createAppShortcut(
|
|
18823
18800
|
|
|
@@ -18828,7 +18805,6 @@ declare namespace chrome {
|
|
|
18828
18805
|
* Display options to create shortcuts for an app. On Mac, only packaged app shortcuts can be created.
|
|
18829
18806
|
*
|
|
18830
18807
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
18831
|
-
* @chrome-permission management
|
|
18832
18808
|
*/
|
|
18833
18809
|
export function createAppShortcut(
|
|
18834
18810
|
|
|
@@ -18843,7 +18819,6 @@ declare namespace chrome {
|
|
|
18843
18819
|
* @chrome-returns-extra since Chrome 88
|
|
18844
18820
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
18845
18821
|
* @param launchType The target launch type. Always check and make sure this launch type is in {@link ExtensionInfo.availableLaunchTypes}, because the available launch types vary on different platforms and configurations.
|
|
18846
|
-
* @chrome-permission management
|
|
18847
18822
|
*/
|
|
18848
18823
|
export function setLaunchType(
|
|
18849
18824
|
|
|
@@ -18857,7 +18832,6 @@ declare namespace chrome {
|
|
|
18857
18832
|
*
|
|
18858
18833
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
18859
18834
|
* @param launchType The target launch type. Always check and make sure this launch type is in {@link ExtensionInfo.availableLaunchTypes}, because the available launch types vary on different platforms and configurations.
|
|
18860
|
-
* @chrome-permission management
|
|
18861
18835
|
*/
|
|
18862
18836
|
export function setLaunchType(
|
|
18863
18837
|
|
|
@@ -18874,7 +18848,6 @@ declare namespace chrome {
|
|
|
18874
18848
|
* @chrome-returns-extra since Chrome 88
|
|
18875
18849
|
* @param url The URL of a web page. The scheme of the URL can only be "http" or "https".
|
|
18876
18850
|
* @param title The title of the generated app.
|
|
18877
|
-
* @chrome-permission management
|
|
18878
18851
|
*/
|
|
18879
18852
|
export function generateAppForLink(
|
|
18880
18853
|
|
|
@@ -18888,7 +18861,6 @@ declare namespace chrome {
|
|
|
18888
18861
|
*
|
|
18889
18862
|
* @param url The URL of a web page. The scheme of the URL can only be "http" or "https".
|
|
18890
18863
|
* @param title The title of the generated app.
|
|
18891
|
-
* @chrome-permission management
|
|
18892
18864
|
*/
|
|
18893
18865
|
export function generateAppForLink(
|
|
18894
18866
|
|
|
@@ -34660,7 +34632,7 @@ declare namespace chrome {
|
|
|
34660
34632
|
extension_ids?: string[];
|
|
34661
34633
|
|
|
34662
34634
|
/**
|
|
34663
|
-
* If true, the web accessible resources will only be accessible through a dynamic ID. This is an identifier that uniquely identifies the extension and is generated each session. The corresponding dynamic extension URL is available through {@link runtime.getURL}. Dynamic resources can be loaded regardless of the value. However, if true, resources
|
|
34635
|
+
* If true, the web accessible resources will only be accessible through a dynamic ID. This is an identifier that uniquely identifies the extension and is generated each session. The corresponding dynamic extension URL is available through {@link runtime.getURL}. Dynamic resources can be loaded regardless of the value. However, if true, resources can only be loaded using the dynamic URL.
|
|
34664
34636
|
*/
|
|
34665
34637
|
use_dynamic_url?: boolean;
|
|
34666
34638
|
}
|
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 Mon Jul 29 2024 16:29:20 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at f91b9ddb02bf6da75c33f3e5657c454f0fa32e7a
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -5117,6 +5117,13 @@ declare namespace chrome {
|
|
|
5117
5117
|
* The ID of the tab in which the hypothetical request takes place. Does not need to correspond to a real tab ID. Default is -1, meaning that the request isn't related to a tab.
|
|
5118
5118
|
*/
|
|
5119
5119
|
tabId?: number;
|
|
5120
|
+
|
|
5121
|
+
/**
|
|
5122
|
+
* The headers provided by a hypothetical response if the request does not get blocked or redirected before it is sent. Represented as an object which maps a header name to a list of string values. If not specified, the hypothetical response would return empty response headers, which can match rules which match on the non-existence of headers. E.g. `{"content-type": ["text/html; charset=utf-8", "multipart/form-data"]}`
|
|
5123
|
+
*
|
|
5124
|
+
* @since Pending
|
|
5125
|
+
*/
|
|
5126
|
+
responseHeaders?: {[name: string]: any};
|
|
5120
5127
|
}
|
|
5121
5128
|
|
|
5122
5129
|
export interface MatchedRuleInfoDebug {
|
|
@@ -13726,13 +13733,13 @@ declare namespace chrome {
|
|
|
13726
13733
|
|
|
13727
13734
|
/**
|
|
13728
13735
|
* The `chrome.management` API provides ways to manage the list of extensions/apps that are installed and running. It is particularly useful for extensions that [override](https://developer.chrome.com/extensions/develop/ui/override-chrome-pages) the built-in New Tab page.
|
|
13736
|
+
*
|
|
13737
|
+
* @chrome-permission management
|
|
13729
13738
|
*/
|
|
13730
13739
|
export namespace management {
|
|
13731
13740
|
|
|
13732
13741
|
/**
|
|
13733
13742
|
* Information about an icon belonging to an extension, app, or theme.
|
|
13734
|
-
*
|
|
13735
|
-
* @chrome-permission management
|
|
13736
13743
|
*/
|
|
13737
13744
|
export interface IconInfo {
|
|
13738
13745
|
|
|
@@ -13749,8 +13756,6 @@ declare namespace chrome {
|
|
|
13749
13756
|
|
|
13750
13757
|
/**
|
|
13751
13758
|
* These are all possible app launch types.
|
|
13752
|
-
*
|
|
13753
|
-
* @chrome-permission management
|
|
13754
13759
|
*/
|
|
13755
13760
|
export type LaunchType = "OPEN_AS_REGULAR_TAB" | "OPEN_AS_PINNED_TAB" | "OPEN_AS_WINDOW" | "OPEN_FULL_SCREEN";
|
|
13756
13761
|
|
|
@@ -13758,7 +13763,6 @@ declare namespace chrome {
|
|
|
13758
13763
|
* A reason the item is disabled.
|
|
13759
13764
|
*
|
|
13760
13765
|
* @since Chrome 44
|
|
13761
|
-
* @chrome-permission management
|
|
13762
13766
|
*/
|
|
13763
13767
|
export type ExtensionDisabledReason = "unknown" | "permissions_increase";
|
|
13764
13768
|
|
|
@@ -13766,7 +13770,6 @@ declare namespace chrome {
|
|
|
13766
13770
|
* The type of this extension, app, or theme.
|
|
13767
13771
|
*
|
|
13768
13772
|
* @since Chrome 44
|
|
13769
|
-
* @chrome-permission management
|
|
13770
13773
|
*/
|
|
13771
13774
|
export type ExtensionType = "extension" | "hosted_app" | "packaged_app" | "legacy_packaged_app" | "theme" | "login_screen_extension";
|
|
13772
13775
|
|
|
@@ -13779,14 +13782,11 @@ declare namespace chrome {
|
|
|
13779
13782
|
* `other`: The extension was installed by other means.
|
|
13780
13783
|
*
|
|
13781
13784
|
* @since Chrome 44
|
|
13782
|
-
* @chrome-permission management
|
|
13783
13785
|
*/
|
|
13784
13786
|
export type ExtensionInstallType = "admin" | "development" | "normal" | "sideload" | "other";
|
|
13785
13787
|
|
|
13786
13788
|
/**
|
|
13787
13789
|
* Information about an installed extension, app, or theme.
|
|
13788
|
-
*
|
|
13789
|
-
* @chrome-permission management
|
|
13790
13790
|
*/
|
|
13791
13791
|
export interface ExtensionInfo {
|
|
13792
13792
|
|
|
@@ -13916,7 +13916,6 @@ declare namespace chrome {
|
|
|
13916
13916
|
* Options for how to handle the extension's uninstallation.
|
|
13917
13917
|
*
|
|
13918
13918
|
* @since Chrome 88
|
|
13919
|
-
* @chrome-permission management
|
|
13920
13919
|
*/
|
|
13921
13920
|
export interface UninstallOptions {
|
|
13922
13921
|
|
|
@@ -13928,8 +13927,6 @@ declare namespace chrome {
|
|
|
13928
13927
|
|
|
13929
13928
|
/**
|
|
13930
13929
|
* Fired when an app or extension has been installed.
|
|
13931
|
-
*
|
|
13932
|
-
* @chrome-permission management
|
|
13933
13930
|
*/
|
|
13934
13931
|
export const onInstalled: events.Event<(
|
|
13935
13932
|
info: ExtensionInfo,
|
|
@@ -13937,8 +13934,6 @@ declare namespace chrome {
|
|
|
13937
13934
|
|
|
13938
13935
|
/**
|
|
13939
13936
|
* Fired when an app or extension has been uninstalled.
|
|
13940
|
-
*
|
|
13941
|
-
* @chrome-permission management
|
|
13942
13937
|
*/
|
|
13943
13938
|
export const onUninstalled: events.Event<(
|
|
13944
13939
|
id: string,
|
|
@@ -13946,8 +13941,6 @@ declare namespace chrome {
|
|
|
13946
13941
|
|
|
13947
13942
|
/**
|
|
13948
13943
|
* Fired when an app or extension has been enabled.
|
|
13949
|
-
*
|
|
13950
|
-
* @chrome-permission management
|
|
13951
13944
|
*/
|
|
13952
13945
|
export const onEnabled: events.Event<(
|
|
13953
13946
|
info: ExtensionInfo,
|
|
@@ -13955,8 +13948,6 @@ declare namespace chrome {
|
|
|
13955
13948
|
|
|
13956
13949
|
/**
|
|
13957
13950
|
* Fired when an app or extension has been disabled.
|
|
13958
|
-
*
|
|
13959
|
-
* @chrome-permission management
|
|
13960
13951
|
*/
|
|
13961
13952
|
export const onDisabled: events.Event<(
|
|
13962
13953
|
info: ExtensionInfo,
|
|
@@ -13966,14 +13957,11 @@ declare namespace chrome {
|
|
|
13966
13957
|
* Returns a list of information about installed extensions and apps.
|
|
13967
13958
|
*
|
|
13968
13959
|
* @chrome-returns-extra since Chrome 88
|
|
13969
|
-
* @chrome-permission management
|
|
13970
13960
|
*/
|
|
13971
13961
|
export function getAll(): Promise<ExtensionInfo[]>;
|
|
13972
13962
|
|
|
13973
13963
|
/**
|
|
13974
13964
|
* Returns a list of information about installed extensions and apps.
|
|
13975
|
-
*
|
|
13976
|
-
* @chrome-permission management
|
|
13977
13965
|
*/
|
|
13978
13966
|
export function getAll(
|
|
13979
13967
|
|
|
@@ -13987,7 +13975,6 @@ declare namespace chrome {
|
|
|
13987
13975
|
*
|
|
13988
13976
|
* @chrome-returns-extra since Chrome 88
|
|
13989
13977
|
* @param id The ID from an item of {@link management.ExtensionInfo}.
|
|
13990
|
-
* @chrome-permission management
|
|
13991
13978
|
*/
|
|
13992
13979
|
export function get(
|
|
13993
13980
|
|
|
@@ -13998,7 +13985,6 @@ declare namespace chrome {
|
|
|
13998
13985
|
* Returns information about the installed extension, app, or theme that has the given ID.
|
|
13999
13986
|
*
|
|
14000
13987
|
* @param id The ID from an item of {@link management.ExtensionInfo}.
|
|
14001
|
-
* @chrome-permission management
|
|
14002
13988
|
*/
|
|
14003
13989
|
export function get(
|
|
14004
13990
|
|
|
@@ -14031,7 +14017,6 @@ declare namespace chrome {
|
|
|
14031
14017
|
*
|
|
14032
14018
|
* @chrome-returns-extra since Chrome 88
|
|
14033
14019
|
* @param id The ID of an already installed extension.
|
|
14034
|
-
* @chrome-permission management
|
|
14035
14020
|
*/
|
|
14036
14021
|
export function getPermissionWarningsById(
|
|
14037
14022
|
|
|
@@ -14042,7 +14027,6 @@ declare namespace chrome {
|
|
|
14042
14027
|
* Returns a list of [permission warnings](https://developer.chrome.com/extensions/develop/concepts/permission-warnings) for the given extension id.
|
|
14043
14028
|
*
|
|
14044
14029
|
* @param id The ID of an already installed extension.
|
|
14045
|
-
* @chrome-permission management
|
|
14046
14030
|
*/
|
|
14047
14031
|
export function getPermissionWarningsById(
|
|
14048
14032
|
|
|
@@ -14084,7 +14068,6 @@ declare namespace chrome {
|
|
|
14084
14068
|
* @chrome-returns-extra since Chrome 88
|
|
14085
14069
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
14086
14070
|
* @param enabled Whether this item should be enabled or disabled.
|
|
14087
|
-
* @chrome-permission management
|
|
14088
14071
|
*/
|
|
14089
14072
|
export function setEnabled(
|
|
14090
14073
|
|
|
@@ -14098,7 +14081,6 @@ declare namespace chrome {
|
|
|
14098
14081
|
*
|
|
14099
14082
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
14100
14083
|
* @param enabled Whether this item should be enabled or disabled.
|
|
14101
|
-
* @chrome-permission management
|
|
14102
14084
|
*/
|
|
14103
14085
|
export function setEnabled(
|
|
14104
14086
|
|
|
@@ -14114,7 +14096,6 @@ declare namespace chrome {
|
|
|
14114
14096
|
*
|
|
14115
14097
|
* @chrome-returns-extra since Chrome 88
|
|
14116
14098
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
14117
|
-
* @chrome-permission management
|
|
14118
14099
|
*/
|
|
14119
14100
|
export function uninstall(
|
|
14120
14101
|
|
|
@@ -14127,7 +14108,6 @@ declare namespace chrome {
|
|
|
14127
14108
|
* Uninstalls a currently installed app or extension. Note: This function does not work in managed environments when the user is not allowed to uninstall the specified extension/app. If the uninstall fails (e.g. the user cancels the dialog) the promise will be rejected or the callback will be called with {@link runtime.lastError} set.
|
|
14128
14109
|
*
|
|
14129
14110
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
14130
|
-
* @chrome-permission management
|
|
14131
14111
|
*/
|
|
14132
14112
|
export function uninstall(
|
|
14133
14113
|
|
|
@@ -14163,7 +14143,6 @@ declare namespace chrome {
|
|
|
14163
14143
|
*
|
|
14164
14144
|
* @chrome-returns-extra since Chrome 88
|
|
14165
14145
|
* @param id The extension id of the application.
|
|
14166
|
-
* @chrome-permission management
|
|
14167
14146
|
*/
|
|
14168
14147
|
export function launchApp(
|
|
14169
14148
|
|
|
@@ -14174,7 +14153,6 @@ declare namespace chrome {
|
|
|
14174
14153
|
* Launches an application.
|
|
14175
14154
|
*
|
|
14176
14155
|
* @param id The extension id of the application.
|
|
14177
|
-
* @chrome-permission management
|
|
14178
14156
|
*/
|
|
14179
14157
|
export function launchApp(
|
|
14180
14158
|
|
|
@@ -14188,7 +14166,6 @@ declare namespace chrome {
|
|
|
14188
14166
|
*
|
|
14189
14167
|
* @chrome-returns-extra since Chrome 88
|
|
14190
14168
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
14191
|
-
* @chrome-permission management
|
|
14192
14169
|
*/
|
|
14193
14170
|
export function createAppShortcut(
|
|
14194
14171
|
|
|
@@ -14199,7 +14176,6 @@ declare namespace chrome {
|
|
|
14199
14176
|
* Display options to create shortcuts for an app. On Mac, only packaged app shortcuts can be created.
|
|
14200
14177
|
*
|
|
14201
14178
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
14202
|
-
* @chrome-permission management
|
|
14203
14179
|
*/
|
|
14204
14180
|
export function createAppShortcut(
|
|
14205
14181
|
|
|
@@ -14214,7 +14190,6 @@ declare namespace chrome {
|
|
|
14214
14190
|
* @chrome-returns-extra since Chrome 88
|
|
14215
14191
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
14216
14192
|
* @param launchType The target launch type. Always check and make sure this launch type is in {@link ExtensionInfo.availableLaunchTypes}, because the available launch types vary on different platforms and configurations.
|
|
14217
|
-
* @chrome-permission management
|
|
14218
14193
|
*/
|
|
14219
14194
|
export function setLaunchType(
|
|
14220
14195
|
|
|
@@ -14228,7 +14203,6 @@ declare namespace chrome {
|
|
|
14228
14203
|
*
|
|
14229
14204
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
14230
14205
|
* @param launchType The target launch type. Always check and make sure this launch type is in {@link ExtensionInfo.availableLaunchTypes}, because the available launch types vary on different platforms and configurations.
|
|
14231
|
-
* @chrome-permission management
|
|
14232
14206
|
*/
|
|
14233
14207
|
export function setLaunchType(
|
|
14234
14208
|
|
|
@@ -14245,7 +14219,6 @@ declare namespace chrome {
|
|
|
14245
14219
|
* @chrome-returns-extra since Chrome 88
|
|
14246
14220
|
* @param url The URL of a web page. The scheme of the URL can only be "http" or "https".
|
|
14247
14221
|
* @param title The title of the generated app.
|
|
14248
|
-
* @chrome-permission management
|
|
14249
14222
|
*/
|
|
14250
14223
|
export function generateAppForLink(
|
|
14251
14224
|
|
|
@@ -14259,7 +14232,6 @@ declare namespace chrome {
|
|
|
14259
14232
|
*
|
|
14260
14233
|
* @param url The URL of a web page. The scheme of the URL can only be "http" or "https".
|
|
14261
14234
|
* @param title The title of the generated app.
|
|
14262
|
-
* @chrome-permission management
|
|
14263
14235
|
*/
|
|
14264
14236
|
export function generateAppForLink(
|
|
14265
14237
|
|
|
@@ -27478,7 +27450,7 @@ declare namespace chrome {
|
|
|
27478
27450
|
extension_ids?: string[];
|
|
27479
27451
|
|
|
27480
27452
|
/**
|
|
27481
|
-
* If true, the web accessible resources will only be accessible through a dynamic ID. This is an identifier that uniquely identifies the extension and is generated each session. The corresponding dynamic extension URL is available through {@link runtime.getURL}. Dynamic resources can be loaded regardless of the value. However, if true, resources
|
|
27453
|
+
* If true, the web accessible resources will only be accessible through a dynamic ID. This is an identifier that uniquely identifies the extension and is generated each session. The corresponding dynamic extension URL is available through {@link runtime.getURL}. Dynamic resources can be loaded regardless of the value. However, if true, resources can only be loaded using the dynamic URL.
|
|
27482
27454
|
*/
|
|
27483
27455
|
use_dynamic_url?: boolean;
|
|
27484
27456
|
}
|
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": "aa0df01c55268c67"
|
|
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.296"
|
|
20
20
|
}
|