diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/plugins/client/client-hook.model.ts | 4 | ||||
-rw-r--r-- | shared/models/plugins/client/plugin-client-scope.type.ts | 3 |
2 files changed, 6 insertions, 1 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, |
diff --git a/shared/models/plugins/client/plugin-client-scope.type.ts b/shared/models/plugins/client/plugin-client-scope.type.ts index 8cc234ff2..92734533d 100644 --- a/shared/models/plugins/client/plugin-client-scope.type.ts +++ b/shared/models/plugins/client/plugin-client-scope.type.ts | |||
@@ -6,4 +6,5 @@ export type PluginClientScope = | |||
6 | 'login' | | 6 | 'login' | |
7 | 'embed' | | 7 | 'embed' | |
8 | 'video-edit' | | 8 | 'video-edit' | |
9 | 'admin-plugin' | 9 | 'admin-plugin' | |
10 | 'my-library' | ||