2016-06-24 06:52:45 +08:00
|
|
|
global.Promise = require('bluebird');
|
2016-06-28 07:01:21 +08:00
|
|
|
global.NylasError = require('./nylas-error');
|
2016-06-24 06:52:45 +08:00
|
|
|
|
2016-06-23 05:41:32 +08:00
|
|
|
module.exports = {
|
2016-06-28 01:28:43 +08:00
|
|
|
Provider: {
|
|
|
|
Gmail: 'gmail',
|
|
|
|
IMAP: 'imap',
|
|
|
|
},
|
2016-06-23 15:49:22 +08:00
|
|
|
DatabaseConnector: require('./database-connector'),
|
|
|
|
PubsubConnector: require('./pubsub-connector'),
|
2016-06-23 08:19:48 +08:00
|
|
|
IMAPConnection: require('./imap-connection'),
|
2016-06-24 04:15:30 +08:00
|
|
|
SyncPolicy: require('./sync-policy'),
|
2016-06-24 06:52:45 +08:00
|
|
|
SchedulerUtils: require('./scheduler-utils'),
|
2016-06-29 06:35:35 +08:00
|
|
|
MessageTypes: require('./message-types'),
|
2016-06-28 07:01:21 +08:00
|
|
|
NylasError,
|
2016-06-23 05:41:32 +08:00
|
|
|
}
|