diff options
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/users/user-update.model.ts | 1 | ||||
-rw-r--r-- | shared/models/users/user.model.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/users/user-update.model.ts b/shared/models/users/user-update.model.ts index ce866fb18..abde51321 100644 --- a/shared/models/users/user-update.model.ts +++ b/shared/models/users/user-update.model.ts | |||
@@ -2,6 +2,7 @@ import { UserRole } from './user-role' | |||
2 | 2 | ||
3 | export interface UserUpdate { | 3 | export interface UserUpdate { |
4 | email?: string | 4 | email?: string |
5 | emailVerified?: boolean | ||
5 | videoQuota?: number | 6 | videoQuota?: number |
6 | videoQuotaDaily?: number | 7 | videoQuotaDaily?: number |
7 | role?: UserRole | 8 | role?: UserRole |
diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts index 8147dc48e..82af17516 100644 --- a/shared/models/users/user.model.ts +++ b/shared/models/users/user.model.ts | |||
@@ -7,6 +7,7 @@ export interface User { | |||
7 | id: number | 7 | id: number |
8 | username: string | 8 | username: string |
9 | email: string | 9 | email: string |
10 | emailVerified: boolean | ||
10 | nsfwPolicy: NSFWPolicyType | 11 | nsfwPolicy: NSFWPolicyType |
11 | autoPlayVideo: boolean | 12 | autoPlayVideo: boolean |
12 | role: UserRole | 13 | role: UserRole |