1
0
Fork 0
peertube/shared/models/overviews/videos-overview.ts
2020-03-11 15:02:20 +01:00

24 lines
438 B
TypeScript

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