22 lines
361 B
TypeScript
22 lines
361 B
TypeScript
import "next-auth";
|
|
|
|
declare module "next-auth" {
|
|
interface Session {
|
|
user: {
|
|
id?: string;
|
|
name?: string | null;
|
|
email?: string | null;
|
|
image?: string | null;
|
|
plan?: string;
|
|
youtubeConnected?: boolean;
|
|
channelTitle?: string;
|
|
};
|
|
}
|
|
}
|
|
|
|
declare module "next-auth/jwt" {
|
|
interface JWT {
|
|
id?: string;
|
|
}
|
|
}
|