PeerTube/shared/models/users/user-update-me.model.ts

23 lines
471 B
TypeScript

import { NSFWPolicyType } from '../videos/nsfw-policy.type'
export interface UserUpdateMe {
displayName?: string
description?: string
nsfwPolicy?: NSFWPolicyType
webTorrentEnabled?: boolean
autoPlayVideo?: boolean
autoPlayNextVideo?: boolean
videosHistoryEnabled?: boolean
videoLanguages?: string[]
email?: string
currentPassword?: string
password?: string
theme?: string
noInstanceConfigWarningModal?: boolean
noWelcomeModal?: boolean
}