www/src/Units.extollo.ts

51 lines
824 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'
import {MigrateUnit} from './app/MigrateUnit'
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,
MigrateUnit,
2022-03-29 12:55:55 +00:00
AppUnit,
Routing,
CobaltUnit,
2022-03-29 12:55:55 +00:00
Discovery,
HTTPServer,
] as (typeof Unit)[]