]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/videos/channel/video-channel.model.ts
Add nth abuse count for a given video, add reporter/reportee reports stats
[github/Chocobozzz/PeerTube.git] / shared / models / videos / channel / video-channel.model.ts
1 import { Actor } from '../../actors/actor.model'
2 import { Account } from '../../actors/index'
3 import { Avatar } from '../../avatars'
4
5 export type ViewsPerDate = {
6 date: Date
7 views: number
8 }
9
10 export interface VideoChannel extends Actor {
11 displayName: string
12 description: string
13 support: string
14 isLocal: boolean
15 ownerAccount?: Account
16 viewsPerDay?: ViewsPerDate[] // chronologically ordered
17 }
18
19 export interface VideoChannelSummary {
20 id: number
21 name: string
22 displayName: string
23 url: string
24 host: string
25 avatar?: Avatar
26 }