]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - 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
... / ...
CommitLineData
1import { Actor } from '../../actors/actor.model'
2import { Account, ActorImage } from '../../actors'
3
4export type ViewsPerDate = {
5 date: Date
6 views: number
7}
8
9export 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
22export interface VideoChannelSummary {
23 id: number
24 name: string
25 displayName: string
26 url: string
27 host: string
28 avatar?: ActorImage
29}