]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/users/user-update-me.model.ts
More specific message when signup is not allowed
[github/Chocobozzz/PeerTube.git] / shared / models / users / user-update-me.model.ts
CommitLineData
0883b324
C
1import { NSFWPolicyType } from '../videos/nsfw-policy.type'
2
8094a898 3export interface UserUpdateMe {
ed56ad11 4 displayName?: string
2422c46b 5 description?: string
8b9a525a
C
6 nsfwPolicy?: NSFWPolicyType
7
a9bfa85d 8 // FIXME: deprecated in favour of p2pEnabled in 4.1
8b9a525a 9 webTorrentEnabled?: boolean
a9bfa85d
C
10 p2pEnabled?: boolean
11
7efe153b 12 autoPlayVideo?: boolean
6aa54148 13 autoPlayNextVideo?: boolean
bee29df8 14 autoPlayNextVideoPlaylist?: boolean
8b9a525a 15 videosHistoryEnabled?: boolean
3caf77d3 16 videoLanguages?: string[]
8b9a525a 17
8094a898 18 email?: string
cb0eda56 19 emailPublic?: boolean
7cd26d0a 20 currentPassword?: string
8094a898 21 password?: string
7cd4d2ba
C
22
23 theme?: string
43d0ea7f
C
24
25 noInstanceConfigWarningModal?: boolean
26 noWelcomeModal?: boolean
8f581725 27 noAccountSetupWarningModal?: boolean
8094a898 28}