user-update-me.model.ts 626 B

123456789101112131415161718192021222324252627
  1. import { NSFWPolicyType } from '../videos/nsfw-policy.type'
  2. export interface UserUpdateMe {
  3. displayName?: string
  4. description?: string
  5. nsfwPolicy?: NSFWPolicyType
  6. // FIXME: deprecated in favour of p2pEnabled in 4.1
  7. webTorrentEnabled?: boolean
  8. p2pEnabled?: boolean
  9. autoPlayVideo?: boolean
  10. autoPlayNextVideo?: boolean
  11. autoPlayNextVideoPlaylist?: boolean
  12. videosHistoryEnabled?: boolean
  13. videoLanguages?: string[]
  14. email?: string
  15. currentPassword?: string
  16. password?: string
  17. theme?: string
  18. noInstanceConfigWarningModal?: boolean
  19. noWelcomeModal?: boolean
  20. noAccountSetupWarningModal?: boolean
  21. }