aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users/user-update-me.model.ts
blob: f3cceb5f2699aaf0f0eaa3ce34df07dcf4a4e8fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { NSFWPolicyType } from '../videos/nsfw-policy.type'

export interface UserUpdateMe {
  displayName?: string
  description?: string
  nsfwPolicy?: NSFWPolicyType

  // FIXME: deprecated in favour of p2pEnabled in 4.1
  webTorrentEnabled?: boolean
  p2pEnabled?: boolean

  autoPlayVideo?: boolean
  autoPlayNextVideo?: boolean
  autoPlayNextVideoPlaylist?: boolean
  videosHistoryEnabled?: boolean
  videoLanguages?: string[]

  email?: string
  emailPublic?: boolean
  currentPassword?: string
  password?: string

  theme?: string

  noInstanceConfigWarningModal?: boolean
  noWelcomeModal?: boolean
  noAccountSetupWarningModal?: boolean
}