mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
15 lines
295 B
TypeScript
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;
|
|
}
|
|
}
|