feat: chuẩn bị backend cho tính năng anonymous user upload ảnh không cần đăng nhập

This commit is contained in:
2026-06-19 08:46:59 +07:00
parent 6f2dd0fc01
commit ef11309399
6 changed files with 125 additions and 5 deletions
+3 -2
View File
@@ -5,8 +5,8 @@ export declare class JwtStrategy extends JwtStrategy_base {
constructor(prisma: PrismaService);
validate(payload: any): Promise<{
id: string;
email: string;
passwordHash: string;
email: string | null;
passwordHash: string | null;
name: string | null;
phone: string | null;
address: string | null;
@@ -14,6 +14,7 @@ export declare class JwtStrategy extends JwtStrategy_base {
createdAt: Date;
isAdmin: boolean;
isBlocked: boolean;
isAnonymous: boolean;
}>;
}
export {};