webext-schema 5.2.3 → 5.2.5
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/package.json +12 -12
- package/schemas/mail/mailext.json +76 -24
package/package.json
CHANGED
|
@@ -7,34 +7,34 @@
|
|
|
7
7
|
"bugs": "https://github.com/asamuzaK/webext-schema/issues",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/asamuzaK/webext-schema.git"
|
|
10
|
+
"url": "git+https://github.com/asamuzaK/webext-schema.git"
|
|
11
11
|
},
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "index.js",
|
|
14
14
|
"types": "types/index.d.ts",
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"camelize": "^1.0.1",
|
|
17
|
-
"commander": "^11.
|
|
17
|
+
"commander": "^11.1.0",
|
|
18
18
|
"decamelize": "^6.0.0",
|
|
19
19
|
"json5": "^2.2.3",
|
|
20
|
-
"sinon": "^
|
|
20
|
+
"sinon": "^17.0.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@types/firefox-webext-browser": "^111.0.
|
|
24
|
-
"@types/node": "^20.
|
|
25
|
-
"@types/sinon": "^10.0.
|
|
23
|
+
"@types/firefox-webext-browser": "^111.0.3",
|
|
24
|
+
"@types/node": "^20.8.8",
|
|
25
|
+
"@types/sinon": "^10.0.20",
|
|
26
26
|
"c8": "^8.0.1",
|
|
27
|
-
"chai": "^4.3.
|
|
28
|
-
"eslint": "^8.
|
|
27
|
+
"chai": "^4.3.10",
|
|
28
|
+
"eslint": "^8.52.0",
|
|
29
29
|
"eslint-config-standard": "^17.1.0",
|
|
30
|
-
"eslint-plugin-import": "^2.
|
|
30
|
+
"eslint-plugin-import": "^2.29.0",
|
|
31
31
|
"eslint-plugin-jsdoc": "^46.8.2",
|
|
32
|
-
"eslint-plugin-regexp": "^1.
|
|
32
|
+
"eslint-plugin-regexp": "^2.1.1",
|
|
33
33
|
"eslint-plugin-unicorn": "^48.0.1",
|
|
34
34
|
"mocha": "^10.2.0",
|
|
35
35
|
"npm-run-all": "^4.1.5",
|
|
36
36
|
"typescript": "^5.2.2",
|
|
37
|
-
"undici": "^5.
|
|
37
|
+
"undici": "^5.26.5"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "npm run tsc && npm run lint && npm run test",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"update-mail": "node index update --channel=mail -i",
|
|
55
55
|
"update-release": "node index update --channel=release -i"
|
|
56
56
|
},
|
|
57
|
-
"version": "5.2.
|
|
57
|
+
"version": "5.2.5"
|
|
58
58
|
}
|
|
@@ -4163,7 +4163,7 @@
|
|
|
4163
4163
|
"optional": true
|
|
4164
4164
|
},
|
|
4165
4165
|
"type": {
|
|
4166
|
-
"description": "Specifies the type of the button. Default type is <
|
|
4166
|
+
"description": "Specifies the type of the button. Default type is <value>button</value>.",
|
|
4167
4167
|
"type": "string",
|
|
4168
4168
|
"enum": [
|
|
4169
4169
|
"button",
|
|
@@ -4271,7 +4271,7 @@
|
|
|
4271
4271
|
"optional": true
|
|
4272
4272
|
},
|
|
4273
4273
|
"type": {
|
|
4274
|
-
"description": "Specifies the type of the button. Default type is <
|
|
4274
|
+
"description": "Specifies the type of the button. Default type is <value>button</value>.",
|
|
4275
4275
|
"type": "string",
|
|
4276
4276
|
"enum": [
|
|
4277
4277
|
"button",
|
|
@@ -6750,7 +6750,7 @@
|
|
|
6750
6750
|
"optional": true
|
|
6751
6751
|
},
|
|
6752
6752
|
"type": {
|
|
6753
|
-
"description": "Specifies the type of the button. Default type is <
|
|
6753
|
+
"description": "Specifies the type of the button. Default type is <value>button</value>.",
|
|
6754
6754
|
"type": "string",
|
|
6755
6755
|
"enum": [
|
|
6756
6756
|
"button",
|
|
@@ -7611,19 +7611,21 @@
|
|
|
7611
7611
|
"optional": true
|
|
7612
7612
|
},
|
|
7613
7613
|
"type": {
|
|
7614
|
-
"
|
|
7614
|
+
"choices": [
|
|
7615
|
+
{
|
|
7616
|
+
"max_manifest_version": 2,
|
|
7617
|
+
"$ref": "folders.MailFolderType"
|
|
7618
|
+
},
|
|
7619
|
+
{
|
|
7620
|
+
"min_manifest_version": 3,
|
|
7621
|
+
"type": "array",
|
|
7622
|
+
"items": {
|
|
7623
|
+
"$ref": "folders.MailFolderType"
|
|
7624
|
+
}
|
|
7625
|
+
}
|
|
7626
|
+
],
|
|
7615
7627
|
"optional": true,
|
|
7616
|
-
"description": "The type of folder
|
|
7617
|
-
"enum": [
|
|
7618
|
-
"inbox",
|
|
7619
|
-
"drafts",
|
|
7620
|
-
"sent",
|
|
7621
|
-
"trash",
|
|
7622
|
-
"templates",
|
|
7623
|
-
"archives",
|
|
7624
|
-
"junk",
|
|
7625
|
-
"outbox"
|
|
7626
|
-
]
|
|
7628
|
+
"description": "The type of folder."
|
|
7627
7629
|
}
|
|
7628
7630
|
}
|
|
7629
7631
|
},
|
|
@@ -7648,6 +7650,21 @@
|
|
|
7648
7650
|
"description": "Number of unread messages in this folder."
|
|
7649
7651
|
}
|
|
7650
7652
|
}
|
|
7653
|
+
},
|
|
7654
|
+
{
|
|
7655
|
+
"id": "MailFolderType",
|
|
7656
|
+
"type": "string",
|
|
7657
|
+
"description": "The type of folder",
|
|
7658
|
+
"enum": [
|
|
7659
|
+
"inbox",
|
|
7660
|
+
"drafts",
|
|
7661
|
+
"sent",
|
|
7662
|
+
"trash",
|
|
7663
|
+
"templates",
|
|
7664
|
+
"archives",
|
|
7665
|
+
"junk",
|
|
7666
|
+
"outbox"
|
|
7667
|
+
]
|
|
7651
7668
|
}
|
|
7652
7669
|
],
|
|
7653
7670
|
"functions": [
|
|
@@ -9774,7 +9791,7 @@
|
|
|
9774
9791
|
"optional": true
|
|
9775
9792
|
},
|
|
9776
9793
|
"type": {
|
|
9777
|
-
"description": "Specifies the type of the button. Default type is <
|
|
9794
|
+
"description": "Specifies the type of the button. Default type is <value>button</value>.",
|
|
9778
9795
|
"type": "string",
|
|
9779
9796
|
"enum": [
|
|
9780
9797
|
"button",
|
|
@@ -10851,7 +10868,7 @@
|
|
|
10851
10868
|
"optional": true,
|
|
10852
10869
|
"parameters": [
|
|
10853
10870
|
{
|
|
10854
|
-
"$ref": "MessageList"
|
|
10871
|
+
"$ref": "messages.MessageList"
|
|
10855
10872
|
}
|
|
10856
10873
|
]
|
|
10857
10874
|
}
|
|
@@ -10873,12 +10890,24 @@
|
|
|
10873
10890
|
"optional": true,
|
|
10874
10891
|
"parameters": [
|
|
10875
10892
|
{
|
|
10876
|
-
"$ref": "MessageList"
|
|
10893
|
+
"$ref": "messages.MessageList"
|
|
10877
10894
|
}
|
|
10878
10895
|
]
|
|
10879
10896
|
}
|
|
10880
10897
|
]
|
|
10881
10898
|
},
|
|
10899
|
+
{
|
|
10900
|
+
"name": "abortList",
|
|
10901
|
+
"type": "function",
|
|
10902
|
+
"description": "Finalizes the specified list and terminates any process currently still adding messages.",
|
|
10903
|
+
"async": true,
|
|
10904
|
+
"parameters": [
|
|
10905
|
+
{
|
|
10906
|
+
"name": "messageListId",
|
|
10907
|
+
"type": "string"
|
|
10908
|
+
}
|
|
10909
|
+
]
|
|
10910
|
+
},
|
|
10882
10911
|
{
|
|
10883
10912
|
"name": "get",
|
|
10884
10913
|
"type": "function",
|
|
@@ -11150,6 +11179,21 @@
|
|
|
11150
11179
|
"type": "boolean",
|
|
11151
11180
|
"optional": true,
|
|
11152
11181
|
"description": "Returns only unread (or read if false) messages."
|
|
11182
|
+
},
|
|
11183
|
+
"autoPaginationTimeout": {
|
|
11184
|
+
"type": "integer",
|
|
11185
|
+
"optional": true,
|
|
11186
|
+
"description": "Set the timeout in ms after which results should be returned, even if the nominal number of messages-per-page has not yet been reached. Defaults to <value>1000</value> ms. Setting it to <value>0</value> will disable auto-pagination."
|
|
11187
|
+
},
|
|
11188
|
+
"messagesPerPage": {
|
|
11189
|
+
"type": "integer",
|
|
11190
|
+
"optional": true,
|
|
11191
|
+
"description": "Set the nominal number of messages-per-page for this query. Defaults to <value>100</value> messages."
|
|
11192
|
+
},
|
|
11193
|
+
"returnMessageListId": {
|
|
11194
|
+
"type": "boolean",
|
|
11195
|
+
"optional": true,
|
|
11196
|
+
"description": "The <em>messageListId</em> is usually returned together with the first page, after some messages have been found. Enabling this option will change the return value of this function and return the <em>messageListId</em> directly."
|
|
11153
11197
|
}
|
|
11154
11198
|
}
|
|
11155
11199
|
},
|
|
@@ -11159,7 +11203,14 @@
|
|
|
11159
11203
|
"optional": true,
|
|
11160
11204
|
"parameters": [
|
|
11161
11205
|
{
|
|
11162
|
-
"
|
|
11206
|
+
"choices": [
|
|
11207
|
+
{
|
|
11208
|
+
"$ref": "messages.MessageList"
|
|
11209
|
+
},
|
|
11210
|
+
{
|
|
11211
|
+
"type": "string"
|
|
11212
|
+
}
|
|
11213
|
+
]
|
|
11163
11214
|
}
|
|
11164
11215
|
]
|
|
11165
11216
|
}
|
|
@@ -11351,8 +11402,8 @@
|
|
|
11351
11402
|
{
|
|
11352
11403
|
"type": "string",
|
|
11353
11404
|
"name": "key",
|
|
11354
|
-
"description": "Unique tag identifier (
|
|
11355
|
-
"pattern": "^[
|
|
11405
|
+
"description": "Unique tag identifier (will be converted to lower case). Must not include <value>()<>{/%*\"</value> or spaces.",
|
|
11406
|
+
"pattern": "^[^ ()/{%*<>\"]+$"
|
|
11356
11407
|
},
|
|
11357
11408
|
{
|
|
11358
11409
|
"type": "string",
|
|
@@ -11379,8 +11430,8 @@
|
|
|
11379
11430
|
{
|
|
11380
11431
|
"type": "string",
|
|
11381
11432
|
"name": "key",
|
|
11382
|
-
"description": "Unique tag identifier.",
|
|
11383
|
-
"pattern": "^[
|
|
11433
|
+
"description": "Unique tag identifier (will be converted to lower case). Must not include <value>()<>{/%*\"</value> or spaces.",
|
|
11434
|
+
"pattern": "^[^ ()/{%*<>\"]+$"
|
|
11384
11435
|
},
|
|
11385
11436
|
{
|
|
11386
11437
|
"type": "object",
|
|
@@ -11413,7 +11464,8 @@
|
|
|
11413
11464
|
{
|
|
11414
11465
|
"type": "string",
|
|
11415
11466
|
"name": "key",
|
|
11416
|
-
"
|
|
11467
|
+
"description": "Unique tag identifier (will be converted to lower case). Must not include <value>()<>{/%*\"</value> or spaces.",
|
|
11468
|
+
"pattern": "^[^ ()/{%*<>\"]+$"
|
|
11417
11469
|
}
|
|
11418
11470
|
]
|
|
11419
11471
|
}
|