]>
Commit | Line | Data |
---|---|---|
1 | import { Account } from '../accounts' | |
2 | import { VideoChannel } from '../videos/video-channel.model' | |
3 | import { UserRole } from './user-role' | |
4 | ||
5 | export interface User { | |
6 | id: number | |
7 | username: string | |
8 | email: string | |
9 | displayNSFW: boolean | |
10 | autoPlayVideo: boolean | |
11 | role: UserRole | |
12 | videoQuota: number | |
13 | createdAt: Date | |
14 | account: Account | |
15 | videoChannels?: VideoChannel[] | |
16 | } |