Chocobozzz/PeerTube

View on GitHub
packages/models/src/users/user-update-me.model.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { NSFWPolicyType } from '../videos/nsfw-policy.type.js'

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

  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
}