Files
memegoat/backend/src/common/interfaces/request.interface.ts
Mathis HERRIOT 2218768adb feat: add CommonModule with PurgeService and global exception filter
Introduced CommonModule to centralize shared functionality. Added PurgeService for automated database cleanup and a global exception filter for unified error handling.
2026-01-08 15:25:04 +01:00

9 lines
142 B
TypeScript

import { Request } from "express";
export interface AuthenticatedRequest extends Request {
user: {
sub: string;
username: string;
};
}