This commit is contained in:
xCyanGrizzly
2026-02-18 14:26:36 +01:00
commit 3a5726e82b
167 changed files with 104081 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import { type DefaultSession } from "next-auth";
declare module "next-auth" {
interface Session {
user: {
id: string;
role: "ADMIN" | "USER";
} & DefaultSession["user"];
}
interface User {
role?: "ADMIN" | "USER";
}
}