]>
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' |
cef534ed | 5 | import { UserNotificationSetting } from './user-notification-setting.model' |
ee9e7b61 | 6 | |
69818c93 C |
7 | export interface User { |
8 | id: number | |
9 | username: string | |
10 | email: string | |
fc2ec87a | 11 | emailVerified: boolean |
0883b324 | 12 | nsfwPolicy: NSFWPolicyType |
276d9652 | 13 | |
7efe153b | 14 | autoPlayVideo: boolean |
276d9652 C |
15 | webTorrentEnabled: boolean |
16 | videosHistoryEnabled: boolean | |
17 | ||
ee9e7b61 | 18 | role: UserRole |
b0f9f39e | 19 | videoQuota: number |
bee0abff | 20 | videoQuotaDaily: number |
2295ce6c C |
21 | createdAt: Date |
22 | account: Account | |
cef534ed | 23 | notificationSettings?: UserNotificationSetting |
72c7248b | 24 | videoChannels?: VideoChannel[] |
eacb25c4 C |
25 | |
26 | blocked: boolean | |
27 | blockedReason?: string | |
a76138ff C |
28 | |
29 | videoQuotaUsed?: number | |
69818c93 | 30 | } |