-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.js
44 lines (42 loc) · 1.86 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
37
38
39
40
41
42
43
44
// Using STRICT mode for ES6 features
"use strict";
/**
* Initializing application facade before export
*/
module.exports = {
ApplicationEvent: require('./lib/facade.js').ApplicationEvent,
ApplicationFacade: require('./lib/facade.js').ApplicationFacade,
ControllerEvent: require('./lib/controller.js').ControllerEvent,
Controller: require('./lib/controller.js').Controller,
Controllers: {
CRUDController: require('./lib/controllers/crudcontroller.js'),
StateController: require('./lib/controllers/statecontroller.js'),
APIController: require('./lib/controllers/apicontroller.js')
},
Error: {
BaseError: require('./lib/error/error.js'),
HTTPError: require('./lib/error/httperror.js'),
LoaderError: require('./lib/error/loadererror.js')
},
ExecutionState: require('./lib/controller.js').ExecutionState,
FlashMessage: require('./lib/flashmessages.js').FlashMessage,
FlashMessages: require('./lib/flashmessages.js').FlashMessages,
FlashMessageType: require('./lib/flashmessages.js').FlashMessageType,
HTTPServer: require('./lib/httpserver.js'),
Logger: require('./lib/logger.js'),
Mailer: require('./lib/mailer.js'),
Messaging: require('./lib/messaging.js'),
Model: require('./lib/model.js').Model,
AppBootstrap: require('./lib/appbootstrap.js'),
ModuleView: require('./lib/view/moduleview.js').ModuleView,
MongooseModel: require('./lib/mongoosemodel.js').MongooseModel,
Models: {
BaseAPIModel: require('./lib/baseapimodel.js').BaseAPIModel
},
ValidationError: require('./lib/mongoosemodel.js').ValidationError,
PkgClient: require('./lib/pkgclient.js'),
QueueClient: require('./lib/queueclient.js'),
QueueServer: require('./lib/queueserver.js'),
ViewType: require('./lib/view/view.js').ViewType,
View: require('./lib/view/view.js').View
};