-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathauth.d.ts
More file actions
33 lines (32 loc) · 795 Bytes
/
Copy pathauth.d.ts
File metadata and controls
33 lines (32 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import type { DefaultSession } from "@auth/core/types"
declare module "@auth/core/types" {
export interface Session {
user?: {
id?: string
email?: string
username?: string
display_name?: string
locale?: string
avatar?: string
avatar_decoration?: any
discriminator?: string
public_flags?: number
flags?: number
banner?: any
banner_color?: string
accent_color?: number
mfa_enabled?: boolean
premium_type?: number
premium_since?: any
communication_disabled_until?: any
is_pending?: boolean
pending?: boolean
nick?: string
joined_at?: string
roles?: string[]
mute?: boolean
deaf?: boolean
admin?: boolean
} & DefaultSession["user"]
}
}