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 autoPlayNextVideoPlaylist: boolean
22 webTorrentEnabled: boolean
23 videosHistoryEnabled: boolean
24 videoLanguages: string[]
30 videoQuotaDaily: number
31 videoQuotaUsed?: number
32 videoQuotaUsedDaily?: number
37 notificationSettings?: UserNotificationSetting
38 videoChannels?: VideoChannel[]
41 blockedReason?: string
43 noInstanceConfigWarningModal: boolean
44 noWelcomeModal: boolean