+ // Filter result used to check if a user can register on the instance
+ 'filter:api.user.signup.allowed.result': true
+}
+
+export type ServerFilterHookName = keyof typeof serverFilterHookObject
+
+export const serverActionHookObject = {
+ // Fired when the application has been loaded and is listening HTTP requests
+ 'action:application.listening': true,
+
+ // Fired when a local video is updated
+ 'action:api.video.updated': true,
+ // Fired when a local video is deleted
+ 'action:api.video.deleted': true,
+ // Fired when a local video is uploaded
+ 'action:api.video.uploaded': true,
+ // Fired when a local video is viewed
+ 'action:api.video.viewed': true,
+
+ // Fired when a thread is created
+ 'action:api.video-thread.created': true,
+ // Fired when a reply to a thread is created
+ 'action:api.video-comment-reply.created': true,
+ // Fired when a comment (thread or reply) is deleted
+ 'action:api.video-comment.deleted': true,
+
+ // Fired when a user is blocked (banned)
+ 'action:api.user.blocked': true,
+ // Fired when a user is unblocked (unbanned)
+ 'action:api.user.unblocked': true,
+ // Fired when a user registered on the instance
+ 'action:api.user.registered': true,
+ // Fired when an admin/moderator created a user
+ 'action:api.user.created': true,
+ // Fired when a user is removed by an admin/moderator
+ 'action:api.user.deleted': true,
+ // Fired when a user is updated by an admin/moderator
+ 'action:api.user.updated': true,
+
+ // Fired when a user got a new oauth2 token
+ 'action:api.user.oauth2-got-token': true
+}