aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/models/src/users/user-update-me.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/models/src/users/user-update-me.model.ts')
-rw-r--r--packages/models/src/users/user-update-me.model.ts26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/models/src/users/user-update-me.model.ts b/packages/models/src/users/user-update-me.model.ts
new file mode 100644
index 000000000..ba9672136
--- /dev/null
+++ b/packages/models/src/users/user-update-me.model.ts
@@ -0,0 +1,26 @@
1import { NSFWPolicyType } from '../videos/nsfw-policy.type.js'
2
3export interface UserUpdateMe {
4 displayName?: string
5 description?: string
6 nsfwPolicy?: NSFWPolicyType
7
8 p2pEnabled?: boolean
9
10 autoPlayVideo?: boolean
11 autoPlayNextVideo?: boolean
12 autoPlayNextVideoPlaylist?: boolean
13 videosHistoryEnabled?: boolean
14 videoLanguages?: string[]
15
16 email?: string
17 emailPublic?: boolean
18 currentPassword?: string
19 password?: string
20
21 theme?: string
22
23 noInstanceConfigWarningModal?: boolean
24 noWelcomeModal?: boolean
25 noAccountSetupWarningModal?: boolean
26}