webext-schema 5.5.5 → 5.6.0

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.
@@ -1378,6 +1378,14 @@
1378
1378
  },
1379
1379
  "optional": true,
1380
1380
  "default": []
1381
+ },
1382
+ "data_collection": {
1383
+ "type": "array",
1384
+ "items": {
1385
+ "$ref": "manifest.OptionalDataCollectionPermission"
1386
+ },
1387
+ "optional": true,
1388
+ "default": []
1381
1389
  }
1382
1390
  }
1383
1391
  },
@@ -1407,6 +1415,14 @@
1407
1415
  },
1408
1416
  "optional": true,
1409
1417
  "default": []
1418
+ },
1419
+ "data_collection": {
1420
+ "type": "array",
1421
+ "items": {
1422
+ "$ref": "manifest.OptionalDataCollectionPermission"
1423
+ },
1424
+ "optional": true,
1425
+ "default": []
1410
1426
  }
1411
1427
  }
1412
1428
  }
@@ -5934,7 +5950,7 @@
5934
5950
  "type": "string",
5935
5951
  "format": "relativeUrl",
5936
5952
  "preprocess": "localize",
5937
- "description": "A page for configuring accounts, to be displayed in the preferences UI. **Note:** Within this UI only a limited subset of the WebExtension APIs is available: <var>cloudFile</var>, <var>extension</var>, <var>i18n</var>, <var>runtime</var>, <var>storage</var>, <var>test</var>."
5953
+ "description": "A page for configuring accounts, to be displayed in the preferences UI. **Note:** Within this UI only a limited subset of the WebExtension APIs is available: <var>cloudFile</var>, <var>extension</var>, <var>i18n</var>, <var>runtime</var>, <var>storage</var>. The id of the to be configured cloud file account can be retrieved via <code>new URL(location.href).searchParams.get('accountId');</code>."
5938
5954
  },
5939
5955
  "name": {
5940
5956
  "type": "string",
@@ -14855,7 +14871,87 @@
14855
14871
  ]
14856
14872
  }
14857
14873
  ],
14874
+ "oauth_provider.json": [
14875
+ {
14876
+ "namespace": "manifest",
14877
+ "types": [
14878
+ {
14879
+ "$extend": "WebExtensionManifest",
14880
+ "properties": {
14881
+ "oauth_provider": {
14882
+ "description": "Describes an OAuth authentication provider for Thunderbird to use when connecting to mail/address book/calendar services. You will need to have a client ID registered with the provider to use this API.",
14883
+ "type": "object",
14884
+ "properties": {
14885
+ "issuer": {
14886
+ "description": "A string to identify this provider in the login manager. This <em>should</em> match the hostname of the authorization endpoint, although that is not required.",
14887
+ "type": "string"
14888
+ },
14889
+ "clientId": {
14890
+ "description": "Identifies the OAuth client to the server.",
14891
+ "type": "string"
14892
+ },
14893
+ "clientSecret": {
14894
+ "description": "Identifies the OAuth client to the server.",
14895
+ "type": "string",
14896
+ "optional": true
14897
+ },
14898
+ "authorizationEndpoint": {
14899
+ "description": "OAuth authorization endpoint address.",
14900
+ "type": "string",
14901
+ "format": "url"
14902
+ },
14903
+ "tokenEndpoint": {
14904
+ "description": "OAuth token endpoint address.",
14905
+ "type": "string",
14906
+ "format": "url"
14907
+ },
14908
+ "redirectionEndpoint": {
14909
+ "description": "OAuth redirection endpoint.",
14910
+ "type": "string",
14911
+ "format": "url"
14912
+ },
14913
+ "usePKCE": {
14914
+ "description": "If the authorization uses PKCE.",
14915
+ "type": "boolean",
14916
+ "optional": true
14917
+ },
14918
+ "hostnames": {
14919
+ "description": "One or more hostnames which use this OAuth provider.",
14920
+ "type": "array",
14921
+ "items": {
14922
+ "type": "string"
14923
+ },
14924
+ "minItems": 1
14925
+ },
14926
+ "scopes": {
14927
+ "description": "The scopes to request when using this OAuth provider.",
14928
+ "type": "string"
14929
+ }
14930
+ },
14931
+ "optional": true
14932
+ }
14933
+ }
14934
+ }
14935
+ ]
14936
+ }
14937
+ ],
14858
14938
  "sessions.json": [
14939
+ {
14940
+ "namespace": "manifest",
14941
+ "types": [
14942
+ {
14943
+ "$extend": "OptionalPermission",
14944
+ "choices": [
14945
+ {
14946
+ "type": "string",
14947
+ "enum": [
14948
+ "sessions"
14949
+ ]
14950
+ }
14951
+ ]
14952
+ }
14953
+ ]
14954
+ },
14859
14955
  {
14860
14956
  "namespace": "sessions",
14861
14957
  "functions": [
@@ -15618,6 +15714,12 @@
15618
15714
  "description": "The id of the space.",
15619
15715
  "minimum": 1,
15620
15716
  "optional": true
15717
+ },
15718
+ "groupId": {
15719
+ "type": "integer",
15720
+ "optional": true,
15721
+ "minimum": -1,
15722
+ "description": "The ID of the group that the tab belongs to. -1 if the tab does not belong to a tab group."
15621
15723
  }
15622
15724
  }
15623
15725
  },
