]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - 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
index e24afab940848d92350963d1303b16d34d759765..e664e44b5e3db2b1a0f790f90958c82b75112134 100644 (file)
@@ -5,11 +5,23 @@ export interface UserUpdateMe {
   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[]
 
   email?: string
   currentPassword?: string
   password?: string
+
+  theme?: string
+
+  noInstanceConfigWarningModal?: boolean
+  noWelcomeModal?: boolean
+  noAccountSetupWarningModal?: boolean
 }