Mailspring/packages/nylas-core/index.js
2016-06-28 15:35:59 -07:00

16 lines
461 B
JavaScript

global.Promise = require('bluebird');
global.NylasError = require('./nylas-error');
module.exports = {
Provider: {
Gmail: 'gmail',
IMAP: 'imap',
},
DatabaseConnector: require('./database-connector'),
PubsubConnector: require('./pubsub-connector'),
IMAPConnection: require('./imap-connection'),
SyncPolicy: require('./sync-policy'),
SchedulerUtils: require('./scheduler-utils'),
MessageTypes: require('./message-types'),
NylasError,
}