aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/videos/channel/video-channel.model.ts4
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'
2import { Account } from '../../actors/index' 2import { Account } from '../../actors/index'
3import { Avatar } from '../../avatars' 3import { Avatar } from '../../avatars'
4 4
5export type viewsPerTime = { 5export 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
19export interface VideoChannelSummary { 19export interface VideoChannelSummary {