aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/server
diff options
context:
space:
mode:
authorWicklow <wicklow@framasoft.org>2023-02-24 16:21:26 +0100
committerChocobozzz <chocobozzz@cpy.re>2023-02-25 15:47:48 +0100
commitc0687c91b9cf185c36e477ab30266c779f792ee1 (patch)
tree5c917b6b87b38eb89620ed21b114ac67c96a71d9 /shared/models/plugins/server
parentd41f4a6dc69d098e9dc9173b7e1a586695ef7b97 (diff)
downloadPeerTube-c0687c91b9cf185c36e477ab30266c779f792ee1.tar.gz
PeerTube-c0687c91b9cf185c36e477ab30266c779f792ee1.tar.zst
PeerTube-c0687c91b9cf185c36e477ab30266c779f792ee1.zip
Add server hooks for listing subscription
Diffstat (limited to 'shared/models/plugins/server')
-rw-r--r--shared/models/plugins/server/server-hook.model.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts
index dd9cc3ad6..bbd08365c 100644
--- a/shared/models/plugins/server/server-hook.model.ts
+++ b/shared/models/plugins/server/server-hook.model.ts
@@ -27,6 +27,10 @@ export const serverFilterHookObject = {
27 'filter:api.overviews.videos.list.params': true, 27 'filter:api.overviews.videos.list.params': true,
28 'filter:api.overviews.videos.list.result': true, 28 'filter:api.overviews.videos.list.result': true,
29 29
30 // Filter params/result used to list subscription videos for the REST API
31 'filter:api.user.me.subscription-videos.list.params': true,
32 'filter:api.user.me.subscription-videos.list.result': true,
33
30 // Filter params/results to search videos/channels in the DB or on the remote index 34 // Filter params/results to search videos/channels in the DB or on the remote index
31 'filter:api.search.videos.local.list.params': true, 35 'filter:api.search.videos.local.list.params': true,
32 'filter:api.search.videos.local.list.result': true, 36 'filter:api.search.videos.local.list.result': true,