]>
Commit | Line | Data |
---|---|---|
59c76ffa | 1 | import { Actor } from '../../actors/actor.model' |
59c76ffa | 2 | import { Account } from '../../actors/index' |
418d092a | 3 | import { Avatar } from '../../avatars' |
72c7248b | 4 | |
3d527ba1 | 5 | export type ViewsPerDate = { |
8165d00a RK |
6 | date: Date |
7 | views: number | |
8 | } | |
9 | ||
60650c77 C |
10 | export interface VideoChannel extends Actor { |
11 | displayName: string | |
72c7248b | 12 | description: string |
2422c46b | 13 | support: string |
72c7248b | 14 | isLocal: boolean |
a4f99a76 | 15 | ownerAccount?: Account |
1ba471c5 C |
16 | |
17 | videosCount?: number | |
3d527ba1 | 18 | viewsPerDay?: ViewsPerDate[] // chronologically ordered |
72c7248b | 19 | } |
418d092a C |
20 | |
21 | export interface VideoChannelSummary { | |
22 | id: number | |
418d092a C |
23 | name: string |
24 | displayName: string | |
25 | url: string | |
26 | host: string | |
27 | avatar?: Avatar | |
28 | } |