X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fusers%2Fuser-update-me.model.ts;h=db6539cd2211f41768d5692efe6b5af90587276c;hb=afff310e50f2fa8419bb4242470cbde46ab54463;hp=0ee41a79be4aa90e18fe9ca2be0382269e0b5ea4;hpb=8094a8980265a0a28e508dbd7cf7c7029e6d98b6;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 0ee41a79b..db6539cd2 100644 --- a/shared/models/users/user-update-me.model.ts +++ b/shared/models/users/user-update-me.model.ts @@ -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 }