aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users/user.model.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-24 19:41:09 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-26 09:11:38 +0200
commit72c7248b6fdcdb2175e726ff51b42e7555f2bd84 (patch)
tree1bfdee99dbe2392cc997edba8e314e2a8a401c72 /shared/models/users/user.model.ts
parent8113a93a0d9f31aa9e23702bbc31b8a76275ae22 (diff)
downloadPeerTube-72c7248b6fdcdb2175e726ff51b42e7555f2bd84.tar.gz
PeerTube-72c7248b6fdcdb2175e726ff51b42e7555f2bd84.tar.zst
PeerTube-72c7248b6fdcdb2175e726ff51b42e7555f2bd84.zip
Add video channels
Diffstat (limited to 'shared/models/users/user.model.ts')
-rw-r--r--shared/models/users/user.model.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts
index 867a6dde5..175e72f28 100644
--- a/shared/models/users/user.model.ts
+++ b/shared/models/users/user.model.ts
@@ -1,4 +1,5 @@
1import { UserRole } from './user-role.type' 1import { UserRole } from './user-role.type'
2import { VideoChannel } from '../videos/video-channel.model'
2 3
3export interface User { 4export interface User {
4 id: number 5 id: number
@@ -7,5 +8,10 @@ export interface User {
7 displayNSFW: boolean 8 displayNSFW: boolean
8 role: UserRole 9 role: UserRole
9 videoQuota: number 10 videoQuota: number
10 createdAt: Date 11 createdAt: Date,
12 author: {
13 id: number
14 uuid: string
15 }
16 videoChannels?: VideoChannel[]
11} 17}