aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/search/videos-search-query.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/search/videos-search-query.model.ts')
-rw-r--r--shared/models/search/videos-search-query.model.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/shared/models/search/videos-search-query.model.ts b/shared/models/search/videos-search-query.model.ts
new file mode 100644
index 000000000..bb23bd636
--- /dev/null
+++ b/shared/models/search/videos-search-query.model.ts
@@ -0,0 +1,24 @@
1export interface VideosSearchQuery {
2 search: string
3
4 start?: number
5 count?: number
6 sort?: string
7
8 startDate?: string // ISO 8601
9 endDate?: string // ISO 8601
10
11 nsfw?: boolean
12
13 categoryOneOf?: number[]
14
15 licenceOneOf?: number[]
16
17 languageOneOf?: string[]
18
19 tagsOneOf?: string[]
20 tagsAllOf?: string[]
21
22 durationMin?: number // seconds
23 durationMax?: number // seconds
24}