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

19 lines
316 B
TypeScript

import { Video, VideoChannelAttribute, VideoConstant } from '../videos'
export interface VideosOverview {
channels: {
channel: VideoChannelAttribute
videos: Video[]
}[]
categories: {
category: VideoConstant<number>
videos: Video[]
}[]
tags: {
tag: string
videos: Video[]
}[]
}