Add conversation threads and prepare 0.6.0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -53,6 +53,7 @@ const objectFieldSchemas = {
|
||||
'mail:create-folder': [{ name: str(100) }],
|
||||
'mail:save-draft': [{
|
||||
id: str(256), to: str(4000), cc: str(4000), subject: str(998), text: str(500_000),
|
||||
inReplyTo: str(254), references: str(900),
|
||||
attachments: array(record(attachmentFields))
|
||||
}],
|
||||
'mail:set-snooze': [{
|
||||
@@ -67,7 +68,7 @@ const objectFieldSchemas = {
|
||||
'mail:preview-attachment': [{ uid: num({ integer: true, min: 1 }), folder: str(256), filename: str(1000) }],
|
||||
'mail:send': [{
|
||||
to: str(4000), cc: str(4000), subject: str(998), text: str(500_000), displayName: str(80),
|
||||
messageId: str(998), attachments: array(record(attachmentFields)),
|
||||
messageId: str(998), inReplyTo: str(254), references: str(900), attachments: array(record(attachmentFields)),
|
||||
pgp: record({ encrypt: bool(), sign: bool(), passphrase: str(4096, { nullable: true }) }, { nullable: true })
|
||||
}],
|
||||
'pgp:generate': [{ name: str(200), email: str(320), passphrase: str(4096), accountId: str(256, { nullable: true }) }],
|
||||
@@ -115,7 +116,7 @@ const positionalFieldSchemas = {
|
||||
'pgp:remove-key-server': { 0: str(256) }
|
||||
};
|
||||
|
||||
const sendMessageFields = new Set(['to', 'cc', 'subject', 'text', 'displayName', 'messageId', 'attachments', 'pgp']);
|
||||
const sendMessageFields = new Set(['to', 'cc', 'subject', 'text', 'displayName', 'messageId', 'inReplyTo', 'references', 'attachments', 'pgp']);
|
||||
|
||||
const schemas = {
|
||||
'app:get-version': [],
|
||||
|
||||
Reference in New Issue
Block a user