Spaces:
Paused
Paused
Download packages/server/src/express.d.ts from f4b404/aiostreams: direct link, hf CLI and curl.
- Browser
- Download file 278 Bytes
-
https://huggingface.co/spaces/f4b404/aiostreams/resolve/main/packages/server/src/express.d.ts
- Command line
-
hf download hf://spaces/f4b404/aiostreams/packages/server/src/express.d.ts
-
curl -L -o express.d.ts https://huggingface.co/spaces/f4b404/aiostreams/resolve/main/packages/server/src/express.d.ts
278 Bytes
| 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 }; | |
| } | |
| } | |
| } | |