aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/channel
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/videos/channel')
-rw-r--r--shared/models/videos/channel/index.ts4
-rw-r--r--shared/models/videos/channel/video-channel-create-result.model.ts3
-rw-r--r--shared/models/videos/channel/video-channel-create.model.ts6
-rw-r--r--shared/models/videos/channel/video-channel-update.model.ts7
-rw-r--r--shared/models/videos/channel/video-channel.model.ts34
5 files changed, 0 insertions, 54 deletions
diff --git a/shared/models/videos/channel/index.ts b/shared/models/videos/channel/index.ts
deleted file mode 100644
index 6cdabffbd..000000000
--- a/shared/models/videos/channel/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
1export * from './video-channel-create-result.model'
2export * from './video-channel-create.model'
3export * from './video-channel-update.model'
4export * from './video-channel.model'
diff --git a/shared/models/videos/channel/video-channel-create-result.model.ts b/shared/models/videos/channel/video-channel-create-result.model.ts
deleted file mode 100644
index e3d7aeb4c..000000000
--- a/shared/models/videos/channel/video-channel-create-result.model.ts
+++ /dev/null
@@ -1,3 +0,0 @@
1export interface VideoChannelCreateResult {
2 id: number
3}
diff --git a/shared/models/videos/channel/video-channel-create.model.ts b/shared/models/videos/channel/video-channel-create.model.ts
deleted file mode 100644
index da8ce620c..000000000
--- a/shared/models/videos/channel/video-channel-create.model.ts
+++ /dev/null
@@ -1,6 +0,0 @@
1export interface VideoChannelCreate {
2 name: string
3 displayName: string
4 description?: string
5 support?: string
6}
diff --git a/shared/models/videos/channel/video-channel-update.model.ts b/shared/models/videos/channel/video-channel-update.model.ts
deleted file mode 100644
index 8dde9188b..000000000
--- a/shared/models/videos/channel/video-channel-update.model.ts
+++ /dev/null
@@ -1,7 +0,0 @@
1export interface VideoChannelUpdate {
2 displayName?: string
3 description?: string
4 support?: string
5
6 bulkVideosSupportUpdate?: boolean
7}
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}