videos-overview.model.ts 438 B

123456789101112131415161718192021222324
  1. import { Video, VideoChannelSummary, VideoConstant } from '../videos'
  2. export interface ChannelOverview {
  3. channel: VideoChannelSummary
  4. videos: Video[]
  5. }
  6. export interface CategoryOverview {
  7. category: VideoConstant<number>
  8. videos: Video[]
  9. }
  10. export interface TagOverview {
  11. tag: string
  12. videos: Video[]
  13. }
  14. export interface VideosOverview {
  15. channels: ChannelOverview[]
  16. categories: CategoryOverview[]
  17. tags: TagOverview[]
  18. }