diff options
Diffstat (limited to 'shared/models/overviews/videos-overview.ts')
-rw-r--r-- | shared/models/overviews/videos-overview.ts | 30 |
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 @@ | |||
1 | import { Video, VideoChannelSummary, VideoConstant } from '../videos' | 1 | import { Video, VideoChannelSummary, VideoConstant } from '../videos' |
2 | 2 | ||
3 | export interface ChannelOverview { | ||
4 | channel: VideoChannelSummary | ||
5 | videos: Video[] | ||
6 | } | ||
7 | |||
8 | export interface CategoryOverview { | ||
9 | category: VideoConstant<number> | ||
10 | videos: Video[] | ||
11 | } | ||
12 | |||
13 | export interface TagOverview { | ||
14 | tag: string | ||
15 | videos: Video[] | ||
16 | } | ||
17 | |||
3 | export interface VideosOverview { | 18 | export 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 | } |