declare namespace Express {
    export interface Request {
        userToken?: string
        userEmail?: string,
        userRole?: string,
        userAuthenticated?: boolean,
    }
 }

declare namespace NodeJS {
    interface ProcessEnv {
        PORT: string;
        JWTSECRET: string;
        DATABASE: string;
        DATABASE_HOST: string;
        DATABASE_USER: string;
        DATABASE_PASSWORD: string;
    }
}