]>
Commit | Line | Data |
---|---|---|
1 | import { SearchTargetQuery } from './search-target-query.model' | |
2 | import { VideosCommonQuery } from './videos-common-query.model' | |
3 | ||
4 | export interface VideosSearchQuery extends SearchTargetQuery, VideosCommonQuery { | |
5 | search?: string | |
6 | ||
7 | host?: string | |
8 | ||
9 | startDate?: string // ISO 8601 | |
10 | endDate?: string // ISO 8601 | |
11 | ||
12 | originallyPublishedStartDate?: string // ISO 8601 | |
13 | originallyPublishedEndDate?: string // ISO 8601 | |
14 | ||
15 | durationMin?: number // seconds | |
16 | durationMax?: number // seconds | |
17 | ||
18 | // UUIDs or short UUIDs | |
19 | uuids?: string[] | |
20 | } | |
21 | ||
22 | export interface VideosSearchQueryAfterSanitize extends VideosSearchQuery { | |
23 | start: number | |
24 | count: number | |
25 | sort: string | |
26 | ||
27 | // FIXME: deprecated in 4.0, to remove | |
28 | filter?: never | |
29 | } |