Add auto ban feature

This commit is contained in:
Tarrgon
2025-05-29 14:59:06 -04:00
parent 01b8d7b933
commit e99f42b0b0
4 changed files with 63 additions and 9 deletions
+14 -1
View File
@@ -119,10 +119,23 @@ export type Ticket = {
target?: string
status: 'pending' | 'partial' | 'approved'
category: 'blip' | 'comment' | 'dmail' | 'forum' | 'pool' | 'post' | 'set' | 'user' | 'wiki'
reason: 'string'
reason: string
};
export type TicketUpdate = {
action: 'claim' | 'create' | 'unclaim' | 'update'
ticket: Ticket
};
export type Ban = {
id: number
user_id: number
banner_id: number
expires_at: string
reason: string
};
export type BanUpdate = {
action: 'create' | 'update' | 'delete'
ban: Ban
};