1cd3facc3d
Including private/unlisted for moderators/admins
29 lines
504 B
TypeScript
29 lines
504 B
TypeScript
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
|
|
}
|