aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/users/user-update-me.model.ts1
-rw-r--r--shared/models/users/user.model.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/users/user-update-me.model.ts b/shared/models/users/user-update-me.model.ts
index 0ee41a79b..83417a7bd 100644
--- a/shared/models/users/user-update-me.model.ts
+++ b/shared/models/users/user-update-me.model.ts
@@ -1,5 +1,6 @@
1export interface UserUpdateMe { 1export interface UserUpdateMe {
2 displayNSFW?: boolean 2 displayNSFW?: boolean
3 autoPlayVideo?: boolean
3 email?: string 4 email?: string
4 password?: string 5 password?: string
5} 6}
diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts
index 4b17881e5..f2b43d371 100644
--- a/shared/models/users/user.model.ts
+++ b/shared/models/users/user.model.ts
@@ -7,6 +7,7 @@ export interface User {
7 username: string 7 username: string
8 email: string 8 email: string
9 displayNSFW: boolean 9 displayNSFW: boolean
10 autoPlayVideo: boolean
10 role: UserRole 11 role: UserRole
11 videoQuota: number 12 videoQuota: number
12 createdAt: Date 13 createdAt: Date