aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/users/user-update-me.model.ts
blob: 6d7df38fbbf679df2b4005233326731839527372 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           
                               
                      
                      


                             
                         
                             
                                     
                                
                           
 
                
                          
                   

                


                                        
                                      
 
import { NSFWPolicyType } from '../videos/nsfw-policy.type'

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

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

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

  theme?: string

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