Spaces:
Paused
Paused
| import 'express'; | |
| import { UserData } from '../db'; | |
| declare global { | |
| namespace Express { | |
| interface Request { | |
| userData?: UserData; | |
| userIp?: string; | |
| requestIp?: string; | |
| uuid?: string; | |
| user?: { username: string; isAdmin: boolean }; | |
| } | |
| } | |
| } | |