]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - 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
59c76ffa 1import { Actor } from '../../actors/actor.model'
f4796856 2import { Account, ActorImage } from '../../actors'
72c7248b 3
3d527ba1 4export type ViewsPerDate = {
8165d00a
RK
5 date: Date
6 views: number
7}
8
60650c77
C
9export interface VideoChannel extends Actor {
10 displayName: string
72c7248b 11 description: string
2422c46b 12 support: string
72c7248b 13 isLocal: boolean
a4f99a76 14 ownerAccount?: Account
1ba471c5
C
15
16 videosCount?: number
3d527ba1 17 viewsPerDay?: ViewsPerDate[] // chronologically ordered
2cb03dc1
C
18
19 banner?: ActorImage
72c7248b 20}
418d092a
C
21
22export interface VideoChannelSummary {
23 id: number
418d092a
C
24 name: string
25 displayName: string
26 url: string
27 host: string
f4796856 28 avatar?: ActorImage
418d092a 29}