1
0
Fork 0
peertube/shared/models/search/videos-search-query.model.ts
Chocobozzz 1cd3facc3d
Add ability to list all local videos
Including private/unlisted for moderators/admins
2018-10-10 11:46:50 +02:00

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
}