aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/server/server-hook.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/plugins/server/server-hook.model.ts')
-rw-r--r--shared/models/plugins/server/server-hook.model.ts15
1 files changed, 14 insertions, 1 deletions
diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts
index 4c9d86079..0ec62222d 100644
--- a/shared/models/plugins/server/server-hook.model.ts
+++ b/shared/models/plugins/server/server-hook.model.ts
@@ -122,7 +122,17 @@ export const serverFilterHookObject = {
122 122
123 // Filter the result of video JSON LD builder 123 // Filter the result of video JSON LD builder
124 // You may also need to use filter:activity-pub.activity.context.build.result to also update JSON LD context 124 // You may also need to use filter:activity-pub.activity.context.build.result to also update JSON LD context
125 'filter:activity-pub.video.json-ld.build.result': true 125 'filter:activity-pub.video.json-ld.build.result': true,
126
127 // Filter result to allow custom XMLNS definitions in podcast RSS feeds
128 // Peertube >= 5.2
129 'filter:feed.podcast.rss.create-custom-xmlns.result': true,
130
131 // Filter result to allow custom tags in podcast RSS feeds
132 // Peertube >= 5.2
133 'filter:feed.podcast.channel.create-custom-tags.result': true,
134 // Peertube >= 5.2
135 'filter:feed.podcast.video.create-custom-tags.result': true
126} 136}
127 137
128export type ServerFilterHookName = keyof typeof serverFilterHookObject 138export type ServerFilterHookName = keyof typeof serverFilterHookObject
@@ -154,6 +164,9 @@ export const serverActionHookObject = {
154 164
155 // Fired when a live video is created 165 // Fired when a live video is created
156 'action:api.live-video.created': true, 166 'action:api.live-video.created': true,
167 // Fired when a live video starts or ends
168 // Peertube >= 5.2
169 'action:live.video.state.updated': true,
157 170
158 // Fired when a thread is created 171 // Fired when a thread is created
159 'action:api.video-thread.created': true, 172 'action:api.video-thread.created': true,