diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-15 10:49:46 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-15 14:39:52 +0200 |
commit | 1eddc9a74f9a80fa5d0cb25fceb3fc47a1a3c14a (patch) | |
tree | 91a10310cdf924779527525d39f8eb7e09e4ba49 /shared/models/users/user-update.model.ts | |
parent | 31b48aad478506d4214586f02792816efa968e4b (diff) | |
download | PeerTube-1eddc9a74f9a80fa5d0cb25fceb3fc47a1a3c14a.tar.gz PeerTube-1eddc9a74f9a80fa5d0cb25fceb3fc47a1a3c14a.tar.zst PeerTube-1eddc9a74f9a80fa5d0cb25fceb3fc47a1a3c14a.zip |
Add user adminFlags
Diffstat (limited to 'shared/models/users/user-update.model.ts')
-rw-r--r-- | shared/models/users/user-update.model.ts | 2 |
1 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 cd215bab3..fa43487ac 100644 --- a/shared/models/users/user-update.model.ts +++ b/shared/models/users/user-update.model.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | import { UserRole } from './user-role' | 1 | import { UserRole } from './user-role' |
2 | import { UserAdminFlag } from './user-flag.model' | ||
2 | 3 | ||
3 | export interface UserUpdate { | 4 | export interface UserUpdate { |
4 | password?: string | 5 | password?: string |
@@ -7,4 +8,5 @@ export interface UserUpdate { | |||
7 | videoQuota?: number | 8 | videoQuota?: number |
8 | videoQuotaDaily?: number | 9 | videoQuotaDaily?: number |
9 | role?: UserRole | 10 | role?: UserRole |
11 | adminFlags?: UserAdminFlag | ||
10 | } | 12 | } |