This commit is contained in:
Bastian Wagner
2026-07-20 09:01:36 +02:00
parent 8cf57d7878
commit e62673ac11
98 changed files with 17372 additions and 80 deletions

View File

@@ -26,6 +26,8 @@ export class AppConfigService {
swaggerEnabled: this.nestConfig.getOrThrow('swaggerEnabled', {
infer: true,
}),
documents: this.nestConfig.getOrThrow('documents', { infer: true }),
reminders: this.nestConfig.getOrThrow('reminders', { infer: true }),
rateLimit: this.nestConfig.getOrThrow('rateLimit', { infer: true }),
};
}
@@ -82,6 +84,14 @@ export class AppConfigService {
return this.config.swaggerEnabled;
}
get documents(): AppConfig['documents'] {
return this.config.documents;
}
get reminders(): AppConfig['reminders'] {
return this.config.reminders;
}
get rateLimit(): AppConfig['rateLimit'] {
return this.config.rateLimit;
}