CoolFace
Apppublic

enzostvs/deepsite

sourceHugging Facemitupdated 8mo agoView on Hugging Face
17klikes
next-auth.d.ts29 linesDownload Raw Back to root
1import "next-auth";2import "next-auth/jwt";3 4declare module "next-auth" {5  interface Session {6    accessToken?: string;7    user: {8      username?: string;9      isPro?: boolean;10      name?: string | null;11      email?: string | null;12      image?: string | null;13    };14  }15 16  interface User {17    username?: string;18    isPro?: boolean;19  }20}21 22declare module "next-auth/jwt" {23  interface JWT {24    accessToken?: string;25    username?: string;26    isPro?: boolean;27  }28}29