diff options
author | kontrollanten <6680299+kontrollanten@users.noreply.github.com> | 2022-07-08 10:50:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-08 10:50:10 +0200 |
commit | f8b4a71d428703811fa74dd811ef715c7d7afff6 (patch) | |
tree | 2c07b193d79e9ead8d7d98980964e9af671a76cc /shared/models/plugins/client/client-hook.model.ts | |
parent | edd7b1256b8b1352fb9c67e79231b0ab24b8dd40 (diff) | |
download | PeerTube-f8b4a71d428703811fa74dd811ef715c7d7afff6.tar.gz PeerTube-f8b4a71d428703811fa74dd811ef715c7d7afff6.tar.zst PeerTube-f8b4a71d428703811fa74dd811ef715c7d7afff6.zip |
hooks filter:api.my-lib.playlist-elems.get.* (#5098)
* hooks filter:api.my-lib.playlist-elems.get.*
closes #4776
* Introduce my-library plugin scope
Co-authored-by: Chocobozzz <me@florianbigard.com>
Diffstat (limited to 'shared/models/plugins/client/client-hook.model.ts')
-rw-r--r-- | shared/models/plugins/client/client-hook.model.ts | 4 |
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 04d42d591..466be8946 100644 --- a/shared/models/plugins/client/client-hook.model.ts +++ b/shared/models/plugins/client/client-hook.model.ts | |||
@@ -51,6 +51,10 @@ export const clientFilterHookObject = { | |||
51 | // Filter form | 51 | // Filter form |
52 | 'filter:api.signup.registration.create.params': true, | 52 | 'filter:api.signup.registration.create.params': true, |
53 | 53 | ||
54 | // Filter params/result of the function that fetch video playlist elements of the my-library page | ||
55 | 'filter:api.my-library.video-playlist-elements.list.params': true, | ||
56 | 'filter:api.my-library.video-playlist-elements.list.result': true, | ||
57 | |||
54 | // Filter the options to create our player | 58 | // Filter the options to create our player |
55 | 'filter:internal.video-watch.player.build-options.params': true, | 59 | 'filter:internal.video-watch.player.build-options.params': true, |
56 | 'filter:internal.video-watch.player.build-options.result': true, | 60 | 'filter:internal.video-watch.player.build-options.result': true, |