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

25 lines
438 B
TypeScript
Raw Normal View History

2019-02-26 10:55:40 +01:00
import { Video, VideoChannelSummary, VideoConstant } from '../videos'
2018-08-30 14:58:00 +02: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 14:58:00 +02:00
export interface VideosOverview {
channels: ChannelOverview[]
2018-08-30 14:58:00 +02:00
categories: CategoryOverview[]
2018-08-30 14:58:00 +02:00
tags: TagOverview[]
2018-08-30 14:58:00 +02:00
}