This commit is contained in:
2024-03-23 22:00:26 +01:00
parent 77f7b60697
commit 957d49c976
23 changed files with 1853 additions and 296 deletions

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

@@ -0,0 +1,21 @@
import { DefaultSession } from "next-auth";
declare module "next-auth" {
interface Session extends DefaultSession {
user: {
id: string;
name: string;
username: string;
email: string;
image: string;
};
}
interface User {
id: string;
name: string;
username: string;
email: string;
image: string;
}
}