Chocobozzz/PeerTube

View on GitHub
packages/models/src/search/video-playlists-search-query.model.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { SearchTargetQuery } from './search-target-query.model.js'

export interface VideoPlaylistsSearchQuery extends SearchTargetQuery {
  search?: string

  start?: number
  count?: number
  sort?: string

  host?: string

  // UUIDs or short UUIDs
  uuids?: string[]
}

export interface VideoPlaylistsSearchQueryAfterSanitize extends VideoPlaylistsSearchQuery {
  start: number
  count: number
  sort: string
}