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