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 pendingEmail: string | null
13 emailVerified: boolean
14 nsfwPolicy: NSFWPolicyType
16 adminFlags?: UserAdminFlag
18 autoPlayVideo: boolean
19 webTorrentEnabled: boolean
20 videosHistoryEnabled: boolean
26 videoQuotaDaily: number
29 notificationSettings?: UserNotificationSetting
30 videoChannels?: VideoChannel[]
33 blockedReason?: string
35 videoQuotaUsed?: number