]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/videos/channel/video-channel.model.ts
Fix CLI plugins list command: use command parameters.
[github/Chocobozzz/PeerTube.git] / shared / models / videos / channel / video-channel.model.ts
1 import { Actor } from '../../actors/actor.model'
2 import { Account, ActorImage } from '../../actors'
3
4 export type ViewsPerDate = {
5 date: Date
6 views: number
7 }
8
9 export interface VideoChannel extends Actor {
10 displayName: string
11 description: string
12 support: string
13 isLocal: boolean
14 ownerAccount?: Account
15
16 videosCount?: number
17 viewsPerDay?: ViewsPerDate[] // chronologically ordered
18
19 banner?: ActorImage
20 }
21
22 export interface VideoChannelSummary {
23 id: number
24 name: string
25 displayName: string
26 url: string
27 host: string
28 avatar?: ActorImage
29 }