X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=shared%2Fmodels%2Fusers%2Fuser-update-me.model.ts;h=0a833f84cc55fccf72ad77cec7d48fc30df6fb68;hb=6aa541481390980f9c85d2e66514ba0e6ce77a35;hp=b8423332910edc1f9f148163b9246b74c9f79b58;hpb=2422c46b27790d94fd29a7092170cee5a1b56008;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/users/user-update-me.model.ts b/shared/models/users/user-update-me.model.ts index b84233329..0a833f84c 100644 --- a/shared/models/users/user-update-me.model.ts +++ b/shared/models/users/user-update-me.model.ts @@ -1,7 +1,22 @@ +import { NSFWPolicyType } from '../videos/nsfw-policy.type' + export interface UserUpdateMe { + displayName?: string description?: string - displayNSFW?: boolean + nsfwPolicy?: NSFWPolicyType + + webTorrentEnabled?: boolean autoPlayVideo?: boolean + autoPlayNextVideo?: boolean + videosHistoryEnabled?: boolean + videoLanguages?: string[] + email?: string + currentPassword?: string password?: string + + theme?: string + + noInstanceConfigWarningModal?: boolean + noWelcomeModal?: boolean }