first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 22:15:25 +03:00
commit 9eb7aea821
56 changed files with 20630 additions and 0 deletions

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

@@ -0,0 +1,27 @@
import type { DefaultSession } from 'next-auth'
declare module 'next-auth' {
interface Session {
accessToken?: string
refreshToken?: string
error?: string
user: DefaultSession['user'] & {
id?: string
username?: string
}
}
}
declare module 'next-auth/jwt' {
interface JWT {
accessToken?: string
refreshToken?: string
accessTokenExpires?: number
error?: string
user?: {
id?: string
email?: string
username?: string
}
}
}