From 22df69fdecf299c8be6acaa25f086249ea9a0085 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 2 Aug 2022 15:29:00 +0200 Subject: Add job queue hooks --- shared/models/plugins/server/server-hook.model.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'shared/models') diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts index e64c3bbbc..a8e31f576 100644 --- a/shared/models/plugins/server/server-hook.model.ts +++ b/shared/models/plugins/server/server-hook.model.ts @@ -90,7 +90,10 @@ export const serverFilterHookObject = { // Filter result to check if the embed is allowed for a particular request 'filter:html.embed.video.allowed.result': true, - 'filter:html.embed.video-playlist.allowed.result': true + 'filter:html.embed.video-playlist.allowed.result': true, + + 'filter:job-queue.process.params': true, + 'filter:job-queue.process.result': true } export type ServerFilterHookName = keyof typeof serverFilterHookObject -- cgit v1.2.3