chrome-types 0.1.295 → 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 +4 -39
- package/index.d.ts +4 -39
- 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
|
|
|
@@ -18362,13 +18362,13 @@ declare namespace chrome {
|
|
|
18362
18362
|
|
|
18363
18363
|
/**
|
|
18364
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
|
|
18365
18367
|
*/
|
|
18366
18368
|
export namespace management {
|
|
18367
18369
|
|
|
18368
18370
|
/**
|
|
18369
18371
|
* Information about an icon belonging to an extension, app, or theme.
|
|
18370
|
-
*
|
|
18371
|
-
* @chrome-permission management
|
|
18372
18372
|
*/
|
|
18373
18373
|
export interface IconInfo {
|
|
18374
18374
|
|
|
@@ -18385,8 +18385,6 @@ declare namespace chrome {
|
|
|
18385
18385
|
|
|
18386
18386
|
/**
|
|
18387
18387
|
* These are all possible app launch types.
|
|
18388
|
-
*
|
|
18389
|
-
* @chrome-permission management
|
|
18390
18388
|
*/
|
|
18391
18389
|
export type LaunchType = "OPEN_AS_REGULAR_TAB" | "OPEN_AS_PINNED_TAB" | "OPEN_AS_WINDOW" | "OPEN_FULL_SCREEN";
|
|
18392
18390
|
|
|
@@ -18394,7 +18392,6 @@ declare namespace chrome {
|
|
|
18394
18392
|
* A reason the item is disabled.
|
|
18395
18393
|
*
|
|
18396
18394
|
* @since Chrome 44
|
|
18397
|
-
* @chrome-permission management
|
|
18398
18395
|
*/
|
|
18399
18396
|
export type ExtensionDisabledReason = "unknown" | "permissions_increase";
|
|
18400
18397
|
|
|
@@ -18402,7 +18399,6 @@ declare namespace chrome {
|
|
|
18402
18399
|
* The type of this extension, app, or theme.
|
|
18403
18400
|
*
|
|
18404
18401
|
* @since Chrome 44
|
|
18405
|
-
* @chrome-permission management
|
|
18406
18402
|
*/
|
|
18407
18403
|
export type ExtensionType = "extension" | "hosted_app" | "packaged_app" | "legacy_packaged_app" | "theme" | "login_screen_extension";
|
|
18408
18404
|
|
|
@@ -18415,14 +18411,11 @@ declare namespace chrome {
|
|
|
18415
18411
|
* `other`: The extension was installed by other means.
|
|
18416
18412
|
*
|
|
18417
18413
|
* @since Chrome 44
|
|
18418
|
-
* @chrome-permission management
|
|
18419
18414
|
*/
|
|
18420
18415
|
export type ExtensionInstallType = "admin" | "development" | "normal" | "sideload" | "other";
|
|
18421
18416
|
|
|
18422
18417
|
/**
|
|
18423
18418
|
* Information about an installed extension, app, or theme.
|
|
18424
|
-
*
|
|
18425
|
-
* @chrome-permission management
|
|
18426
18419
|
*/
|
|
18427
18420
|
export interface ExtensionInfo {
|
|
18428
18421
|
|
|
@@ -18552,7 +18545,6 @@ declare namespace chrome {
|
|
|
18552
18545
|
* Options for how to handle the extension's uninstallation.
|
|
18553
18546
|
*
|
|
18554
18547
|
* @since Chrome 88
|
|
18555
|
-
* @chrome-permission management
|
|
18556
18548
|
*/
|
|
18557
18549
|
export interface UninstallOptions {
|
|
18558
18550
|
|
|
@@ -18564,8 +18556,6 @@ declare namespace chrome {
|
|
|
18564
18556
|
|
|
18565
18557
|
/**
|
|
18566
18558
|
* Fired when an app or extension has been installed.
|
|
18567
|
-
*
|
|
18568
|
-
* @chrome-permission management
|
|
18569
18559
|
*/
|
|
18570
18560
|
export const onInstalled: events.Event<(
|
|
18571
18561
|
info: ExtensionInfo,
|
|
@@ -18573,8 +18563,6 @@ declare namespace chrome {
|
|
|
18573
18563
|
|
|
18574
18564
|
/**
|
|
18575
18565
|
* Fired when an app or extension has been uninstalled.
|
|
18576
|
-
*
|
|
18577
|
-
* @chrome-permission management
|
|
18578
18566
|
*/
|
|
18579
18567
|
export const onUninstalled: events.Event<(
|
|
18580
18568
|
id: string,
|
|
@@ -18582,8 +18570,6 @@ declare namespace chrome {
|
|
|
18582
18570
|
|
|
18583
18571
|
/**
|
|
18584
18572
|
* Fired when an app or extension has been enabled.
|
|
18585
|
-
*
|
|
18586
|
-
* @chrome-permission management
|
|
18587
18573
|
*/
|
|
18588
18574
|
export const onEnabled: events.Event<(
|
|
18589
18575
|
info: ExtensionInfo,
|
|
@@ -18591,8 +18577,6 @@ declare namespace chrome {
|
|
|
18591
18577
|
|
|
18592
18578
|
/**
|
|
18593
18579
|
* Fired when an app or extension has been disabled.
|
|
18594
|
-
*
|
|
18595
|
-
* @chrome-permission management
|
|
18596
18580
|
*/
|
|
18597
18581
|
export const onDisabled: events.Event<(
|
|
18598
18582
|
info: ExtensionInfo,
|
|
@@ -18602,14 +18586,11 @@ declare namespace chrome {
|
|
|
18602
18586
|
* Returns a list of information about installed extensions and apps.
|
|
18603
18587
|
*
|
|
18604
18588
|
* @chrome-returns-extra since Chrome 88
|
|
18605
|
-
* @chrome-permission management
|
|
18606
18589
|
*/
|
|
18607
18590
|
export function getAll(): Promise<ExtensionInfo[]>;
|
|
18608
18591
|
|
|
18609
18592
|
/**
|
|
18610
18593
|
* Returns a list of information about installed extensions and apps.
|
|
18611
|
-
*
|
|
18612
|
-
* @chrome-permission management
|
|
18613
18594
|
*/
|
|
18614
18595
|
export function getAll(
|
|
18615
18596
|
|
|
@@ -18623,7 +18604,6 @@ declare namespace chrome {
|
|
|
18623
18604
|
*
|
|
18624
18605
|
* @chrome-returns-extra since Chrome 88
|
|
18625
18606
|
* @param id The ID from an item of {@link management.ExtensionInfo}.
|
|
18626
|
-
* @chrome-permission management
|
|
18627
18607
|
*/
|
|
18628
18608
|
export function get(
|
|
18629
18609
|
|
|
@@ -18634,7 +18614,6 @@ declare namespace chrome {
|
|
|
18634
18614
|
* Returns information about the installed extension, app, or theme that has the given ID.
|
|
18635
18615
|
*
|
|
18636
18616
|
* @param id The ID from an item of {@link management.ExtensionInfo}.
|
|
18637
|
-
* @chrome-permission management
|
|
18638
18617
|
*/
|
|
18639
18618
|
export function get(
|
|
18640
18619
|
|
|
@@ -18667,7 +18646,6 @@ declare namespace chrome {
|
|
|
18667
18646
|
*
|
|
18668
18647
|
* @chrome-returns-extra since Chrome 88
|
|
18669
18648
|
* @param id The ID of an already installed extension.
|
|
18670
|
-
* @chrome-permission management
|
|
18671
18649
|
*/
|
|
18672
18650
|
export function getPermissionWarningsById(
|
|
18673
18651
|
|
|
@@ -18678,7 +18656,6 @@ declare namespace chrome {
|
|
|
18678
18656
|
* Returns a list of [permission warnings](https://developer.chrome.com/extensions/develop/concepts/permission-warnings) for the given extension id.
|
|
18679
18657
|
*
|
|
18680
18658
|
* @param id The ID of an already installed extension.
|
|
18681
|
-
* @chrome-permission management
|
|
18682
18659
|
*/
|
|
18683
18660
|
export function getPermissionWarningsById(
|
|
18684
18661
|
|
|
@@ -18720,7 +18697,6 @@ declare namespace chrome {
|
|
|
18720
18697
|
* @chrome-returns-extra since Chrome 88
|
|
18721
18698
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
18722
18699
|
* @param enabled Whether this item should be enabled or disabled.
|
|
18723
|
-
* @chrome-permission management
|
|
18724
18700
|
*/
|
|
18725
18701
|
export function setEnabled(
|
|
18726
18702
|
|
|
@@ -18734,7 +18710,6 @@ declare namespace chrome {
|
|
|
18734
18710
|
*
|
|
18735
18711
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
18736
18712
|
* @param enabled Whether this item should be enabled or disabled.
|
|
18737
|
-
* @chrome-permission management
|
|
18738
18713
|
*/
|
|
18739
18714
|
export function setEnabled(
|
|
18740
18715
|
|
|
@@ -18750,7 +18725,6 @@ declare namespace chrome {
|
|
|
18750
18725
|
*
|
|
18751
18726
|
* @chrome-returns-extra since Chrome 88
|
|
18752
18727
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
18753
|
-
* @chrome-permission management
|
|
18754
18728
|
*/
|
|
18755
18729
|
export function uninstall(
|
|
18756
18730
|
|
|
@@ -18763,7 +18737,6 @@ declare namespace chrome {
|
|
|
18763
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.
|
|
18764
18738
|
*
|
|
18765
18739
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
18766
|
-
* @chrome-permission management
|
|
18767
18740
|
*/
|
|
18768
18741
|
export function uninstall(
|
|
18769
18742
|
|
|
@@ -18799,7 +18772,6 @@ declare namespace chrome {
|
|
|
18799
18772
|
*
|
|
18800
18773
|
* @chrome-returns-extra since Chrome 88
|
|
18801
18774
|
* @param id The extension id of the application.
|
|
18802
|
-
* @chrome-permission management
|
|
18803
18775
|
*/
|
|
18804
18776
|
export function launchApp(
|
|
18805
18777
|
|
|
@@ -18810,7 +18782,6 @@ declare namespace chrome {
|
|
|
18810
18782
|
* Launches an application.
|
|
18811
18783
|
*
|
|
18812
18784
|
* @param id The extension id of the application.
|
|
18813
|
-
* @chrome-permission management
|
|
18814
18785
|
*/
|
|
18815
18786
|
export function launchApp(
|
|
18816
18787
|
|
|
@@ -18824,7 +18795,6 @@ declare namespace chrome {
|
|
|
18824
18795
|
*
|
|
18825
18796
|
* @chrome-returns-extra since Chrome 88
|
|
18826
18797
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
18827
|
-
* @chrome-permission management
|
|
18828
18798
|
*/
|
|
18829
18799
|
export function createAppShortcut(
|
|
18830
18800
|
|
|
@@ -18835,7 +18805,6 @@ declare namespace chrome {
|
|
|
18835
18805
|
* Display options to create shortcuts for an app. On Mac, only packaged app shortcuts can be created.
|
|
18836
18806
|
*
|
|
18837
18807
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
18838
|
-
* @chrome-permission management
|
|
18839
18808
|
*/
|
|
18840
18809
|
export function createAppShortcut(
|
|
18841
18810
|
|
|
@@ -18850,7 +18819,6 @@ declare namespace chrome {
|
|
|
18850
18819
|
* @chrome-returns-extra since Chrome 88
|
|
18851
18820
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
18852
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.
|
|
18853
|
-
* @chrome-permission management
|
|
18854
18822
|
*/
|
|
18855
18823
|
export function setLaunchType(
|
|
18856
18824
|
|
|
@@ -18864,7 +18832,6 @@ declare namespace chrome {
|
|
|
18864
18832
|
*
|
|
18865
18833
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
18866
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.
|
|
18867
|
-
* @chrome-permission management
|
|
18868
18835
|
*/
|
|
18869
18836
|
export function setLaunchType(
|
|
18870
18837
|
|
|
@@ -18881,7 +18848,6 @@ declare namespace chrome {
|
|
|
18881
18848
|
* @chrome-returns-extra since Chrome 88
|
|
18882
18849
|
* @param url The URL of a web page. The scheme of the URL can only be "http" or "https".
|
|
18883
18850
|
* @param title The title of the generated app.
|
|
18884
|
-
* @chrome-permission management
|
|
18885
18851
|
*/
|
|
18886
18852
|
export function generateAppForLink(
|
|
18887
18853
|
|
|
@@ -18895,7 +18861,6 @@ declare namespace chrome {
|
|
|
18895
18861
|
*
|
|
18896
18862
|
* @param url The URL of a web page. The scheme of the URL can only be "http" or "https".
|
|
18897
18863
|
* @param title The title of the generated app.
|
|
18898
|
-
* @chrome-permission management
|
|
18899
18864
|
*/
|
|
18900
18865
|
export function generateAppForLink(
|
|
18901
18866
|
|
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
|
|
|
@@ -13733,13 +13733,13 @@ declare namespace chrome {
|
|
|
13733
13733
|
|
|
13734
13734
|
/**
|
|
13735
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
|
|
13736
13738
|
*/
|
|
13737
13739
|
export namespace management {
|
|
13738
13740
|
|
|
13739
13741
|
/**
|
|
13740
13742
|
* Information about an icon belonging to an extension, app, or theme.
|
|
13741
|
-
*
|
|
13742
|
-
* @chrome-permission management
|
|
13743
13743
|
*/
|
|
13744
13744
|
export interface IconInfo {
|
|
13745
13745
|
|
|
@@ -13756,8 +13756,6 @@ declare namespace chrome {
|
|
|
13756
13756
|
|
|
13757
13757
|
/**
|
|
13758
13758
|
* These are all possible app launch types.
|
|
13759
|
-
*
|
|
13760
|
-
* @chrome-permission management
|
|
13761
13759
|
*/
|
|
13762
13760
|
export type LaunchType = "OPEN_AS_REGULAR_TAB" | "OPEN_AS_PINNED_TAB" | "OPEN_AS_WINDOW" | "OPEN_FULL_SCREEN";
|
|
13763
13761
|
|
|
@@ -13765,7 +13763,6 @@ declare namespace chrome {
|
|
|
13765
13763
|
* A reason the item is disabled.
|
|
13766
13764
|
*
|
|
13767
13765
|
* @since Chrome 44
|
|
13768
|
-
* @chrome-permission management
|
|
13769
13766
|
*/
|
|
13770
13767
|
export type ExtensionDisabledReason = "unknown" | "permissions_increase";
|
|
13771
13768
|
|
|
@@ -13773,7 +13770,6 @@ declare namespace chrome {
|
|
|
13773
13770
|
* The type of this extension, app, or theme.
|
|
13774
13771
|
*
|
|
13775
13772
|
* @since Chrome 44
|
|
13776
|
-
* @chrome-permission management
|
|
13777
13773
|
*/
|
|
13778
13774
|
export type ExtensionType = "extension" | "hosted_app" | "packaged_app" | "legacy_packaged_app" | "theme" | "login_screen_extension";
|
|
13779
13775
|
|
|
@@ -13786,14 +13782,11 @@ declare namespace chrome {
|
|
|
13786
13782
|
* `other`: The extension was installed by other means.
|
|
13787
13783
|
*
|
|
13788
13784
|
* @since Chrome 44
|
|
13789
|
-
* @chrome-permission management
|
|
13790
13785
|
*/
|
|
13791
13786
|
export type ExtensionInstallType = "admin" | "development" | "normal" | "sideload" | "other";
|
|
13792
13787
|
|
|
13793
13788
|
/**
|
|
13794
13789
|
* Information about an installed extension, app, or theme.
|
|
13795
|
-
*
|
|
13796
|
-
* @chrome-permission management
|
|
13797
13790
|
*/
|
|
13798
13791
|
export interface ExtensionInfo {
|
|
13799
13792
|
|
|
@@ -13923,7 +13916,6 @@ declare namespace chrome {
|
|
|
13923
13916
|
* Options for how to handle the extension's uninstallation.
|
|
13924
13917
|
*
|
|
13925
13918
|
* @since Chrome 88
|
|
13926
|
-
* @chrome-permission management
|
|
13927
13919
|
*/
|
|
13928
13920
|
export interface UninstallOptions {
|
|
13929
13921
|
|
|
@@ -13935,8 +13927,6 @@ declare namespace chrome {
|
|
|
13935
13927
|
|
|
13936
13928
|
/**
|
|
13937
13929
|
* Fired when an app or extension has been installed.
|
|
13938
|
-
*
|
|
13939
|
-
* @chrome-permission management
|
|
13940
13930
|
*/
|
|
13941
13931
|
export const onInstalled: events.Event<(
|
|
13942
13932
|
info: ExtensionInfo,
|
|
@@ -13944,8 +13934,6 @@ declare namespace chrome {
|
|
|
13944
13934
|
|
|
13945
13935
|
/**
|
|
13946
13936
|
* Fired when an app or extension has been uninstalled.
|
|
13947
|
-
*
|
|
13948
|
-
* @chrome-permission management
|
|
13949
13937
|
*/
|
|
13950
13938
|
export const onUninstalled: events.Event<(
|
|
13951
13939
|
id: string,
|
|
@@ -13953,8 +13941,6 @@ declare namespace chrome {
|
|
|
13953
13941
|
|
|
13954
13942
|
/**
|
|
13955
13943
|
* Fired when an app or extension has been enabled.
|
|
13956
|
-
*
|
|
13957
|
-
* @chrome-permission management
|
|
13958
13944
|
*/
|
|
13959
13945
|
export const onEnabled: events.Event<(
|
|
13960
13946
|
info: ExtensionInfo,
|
|
@@ -13962,8 +13948,6 @@ declare namespace chrome {
|
|
|
13962
13948
|
|
|
13963
13949
|
/**
|
|
13964
13950
|
* Fired when an app or extension has been disabled.
|
|
13965
|
-
*
|
|
13966
|
-
* @chrome-permission management
|
|
13967
13951
|
*/
|
|
13968
13952
|
export const onDisabled: events.Event<(
|
|
13969
13953
|
info: ExtensionInfo,
|
|
@@ -13973,14 +13957,11 @@ declare namespace chrome {
|
|
|
13973
13957
|
* Returns a list of information about installed extensions and apps.
|
|
13974
13958
|
*
|
|
13975
13959
|
* @chrome-returns-extra since Chrome 88
|
|
13976
|
-
* @chrome-permission management
|
|
13977
13960
|
*/
|
|
13978
13961
|
export function getAll(): Promise<ExtensionInfo[]>;
|
|
13979
13962
|
|
|
13980
13963
|
/**
|
|
13981
13964
|
* Returns a list of information about installed extensions and apps.
|
|
13982
|
-
*
|
|
13983
|
-
* @chrome-permission management
|
|
13984
13965
|
*/
|
|
13985
13966
|
export function getAll(
|
|
13986
13967
|
|
|
@@ -13994,7 +13975,6 @@ declare namespace chrome {
|
|
|
13994
13975
|
*
|
|
13995
13976
|
* @chrome-returns-extra since Chrome 88
|
|
13996
13977
|
* @param id The ID from an item of {@link management.ExtensionInfo}.
|
|
13997
|
-
* @chrome-permission management
|
|
13998
13978
|
*/
|
|
13999
13979
|
export function get(
|
|
14000
13980
|
|
|
@@ -14005,7 +13985,6 @@ declare namespace chrome {
|
|
|
14005
13985
|
* Returns information about the installed extension, app, or theme that has the given ID.
|
|
14006
13986
|
*
|
|
14007
13987
|
* @param id The ID from an item of {@link management.ExtensionInfo}.
|
|
14008
|
-
* @chrome-permission management
|
|
14009
13988
|
*/
|
|
14010
13989
|
export function get(
|
|
14011
13990
|
|
|
@@ -14038,7 +14017,6 @@ declare namespace chrome {
|
|
|
14038
14017
|
*
|
|
14039
14018
|
* @chrome-returns-extra since Chrome 88
|
|
14040
14019
|
* @param id The ID of an already installed extension.
|
|
14041
|
-
* @chrome-permission management
|
|
14042
14020
|
*/
|
|
14043
14021
|
export function getPermissionWarningsById(
|
|
14044
14022
|
|
|
@@ -14049,7 +14027,6 @@ declare namespace chrome {
|
|
|
14049
14027
|
* Returns a list of [permission warnings](https://developer.chrome.com/extensions/develop/concepts/permission-warnings) for the given extension id.
|
|
14050
14028
|
*
|
|
14051
14029
|
* @param id The ID of an already installed extension.
|
|
14052
|
-
* @chrome-permission management
|
|
14053
14030
|
*/
|
|
14054
14031
|
export function getPermissionWarningsById(
|
|
14055
14032
|
|
|
@@ -14091,7 +14068,6 @@ declare namespace chrome {
|
|
|
14091
14068
|
* @chrome-returns-extra since Chrome 88
|
|
14092
14069
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
14093
14070
|
* @param enabled Whether this item should be enabled or disabled.
|
|
14094
|
-
* @chrome-permission management
|
|
14095
14071
|
*/
|
|
14096
14072
|
export function setEnabled(
|
|
14097
14073
|
|
|
@@ -14105,7 +14081,6 @@ declare namespace chrome {
|
|
|
14105
14081
|
*
|
|
14106
14082
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
14107
14083
|
* @param enabled Whether this item should be enabled or disabled.
|
|
14108
|
-
* @chrome-permission management
|
|
14109
14084
|
*/
|
|
14110
14085
|
export function setEnabled(
|
|
14111
14086
|
|
|
@@ -14121,7 +14096,6 @@ declare namespace chrome {
|
|
|
14121
14096
|
*
|
|
14122
14097
|
* @chrome-returns-extra since Chrome 88
|
|
14123
14098
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
14124
|
-
* @chrome-permission management
|
|
14125
14099
|
*/
|
|
14126
14100
|
export function uninstall(
|
|
14127
14101
|
|
|
@@ -14134,7 +14108,6 @@ declare namespace chrome {
|
|
|
14134
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.
|
|
14135
14109
|
*
|
|
14136
14110
|
* @param id This should be the id from an item of {@link management.ExtensionInfo}.
|
|
14137
|
-
* @chrome-permission management
|
|
14138
14111
|
*/
|
|
14139
14112
|
export function uninstall(
|
|
14140
14113
|
|
|
@@ -14170,7 +14143,6 @@ declare namespace chrome {
|
|
|
14170
14143
|
*
|
|
14171
14144
|
* @chrome-returns-extra since Chrome 88
|
|
14172
14145
|
* @param id The extension id of the application.
|
|
14173
|
-
* @chrome-permission management
|
|
14174
14146
|
*/
|
|
14175
14147
|
export function launchApp(
|
|
14176
14148
|
|
|
@@ -14181,7 +14153,6 @@ declare namespace chrome {
|
|
|
14181
14153
|
* Launches an application.
|
|
14182
14154
|
*
|
|
14183
14155
|
* @param id The extension id of the application.
|
|
14184
|
-
* @chrome-permission management
|
|
14185
14156
|
*/
|
|
14186
14157
|
export function launchApp(
|
|
14187
14158
|
|
|
@@ -14195,7 +14166,6 @@ declare namespace chrome {
|
|
|
14195
14166
|
*
|
|
14196
14167
|
* @chrome-returns-extra since Chrome 88
|
|
14197
14168
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
14198
|
-
* @chrome-permission management
|
|
14199
14169
|
*/
|
|
14200
14170
|
export function createAppShortcut(
|
|
14201
14171
|
|
|
@@ -14206,7 +14176,6 @@ declare namespace chrome {
|
|
|
14206
14176
|
* Display options to create shortcuts for an app. On Mac, only packaged app shortcuts can be created.
|
|
14207
14177
|
*
|
|
14208
14178
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
14209
|
-
* @chrome-permission management
|
|
14210
14179
|
*/
|
|
14211
14180
|
export function createAppShortcut(
|
|
14212
14181
|
|
|
@@ -14221,7 +14190,6 @@ declare namespace chrome {
|
|
|
14221
14190
|
* @chrome-returns-extra since Chrome 88
|
|
14222
14191
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
14223
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.
|
|
14224
|
-
* @chrome-permission management
|
|
14225
14193
|
*/
|
|
14226
14194
|
export function setLaunchType(
|
|
14227
14195
|
|
|
@@ -14235,7 +14203,6 @@ declare namespace chrome {
|
|
|
14235
14203
|
*
|
|
14236
14204
|
* @param id This should be the id from an app item of {@link management.ExtensionInfo}.
|
|
14237
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.
|
|
14238
|
-
* @chrome-permission management
|
|
14239
14206
|
*/
|
|
14240
14207
|
export function setLaunchType(
|
|
14241
14208
|
|
|
@@ -14252,7 +14219,6 @@ declare namespace chrome {
|
|
|
14252
14219
|
* @chrome-returns-extra since Chrome 88
|
|
14253
14220
|
* @param url The URL of a web page. The scheme of the URL can only be "http" or "https".
|
|
14254
14221
|
* @param title The title of the generated app.
|
|
14255
|
-
* @chrome-permission management
|
|
14256
14222
|
*/
|
|
14257
14223
|
export function generateAppForLink(
|
|
14258
14224
|
|
|
@@ -14266,7 +14232,6 @@ declare namespace chrome {
|
|
|
14266
14232
|
*
|
|
14267
14233
|
* @param url The URL of a web page. The scheme of the URL can only be "http" or "https".
|
|
14268
14234
|
* @param title The title of the generated app.
|
|
14269
|
-
* @chrome-permission management
|
|
14270
14235
|
*/
|
|
14271
14236
|
export function generateAppForLink(
|
|
14272
14237
|
|
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
|
}
|