aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/overviews/videos-overview.ts
blob: 0f3cb4a52966efd07dfcd13b23b62aae1f97bb8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { Video, VideoChannelSummary, VideoConstant } from '../videos'

export interface ChannelOverview {
  channel: VideoChannelSummary
  videos: Video[]
}

export interface CategoryOverview {
  category: VideoConstant<number>
  videos: Video[]
}

export interface TagOverview {
  tag: string
  videos: Video[]
}

export interface VideosOverview {
  channels: ChannelOverview[]

  categories: CategoryOverview[]

  tags: TagOverview[]
}