1 import { Account } from '../actors'
2 import { VideoChannel } from '../videos/channel/video-channel.model'
3 import { UserRole } from './user-role'
4 import { NSFWPolicyType } from '../videos/nsfw-policy.type'
5 import { UserNotificationSetting } from './user-notification-setting.model'
6 import { UserAdminFlag } from './user-flag.model'
8 export interface User {
12 emailVerified: boolean
13 nsfwPolicy: NSFWPolicyType
15 adminFlags?: UserAdminFlag
17 autoPlayVideo: boolean
18 webTorrentEnabled: boolean
19 videosHistoryEnabled: boolean
25 videoQuotaDaily: number
28 notificationSettings?: UserNotificationSetting
29 videoChannels?: VideoChannel[]
32 blockedReason?: string
34 videoQuotaUsed?: number