Mailspring/packages/nylas-core/index.js

17 lines
461 B
JavaScript
Raw Normal View History

global.Promise = require('bluebird');
global.NylasError = require('./nylas-error');
2016-06-23 05:41:32 +08:00
module.exports = {
Provider: {
Gmail: 'gmail',
IMAP: 'imap',
},
DatabaseConnector: require('./database-connector'),
PubsubConnector: require('./pubsub-connector'),
IMAPConnection: require('./imap-connection'),
2016-06-24 04:15:30 +08:00
SyncPolicy: require('./sync-policy'),
SchedulerUtils: require('./scheduler-utils'),
MessageTypes: require('./message-types'),
NylasError,
2016-06-23 05:41:32 +08:00
}