X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fplugins%2Fclient%2Fclient-hook.model.ts;h=aafc8c72b73d544155eef858e5faa88cb0892477;hb=4e1592daa41f81667f914f37d36795e8c6c046c3;hp=620651051f8da8da49336d1650930765f019e6e5;hpb=20213fbd2a366dffc35aa7dddad71323893f8d62;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/plugins/client/client-hook.model.ts b/shared/models/plugins/client/client-hook.model.ts index 620651051..aafc8c72b 100644 --- a/shared/models/plugins/client/client-hook.model.ts +++ b/shared/models/plugins/client/client-hook.model.ts @@ -37,9 +37,12 @@ export const clientFilterHookObject = { // Filter params/result of the function that fetch videos according to the user search 'filter:api.search.videos.list.params': true, 'filter:api.search.videos.list.result': true, - // Filter params/result of the function that fetch video-channels according to the user search + // Filter params/result of the function that fetch video channels according to the user search 'filter:api.search.video-channels.list.params': true, 'filter:api.search.video-channels.list.result': true, + // Filter params/result of the function that fetch video playlists according to the user search + 'filter:api.search.video-playlists.list.params': true, + 'filter:api.search.video-playlists.list.result': true, // Filter form 'filter:api.signup.registration.create.params': true, @@ -50,7 +53,16 @@ export const clientFilterHookObject = { // Filter our SVG icons content 'filter:internal.common.svg-icons.get-content.params': true, - 'filter:internal.common.svg-icons.get-content.result': true + 'filter:internal.common.svg-icons.get-content.result': true, + + // Filter left menu links + 'filter:left-menu.links.create.result': true, + + // Filter upload page alert messages + 'filter:upload-page.alert-messages.edit.result': true, + + // Filter videojs options built for PeerTube player + 'filter:internal.player.videojs.options.result': true } export type ClientFilterHookName = keyof typeof clientFilterHookObject