aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-25 19:02:54 +0200
committerChocobozzz <me@florianbigard.com>2019-07-26 15:18:28 +0200
commit23bdacf8ec24ce47a15529830e116911d7478598 (patch)
tree934e6acd8e2715d528a102e55d5ea95d52c1659e /shared/models
parenta1758df8a3c3f866460edd8f9bbc94e8dd41fd80 (diff)
downloadPeerTube-23bdacf8ec24ce47a15529830e116911d7478598.tar.gz
PeerTube-23bdacf8ec24ce47a15529830e116911d7478598.tar.zst
PeerTube-23bdacf8ec24ce47a15529830e116911d7478598.zip
Add setting helper to client plugins
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/plugins/client-hook.model.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/models/plugins/client-hook.model.ts b/shared/models/plugins/client-hook.model.ts
index 87e8092c0..cfa2653c6 100644
--- a/shared/models/plugins/client-hook.model.ts
+++ b/shared/models/plugins/client-hook.model.ts
@@ -49,7 +49,10 @@ export const clientActionHookObject = {
49 'action:video-watch.video.loaded': true, 49 'action:video-watch.video.loaded': true,
50 50
51 // Fired when the search page is being initialized 51 // Fired when the search page is being initialized
52 'action:search.init': true 52 'action:search.init': true,
53
54 // Fired every time Angular URL changes
55 'action:router.navigation-end': true
53} 56}
54 57
55export type ClientActionHookName = keyof typeof clientActionHookObject 58export type ClientActionHookName = keyof typeof clientActionHookObject