]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/users/user-update-me.model.ts
Merge branch 'release/5.0.0' into develop
[github/Chocobozzz/PeerTube.git] / shared / models / users / user-update-me.model.ts
index 81790377e19e5e94f5a6c92d31c0027e55406de2..e664e44b5e3db2b1a0f790f90958c82b75112134 100644 (file)
@@ -1,13 +1,27 @@
 import { NSFWPolicyType } from '../videos/nsfw-policy.type'
-import { WebTorrentPolicyType } from './user-webtorrent-policy.type'
 
 export interface UserUpdateMe {
   displayName?: string
   description?: string
-  nsfwPolicy?: NSFWPolicyType,
-  webTorrentPolicy?: WebTorrentPolicyType,
+  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
 }