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

28 lines
626 B
TypeScript
Raw Normal View History

import { NSFWPolicyType } from '../videos/nsfw-policy.type'
2017-09-05 21:29:39 +02:00
export interface UserUpdateMe {
displayName?: string
description?: string
nsfwPolicy?: NSFWPolicyType
// FIXME: deprecated in favour of p2pEnabled in 4.1
webTorrentEnabled?: boolean
p2pEnabled?: boolean
autoPlayVideo?: boolean
autoPlayNextVideo?: boolean
autoPlayNextVideoPlaylist?: boolean
videosHistoryEnabled?: boolean
videoLanguages?: string[]
2017-09-05 21:29:39 +02:00
email?: string
currentPassword?: string
2017-09-05 21:29:39 +02:00
password?: string
2019-07-09 11:45:19 +02:00
theme?: string
2019-08-28 14:40:06 +02:00
noInstanceConfigWarningModal?: boolean
noWelcomeModal?: boolean
noAccountSetupWarningModal?: boolean
2017-09-05 21:29:39 +02:00
}