diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-04 20:07:54 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-04 20:07:54 +0200 |
commit | b0f9f39ed70299a208d1b388c72de8b7f3510cb7 (patch) | |
tree | 4b7d388125265533ac2f6d4bf457d018617e1db6 /shared | |
parent | e7dbeae8d915cdf4470ceb51c2724b04148b30b5 (diff) | |
download | PeerTube-b0f9f39ed70299a208d1b388c72de8b7f3510cb7.tar.gz PeerTube-b0f9f39ed70299a208d1b388c72de8b7f3510cb7.tar.zst PeerTube-b0f9f39ed70299a208d1b388c72de8b7f3510cb7.zip |
Begin user quota
Diffstat (limited to 'shared')
-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 | } |