2018-04-19 11:01:34 +02:00
|
|
|
import { NSFWPolicyType } from '../videos/nsfw-policy.type'
|
|
|
|
|
2017-09-05 21:29:39 +02:00
|
|
|
export interface UserUpdateMe {
|
2018-04-26 10:03:40 +02:00
|
|
|
displayName?: string
|
2018-02-15 14:46:26 +01:00
|
|
|
description?: string
|
2018-12-17 15:52:38 +01:00
|
|
|
nsfwPolicy?: NSFWPolicyType
|
|
|
|
|
2021-12-15 15:58:10 +01:00
|
|
|
// FIXME: deprecated in favour of p2pEnabled in 4.1
|
2018-12-17 15:52:38 +01:00
|
|
|
webTorrentEnabled?: boolean
|
2021-12-15 15:58:10 +01:00
|
|
|
p2pEnabled?: boolean
|
|
|
|
|
2017-12-19 10:45:49 +01:00
|
|
|
autoPlayVideo?: boolean
|
2019-09-24 08:48:01 +02:00
|
|
|
autoPlayNextVideo?: boolean
|
2019-12-11 20:20:42 +01:00
|
|
|
autoPlayNextVideoPlaylist?: boolean
|
2018-12-17 15:52:38 +01:00
|
|
|
videosHistoryEnabled?: boolean
|
2019-06-19 14:55:58 +02:00
|
|
|
videoLanguages?: string[]
|
2018-12-17 15:52:38 +01:00
|
|
|
|
2017-09-05 21:29:39 +02:00
|
|
|
email?: string
|
2018-09-26 17:02:50 +02:00
|
|
|
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
|
2021-08-27 10:15:55 +02:00
|
|
|
noAccountSetupWarningModal?: boolean
|
2017-09-05 21:29:39 +02:00
|
|
|
}
|