www/src/Units.extollo.ts

49 lines
761 B
TypeScript
Raw Normal View History

2022-03-29 12:55:55 +00:00
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'
2022-03-29 12:55:55 +00:00
Error.stackTraceLimit = 500
export const Units = [
Config,
Redis,
Queueables,
Bus,
ValidationUnit,
Files,
CommandLine,
Controllers,
Middlewares,
Database,
Models,
Migrations,
Internationalization,
Authentication,
AppUnit,
Routing,
CobaltUnit,
2022-03-29 12:55:55 +00:00
Discovery,
HTTPServer,
] as (typeof Unit)[]