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'
7 export interface User {
11 emailVerified: boolean
12 nsfwPolicy: NSFWPolicyType
14 autoPlayVideo: boolean
15 webTorrentEnabled: boolean
16 videosHistoryEnabled: boolean
20 videoQuotaDaily: number
23 notificationSettings?: UserNotificationSetting
24 videoChannels?: VideoChannel[]
27 blockedReason?: string
29 videoQuotaUsed?: number