mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
24 lines
438 B
TypeScript
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[]
|
|
}
|