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 webTorrentEnabled: boolean
21 videosHistoryEnabled: boolean
22 videoLanguages: string[]
28 videoQuotaDaily: number
29 videoQuotaUsed?: number
30 videoQuotaUsedDaily?: number
35 notificationSettings?: UserNotificationSetting
36 videoChannels?: VideoChannel[]
39 blockedReason?: string
41 noInstanceConfigWarningModal: boolean
42 noWelcomeModal: boolean