]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/overviews/videos-overview.ts
Better typings
[github/Chocobozzz/PeerTube.git] / shared / models / overviews / videos-overview.ts
1 import { Video, VideoChannelAttribute, VideoConstant } from '../videos'
2
3 export interface VideosOverview {
4 channels: {
5 channel: VideoChannelAttribute
6 videos: Video[]
7 }[]
8
9 categories: {
10 category: VideoConstant<number>
11 videos: Video[]
12 }[]
13
14 tags: {
15 tag: string
16 videos: Video[]
17 }[]
18 }