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
14 emailVerified: boolean
15 nsfwPolicy: NSFWPolicyType
17 adminFlags?: UserAdminFlag
19 autoPlayVideo: boolean
20 autoPlayNextVideo: boolean
21 webTorrentEnabled: boolean
22 videosHistoryEnabled: boolean
23 videoLanguages: string[]
29 videoQuotaDaily: number
30 videoQuotaUsed?: number
31 videoQuotaUsedDaily?: number
36 notificationSettings?: UserNotificationSetting
37 videoChannels?: VideoChannel[]
40 blockedReason?: string
42 noInstanceConfigWarningModal: boolean
43 noWelcomeModal: boolean