prettier setup

This commit is contained in:
Om Lanke
2025-06-30 11:55:48 +05:30
parent 99220fb9a9
commit ba6ee585dc
63 changed files with 3950 additions and 2115 deletions

View File

@@ -1,19 +1,19 @@
import "next-auth";
import 'next-auth';
declare module "next-auth" {
declare module 'next-auth' {
interface Session {
user: {
role?: "ADMIN" | "USER";
role?: 'ADMIN' | 'USER';
adminId?: number;
studentId?: number;
[key: string]: any;
};
}
}
declare module "next-auth/jwt" {
declare module 'next-auth/jwt' {
interface JWT {
role?: "ADMIN" | "USER";
role?: 'ADMIN' | 'USER';
adminId?: number;
studentId?: number;
}
}
}