mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-12 11:08:10 +08:00
7712269402
- Don’t need functions in delta.js which must be called to return promsies. Fun of promsies is that you don’t need to care when they’re built to attach a .then. - Make boundary between route handler and delta stream builder more explicit, don’t do query parsing in helpers, always reply from handler. - Remove pushJSON extension to outputStream which never actually received JSON. - Remove `takeUntil` - disposing of the downstream observable should dispose of all the merged/upstream observables - Rename inflate => stringify since the returned value is a string not an object. - Remove support for delta streams with no cursors. Don’t think this was supposed to be a feature. - Add accountId to Transaction models - Make database hooks shared in isomorphic core
16 lines
573 B
JavaScript
16 lines
573 B
JavaScript
/* eslint global-require: 0 */
|
|
module.exports = {
|
|
Provider: {
|
|
Gmail: 'gmail',
|
|
IMAP: 'imap',
|
|
},
|
|
Imap: require('imap'),
|
|
IMAPConnection: require('./src/imap-connection'),
|
|
IMAPErrors: require('./src/imap-errors'),
|
|
PromiseUtils: require('./src/promise-utils'),
|
|
DatabaseTypes: require('./src/database-types'),
|
|
loadModels: require('./src/load-models'),
|
|
DeltaStreamBuilder: require('./src/delta-stream-builder'),
|
|
HookTransactionLog: require('./src/hook-transaction-log'),
|
|
HookIncrementVersionOnSave: require('./src/hook-increment-version-on-save'),
|
|
}
|