aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-03-16 14:24:50 +0100
committerChocobozzz <me@florianbigard.com>2023-03-16 14:24:50 +0100
commit47d883de2efbc2e8b5f6f94ae18c15224cbe982b (patch)
tree7e89efd42cd7f70656ef9443d0f1e0ae1fc1a659 /shared
parent016b887802aebdb1bada121aa2102f0e0f6e0997 (diff)
parentc3441b0320f632e22318261bcd614d10187de22d (diff)
downloadPeerTube-47d883de2efbc2e8b5f6f94ae18c15224cbe982b.tar.gz
PeerTube-47d883de2efbc2e8b5f6f94ae18c15224cbe982b.tar.zst
PeerTube-47d883de2efbc2e8b5f6f94ae18c15224cbe982b.zip
Merge branch 'release/5.1.0' into develop
Diffstat (limited to 'shared')
-rw-r--r--shared/models/plugins/server/server-hook.model.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts
index ca83672d0..d2ebe936e 100644
--- a/shared/models/plugins/server/server-hook.model.ts
+++ b/shared/models/plugins/server/server-hook.model.ts
@@ -1,4 +1,4 @@
1// {hookType}:{api?}.{location}.{subLocation?}.{actionType}.{target} 1// {hookType}:{root}.{location}.{subLocation?}.{actionType}.{target}
2 2
3export const serverFilterHookObject = { 3export const serverFilterHookObject = {
4 // Filter params/result used to list videos for the REST API 4 // Filter params/result used to list videos for the REST API
@@ -184,7 +184,11 @@ export const serverActionHookObject = {
184 'action:api.user.oauth2-got-token': true, 184 'action:api.user.oauth2-got-token': true,
185 185
186 // Fired when a video is added to a playlist 186 // Fired when a video is added to a playlist
187 'action:api.video-playlist-element.created': true 187 'action:api.video-playlist-element.created': true,
188
189 // Fired when a remote video has been created/updated
190 'action:activity-pub.remote-video.created': true,
191 'action:activity-pub.remote-video.updated': true
188} 192}
189 193
190export type ServerActionHookName = keyof typeof serverActionHookObject 194export type ServerActionHookName = keyof typeof serverActionHookObject