import { DefaultSession, DefaultUser } from "next-auth";
import { string } from "zod";

declare module "next-auth" {
  interface Session {
    user: {
      uuid: string;
      role: UserRole;
      is_mail_verified: boolean;
      profileId: number;
    };
  }

  interface User {
    uuid: string;
    role: UserRole;
    is_mail_verified: boolean;
    profileId: number;
  }
}

declare module "next-auth/jwt" {
  interface JWT {
    uuid: string;
    role: UserRole;
    is_mail_verified: boolean;
    profileId: number   
  }
}
