-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
36 lines (29 loc) · 1.29 KB
/
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
29
30
31
32
33
34
35
36
/* eslint import/no-dynamic-require: 0 */
const { Model } = require('./lib/resources/model')
const { ConfigurableModel } = require('./lib/resources/configurable_model')
const { FieldsModel } = require('./lib/resources/fields_model')
const { InvalidEntry } = require('./lib/resources/errors/invalid_entry')
const { CollectionClient } = require('./lib/client/collection_client')
const { EntityClient } = require('./lib/client/entity_client')
const { DevelopmentCollectionClient } = require('./lib/client/development/collection_client')
const { DevelopmentEntityClient } = require('./lib/client/development/entity_client')
const { MongoCollectionServer } = require('./lib/server/mongo/collection_server')
const { MongoEntityServer } = require('./lib/server/mongo/entity_server')
const { MongoResourceAdapter } = require('./lib/server/mongo/resource_adapter')
const { allowModelConfiguration } = require('./lib/server/configurable_model_server')
exports.Model = Model
exports.InvalidEntry = InvalidEntry
Object.assign(exports, {
Model,
ConfigurableModel,
FieldsModel,
InvalidEntry,
CollectionClient,
EntityClient,
DevelopmentCollectionClient,
DevelopmentEntityClient,
MongoCollectionServer,
MongoResourceAdapter,
MongoEntityServer,
allowModelConfiguration
})