diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-10 13:49:19 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-10 13:51:44 +0100 |
commit | d17d743051c5716e1e08cd8870d718cfd6a57f0c (patch) | |
tree | 2f8c8d1a08467f35c5ede18001fc18cb2bafafef /shared/models/plugins | |
parent | 8cf43a6524d354fbfa0f0eaf789e8d4756bd25d6 (diff) | |
download | PeerTube-d17d743051c5716e1e08cd8870d718cfd6a57f0c.tar.gz PeerTube-d17d743051c5716e1e08cd8870d718cfd6a57f0c.tar.zst PeerTube-d17d743051c5716e1e08cd8870d718cfd6a57f0c.zip |
Add upload/import/go live video attributes hooks
Diffstat (limited to 'shared/models/plugins')
-rw-r--r-- | shared/models/plugins/server/server-hook.model.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts index 7e344e003..056c41a7f 100644 --- a/shared/models/plugins/server/server-hook.model.ts +++ b/shared/models/plugins/server/server-hook.model.ts | |||
@@ -53,6 +53,12 @@ export const serverFilterHookObject = { | |||
53 | 'filter:api.video-thread.create.accept.result': true, | 53 | 'filter:api.video-thread.create.accept.result': true, |
54 | 'filter:api.video-comment-reply.create.accept.result': true, | 54 | 'filter:api.video-comment-reply.create.accept.result': true, |
55 | 55 | ||
56 | // Filter attributes when creating video object | ||
57 | 'filter:api.video.upload.video-attribute.result': true, | ||
58 | 'filter:api.video.import-url.video-attribute.result': true, | ||
59 | 'filter:api.video.import-torrent.video-attribute.result': true, | ||
60 | 'filter:api.video.live.video-attribute.result': true, | ||
61 | |||
56 | // Filter params/result used to list threads of a specific video | 62 | // Filter params/result used to list threads of a specific video |
57 | // (used by the video watch page) | 63 | // (used by the video watch page) |
58 | 'filter:api.video-threads.list.params': true, | 64 | 'filter:api.video-threads.list.params': true, |