id: number
username: string
email: string
+ pendingEmail: string | null
emailVerified: boolean
nsfwPolicy: NSFWPolicyType
webTorrentEnabled: boolean
autoPlayVideo: boolean
videosHistoryEnabled: boolean
+ videoLanguages: string[]
videoQuota: number
videoQuotaDaily: number
videoChannels: VideoChannel[]
createdAt: Date
+ theme: string
+
adminFlags?: UserAdminFlag
blocked: boolean
this.autoPlayVideo = hash.autoPlayVideo
this.createdAt = hash.createdAt
+ this.theme = hash.theme
+
this.adminFlags = hash.adminFlags
this.blocked = hash.blocked