aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users/user-update-me.model.ts
blob: e24afab940848d92350963d1303b16d34d759765 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { NSFWPolicyType } from '../videos/nsfw-policy.type'

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

  webTorrentEnabled?: boolean
  autoPlayVideo?: boolean
  videosHistoryEnabled?: boolean

  email?: string
  currentPassword?: string
  password?: string
}