webext-schema 3.0.2 → 4.1.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.
- package/modules/browser.js +22 -7
- package/modules/update.js +1 -1
- package/package.json +5 -5
- package/schemas/beta/webext.json +27 -13
- package/schemas/esr/webext.json +809 -320
- package/schemas/mail/mailext.json +85 -5
|
@@ -5269,6 +5269,7 @@
|
|
|
5269
5269
|
"type": "string",
|
|
5270
5270
|
"enum": [
|
|
5271
5271
|
"compose",
|
|
5272
|
+
"compose.save",
|
|
5272
5273
|
"compose.send"
|
|
5273
5274
|
]
|
|
5274
5275
|
}
|
|
@@ -5464,7 +5465,7 @@
|
|
|
5464
5465
|
"html",
|
|
5465
5466
|
"both"
|
|
5466
5467
|
],
|
|
5467
|
-
"description": "Defines the mime format of the
|
|
5468
|
+
"description": "Defines the mime format of the sent message (ignored on plain text messages). Defaults to ``auto``, which will send html messages as plain text, if they do not include any formatting, and as ``both`` otherwise (a multipart/mixed message).",
|
|
5468
5469
|
"optional": true
|
|
5469
5470
|
},
|
|
5470
5471
|
"customHeaders": {
|
|
@@ -6056,7 +6057,7 @@
|
|
|
6056
6057
|
"compose.send"
|
|
6057
6058
|
],
|
|
6058
6059
|
"type": "function",
|
|
6059
|
-
"description": "Sends the message currently being composed.",
|
|
6060
|
+
"description": "Sends the message currently being composed. If the send mode is not specified or set to ``default``, the message will be send directly if the user is online and placed in the users outbox otherwise. The returned Promise fulfills once the message has been successfully sent or placed in the user's outbox. Throws when the send process has been aborted by the user, by an :ref:`onBeforeSend` event or if there has been an error while sending the message to the outgoing mail server.",
|
|
6060
6061
|
"async": "callback",
|
|
6061
6062
|
"parameters": [
|
|
6062
6063
|
{
|
|
@@ -6081,12 +6082,90 @@
|
|
|
6081
6082
|
{
|
|
6082
6083
|
"type": "function",
|
|
6083
6084
|
"name": "callback",
|
|
6084
|
-
"description": "Returns false if the current state of the message composer prevented sending the message.",
|
|
6085
6085
|
"optional": true,
|
|
6086
6086
|
"parameters": [
|
|
6087
6087
|
{
|
|
6088
6088
|
"name": "return",
|
|
6089
|
-
"type": "
|
|
6089
|
+
"type": "object",
|
|
6090
|
+
"properties": {
|
|
6091
|
+
"mode": {
|
|
6092
|
+
"type": "string",
|
|
6093
|
+
"description": "The used send mode.",
|
|
6094
|
+
"enum": [
|
|
6095
|
+
"sendNow",
|
|
6096
|
+
"sendLater"
|
|
6097
|
+
]
|
|
6098
|
+
},
|
|
6099
|
+
"headerMessageId": {
|
|
6100
|
+
"type": "string",
|
|
6101
|
+
"description": "The header messageId of the outgoing message. Only included for actually sent messages.",
|
|
6102
|
+
"optional": true
|
|
6103
|
+
},
|
|
6104
|
+
"messages": {
|
|
6105
|
+
"type": "array",
|
|
6106
|
+
"items": {
|
|
6107
|
+
"$ref": "messages.MessageHeader"
|
|
6108
|
+
},
|
|
6109
|
+
"description": "Copies of the sent message. The number of created copies depends on the applied file carbon copy configuration (fcc)."
|
|
6110
|
+
}
|
|
6111
|
+
}
|
|
6112
|
+
}
|
|
6113
|
+
]
|
|
6114
|
+
}
|
|
6115
|
+
]
|
|
6116
|
+
},
|
|
6117
|
+
{
|
|
6118
|
+
"name": "saveMessage",
|
|
6119
|
+
"permissions": [
|
|
6120
|
+
"compose.save"
|
|
6121
|
+
],
|
|
6122
|
+
"type": "function",
|
|
6123
|
+
"description": "Saves the message currently being composed as a draft or as a template. If the save mode is not specified, the message will be saved as a draft. The returned Promise fulfills once the message has been successfully saved.",
|
|
6124
|
+
"async": "callback",
|
|
6125
|
+
"parameters": [
|
|
6126
|
+
{
|
|
6127
|
+
"name": "tabId",
|
|
6128
|
+
"type": "integer"
|
|
6129
|
+
},
|
|
6130
|
+
{
|
|
6131
|
+
"name": "options",
|
|
6132
|
+
"type": "object",
|
|
6133
|
+
"optional": true,
|
|
6134
|
+
"properties": {
|
|
6135
|
+
"mode": {
|
|
6136
|
+
"type": "string",
|
|
6137
|
+
"enum": [
|
|
6138
|
+
"draft",
|
|
6139
|
+
"template"
|
|
6140
|
+
]
|
|
6141
|
+
}
|
|
6142
|
+
}
|
|
6143
|
+
},
|
|
6144
|
+
{
|
|
6145
|
+
"type": "function",
|
|
6146
|
+
"name": "callback",
|
|
6147
|
+
"optional": true,
|
|
6148
|
+
"parameters": [
|
|
6149
|
+
{
|
|
6150
|
+
"name": "return",
|
|
6151
|
+
"type": "object",
|
|
6152
|
+
"properties": {
|
|
6153
|
+
"mode": {
|
|
6154
|
+
"type": "string",
|
|
6155
|
+
"description": "The used save mode.",
|
|
6156
|
+
"enum": [
|
|
6157
|
+
"draft",
|
|
6158
|
+
"template"
|
|
6159
|
+
]
|
|
6160
|
+
},
|
|
6161
|
+
"messages": {
|
|
6162
|
+
"type": "array",
|
|
6163
|
+
"items": {
|
|
6164
|
+
"$ref": "messages.MessageHeader"
|
|
6165
|
+
},
|
|
6166
|
+
"description": "The saved message(s). The number of saved messages depends on the applied file carbon copy configuration (fcc)."
|
|
6167
|
+
}
|
|
6168
|
+
}
|
|
6090
6169
|
}
|
|
6091
6170
|
]
|
|
6092
6171
|
}
|
|
@@ -9532,7 +9611,8 @@
|
|
|
9532
9611
|
},
|
|
9533
9612
|
"folder": {
|
|
9534
9613
|
"$ref": "folders.MailFolder",
|
|
9535
|
-
"description": "The <permission>accountsRead</permission> permission is required for this property to be included."
|
|
9614
|
+
"description": "The <permission>accountsRead</permission> permission is required for this property to be included.",
|
|
9615
|
+
"optional": true
|
|
9536
9616
|
},
|
|
9537
9617
|
"headerMessageId": {
|
|
9538
9618
|
"type": "string",
|