aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/search
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-23 17:58:39 +0200
committerChocobozzz <me@florianbigard.com>2018-08-27 09:41:54 +0200
commitf37dc0dd14d9ce0b59c454c2c1b935fcbe9727e9 (patch)
tree2050443febcdb2a3eec68b7bbf9687e26dcb24dc /shared/models/search
parent240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e (diff)
downloadPeerTube-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.ts1
-rw-r--r--shared/models/search/video-channels-search-query.model.ts7
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 @@
1export * from './nsfw-query.model' 1export * from './nsfw-query.model'
2export * from './videos-search-query.model' 2export * from './videos-search-query.model'
3export * 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 @@
1export interface VideoChannelsSearchQuery {
2 search: string
3
4 start?: number
5 count?: number
6 sort?: string
7}