]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/users/user-update-me.model.ts
allow private syndication feeds via a user feedToken
[github/Chocobozzz/PeerTube.git] / shared / models / users / user-update-me.model.ts
index 0ee41a79be4aa90e18fe9ca2be0382269e0b5ea4..db6539cd2211f41768d5692efe6b5af90587276c 100644 (file)
@@ -1,5 +1,23 @@
+import { NSFWPolicyType } from '../videos/nsfw-policy.type'
+
 export interface UserUpdateMe {
-  displayNSFW?: boolean
+  displayName?: string
+  description?: string
+  nsfwPolicy?: NSFWPolicyType
+
+  webTorrentEnabled?: boolean
+  autoPlayVideo?: boolean
+  autoPlayNextVideo?: boolean
+  autoPlayNextVideoPlaylist?: boolean
+  videosHistoryEnabled?: boolean
+  videoLanguages?: string[]
+
   email?: string
+  currentPassword?: string
   password?: string
+
+  theme?: string
+
+  noInstanceConfigWarningModal?: boolean
+  noWelcomeModal?: boolean
 }