diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-02 15:29:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-02 15:50:05 +0200 |
commit | 22df69fdecf299c8be6acaa25f086249ea9a0085 (patch) | |
tree | e8c7e21c18fb42bb74b54f2eab1509c3d93a380d /shared/models | |
parent | 7a9e420a02434e4f16c99e7d58da9075dff25d15 (diff) | |
download | PeerTube-22df69fdecf299c8be6acaa25f086249ea9a0085.tar.gz PeerTube-22df69fdecf299c8be6acaa25f086249ea9a0085.tar.zst PeerTube-22df69fdecf299c8be6acaa25f086249ea9a0085.zip |
Add job queue hooks
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/plugins/server/server-hook.model.ts | 5 |
1 files changed, 4 insertions, 1 deletions
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 = { | |||
90 | 90 | ||
91 | // Filter result to check if the embed is allowed for a particular request | 91 | // Filter result to check if the embed is allowed for a particular request |
92 | 'filter:html.embed.video.allowed.result': true, | 92 | 'filter:html.embed.video.allowed.result': true, |
93 | 'filter:html.embed.video-playlist.allowed.result': true | 93 | 'filter:html.embed.video-playlist.allowed.result': true, |
94 | |||
95 | 'filter:job-queue.process.params': true, | ||
96 | 'filter:job-queue.process.result': true | ||
94 | } | 97 | } |
95 | 98 | ||
96 | export type ServerFilterHookName = keyof typeof serverFilterHookObject | 99 | export type ServerFilterHookName = keyof typeof serverFilterHookObject |