diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-24 11:09:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-24 14:04:05 +0200 |
commit | d411245096b7c9ec06e6fa2ceff7aa7b0fc0c3b7 (patch) | |
tree | 991a4c3e753b2371c8e314fd79ebc134b45659d1 /shared/models/search/videos-search-query.model.ts | |
parent | cddf45035389cc7d9003ea2b64fff3c28cd368d9 (diff) | |
download | PeerTube-d411245096b7c9ec06e6fa2ceff7aa7b0fc0c3b7.tar.gz PeerTube-d411245096b7c9ec06e6fa2ceff7aa7b0fc0c3b7.tar.zst PeerTube-d411245096b7c9ec06e6fa2ceff7aa7b0fc0c3b7.zip |
Add ability to only filter in the search endpoint
Diffstat (limited to 'shared/models/search/videos-search-query.model.ts')
-rw-r--r-- | shared/models/search/videos-search-query.model.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/models/search/videos-search-query.model.ts b/shared/models/search/videos-search-query.model.ts index dc14b1177..29aa5c100 100644 --- a/shared/models/search/videos-search-query.model.ts +++ b/shared/models/search/videos-search-query.model.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { NSFWQuery } from './nsfw-query.model' | 1 | import { NSFWQuery } from './nsfw-query.model' |
2 | 2 | ||
3 | export interface VideosSearchQuery { | 3 | export interface VideosSearchQuery { |
4 | search: string | 4 | search?: string |
5 | 5 | ||
6 | start?: number | 6 | start?: number |
7 | count?: number | 7 | count?: number |