mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
View stats for channels
This commit is contained in:
@@ -2,12 +2,18 @@ import { Actor } from '../../actors/actor.model'
|
||||
import { Account } from '../../actors/index'
|
||||
import { Avatar } from '../../avatars'
|
||||
|
||||
export type viewsPerTime = {
|
||||
date: Date
|
||||
views: number
|
||||
}
|
||||
|
||||
export interface VideoChannel extends Actor {
|
||||
displayName: string
|
||||
description: string
|
||||
support: string
|
||||
isLocal: boolean
|
||||
ownerAccount?: Account
|
||||
viewsPerDay?: viewsPerTime[] // chronologically ordered
|
||||
}
|
||||
|
||||
export interface VideoChannelSummary {
|
||||
|
||||
Reference in New Issue
Block a user