X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fvideos%2Fchannel%2Fvideo-channel.model.ts;h=421004e68957881628d47853a5183c6184b00147;hb=3d527ba173a37bd61ec8ad742642bb320d12995c;hp=5fe6609d907275543c09268d6ca8f66ed66120d7;hpb=714bfcc556177dce2b65a1e58babdf2488e9de13;p=github%2FChocobozzz%2FPeerTube.git 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' import { Account } from '../../actors/index' import { Avatar } from '../../avatars' -export type viewsPerTime = { +export type ViewsPerDate = { date: Date views: number } @@ -13,7 +13,7 @@ export interface VideoChannel extends Actor { support: string isLocal: boolean ownerAccount?: Account - viewsPerDay?: viewsPerTime[] // chronologically ordered + viewsPerDay?: ViewsPerDate[] // chronologically ordered } export interface VideoChannelSummary {