Add historyType and historyId to Appeal, update database schema, API, and email templates to include punishment details.

This commit is contained in:
2025-08-16 23:40:20 +02:00
parent c3f3b20807
commit de1876c90c
8 changed files with 51 additions and 21 deletions
@@ -92,6 +92,7 @@ components:
- username
- email
- punishmentId
- punishmentType
- appeal
properties:
username:
@@ -107,6 +108,10 @@ components:
punishmentId:
type: integer
description: Unique identifier of the punishment being appealed
punishmentType:
type: string
enum: [ ban, mute, kick, warn ]
description: Unique identifier of the punishment being appealed
appeal:
type: string
description: Appeal text explaining why the punishment should be reconsidered