X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fplugins%2Fserver%2Fserver-hook.model.ts;h=f11d2050b0699abfa69ccac4cfa64899a495f88d;hb=cea2fd90ddb3bf57c2fed77128938d12d4c2be6b;hp=5f3a5be10dd29614b5ac0317005a60824fbfd594;hpb=0260dc8aca952f9412a8620e433b9e16e675696e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts index 5f3a5be10..f11d2050b 100644 --- a/shared/models/plugins/server/server-hook.model.ts +++ b/shared/models/plugins/server/server-hook.model.ts @@ -102,8 +102,10 @@ export const serverFilterHookObject = { 'filter:job-queue.process.params': true, 'filter:job-queue.process.result': true, - 'filter:transcoding.manual.lower-resolutions-to-transcode.result': true, - 'filter:transcoding.auto.lower-resolutions-to-transcode.result': true + 'filter:transcoding.manual.resolutions-to-transcode.result': true, + 'filter:transcoding.auto.resolutions-to-transcode.result': true, + + 'filter:activity-pub.remote-video-comment.create.accept.result': true } export type ServerFilterHookName = keyof typeof serverFilterHookObject @@ -112,6 +114,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