@@ -2382,6 +2382,7 @@
2382
2382
  "audio",
2383
2383
  "launcher",
2384
2384
  "bookmark",
2385
+ "page_action",
2385
2386
  "tab",
2386
2387
  "tools_menu"
2387
2388
  ]
@@ -2389,8 +2390,7 @@
2389
2390
  {
2390
2391
  "type": "string",
2391
2392
  "enum": [
2392
- "browser_action",
2393
- "page_action"
2393
+ "browser_action"
2394
2394
  ],
2395
2395
  "max_manifest_version": 2
2396
2396
  },
@@ -4528,6 +4528,12 @@
4528
4528
  "optional": true,
4529
4529
  "minimum": -1,
4530
4530
  "description": "The ID of this tab's successor, if any; $(ref:tabs.TAB_ID_NONE) otherwise."
4531
+ },
4532
+ "groupId": {
4533
+ "type": "integer",
4534
+ "optional": true,
4535
+ "minimum": -1,
4536
+ "description": "The ID of the group that the tab belongs to. $(ref:tabGroups.TAB_GROUP_ID_NONE) (-1) if the tab does not belong to a tab group."
4531
4537
  }
4532
4538
  }
4533
4539
  },
@@ -4739,6 +4745,7 @@
4739
4745
  "autoDiscardable",
4740
4746
  "discarded",
4741
4747
  "favIconUrl",
4748
+ "groupId",
4742
4749
  "hidden",
4743
4750
  "isArticle",
4744
4751
  "mutedInfo",
@@ -5166,6 +5173,12 @@
5166
5173
  "optional": true,
5167
5174
  "description": "The ID of the tab that opened this tab. If specified, the opener tab must be in the same window as this tab."
5168
5175
  },
