Refactor units to be generic; start bundles; start app index.ts

This commit is contained in:
garrettmills
2020-07-20 22:54:25 -05:00
parent c0777f77b5
commit 60bb9afa29
22 changed files with 163 additions and 110 deletions

2
app/bundle/daton.ts Normal file
View File

@@ -0,0 +1,2 @@
export * from '../../lib/src/module.ts'
export * from '../../di/module.ts'

View File

@@ -0,0 +1,4 @@
export { default as ConfigUnit } from '../../lib/src/unit/Config.ts'
export { DatabaseUnit } from '../../orm/src/DatabaseUnit.ts'
export { default as ControllerUnit } from '../../lib/src/unit/Controllers.ts'
export { default as MiddlewareUnit } from '../../lib/src/unit/Middlewares.ts'