aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/server/server-hook.model.ts
diff options
context:
space:
mode:
authorlutangar <johan.dufour@gmail.com>2021-12-17 16:41:01 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-12-23 09:35:35 +0100
commit5e3d29ab218f2e7fcfb59f64777d901625dc5a49 (patch)
tree40c98f82ffd0ab12f5e986049f6ea6938a3d347d /shared/models/plugins/server/server-hook.model.ts
parent293074ae7920040ede7e01d0aec4dabbeeb864ff (diff)
downloadPeerTube-5e3d29ab218f2e7fcfb59f64777d901625dc5a49.tar.gz
PeerTube-5e3d29ab218f2e7fcfb59f64777d901625dc5a49.tar.zst
PeerTube-5e3d29ab218f2e7fcfb59f64777d901625dc5a49.zip
Add video caption created and deleted hooks
Diffstat (limited to 'shared/models/plugins/server/server-hook.model.ts')
-rw-r--r--shared/models/plugins/server/server-hook.model.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts
index 056c41a7f..bd2b27da5 100644
--- a/shared/models/plugins/server/server-hook.model.ts
+++ b/shared/models/plugins/server/server-hook.model.ts
@@ -115,6 +115,11 @@ export const serverActionHookObject = {
115 // Fired when a comment (thread or reply) is deleted 115 // Fired when a comment (thread or reply) is deleted
116 'action:api.video-comment.deleted': true, 116 'action:api.video-comment.deleted': true,
117 117
118 // Fired when a caption is created
119 'action:api.video-caption.created': true,
120 // Fired when a caption is deleted
121 'action:api.video-caption.deleted': true,
122
118 // Fired when a user is blocked (banned) 123 // Fired when a user is blocked (banned)
119 'action:api.user.blocked': true, 124 'action:api.user.blocked': true,
120 // Fired when a user is unblocked (unbanned) 125 // Fired when a user is unblocked (unbanned)