aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/search/videos-search-query.model.ts
blob: 0db220758286d7a9f1d1da6eecabcaad81ccfa7b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
                                              
                                       
 
                                    
                 







                                
                  











                                 

                      
 
import { NSFWQuery } from './nsfw-query.model'
import { VideoFilter } from '../videos'

export interface VideosSearchQuery {
  search?: string

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

  startDate?: string // ISO 8601
  endDate?: string // ISO 8601

  nsfw?: NSFWQuery

  categoryOneOf?: number[]

  licenceOneOf?: number[]

  languageOneOf?: string[]

  tagsOneOf?: string[]
  tagsAllOf?: string[]

  durationMin?: number // seconds
  durationMax?: number // seconds

  filter?: VideoFilter
}