Chocobozzz/PeerTube

View on GitHub
client/src/app/+videos/video-list/overview/videos-overview.model.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Video } from '@app/shared/shared-main/video/video.model'
import { VideoChannelSummary, VideoConstant, VideosOverview as VideosOverviewServer } from '@peertube/peertube-models'

export class VideosOverview implements VideosOverviewServer {
  channels: {
    channel: VideoChannelSummary
    videos: Video[]
  }[]

  categories: {
    category: VideoConstant<number>
    videos: Video[]
  }[]

  tags: {
    tag: string
    videos: Video[]
  }[]
  [key: string]: any
}