X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fusers%2Fuser-update-me.model.ts;h=f3cceb5f2699aaf0f0eaa3ce34df07dcf4a4e8fd;hb=813f37438a1043876defb442c0b3eade198b3ca2;hp=0a73879ed358180ca3e3bd0022d14c5b8d6362c6;hpb=0db1a226507a39b0a663e3e63f04851836a44d5a;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 0a73879ed..f3cceb5f2 100644 --- a/shared/models/users/user-update-me.model.ts +++ b/shared/models/users/user-update-me.model.ts @@ -1,9 +1,28 @@ import { NSFWPolicyType } from '../videos/nsfw-policy.type' export interface UserUpdateMe { + displayName?: string 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 + emailPublic?: boolean + currentPassword?: string password?: string + + theme?: string + + noInstanceConfigWarningModal?: boolean + noWelcomeModal?: boolean + noAccountSetupWarningModal?: boolean }