2018-10-10 11:46:50 +02:00
|
|
|
import { VideoFilter } from '../videos'
|
2020-06-09 16:39:45 +02:00
|
|
|
import { NSFWQuery } from './nsfw-query.model'
|
2020-05-29 16:16:24 +02:00
|
|
|
import { SearchTargetQuery } from './search-target-query.model'
|
|
|
|
|
|
|
|
export interface VideosSearchQuery extends SearchTargetQuery {
|
2018-07-24 11:09:00 +02:00
|
|
|
search?: string
|
2018-07-20 14:35:18 +02:00
|
|
|
|
|
|
|
start?: number
|
|
|
|
count?: number
|
|
|
|
sort?: string
|
|
|
|
|
|
|
|
startDate?: string // ISO 8601
|
|
|
|
endDate?: string // ISO 8601
|
|
|
|
|
2018-11-27 18:57:02 +01:00
|
|
|
originallyPublishedStartDate?: string // ISO 8601
|
|
|
|
originallyPublishedEndDate?: string // ISO 8601
|
|
|
|
|
2018-07-20 18:31:49 +02:00
|
|
|
nsfw?: NSFWQuery
|
2018-07-20 14:35:18 +02:00
|
|
|
|
|
|
|
categoryOneOf?: number[]
|
|
|
|
|
|
|
|
licenceOneOf?: number[]
|
|
|
|
|
|
|
|
languageOneOf?: string[]
|
|
|
|
|
|
|
|
tagsOneOf?: string[]
|
|
|
|
tagsAllOf?: string[]
|
|
|
|
|
|
|
|
durationMin?: number // seconds
|
|
|
|
durationMax?: number // seconds
|
2018-10-10 11:46:50 +02:00
|
|
|
|
|
|
|
filter?: VideoFilter
|
2018-07-20 14:35:18 +02:00
|
|
|
}
|