diff options
Diffstat (limited to 'shared/models/users')
-rw-r--r-- | shared/models/users/user-create.model.ts | 1 | ||||
-rw-r--r-- | shared/models/users/user-update.model.ts | 1 | ||||
-rw-r--r-- | shared/models/users/user.model.ts | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/users/user-create.model.ts b/shared/models/users/user-create.model.ts index 2cddcdcb0..49fa2549d 100644 --- a/shared/models/users/user-create.model.ts +++ b/shared/models/users/user-create.model.ts | |||
@@ -2,4 +2,5 @@ export interface UserCreate { | |||
2 | username: string | 2 | username: string |
3 | password: string | 3 | password: string |
4 | email: string | 4 | email: string |
5 | videoQuota: number | ||
5 | } | 6 | } |
diff --git a/shared/models/users/user-update.model.ts b/shared/models/users/user-update.model.ts index 8b9abfb15..895ec0681 100644 --- a/shared/models/users/user-update.model.ts +++ b/shared/models/users/user-update.model.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | export interface UserUpdate { | 1 | export interface UserUpdate { |
2 | displayNSFW?: boolean | 2 | displayNSFW?: boolean |
3 | password?: string | 3 | password?: string |
4 | videoQuota?: number | ||
4 | } | 5 | } |
diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts index 5c48a17b2..867a6dde5 100644 --- a/shared/models/users/user.model.ts +++ b/shared/models/users/user.model.ts | |||
@@ -6,5 +6,6 @@ export interface User { | |||
6 | email: string | 6 | email: string |
7 | displayNSFW: boolean | 7 | displayNSFW: boolean |
8 | role: UserRole | 8 | role: UserRole |
9 | videoQuota: number | ||
9 | createdAt: Date | 10 | createdAt: Date |
10 | } | 11 | } |