CHORE(merge): merge from develop
- Initial setup and all features from develop branch - Includes: auth, deploy, docker, style fixes - K3S deployment configuration
This commit is contained in:
31
nextjs/types/next-auth.d.ts
vendored
Normal file
31
nextjs/types/next-auth.d.ts
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
import { DefaultSession } from "next-auth";
|
||||
|
||||
declare module "next-auth" {
|
||||
interface Session {
|
||||
user: {
|
||||
id: string;
|
||||
userId: string;
|
||||
name: string;
|
||||
email?: string | null;
|
||||
emailVerified?: Date | null;
|
||||
};
|
||||
}
|
||||
|
||||
interface User {
|
||||
id: string;
|
||||
userId: string;
|
||||
name: string;
|
||||
email?: string | null;
|
||||
emailVerified?: Date | null;
|
||||
}
|
||||
}
|
||||
|
||||
declare module "next-auth/jwt" {
|
||||
interface JWT {
|
||||
id: string;
|
||||
userId: string;
|
||||
name: string;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user