mirror of
https://gitlab.com/foxixus/neomovies.git
synced 2025-10-27 17:38:50 +05:00
27 lines
380 B
TypeScript
27 lines
380 B
TypeScript
|
|
import NextAuth from "next-auth"
|
||
|
|
|
||
|
|
declare module "next-auth" {
|
||
|
|
interface Session {
|
||
|
|
user: {
|
||
|
|
id: string
|
||
|
|
email: string
|
||
|
|
name: string
|
||
|
|
verified: boolean
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
interface User {
|
||
|
|
id: string
|
||
|
|
email: string
|
||
|
|
name: string
|
||
|
|
verified: boolean
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
declare module "next-auth/jwt" {
|
||
|
|
interface JWT {
|
||
|
|
id: string
|
||
|
|
verified: boolean
|
||
|
|
}
|
||
|
|
}
|