diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-29 16:16:24 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-10 14:02:41 +0200 |
commit | 5fb2e2888ce032c638e4b75d07458642f0833e52 (patch) | |
tree | 8830d873569316889b8134027e9a43b198cca38f /shared/models/search/videos-search-query.model.ts | |
parent | 62e7be634bc189f942ae51cb4b080079ab503ff0 (diff) | |
download | PeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.tar.gz PeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.tar.zst PeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.zip |
First implem global search
Diffstat (limited to 'shared/models/search/videos-search-query.model.ts')
-rw-r--r-- | shared/models/search/videos-search-query.model.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/models/search/videos-search-query.model.ts b/shared/models/search/videos-search-query.model.ts index 838063095..bd6bb5bc1 100644 --- a/shared/models/search/videos-search-query.model.ts +++ b/shared/models/search/videos-search-query.model.ts | |||
@@ -1,7 +1,10 @@ | |||
1 | import { NSFWQuery } from './nsfw-query.model' | 1 | import { NSFWQuery } from './nsfw-query.model' |
2 | import { VideoFilter } from '../videos' | 2 | import { VideoFilter } from '../videos' |
3 | import { SearchTargetQuery } from './search-target-query.model' | ||
4 | |||
5 | export interface VideosSearchQuery extends SearchTargetQuery { | ||
6 | forceLocalSearch?: boolean | ||
3 | 7 | ||
4 | export interface VideosSearchQuery { | ||
5 | search?: string | 8 | search?: string |
6 | 9 | ||
7 | start?: number | 10 | start?: number |