21 lines
617 B
TypeScript
21 lines
617 B
TypeScript
import { PrismaService } from '../../prisma/prisma.service';
|
|
declare const JwtStrategy_base: new (...args: any) => any;
|
|
export declare class JwtStrategy extends JwtStrategy_base {
|
|
private prisma;
|
|
constructor(prisma: PrismaService);
|
|
validate(payload: any): Promise<{
|
|
id: string;
|
|
email: string | null;
|
|
passwordHash: string | null;
|
|
name: string | null;
|
|
phone: string | null;
|
|
address: string | null;
|
|
avatar: string | null;
|
|
createdAt: Date;
|
|
isAdmin: boolean;
|
|
isBlocked: boolean;
|
|
isAnonymous: boolean;
|
|
}>;
|
|
}
|
|
export {};
|