mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-31 04:33:09 +08:00
179 lines
3.4 KiB
JSON
179 lines
3.4 KiB
JSON
[{
|
|
"collection": "users",
|
|
"indexes": [{
|
|
"name": "users",
|
|
"key": {
|
|
"username": 1
|
|
},
|
|
"unique": true
|
|
}, {
|
|
"name": "show_new",
|
|
"key": {
|
|
"created": -1
|
|
}
|
|
}]
|
|
}, {
|
|
"collection": "addresses",
|
|
"indexes": [{
|
|
"name": "address",
|
|
"key": {
|
|
"address": 1
|
|
},
|
|
"unique": true
|
|
}, {
|
|
"name": "user",
|
|
"key": {
|
|
"user": 1
|
|
}
|
|
}]
|
|
}, {
|
|
"collection": "mailboxes",
|
|
"indexes": [{
|
|
"name": "find_by_user",
|
|
"key": {
|
|
"user": 1,
|
|
"path": 1
|
|
}
|
|
}, {
|
|
"name": "user_subscribed",
|
|
"key": {
|
|
"user": 1,
|
|
"subscribed": 1
|
|
}
|
|
}, {
|
|
"name": "find_by_type",
|
|
"key": {
|
|
"user": 1,
|
|
"specialUse": 1
|
|
}
|
|
}]
|
|
}, {
|
|
"collection": "messages",
|
|
"indexes": [{
|
|
"name": "mailbox_messages",
|
|
"key": {
|
|
"mailbox": 1
|
|
}
|
|
}, {
|
|
"name": "user_messages",
|
|
"key": {
|
|
"user": 1
|
|
}
|
|
}, {
|
|
"name": "mailbox_ui",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"uid": 1
|
|
}
|
|
}, {
|
|
"name": "mailbox_modseq_uid",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"modseq": 1,
|
|
"uid": 1
|
|
}
|
|
}, {
|
|
"name": "newer_first",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"uid": -1
|
|
}
|
|
}, {
|
|
"name": "mailbox_flags",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"flags": 1
|
|
}
|
|
}, {
|
|
"name": "by_modseq",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"modseq": 1
|
|
}
|
|
}, {
|
|
"name": "by_idate",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"idate": 1
|
|
}
|
|
}, {
|
|
"name": "by_hdate",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"hdate": 1,
|
|
"msgid": 1
|
|
}
|
|
}, {
|
|
"name": "by_size",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"size": 1
|
|
}
|
|
}, {
|
|
"name": "by_headers",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"headers.key": 1,
|
|
"headers.value": 1
|
|
}
|
|
}, {
|
|
"name": "fulltext",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"text": "text"
|
|
}
|
|
}, {
|
|
"name": "mailbox_seen_flag",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"seen": 1
|
|
}
|
|
}, {
|
|
"name": "mailbox_deleted_flag",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"deleted": 1
|
|
}
|
|
}, {
|
|
"name": "mailbox_flagged_flag",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"flagged": 1
|
|
}
|
|
}, {
|
|
"name": "mailbox_draft_flag",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"draft": 1
|
|
}
|
|
}, {
|
|
"name": "has_attachment",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"ha": 1
|
|
}
|
|
}]
|
|
}, {
|
|
"collection": "attachment.files",
|
|
"indexes": [{
|
|
"name": "related_messages",
|
|
"key": {
|
|
"metadata.messages": 1
|
|
}
|
|
}]
|
|
}, {
|
|
"collection": "journal",
|
|
"indexes": [{
|
|
"name": "mailbox_modseq",
|
|
"key": {
|
|
"mailbox": 1,
|
|
"modseq": 1
|
|
}
|
|
}, {
|
|
"name": "autoexpire",
|
|
"expireAfterSeconds": "21600",
|
|
"key": {
|
|
"created": 1
|
|
}
|
|
}]
|
|
}]
|