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

Add auth user client hook actions

This commit is contained in:
Chocobozzz 2021-03-24 11:34:31 +01:00
parent 2e257e36b7
commit faeec106ef
No known key found for this signature in database
GPG key ID: 583A612D890159BE
4 changed files with 32 additions and 1 deletions

View file

@ -94,6 +94,12 @@ export const clientActionHookObject = {
// Fired when the "Go Live" page is being initalized
'action:go-live.init': true,
// Fired when the user explicitely logged in/logged out
'action:auth-user.logged-in': true,
'action:auth-user.logged-out': true,
// Fired when the application loaded user information (using tokens from the local storage or after a successful login)
'action:auth-user.information-loaded': true,
// Fired when the modal to download a video/caption is shown
'action:modal.video-download.shown': true,