Mailspring/packages/nylas-core/index.js

15 lines
417 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'),
NylasError,
}