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