Spaces:
Sleeping
Sleeping
Download src/common/interfaces/authenticated-request.interface.ts from mahrooshishaq/SmartfolioBackend: direct link, hf CLI and curl.
- Browser
- Download file 211 Bytes
-
https://huggingface.co/spaces/mahrooshishaq/SmartfolioBackend/resolve/main/src/common/interfaces/authenticated-request.interface.ts
- Command line
-
hf download hf://spaces/mahrooshishaq/SmartfolioBackend/src/common/interfaces/authenticated-request.interface.ts
-
curl -L -o authenticated-request.interface.ts https://huggingface.co/spaces/mahrooshishaq/SmartfolioBackend/resolve/main/src/common/interfaces/authenticated-request.interface.ts
211 Bytes
| import { Request } from 'express'; | |
| import { User } from '../../modules/users/user.entity'; | |
| export interface AuthenticatedRequest extends Request { | |
| user: User; // whatever type your User entity/interface is | |
| } | |