Initial reader-api backend extracted from reader
This commit is contained in:
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
import NextAuth from "next-auth"
|
||||
|
||||
declare module "next-auth" {
|
||||
interface Session {
|
||||
user: {
|
||||
id: string
|
||||
name?: string | null
|
||||
email?: string | null
|
||||
image?: string | null
|
||||
role: string
|
||||
}
|
||||
}
|
||||
|
||||
interface User {
|
||||
role: string
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user