diff options
Diffstat (limited to 'shared/models/plugins')
-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 dae243dbf..5f29534b5 100644 --- a/shared/models/plugins/server/server-hook.model.ts +++ b/shared/models/plugins/server/server-hook.model.ts | |||
@@ -114,7 +114,10 @@ export const serverActionHookObject = { | |||
114 | 'action:api.user.updated': true, | 114 | 'action:api.user.updated': true, |
115 | 115 | ||
116 | // Fired when a user got a new oauth2 token | 116 | // Fired when a user got a new oauth2 token |
117 | 'action:api.user.oauth2-got-token': true | 117 | 'action:api.user.oauth2-got-token': true, |
118 | |||
119 | // Fired when a video is added to a playlist | ||
120 | 'action:api.video-playlist-element.created': true | ||
118 | } | 121 | } |
119 | 122 | ||
120 | export type ServerActionHookName = keyof typeof serverActionHookObject | 123 | export type ServerActionHookName = keyof typeof serverActionHookObject |