PeerTube/shared/models/overviews/videos-overview.ts

25 lines
438 B
TypeScript
Raw Normal View History

2019-02-26 03:55:40 -06:00
import { Video, VideoChannelSummary, VideoConstant } from '../videos'
2018-08-30 07:58:00 -05:00
export interface ChannelOverview {
channel: VideoChannelSummary
videos: Video[]
}
export interface CategoryOverview {
category: VideoConstant<number>
videos: Video[]
}
export interface TagOverview {
tag: string
videos: Video[]
}
2018-08-30 07:58:00 -05:00
export interface VideosOverview {
channels: ChannelOverview[]
2018-08-30 07:58:00 -05:00
categories: CategoryOverview[]
2018-08-30 07:58:00 -05:00
tags: TagOverview[]
2018-08-30 07:58:00 -05:00
}