mirror of
https://github.com/ArthurDanjou/arthome.git
synced 2026-01-14 12:14:33 +01:00
26 lines
437 B
TypeScript
26 lines
437 B
TypeScript
// auth.d.ts
|
|
import type { Subscription } from '~~/types/types'
|
|
|
|
declare module '#auth-utils' {
|
|
interface User {
|
|
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 {
|
|
|
|
}
|
|
}
|
|
|
|
export {}
|