diff options
Diffstat (limited to 'shared/models/plugins/client-hook.model.ts')
-rw-r--r-- | shared/models/plugins/client-hook.model.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shared/models/plugins/client-hook.model.ts b/shared/models/plugins/client-hook.model.ts index 91167ff8c..f0cdb8b19 100644 --- a/shared/models/plugins/client-hook.model.ts +++ b/shared/models/plugins/client-hook.model.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | // Data from API hooks: {hookType}:api.{location}.{elementType}.{actionType}.{target} | 1 | // Data from API hooks: {hookType}:api.{location}.{elementType}.{actionType}.{target} |
2 | // Data in internal functions: {hookType}:{location}.{elementType}.{actionType}.{target} | ||
2 | 3 | ||
3 | export const clientFilterHookObject = { | 4 | export const clientFilterHookObject = { |
4 | // Filter params/result of the function that fetch videos of the trending page | 5 | // Filter params/result of the function that fetch videos of the trending page |
@@ -41,7 +42,10 @@ export const clientFilterHookObject = { | |||
41 | 'filter:api.search.video-channels.list.result': true, | 42 | 'filter:api.search.video-channels.list.result': true, |
42 | 43 | ||
43 | // Filter form | 44 | // Filter form |
44 | 'filter:api.signup.registration.create.params': true | 45 | 'filter:api.signup.registration.create.params': true, |
46 | |||
47 | // Filter the options to create our player | ||
48 | 'filter:internal.video-watch.player.build-options.result': true | ||
45 | } | 49 | } |
46 | 50 | ||
47 | export type ClientFilterHookName = keyof typeof clientFilterHookObject | 51 | export type ClientFilterHookName = keyof typeof clientFilterHookObject |