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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user