From 38267c0c8aa80f974a2c0b4c2bd33c8d8008ac94 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 8 Dec 2020 10:30:33 +0100 Subject: Use dedicated hooks for account/channel videos --- shared/models/plugins/server-hook.model.ts | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'shared') diff --git a/shared/models/plugins/server-hook.model.ts b/shared/models/plugins/server-hook.model.ts index 6609bc893..64d63f8f5 100644 --- a/shared/models/plugins/server-hook.model.ts +++ b/shared/models/plugins/server-hook.model.ts @@ -5,6 +5,15 @@ export const serverFilterHookObject = { // (used by the trending page, recently-added page, local page etc) 'filter:api.videos.list.params': true, 'filter:api.videos.list.result': true, + + // Filter params/result used to list account videos for the REST API + 'filter:api.accounts.videos.list.params': true, + 'filter:api.accounts.videos.list.result': true, + + // Filter params/result used to list account videos for the REST API + 'filter:api.video-channels.videos.list.params': true, + 'filter:api.video-channels.videos.list.result': true, + // Filter the result of the get function // Used to get detailed video information (video watch page for example) 'filter:api.video.get.result': true, -- cgit v1.2.3