import { NSFWPolicyType } from '../videos/nsfw-policy.type'
import { UserNotificationSetting } from './user-notification-setting.model'
import { UserAdminFlag } from './user-flag.model'
-import { VideoPlaylistType } from '@shared/models'
+import { VideoPlaylistType } from '../videos/playlist/video-playlist-type.model'
export interface User {
id: number
autoPlayVideo: boolean
autoPlayNextVideo: boolean
autoPlayNextVideoPlaylist: boolean
+
+ // @deprecated in favour of p2pEnabled
webTorrentEnabled: boolean
+ p2pEnabled: boolean
+
videosHistoryEnabled: boolean
videoLanguages: string[]
abusesAcceptedCount?: number
abusesCreatedCount?: number
- videoCommentsCount? : number
+ videoCommentsCount?: number
theme: string
noInstanceConfigWarningModal: boolean
noWelcomeModal: boolean
+ noAccountSetupWarningModal: boolean
createdAt: Date