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

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