diff options
Diffstat (limited to 'shared/models/plugins/server-hook.model.ts')
-rw-r--r-- | shared/models/plugins/server-hook.model.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shared/models/plugins/server-hook.model.ts b/shared/models/plugins/server-hook.model.ts index 082b4b591..1f7806d0d 100644 --- a/shared/models/plugins/server-hook.model.ts +++ b/shared/models/plugins/server-hook.model.ts | |||
@@ -50,7 +50,11 @@ export const serverFilterHookObject = { | |||
50 | 'filter:video.auto-blacklist.result': true, | 50 | 'filter:video.auto-blacklist.result': true, |
51 | 51 | ||
52 | // Filter result used to check if a user can register on the instance | 52 | // Filter result used to check if a user can register on the instance |
53 | 'filter:api.user.signup.allowed.result': true | 53 | 'filter:api.user.signup.allowed.result': true, |
54 | |||
55 | // Filter result used to check if video/torrent download is allowed | ||
56 | 'filter:api.download.video.allowed.result': true, | ||
57 | 'filter:api.download.torrent.allowed.result': true | ||
54 | } | 58 | } |
55 | 59 | ||
56 | export type ServerFilterHookName = keyof typeof serverFilterHookObject | 60 | export type ServerFilterHookName = keyof typeof serverFilterHookObject |