5176
+ "groupId": {
5177
+ "type": "integer",
5178
+ "minimum": -1,
5179
+ "optional": true,
5180
+ "description": "The ID of the group that the tabs are in, or $(ref:tabGroups.TAB_GROUP_ID_NONE) (-1) for ungrouped tabs."
5181
+ },
5169
5182
  "screen": {
5170
5183
  "choices": [
5171
5184
  {
@@ -6002,6 +6015,95 @@
6002
6015
  "parameters": []
6003
6016
  }
6004
6017
  ]
6018
+ },
6019
+ {
6020
+ "name": "group",
6021
+ "type": "function",
6022
+ "description": "Adds one or more tabs to a specified group, or if no group is specified, adds the given tabs to a newly created group.",
6023
+ "async": "callback",
6024
+ "parameters": [
6025
+ {
6026
+ "name": "options",
6027
+ "type": "object",
6028
+ "properties": {
6029
+ "tabIds": {
6030
+ "description": "The tab ID or list of tab IDs to add to the specified group.",
6031
+ "choices": [
6032
+ {
6033
+ "type": "integer",
6034
+ "minimum": 0
6035
+ },
6036
+ {
6037
+ "type": "array",
6038
+ "items": {
6039
+ "type": "integer",
6040
+ "minimum": 0
6041
+ },
6042
+ "minItems": 1
6043
+ }
6044
+ ]
6045
+ },
6046
+ "groupId": {
6047
+ "type": "integer",
6048
+ "description": "The ID of the group to add the tabs to. If not specified, a new group will be created.",
6049
+ "minimum": 0,
6050
+ "optional": true
6051
+ },
6052
+ "createProperties": {
6053
+ "type": "object",
6054
+ "optional": true,
6055
+ "description": "Configurations for creating a group. Cannot be used if groupId is already specified.",
6056
+ "properties": {
6057
+ "windowId": {
6058
+ "type": "integer",
6059
+ "minimum": -2,
6060
+ "optional": true,
6061
+ "description": "The window of the new group. Defaults to the current window."
6062
+ }
6063
+ }
6064
+ }
6065
+ }
6066
+ },
6067
+ {
6068
+ "type": "function",
6069
+ "name": "callback",
6070
+ "optional": true,
6071
+ "parameters": [
6072
+ {
6073
+ "name": "groupId",
6074
+ "type": "integer",
6075
+ "minimum": 0,
6076
+ "description": "The ID of the group that the tabs were added to."
6077
+ }
6078
+ ]
6079
+ }
6080
+ ]
6081
+ },
6082
+ {
6083
+ "name": "ungroup",
6084
+ "type": "function",
6085
+ "description": "Removes one or more tabs from their respective groups. If any groups become empty, they are deleted.",
6086
+ "async": true,
6087
+ "parameters": [
6088
+ {
6089
+ "name": "tabIds",
6090
+ "description": "The tab ID or list of tab IDs to remove from their respective groups.",
6091
+ "choices": [
6092
+ {
6093
+ "type": "integer",
6094
+ "minimum": 0
6095
+ },
6096
+ {
6097
+ "type": "array",
6098
+ "items": {
6099
+ "type": "integer",
6100
+ "minimum": 0
6101
+ },
6102
+ "minItems": 1
6103
+ }
6104
+ ]
6105
+ }
6106
+ ]
6005
6107
  }
6006
6108
  ],
6007
6109
  "events": [
@@ -7189,6 +7291,7 @@
7189
7291
  "name": "create",
7190
7292
  "type": "function",
7191
7293
  "description": "Creates an alarm. After the delay is expired, the onAlarm event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.",
7294
+ "async": "callback",
7192
7295
  "parameters": [
7193
7296
  {
7194
7297
  "type": "string",
@@ -7217,6 +7320,12 @@
7217
7320
  "description": "Number of minutes after which the alarm should recur repeatedly."
7218
7321
  }
7219
7322
  }
7323
+ },
7324
+ {
7325
+ "type": "function",
7326
+ "name": "callback",
7327
+ "optional": true,
7328
+ "parameters": []
7220
7329
  }
7221
7330
  ]
7222
7331
  },
@@ -19080,7 +19189,8 @@
19080
19189
  "content"
19081
19190
  ],
19082
19191
  "description": "Delete the models the extension downloaded.",
19083
- "async": true
19192
+ "async": true,
19193
+ "parameters": []
19084
19194
  }
19085
19195
  ]
19086
19196
  }
@@ -20844,6 +20954,7 @@
20844
20954
  "cryptomining_content",
20845
20955
  "emailtracking",
20846
20956
  "emailtracking_content",
20957
+ "consentmanager",
20847
20958
  "tracking",
20848
20959
  "tracking_ad",
20849
20960
  "tracking_analytics",
@@ -1,4 +1,4 @@
1
- export const ESR_VER: 128;
1
+ export const ESR_VER: 115;
2
2
  export function fetchText(url: string): Promise<string>;
3
3
  export function getChannelUrl(channel: string): string;
4
4
  export function getSchemaData(file: string, baseUrl: string): Promise<object>;