Aktueller Stand
This commit is contained in:
5
next-auth.d.ts
vendored
5
next-auth.d.ts
vendored
@@ -3,9 +3,12 @@ import NextAuth from "next-auth";
|
||||
declare module "next-auth" {
|
||||
interface Session {
|
||||
user?: {
|
||||
id?: string;
|
||||
name?: string | null;
|
||||
email?: string | null;
|
||||
role?: "ADMIN" | "USER";
|
||||
role?: "SUPERADMIN" | "ADMIN" | "USER";
|
||||
status?: "PENDING" | "ACTIVE";
|
||||
emailVerified?: boolean;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user