1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Add setting helper to client plugins

This commit is contained in:
Chocobozzz 2019-07-25 19:02:54 +02:00
parent a1758df8a3
commit 23bdacf8ec
No known key found for this signature in database
GPG key ID: 583A612D890159BE
8 changed files with 74 additions and 35 deletions

View file

@ -49,7 +49,10 @@ export const clientActionHookObject = {
'action:video-watch.video.loaded': true,
// Fired when the search page is being initialized
'action:search.init': true
'action:search.init': true,
// Fired every time Angular URL changes
'action:router.navigation-end': true
}
export type ClientActionHookName = keyof typeof clientActionHookObject