diff options
Diffstat (limited to 'shared/models/videos/channel/video-channel.model.ts')
-rw-r--r-- | shared/models/videos/channel/video-channel.model.ts | 7 |
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 @@ | |||
1 | import { Actor } from '../../actors/actor.model' | 1 | import { Actor } from '../../actors/actor.model' |
2 | import { Account } from '../../actors/index' | 2 | import { Account, ActorImage } from '../../actors' |
3 | import { Avatar } from '../../avatars' | ||
4 | 3 | ||
5 | export type ViewsPerDate = { | 4 | export 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 | ||
21 | export interface VideoChannelSummary { | 22 | export 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 | } |