]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - search/videos-search-query.model.ts
Bumped to version v5.2.1
[github/Chocobozzz/PeerTube.git] / search / videos-search-query.model.ts
1 import { NSFWQuery } from './nsfw-query.model'
2 import { VideoFilter } from '../videos'
3
4 export interface VideosSearchQuery {
5 search?: string
6
7 start?: number
8 count?: number
9 sort?: string
10
11 startDate?: string // ISO 8601
12 endDate?: string // ISO 8601
13
14 originallyPublishedStartDate?: string // ISO 8601
15 originallyPublishedEndDate?: string // ISO 8601
16
17 nsfw?: NSFWQuery
18
19 categoryOneOf?: number[]
20
21 licenceOneOf?: number[]
22
23 languageOneOf?: string[]
24
25 tagsOneOf?: string[]
26 tagsAllOf?: string[]
27
28 durationMin?: number // seconds
29 durationMax?: number // seconds
30
31 filter?: VideoFilter
32 }