diff options
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 | } |