feat : add concept module

This commit is contained in:
2024-12-31 15:47:36 +01:00
parent 0500415252
commit 6bb83a3d5c
10 changed files with 162 additions and 41 deletions
+18
View File
@@ -0,0 +1,18 @@
import { type User } from 'src/users/entities/user.entity';
declare module 'express-session' {
interface SessionData {
user?: User;
tokenData: {
access_token: string;
token_type: string;
refresh_token: string;
expires: Date;
};
}
}
declare module 'express' {
interface Request extends Request {
user: User;
}
}