mirror of
https://github.com/ArthurDanjou/arthome.git
synced 2026-02-01 03:48:29 +01:00
Working on arthome
This commit is contained in:
26
types/auth.d.ts
vendored
26
types/auth.d.ts
vendored
@@ -1,13 +1,35 @@
|
||||
// auth.d.ts
|
||||
import type { Subscription } from '~~/types/types'
|
||||
|
||||
declare module '#auth-utils' {
|
||||
interface User {
|
||||
email: string
|
||||
id: number
|
||||
name: string
|
||||
username: string
|
||||
email: string
|
||||
avatar: string | null
|
||||
githubId?: number | null
|
||||
googleId?: string | null
|
||||
description: string
|
||||
private: boolean
|
||||
language: string
|
||||
location: string
|
||||
subscription: Subscription
|
||||
}
|
||||
|
||||
interface UserSession {
|
||||
email: string
|
||||
id: number
|
||||
name: string
|
||||
username: string
|
||||
email: string
|
||||
avatar: string | null
|
||||
githubId?: number | null
|
||||
googleId?: string | null
|
||||
description: string
|
||||
private: boolean
|
||||
language: string
|
||||
location: string
|
||||
subscription: Subscription
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user