Initial commit

This commit is contained in:
JetSprow
2026-04-29 05:12:39 +10:00
commit 27dbca9cbf
379 changed files with 43486 additions and 0 deletions

23
src/types/next-auth.d.ts vendored Normal file
View File

@@ -0,0 +1,23 @@
import "next-auth";
declare module "next-auth" {
interface User {
id: string;
role: string;
}
interface Session {
user: {
id: string;
email: string;
name?: string | null;
role: string;
};
}
}
declare module "next-auth/jwt" {
interface JWT {
id: string;
role: string;
}
}