Initial commit for wedding-planner MVP

This commit is contained in:
2025-06-23 10:20:37 -04:00
commit bbe5eb0ccd
37 changed files with 5650 additions and 0 deletions

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

@@ -0,0 +1,20 @@
import NextAuth from "next-auth";
declare module "next-auth" {
interface User {
id: string;
role: "COUPLE" | "PLANNER" | "GUEST";
}
interface Session {
user: {
id: string;
email: string;
role: "COUPLE" | "PLANNER" | "GUEST";
};
}
interface JWT {
role: "COUPLE" | "PLANNER" | "GUEST";
}
}