2024-07-05 02:43:27 -07:00
|
|
|
import { Config, Nested } from './decorators';
|
|
|
|
import { CredentialsConfig } from './configs/credentials';
|
|
|
|
import { DatabaseConfig } from './configs/database';
|
|
|
|
import { EmailConfig } from './configs/email';
|
2024-07-17 10:11:46 -07:00
|
|
|
import { VersionNotificationsConfig } from './configs/version-notifications';
|
2024-07-17 06:36:40 -07:00
|
|
|
import { PublicApiConfig } from './configs/public-api';
|
2024-07-18 01:52:41 -07:00
|
|
|
import { ExternalSecretsConfig } from './configs/external-secrets';
|
2024-07-19 01:33:28 -07:00
|
|
|
import { TemplatesConfig } from './configs/templates';
|
2024-07-19 04:25:44 -07:00
|
|
|
import { EventBusConfig } from './configs/event-bus';
|
2024-07-23 04:32:50 -07:00
|
|
|
import { NodesConfig } from './configs/nodes';
|
2024-07-05 02:43:27 -07:00
|
|
|
|
|
|
|
@Config
|
|
|
|
class UserManagementConfig {
|
|
|
|
@Nested
|
|
|
|
emails: EmailConfig;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Config
|
|
|
|
export class GlobalConfig {
|
|
|
|
@Nested
|
|
|
|
database: DatabaseConfig;
|
|
|
|
|
|
|
|
@Nested
|
|
|
|
credentials: CredentialsConfig;
|
|
|
|
|
|
|
|
@Nested
|
|
|
|
userManagement: UserManagementConfig;
|
2024-07-17 06:36:40 -07:00
|
|
|
|
2024-07-17 10:11:46 -07:00
|
|
|
@Nested
|
|
|
|
versionNotifications: VersionNotificationsConfig;
|
|
|
|
|
2024-07-17 06:36:40 -07:00
|
|
|
@Nested
|
|
|
|
publicApi: PublicApiConfig;
|
2024-07-18 01:52:41 -07:00
|
|
|
|
|
|
|
@Nested
|
|
|
|
externalSecrets: ExternalSecretsConfig;
|
2024-07-19 01:33:28 -07:00
|
|
|
|
|
|
|
@Nested
|
|
|
|
templates: TemplatesConfig;
|
2024-07-19 04:25:44 -07:00
|
|
|
|
|
|
|
@Nested
|
|
|
|
eventBus: EventBusConfig;
|
2024-07-23 04:32:50 -07:00
|
|
|
|
|
|
|
@Nested
|
|
|
|
readonly nodes: NodesConfig;
|
2024-07-05 02:43:27 -07:00
|
|
|
}
|