aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/overviews/videos-overview.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/overviews/videos-overview.model.ts')
-rw-r--r--shared/models/overviews/videos-overview.model.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/shared/models/overviews/videos-overview.model.ts b/shared/models/overviews/videos-overview.model.ts
new file mode 100644
index 000000000..0f3cb4a52
--- /dev/null
+++ b/shared/models/overviews/videos-overview.model.ts
@@ -0,0 +1,24 @@
1import { Video, VideoChannelSummary, VideoConstant } from '../videos'
2
3export interface ChannelOverview {
4 channel: VideoChannelSummary
5 videos: Video[]
6}
7
8export interface CategoryOverview {
9 category: VideoConstant<number>
10 videos: Video[]
11}
12
13export interface TagOverview {
14 tag: string
15 videos: Video[]
16}
17
18export interface VideosOverview {
19 channels: ChannelOverview[]
20
21 categories: CategoryOverview[]
22
23 tags: TagOverview[]
24}