aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/channel/video-channel.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/videos/channel/video-channel.model.ts')
-rw-r--r--shared/models/videos/channel/video-channel.model.ts34
1 files changed, 0 insertions, 34 deletions
diff --git a/shared/models/videos/channel/video-channel.model.ts b/shared/models/videos/channel/video-channel.model.ts
deleted file mode 100644
index ce5fc0e8d..000000000
--- a/shared/models/videos/channel/video-channel.model.ts
+++ /dev/null
@@ -1,34 +0,0 @@
1import { Account, ActorImage } from '../../actors'
2import { Actor } from '../../actors/actor.model'
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
15 updatedAt: Date | string
16
17 ownerAccount?: Account
18
19 videosCount?: number
20 viewsPerDay?: ViewsPerDate[] // chronologically ordered
21 totalViews?: number
22
23 banners: ActorImage[]
24}
25
26export interface VideoChannelSummary {
27 id: number
28 name: string
29 displayName: string
30 url: string
31 host: string
32
33 avatars: ActorImage[]
34}