diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-24 10:58:36 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-24 18:18:41 +0100 |
commit | 2e257e36b78b6f6b842f5ed8b4c79514e6e3a208 (patch) | |
tree | 17330548383cc1dad7197ca07e61ffe5223f7759 /shared/models | |
parent | 74a4d53110ebc073dafeb74a7ac815fe00f4706b (diff) | |
download | PeerTube-2e257e36b78b6f6b842f5ed8b4c79514e6e3a208.tar.gz PeerTube-2e257e36b78b6f6b842f5ed8b4c79514e6e3a208.tar.zst PeerTube-2e257e36b78b6f6b842f5ed8b4c79514e6e3a208.zip |
Add client action hooks for pubish pages
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/plugins/client-hook.model.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/shared/models/plugins/client-hook.model.ts b/shared/models/plugins/client-hook.model.ts index 19622e09e..6c92ef3c6 100644 --- a/shared/models/plugins/client-hook.model.ts +++ b/shared/models/plugins/client-hook.model.ts | |||
@@ -85,6 +85,15 @@ export const clientActionHookObject = { | |||
85 | // Fired when the registration page is being initialized | 85 | // Fired when the registration page is being initialized |
86 | 'action:signup.register.init': true, | 86 | 'action:signup.register.init': true, |
87 | 87 | ||
88 | // Fired when the video upload page is being initalized | ||
89 | 'action:video-upload.init': true, | ||
90 | // Fired when the video import by URL page is being initalized | ||
91 | 'action:video-url-import.init': true, | ||
92 | // Fired when the video import by torrent/magnet URI page is being initalized | ||
93 | 'action:video-torrent-import.init': true, | ||
94 | // Fired when the "Go Live" page is being initalized | ||
95 | 'action:go-live.init': true, | ||
96 | |||
88 | // Fired when the modal to download a video/caption is shown | 97 | // Fired when the modal to download a video/caption is shown |
89 | 'action:modal.video-download.shown': true, | 98 | 'action:modal.video-download.shown': true, |
90 | 99 | ||