aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins
diff options
context:
space:
mode:
authorJulien Maulny <julien.maulny@protonmail.com>2019-10-01 23:11:53 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-10-18 14:04:10 +0200
commitc07eb946531dd190ae50624832e1147c8ccf3692 (patch)
treec379da4a1e63a3d4a0a19a5832650fe4aa85b8e2 /shared/models/plugins
parentfff2183df6129362ad50941d4d1979d4aa292801 (diff)
downloadPeerTube-c07eb946531dd190ae50624832e1147c8ccf3692.tar.gz
PeerTube-c07eb946531dd190ae50624832e1147c8ccf3692.tar.zst
PeerTube-c07eb946531dd190ae50624832e1147c8ccf3692.zip
Add 'Most liked videos' page
Diffstat (limited to 'shared/models/plugins')
-rw-r--r--shared/models/plugins/client-hook.model.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/plugins/client-hook.model.ts b/shared/models/plugins/client-hook.model.ts
index cfa2653c6..fd560302c 100644
--- a/shared/models/plugins/client-hook.model.ts
+++ b/shared/models/plugins/client-hook.model.ts
@@ -5,6 +5,10 @@ export const clientFilterHookObject = {
5 'filter:api.trending-videos.videos.list.params': true, 5 'filter:api.trending-videos.videos.list.params': true,
6 'filter:api.trending-videos.videos.list.result': true, 6 'filter:api.trending-videos.videos.list.result': true,
7 7
8 // Filter params/result of the function that fetch videos of the trending page
9 'filter:api.most-liked-videos.videos.list.params': true,
10 'filter:api.most-liked-videos.videos.list.result': true,
11
8 // Filter params/result of the function that fetch videos of the local page 12 // Filter params/result of the function that fetch videos of the local page
9 'filter:api.local-videos.videos.list.params': true, 13 'filter:api.local-videos.videos.list.params': true,
10 'filter:api.local-videos.videos.list.result': true, 14 'filter:api.local-videos.videos.list.result': true,