aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/users')
-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}