import { Config, Nested } from './decorators'; import { CredentialsConfig } from './configs/credentials'; import { DatabaseConfig } from './configs/database'; import { EmailConfig } from './configs/email'; @Config class UserManagementConfig { @Nested emails: EmailConfig; } @Config export class GlobalConfig { @Nested database: DatabaseConfig; @Nested credentials: CredentialsConfig; @Nested userManagement: UserManagementConfig; }