Add conversation threads and prepare 0.6.0

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-11-17 22:46:11 +02:00
co-authored by Copilot
parent 93ff651e9d
commit bb34eedb44
38 changed files with 532 additions and 23 deletions
+3 -2
View File
@@ -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': [],