2018-07-20 16:31:49 +00:00
|
|
|
import { NSFWQuery } from './nsfw-query.model'
|
|
|
|
|
2018-07-20 12:35:18 +00:00
|
|
|
export interface VideosSearchQuery {
|
|
|
|
search: string
|
|
|
|
|
|
|
|
start?: number
|
|
|
|
count?: number
|
|
|
|
sort?: string
|
|
|
|
|
|
|
|
startDate?: string // ISO 8601
|
|
|
|
endDate?: string // ISO 8601
|
|
|
|
|
2018-07-20 16:31:49 +00:00
|
|
|
nsfw?: NSFWQuery
|
2018-07-20 12:35:18 +00:00
|
|
|
|
|
|
|
categoryOneOf?: number[]
|
|
|
|
|
|
|
|
licenceOneOf?: number[]
|
|
|
|
|
|
|
|
languageOneOf?: string[]
|
|
|
|
|
|
|
|
tagsOneOf?: string[]
|
|
|
|
tagsAllOf?: string[]
|
|
|
|
|
|
|
|
durationMin?: number // seconds
|
|
|
|
durationMax?: number // seconds
|
|
|
|
}
|