added tons of features
This commit is contained in:
13
types/auth.ts
Normal file
13
types/auth.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import {Account, User, UserRole} from '@prisma/client'
|
||||
|
||||
export interface SessionUser {
|
||||
id: number
|
||||
name: string
|
||||
email: string
|
||||
image: string
|
||||
username: string
|
||||
isOauth: boolean
|
||||
role: UserRole
|
||||
provider: string
|
||||
profileId: number
|
||||
}
|
||||
Reference in New Issue
Block a user