refactor(backend): File has too many classes

This commit is contained in:
Tibo De Peuter 2025-03-23 11:31:48 +01:00
parent 25f9eb2af2
commit 5b31cec5fe
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
15 changed files with 87 additions and 67 deletions

View file

@ -5,7 +5,11 @@ const STUDENT_IDP_PREFIX = IDP_PREFIX + 'STUDENT_';
const TEACHER_IDP_PREFIX = IDP_PREFIX + 'TEACHER_';
const CORS_PREFIX = PREFIX + 'CORS_';
interface EnvVar { key: string; required?: boolean; defaultValue?: number | string | boolean }
interface EnvVar {
key: string;
required?: boolean;
defaultValue?: number | string | boolean;
}
export const envVars: { [key: string]: EnvVar } = {
Port: { key: PREFIX + 'PORT', defaultValue: 3000 },