27 lines
439 B
TypeScript
27 lines
439 B
TypeScript
import { NSFWQuery } from './nsfw-query.model'
|
|
|
|
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
|
|
}
|