feat: cài đặt tính năng gửi mã OTP qua mail xác thực

This commit is contained in:
2026-06-18 23:00:03 +07:00
parent 659d2a0840
commit 88b47099b1
5 changed files with 486 additions and 26 deletions
+5
View File
@@ -15,6 +15,11 @@ export declare class TourRoleGuard implements CanActivate {
constructor(reflector: Reflector, prisma: PrismaService, cacheManager: Cache);
canActivate(context: ExecutionContext): Promise<boolean>;
}
export declare class EmailService {
private transporter;
constructor();
sendOTP(email: string, otp: string): Promise<any>;
}
export declare class CommentGateway implements OnGatewayConnection {
server: Server;
handleConnection(client: Socket): void;