aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2022-02-15 08:24:22 +0100
committerChocobozzz <chocobozzz@cpy.re>2022-02-28 10:56:37 +0100
commitc5ca7e1e0c735d1e658f9ef524a61d19f6a50fea (patch)
tree84c83e4ca9d7950ee2b5edad8b76dc7d5ab31031 /shared/models
parentc729caf6cc34630877a0e5a1bda1719384cd0c8a (diff)
downloadPeerTube-c5ca7e1e0c735d1e658f9ef524a61d19f6a50fea.tar.gz
PeerTube-c5ca7e1e0c735d1e658f9ef524a61d19f6a50fea.tar.zst
PeerTube-c5ca7e1e0c735d1e658f9ef524a61d19f6a50fea.zip
add filter:api.video-playlist.videos.list.* hooks
closes #4775
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/plugins/server/server-hook.model.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts
index bd2b27da5..e64c3bbbc 100644
--- a/shared/models/plugins/server/server-hook.model.ts
+++ b/shared/models/plugins/server/server-hook.model.ts
@@ -6,6 +6,11 @@ export const serverFilterHookObject = {
6 'filter:api.videos.list.params': true, 6 'filter:api.videos.list.params': true,
7 'filter:api.videos.list.result': true, 7 'filter:api.videos.list.result': true,
8 8
9 // Filter params/result used to list a video playlists videos
10 // for the REST API
11 'filter:api.video-playlist.videos.list.params': true,
12 'filter:api.video-playlist.videos.list.result': true,
13
9 // Filter params/result used to list account videos for the REST API 14 // Filter params/result used to list account videos for the REST API
10 'filter:api.accounts.videos.list.params': true, 15 'filter:api.accounts.videos.list.params': true,
11 'filter:api.accounts.videos.list.result': true, 16 'filter:api.accounts.videos.list.result': true,