aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2021-10-12 13:45:55 +0200
committerGitHub <noreply@github.com>2021-10-12 13:45:55 +0200
commitc3bb04413ec05dfe544ec74ffdf2f264975bd121 (patch)
treee7e8ca811e78ccd89009b34d5ccaae2b4b48081f /shared/models
parent8d8a037e3fe9b1d2ccbc4169ce59b13000b59cb0 (diff)
downloadPeerTube-c3bb04413ec05dfe544ec74ffdf2f264975bd121.tar.gz
PeerTube-c3bb04413ec05dfe544ec74ffdf2f264975bd121.tar.zst
PeerTube-c3bb04413ec05dfe544ec74ffdf2f264975bd121.zip
add ...playlist.elements.loaded hook (#4387)
* client: add ...playlist.elements.loaded hook closes #4385 * fix linting error * client: add playlist metadata to video-watch hooks * Prefer using a filter for playlist elements hook Co-authored-by: Chocobozzz <me@florianbigard.com>
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/plugins/client/client-hook.model.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/plugins/client/client-hook.model.ts b/shared/models/plugins/client/client-hook.model.ts
index d811e2c67..7dd8bc507 100644
--- a/shared/models/plugins/client/client-hook.model.ts
+++ b/shared/models/plugins/client/client-hook.model.ts
@@ -26,6 +26,10 @@ export const clientFilterHookObject = {
26 'filter:api.video-watch.video.get.params': true, 26 'filter:api.video-watch.video.get.params': true,
27 'filter:api.video-watch.video.get.result': true, 27 'filter:api.video-watch.video.get.result': true,
28 28
29 // Filter params/result of the function that fetch video playlist elements of the video-watch page
30 'filter:api.video-watch.video-playlist-elements.get.params': true,
31 'filter:api.video-watch.video-playlist-elements.get.result': true,
32
29 // Filter params/result of the function that fetch the threads of the video-watch page 33 // Filter params/result of the function that fetch the threads of the video-watch page
30 'filter:api.video-watch.video-threads.list.params': true, 34 'filter:api.video-watch.video-threads.list.params': true,
31 'filter:api.video-watch.video-threads.list.result': true, 35 'filter:api.video-watch.video-threads.list.result': true,