]>
Commit | Line | Data |
---|---|---|
50d6de9c | 1 | import { Account } from '../actors' |
59c76ffa | 2 | import { VideoChannel } from '../videos/channel/video-channel.model' |
954605a8 | 3 | import { UserRole } from './user-role' |
0883b324 | 4 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' |
ee9e7b61 | 5 | |
69818c93 C |
6 | export interface User { |
7 | id: number | |
8 | username: string | |
9 | email: string | |
fc2ec87a | 10 | emailVerified: boolean |
0883b324 | 11 | nsfwPolicy: NSFWPolicyType |
7efe153b | 12 | autoPlayVideo: boolean |
ee9e7b61 | 13 | role: UserRole |
b0f9f39e | 14 | videoQuota: number |
bee0abff | 15 | videoQuotaDaily: number |
2295ce6c C |
16 | createdAt: Date |
17 | account: Account | |
72c7248b | 18 | videoChannels?: VideoChannel[] |
eacb25c4 C |
19 | |
20 | blocked: boolean | |
21 | blockedReason?: string | |
a76138ff C |
22 | |
23 | videoQuotaUsed?: number | |
69818c93 | 24 | } |