1
0
Fork 0
peertube/shared/models/overviews/videos-overview.model.ts
2021-05-11 11:32:31 +02: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[]
}