]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/plugins/server/server-hook.model.ts
Add notification plugin hook
[github/Chocobozzz/PeerTube.git] / shared / models / plugins / server / server-hook.model.ts
index 5f3a5be10dd29614b5ac0317005a60824fbfd594..c8e879323e2a41c937196f94cd1dd50df507ffb9 100644 (file)
@@ -112,6 +112,9 @@ export const serverActionHookObject = {
   // Fired when the application has been loaded and is listening HTTP requests
   'action:application.listening': true,
 
+  // Fired when a new notification is created
+  'action:notifier.notification.created': true,
+
   // API actions hooks give access to the original express `req` and `res` parameters
 
   // Fired when a local video is updated