mirror of
https://github.com/beilunyang/moemail.git
synced 2026-06-02 14:10:32 +08:00
feat(auth): add Google OAuth support
This commit is contained in:
3
types.d.ts
vendored
3
types.d.ts
vendored
@@ -22,8 +22,9 @@ declare module "next-auth" {
|
||||
interface User {
|
||||
roles?: { name: string }[]
|
||||
username?: string | null
|
||||
providers?: string[]
|
||||
}
|
||||
|
||||
|
||||
interface Session {
|
||||
user: User
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user