aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/client/client-hook.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-03 10:39:40 +0200
committerChocobozzz <me@florianbigard.com>2022-08-03 10:39:40 +0200
commit9ca0f688e9e8558233f1a538b96a43da44e35353 (patch)
tree16370ffe97df1bfeef874ce71fa6bedff0b7496b /shared/models/plugins/client/client-hook.model.ts
parent0b6f531653a7a24f82ad65564479a70a9326301a (diff)
downloadPeerTube-9ca0f688e9e8558233f1a538b96a43da44e35353.tar.gz
PeerTube-9ca0f688e9e8558233f1a538b96a43da44e35353.tar.zst
PeerTube-9ca0f688e9e8558233f1a538b96a43da44e35353.zip
Add channel hooks
Diffstat (limited to 'shared/models/plugins/client/client-hook.model.ts')
-rw-r--r--shared/models/plugins/client/client-hook.model.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/shared/models/plugins/client/client-hook.model.ts b/shared/models/plugins/client/client-hook.model.ts
index 466be8946..dda03124d 100644
--- a/shared/models/plugins/client/client-hook.model.ts
+++ b/shared/models/plugins/client/client-hook.model.ts
@@ -93,6 +93,23 @@ export const clientActionHookObject = {
93 // Fired when a user click on 'View x replies' and they're loaded 93 // Fired when a user click on 'View x replies' and they're loaded
94 'action:video-watch.video-thread-replies.loaded': true, 94 'action:video-watch.video-thread-replies.loaded': true,
95 95
96 // Fired when the video channel creation page is being initialized
97 'action:video-channel-create.init': true,
98
99 // Fired when the video channel update page is being initialized
100 'action:video-channel-update.init': true,
101 'action:video-channel-update.video-channel.loaded': true,
102
103 // Fired when the page that list video channel videos is being initialized
104 'action:video-channel-videos.init': true,
105 'action:video-channel-videos.video-channel.loaded': true,
106 'action:video-channel-videos.videos.loaded': true,
107
108 // Fired when the page that list video channel playlists is being initialized
109 'action:video-channel-playlists.init': true,
110 'action:video-channel-playlists.video-channel.loaded': true,
111 'action:video-channel-playlists.playlists.loaded': true,
112
96 // Fired when the video edit page (upload, URL/torrent import, update) is being initialized 113 // Fired when the video edit page (upload, URL/torrent import, update) is being initialized
97 'action:video-edit.init': true, 114 'action:video-edit.init': true,
98 115