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