import NextAuth from "next-auth";

// This extends the session object to allow us to insert user data into it

declare module "next-auth" {
  interface Session {
    user: {
      id: string;
    } & DefaultSession["user"];
  }
  interface User {
    dbId: string;
    onboarded: boolean;
  }
}


declare module "next-auth/react" {
  // Use “any” to satisfy TS — next-auth does not export full types here
  export * from "next-auth";
}