aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/plugins')
-rw-r--r--shared/models/plugins/server/server-hook.model.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts
index 08da95177..5f3a5be10 100644
--- a/shared/models/plugins/server/server-hook.model.ts
+++ b/shared/models/plugins/server/server-hook.model.ts
@@ -45,6 +45,13 @@ export const serverFilterHookObject = {
45 // Used to get detailed video information (video watch page for example) 45 // Used to get detailed video information (video watch page for example)
46 'filter:api.video.get.result': true, 46 'filter:api.video.get.result': true,
47 47
48 // Filter params/results when listing video channels
49 'filter:api.video-channels.list.params': true,
50 'filter:api.video-channels.list.result': true,
51
52 // Filter the result when getting a video channel
53 'filter:api.video-channel.get.result': true,
54
48 // Filter the result of the accept upload/live, import via torrent/url functions 55 // Filter the result of the accept upload/live, import via torrent/url functions
49 // If this function returns false then the upload is aborted with an error 56 // If this function returns false then the upload is aborted with an error
50 'filter:api.video.upload.accept.result': true, 57 'filter:api.video.upload.accept.result': true,
@@ -116,6 +123,13 @@ export const serverActionHookObject = {
116 // Fired when a local video is viewed 123 // Fired when a local video is viewed
117 'action:api.video.viewed': true, 124 'action:api.video.viewed': true,
118 125
126 // Fired when a video channel is created
127 'action:api.video-channel.created': true,
128 // Fired when a video channel is updated
129 'action:api.video-channel.updated': true,
130 // Fired when a video channel is deleted
131 'action:api.video-channel.deleted': true,
132
119 // Fired when a live video is created 133 // Fired when a live video is created
120 'action:api.live-video.created': true, 134 'action:api.live-video.created': true,
121 135