]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/plugins/server/server-hook.model.ts
Add video caption created and deleted hooks
[github/Chocobozzz/PeerTube.git] / shared / models / plugins / server / server-hook.model.ts
index 056c41a7f7e0e5b236f077c8f71a641ed3bbedec..bd2b27da5aabd61685a18e84528d40ee1da57f49 100644 (file)
@@ -115,6 +115,11 @@ export const serverActionHookObject = {
   // Fired when a comment (thread or reply) is deleted
   'action:api.video-comment.deleted': true,
 
+  // Fired when a caption is created
+  'action:api.video-caption.created': true,
+  // Fired when a caption is deleted
+  'action:api.video-caption.deleted': true,
+
   // Fired when a user is blocked (banned)
   'action:api.user.blocked': true,
   // Fired when a user is unblocked (unbanned)