assessment-model/src/types/next-auth.d.ts
Khalim Conn-Kowlessar 2d4a11b94d login working
2025-10-13 18:49:06 +00:00

15 lines
295 B
TypeScript

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;
}
}