-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
49 lines (48 loc) · 2.72 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
45
46
47
48
49
let { lstatSync, readdirSync } = require("fs"),
{ join, dirname, resolve } = require("path");
module.exports = {
WombatServer: require("./src/WombatServer.js"),
BaseController: require("./src/BaseController.js"),
ResourceController: require("./src/ResourceController.js"),
WebSocketController: require("./src/WebSocketController.js"),
Route: require("./src/Route.js"),
RouteGroup: require("./src/RouteGroup.js"),
RouteService: require("./src/services/RouteService/RouteService.js"),
BaseMiddleware: require("./src/middlewares/BaseMiddleware.js"),
MiddlewareProvider: require("./src/MiddlewareProvider.js"),
BaseCollection: require("./src/BaseCollection.js"),
BaseDocument: require("./src/BaseDocument.js"),
BaseField: require("./src/fieldTypes/BaseField.js"),
fieldTypes: {
TextField: require("./src/fieldTypes/TextField/TextField.js")
},
CollectionsProvider: require("./src/CollectionsProvider.js"),
TemplateInterface: require("./src/TemplateConnectors/TemplateInterface.js"),
templateConnectors: {
BladeConnector: require("./src/TemplateConnectors/BladeConnector/BladeConnector.js"),
HandlebarsConnector: require("./src/TemplateConnectors/HandlebarsConnector/HandlebarsConnector.js"),
HTMLConnector: require("./src/TemplateConnectors/HTMLConnector/HTMLConnector.js"),
MustacheConnector: require("./src/TemplateConnectors/MustacheConnector/MustacheConnector.js"),
PugConnector: require("./src/TemplateConnectors/PugConnector/PugConnector.js")
},
ViewProvider: require("./src/ViewProvider.js"),
FormBuilder: require("./src/FormBuilder.js"),
AuthenticationService: require("./src/services/AuthenticationService/AuthenticationService.js"),
AuthenticationSourceInterface: require("./src/services/AuthenticationService/AuthenticationSourceInterface.js"),
authenticationSources: {
DatabaseAuthenticationSource: require("./src/services/AuthenticationService/AuthenticationSources/DatabaseAuthenticationSource.js"),
MemoryAuthenticationSource: require("./src/services/AuthenticationService/AuthenticationSources/MemoryAuthenticationSource.js")
},
logger: require("./src/Logger.js"),
Config: require("./src/config/Config.js"),
ServiceProvider: require("./src/services/ServiceProvider.js"),
ErrorHandlerInterface: require('./src/ErrorHandlers/ErrorHandlerInterface.js'),
errorHandler: {
ConsoleLoggerErrorHandler: require('./src/ErrorHandlers/ConsoleLoggerErrorHandler/ConsoleLoggerErrorHandler.js'),
TerminalErrorHandler: require('./src/ErrorHandlers/TerminalErrorHandler/TerminalErrorHandler.js')
},
AbstractSessionPersister: require('./src/services/SessionService/SessionPersisters/AbstractSessionPersister'),
sessionPersisters: {
FilePersister: require('./src/services/SessionService/SessionPersisters/FilePersister/FilePersister')
}
};