1 | ;
|
2 |
|
3 | const mongodb = require('mongodb');
|
4 | const Database = require('./lib/database');
|
5 | const Model = require('./lib/model');
|
6 | const ActionTypes = require('./lib/action-types');
|
7 |
|
8 | const x = module.exports = Database;
|
9 | x.Database = Database;
|
10 | x.Model = Model;
|
11 | x.ActionTypes = ActionTypes;
|
12 | x.Timestamp = mongodb.Timestamp;
|
13 | x.ObjectId = mongodb.ObjectId;
|
14 | x.MinKey = mongodb.MinKey;
|
15 | x.MaxKey = mongodb.MaxKey;
|
16 | x.DBRef = mongodb.DBRef;
|
17 | x.Long = mongodb.Long;
|