]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/users/user-update-me.model.ts
Add ability for admins to set default p2p policy
[github/Chocobozzz/PeerTube.git] / shared / models / users / user-update-me.model.ts
1 import { NSFWPolicyType } from '../videos/nsfw-policy.type'
2
3 export interface UserUpdateMe {
4 displayName?: string
5 description?: string
6 nsfwPolicy?: NSFWPolicyType
7
8 // FIXME: deprecated in favour of p2pEnabled in 4.1
9 webTorrentEnabled?: boolean
10 p2pEnabled?: boolean
11
12 autoPlayVideo?: boolean
13 autoPlayNextVideo?: boolean
14 autoPlayNextVideoPlaylist?: boolean
15 videosHistoryEnabled?: boolean
16 videoLanguages?: string[]
17
18 email?: string
19 currentPassword?: string
20 password?: string
21
22 theme?: string
23
24 noInstanceConfigWarningModal?: boolean
25 noWelcomeModal?: boolean
26 noAccountSetupWarningModal?: boolean
27 }