Add genlocke admin panel with CRUD endpoints and UI

Backend: PATCH/DELETE genlocke, POST/DELETE legs with order
re-numbering. Frontend: admin list page with status filter,
detail page with inline editing, legs table, and stats display.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Julian Tabel
2026-02-09 10:51:47 +01:00
parent 08f6857451
commit a81a17c485
11 changed files with 685 additions and 12 deletions

View File

@@ -11,6 +11,15 @@ class GenlockeCreate(CamelModel):
nuzlocke_rules: dict = {}
class GenlockeUpdate(CamelModel):
name: str | None = None
status: str | None = None
class AddLegRequest(CamelModel):
game_id: int
class GenlockeLegResponse(CamelModel):
id: int
genlocke_id: int