diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-24 19:41:09 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-26 09:11:38 +0200 |
commit | 72c7248b6fdcdb2175e726ff51b42e7555f2bd84 (patch) | |
tree | 1bfdee99dbe2392cc997edba8e314e2a8a401c72 /shared/models/users/user.model.ts | |
parent | 8113a93a0d9f31aa9e23702bbc31b8a76275ae22 (diff) | |
download | PeerTube-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.ts | 8 |
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 @@ | |||
1 | import { UserRole } from './user-role.type' | 1 | import { UserRole } from './user-role.type' |
2 | import { VideoChannel } from '../videos/video-channel.model' | ||
2 | 3 | ||
3 | export interface User { | 4 | export 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 | } |