diff options
Diffstat (limited to 'shared/models/overviews/videos-overview.model.ts')
-rw-r--r-- | shared/models/overviews/videos-overview.model.ts | 24 |
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 @@ | |||
1 | import { Video, VideoChannelSummary, VideoConstant } from '../videos' | ||
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 | |||
18 | export interface VideosOverview { | ||
19 | channels: ChannelOverview[] | ||
20 | |||
21 | categories: CategoryOverview[] | ||
22 | |||
23 | tags: TagOverview[] | ||
24 | } | ||