aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/client-hook.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/plugins/client-hook.model.ts')
-rw-r--r--shared/models/plugins/client-hook.model.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/shared/models/plugins/client-hook.model.ts b/shared/models/plugins/client-hook.model.ts
index 07ea7eb96..91167ff8c 100644
--- a/shared/models/plugins/client-hook.model.ts
+++ b/shared/models/plugins/client-hook.model.ts
@@ -38,7 +38,10 @@ export const clientFilterHookObject = {
38 'filter:api.search.videos.list.result': true, 38 'filter:api.search.videos.list.result': true,
39 // Filter params/result of the function that fetch video-channels according to the user search 39 // Filter params/result of the function that fetch video-channels according to the user search
40 'filter:api.search.video-channels.list.params': true, 40 'filter:api.search.video-channels.list.params': true,
41 'filter:api.search.video-channels.list.result': true 41 'filter:api.search.video-channels.list.result': true,
42
43 // Filter form
44 'filter:api.signup.registration.create.params': true
42} 45}
43 46
44export type ClientFilterHookName = keyof typeof clientFilterHookObject 47export type ClientFilterHookName = keyof typeof clientFilterHookObject
@@ -58,7 +61,10 @@ export const clientActionHookObject = {
58 'action:search.init': true, 61 'action:search.init': true,
59 62
60 // Fired every time Angular URL changes 63 // Fired every time Angular URL changes
61 'action:router.navigation-end': true 64 'action:router.navigation-end': true,
65
66 // Fired when the registration page is being initialized
67 'action:signup.register.init': true
62} 68}
63 69
64export type ClientActionHookName = keyof typeof clientActionHookObject 70export type ClientActionHookName = keyof typeof clientActionHookObject