aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/models/src/overviews/videos-overview.model.ts
blob: 3a1ba1760d08a0cba432c3328fe5a2ed6acd3909 (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/index.js'

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[]
}