aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/channel/video-channel.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/videos/channel/video-channel.model.ts')
-rw-r--r--shared/models/videos/channel/video-channel.model.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/shared/models/videos/channel/video-channel.model.ts b/shared/models/videos/channel/video-channel.model.ts
index 32829e92a..56517972d 100644
--- a/shared/models/videos/channel/video-channel.model.ts
+++ b/shared/models/videos/channel/video-channel.model.ts
@@ -1,6 +1,5 @@
1import { Actor } from '../../actors/actor.model' 1import { Actor } from '../../actors/actor.model'
2import { Account } from '../../actors/index' 2import { Account, ActorImage } from '../../actors'
3import { Avatar } from '../../avatars'
4 3
5export type ViewsPerDate = { 4export type ViewsPerDate = {
6 date: Date 5 date: Date
@@ -16,6 +15,8 @@ export interface VideoChannel extends Actor {
16 15
17 videosCount?: number 16 videosCount?: number
18 viewsPerDay?: ViewsPerDate[] // chronologically ordered 17 viewsPerDay?: ViewsPerDate[] // chronologically ordered
18
19 banner?: ActorImage
19} 20}
20 21
21export interface VideoChannelSummary { 22export interface VideoChannelSummary {
@@ -24,5 +25,5 @@ export interface VideoChannelSummary {
24 displayName: string 25 displayName: string
25 url: string 26 url: string
26 host: string 27 host: string
27 avatar?: Avatar 28 avatar?: ActorImage
28} 29}