diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-23 17:58:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-27 09:41:54 +0200 |
commit | f37dc0dd14d9ce0b59c454c2c1b935fcbe9727e9 (patch) | |
tree | 2050443febcdb2a3eec68b7bbf9687e26dcb24dc /shared/models/search | |
parent | 240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e (diff) | |
download | PeerTube-f37dc0dd14d9ce0b59c454c2c1b935fcbe9727e9.tar.gz PeerTube-f37dc0dd14d9ce0b59c454c2c1b935fcbe9727e9.tar.zst PeerTube-f37dc0dd14d9ce0b59c454c2c1b935fcbe9727e9.zip |
Add ability to search video channels
Diffstat (limited to 'shared/models/search')
-rw-r--r-- | shared/models/search/index.ts | 1 | ||||
-rw-r--r-- | shared/models/search/video-channels-search-query.model.ts | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/shared/models/search/index.ts b/shared/models/search/index.ts index 928846c39..28dd95443 100644 --- a/shared/models/search/index.ts +++ b/shared/models/search/index.ts | |||
@@ -1,2 +1,3 @@ | |||
1 | export * from './nsfw-query.model' | 1 | export * from './nsfw-query.model' |
2 | export * from './videos-search-query.model' | 2 | export * from './videos-search-query.model' |
3 | export * from './video-channels-search-query.model' | ||
diff --git a/shared/models/search/video-channels-search-query.model.ts b/shared/models/search/video-channels-search-query.model.ts new file mode 100644 index 000000000..de2741e14 --- /dev/null +++ b/shared/models/search/video-channels-search-query.model.ts | |||
@@ -0,0 +1,7 @@ | |||
1 | export interface VideoChannelsSearchQuery { | ||
2 | search: string | ||
3 | |||
4 | start?: number | ||
5 | count?: number | ||
6 | sort?: string | ||
7 | } | ||