diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-29 11:54:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-29 11:54:38 +0200 |
commit | d6886027109af42be2e3ec5d14ad166199add11d (patch) | |
tree | 3a7603d36ff35a2d623d863f14ab93a2e1e6b7f2 /shared/models/search/videos-common-query.model.ts | |
parent | b033851fb54241bb703f86add025229e68cc6f59 (diff) | |
download | PeerTube-d6886027109af42be2e3ec5d14ad166199add11d.tar.gz PeerTube-d6886027109af42be2e3ec5d14ad166199add11d.tar.zst PeerTube-d6886027109af42be2e3ec5d14ad166199add11d.zip |
Refactor search query options
Diffstat (limited to 'shared/models/search/videos-common-query.model.ts')
-rw-r--r-- | shared/models/search/videos-common-query.model.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/models/search/videos-common-query.model.ts b/shared/models/search/videos-common-query.model.ts index 179266338..2f2e9a934 100644 --- a/shared/models/search/videos-common-query.model.ts +++ b/shared/models/search/videos-common-query.model.ts | |||
@@ -25,6 +25,12 @@ export interface VideosCommonQuery { | |||
25 | skipCount?: boolean | 25 | skipCount?: boolean |
26 | } | 26 | } |
27 | 27 | ||
28 | export interface VideosCommonQueryAfterSanitize extends VideosCommonQuery { | ||
29 | start: number | ||
30 | count: number | ||
31 | sort: string | ||
32 | } | ||
33 | |||
28 | export interface VideosWithSearchCommonQuery extends VideosCommonQuery { | 34 | export interface VideosWithSearchCommonQuery extends VideosCommonQuery { |
29 | search?: string | 35 | search?: string |
30 | } | 36 | } |