diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-27 09:07:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-27 17:10:52 +0200 |
commit | 29837f8885eb37fa300e4b80c90a6d03ab337084 (patch) | |
tree | a7a066c6604c9adec4cb21c1bd1965c5bf253b03 /shared/models/search | |
parent | 5d0095fde19d803bead7cbad0452bd09f3351adc (diff) | |
download | PeerTube-29837f8885eb37fa300e4b80c90a6d03ab337084.tar.gz PeerTube-29837f8885eb37fa300e4b80c90a6d03ab337084.tar.zst PeerTube-29837f8885eb37fa300e4b80c90a6d03ab337084.zip |
Add ability to search by host in server
Diffstat (limited to 'shared/models/search')
-rw-r--r-- | shared/models/search/videos-search-query.model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/search/videos-search-query.model.ts b/shared/models/search/videos-search-query.model.ts index 406f6cab2..a568c960e 100644 --- a/shared/models/search/videos-search-query.model.ts +++ b/shared/models/search/videos-search-query.model.ts | |||
@@ -4,6 +4,8 @@ import { VideosCommonQuery } from './videos-common-query.model' | |||
4 | export interface VideosSearchQuery extends SearchTargetQuery, VideosCommonQuery { | 4 | export interface VideosSearchQuery extends SearchTargetQuery, VideosCommonQuery { |
5 | search?: string | 5 | search?: string |
6 | 6 | ||
7 | host?: string | ||
8 | |||
7 | startDate?: string // ISO 8601 | 9 | startDate?: string // ISO 8601 |
8 | endDate?: string // ISO 8601 | 10 | endDate?: string // ISO 8601 |
9 | 11 | ||