diff options
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/channel/video-channel.model.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/models/videos/channel/video-channel.model.ts b/shared/models/videos/channel/video-channel.model.ts index 5fe6609d9..421004e68 100644 --- a/shared/models/videos/channel/video-channel.model.ts +++ b/shared/models/videos/channel/video-channel.model.ts | |||
@@ -2,7 +2,7 @@ import { Actor } from '../../actors/actor.model' | |||
2 | import { Account } from '../../actors/index' | 2 | import { Account } from '../../actors/index' |
3 | import { Avatar } from '../../avatars' | 3 | import { Avatar } from '../../avatars' |
4 | 4 | ||
5 | export type viewsPerTime = { | 5 | export type ViewsPerDate = { |
6 | date: Date | 6 | date: Date |
7 | views: number | 7 | views: number |
8 | } | 8 | } |
@@ -13,7 +13,7 @@ export interface VideoChannel extends Actor { | |||
13 | support: string | 13 | support: string |
14 | isLocal: boolean | 14 | isLocal: boolean |
15 | ownerAccount?: Account | 15 | ownerAccount?: Account |
16 | viewsPerDay?: viewsPerTime[] // chronologically ordered | 16 | viewsPerDay?: ViewsPerDate[] // chronologically ordered |
17 | } | 17 | } |
18 | 18 | ||
19 | export interface VideoChannelSummary { | 19 | export interface VideoChannelSummary { |