aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users/user-update.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-15 10:49:46 +0200
committerChocobozzz <me@florianbigard.com>2019-04-15 14:39:52 +0200
commit1eddc9a74f9a80fa5d0cb25fceb3fc47a1a3c14a (patch)
tree91a10310cdf924779527525d39f8eb7e09e4ba49 /shared/models/users/user-update.model.ts
parent31b48aad478506d4214586f02792816efa968e4b (diff)
downloadPeerTube-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.ts2
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 @@
1import { UserRole } from './user-role' 1import { UserRole } from './user-role'
2import { UserAdminFlag } from './user-flag.model'
2 3
3export interface UserUpdate { 4export 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}