Spaces:
Runtime error
Runtime error
import { JwtPayload } from 'jsonwebtoken'; | |
import { Request } from 'express'; | |
export interface UserInterface { | |
id?: number; | |
name: string; | |
email: string; | |
role_id: number; | |
status: string; | |
password: string; | |
} | |
export interface AuthenticatedRequest extends Request { | |
user?: UserInterface; | |
} | |