aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-03 11:33:43 +0200
committerChocobozzz <me@florianbigard.com>2022-08-03 11:33:43 +0200
commit785f1897a42984ece9c6f65829d195d67e331d95 (patch)
tree1cb3b33cfc797b8f1abbab90749c1e3187bbd311 /shared
parent0260dc8aca952f9412a8620e433b9e16e675696e (diff)
downloadPeerTube-785f1897a42984ece9c6f65829d195d67e331d95.tar.gz
PeerTube-785f1897a42984ece9c6f65829d195d67e331d95.tar.zst
PeerTube-785f1897a42984ece9c6f65829d195d67e331d95.zip
Add notification plugin hook
Diffstat (limited to 'shared')
-rw-r--r--shared/models/plugins/server/server-hook.model.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts
index 5f3a5be10..c8e879323 100644
--- a/shared/models/plugins/server/server-hook.model.ts
+++ b/shared/models/plugins/server/server-hook.model.ts
@@ -112,6 +112,9 @@ export const serverActionHookObject = {
112 // Fired when the application has been loaded and is listening HTTP requests 112 // Fired when the application has been loaded and is listening HTTP requests
113 'action:application.listening': true, 113 'action:application.listening': true,
114 114
115 // Fired when a new notification is created
116 'action:notifier.notification.created': true,
117
115 // API actions hooks give access to the original express `req` and `res` parameters 118 // API actions hooks give access to the original express `req` and `res` parameters
116 119
117 // Fired when a local video is updated 120 // Fired when a local video is updated