51 lines
824 B
TypeScript
51 lines
824 B
TypeScript
import {
|
|
Config,
|
|
Controllers,
|
|
HTTPServer,
|
|
Files,
|
|
Middlewares,
|
|
Routing,
|
|
Unit,
|
|
Database,
|
|
Models,
|
|
CommandLine,
|
|
Internationalization,
|
|
Authentication,
|
|
Discovery,
|
|
ValidationUnit,
|
|
Migrations,
|
|
Queueables,
|
|
Redis,
|
|
Bus,
|
|
} from '@extollo/lib'
|
|
import {AppUnit} from './app/AppUnit'
|
|
import {CobaltUnit} from './app/services/CobaltUnit'
|
|
import {MigrateUnit} from './app/MigrateUnit'
|
|
|
|
Error.stackTraceLimit = 500
|
|
|
|
export const Units = [
|
|
Config,
|
|
Redis,
|
|
Queueables,
|
|
Bus,
|
|
ValidationUnit,
|
|
Files,
|
|
CommandLine,
|
|
Controllers,
|
|
Middlewares,
|
|
Database,
|
|
Models,
|
|
Migrations,
|
|
Internationalization,
|
|
Authentication,
|
|
|
|
MigrateUnit,
|
|
AppUnit,
|
|
|
|
Routing,
|
|
CobaltUnit,
|
|
Discovery,
|
|
HTTPServer,
|
|
] as (typeof Unit)[]
|