-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
28 lines (26 loc) · 924 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
*
* Reldens - Storage
*
*/
const { BaseDataServer } = require('./lib/base-data-server');
const { BaseDriver } = require('./lib/base-driver');
const { ObjectionJsDriver } = require('./lib/objection-js/objection-js-driver');
const { ObjectionJsDataServer } = require('./lib/objection-js/objection-js-data-server');
const { Model } = require('objection');
const { MikroOrmDriver } = require('./lib/mikro-orm/mikro-orm-driver');
const { MikroOrmDataServer } = require('./lib/mikro-orm/mikro-orm-data-server');
const MikroOrmCore = require('@mikro-orm/core');
module.exports = {
// base:
BaseDataServer: BaseDataServer,
BaseDriver: BaseDriver,
// objection-js:
ObjectionJsDataServer: ObjectionJsDataServer,
ObjectionJsDriver: ObjectionJsDriver,
ObjectionJsRawModel: Model,
// mikro-orm:
MikroOrmCore,
MikroOrmDataServer: MikroOrmDataServer,
MikroOrmDriver: MikroOrmDriver
};