Daedalus and Talos integration test
All checks were successful
CI / backend-tests (push) Successful in 26s
CI / frontend-tests (push) Successful in 29s

This commit is contained in:
Julian Tabel
2026-03-20 16:31:19 +01:00
parent 5106e57685
commit c9d42b091f
44 changed files with 8345 additions and 31 deletions

View File

@@ -25,6 +25,17 @@ from app.schemas.game import (
RouteUpdate,
)
from app.schemas.genlocke import GenlockeCreate, GenlockeLegResponse, GenlockeResponse
from app.schemas.journal_entry import (
JournalEntryCreate,
JournalEntryResponse,
JournalEntryUpdate,
)
from app.schemas.move import (
AbilityResponse,
MoveResponse,
PaginatedAbilityResponse,
PaginatedMoveResponse,
)
from app.schemas.pokemon import (
BulkImportItem,
BulkImportResult,
@@ -46,6 +57,7 @@ from app.schemas.run import (
)
__all__ = [
"AbilityResponse",
"BossBattleCreate",
"BossBattleResponse",
"BossBattleUpdate",
@@ -68,6 +80,12 @@ __all__ = [
"GameDetailResponse",
"GameResponse",
"GameUpdate",
"JournalEntryCreate",
"JournalEntryResponse",
"JournalEntryUpdate",
"MoveResponse",
"PaginatedAbilityResponse",
"PaginatedMoveResponse",
"PokemonCreate",
"PokemonResponse",
"PokemonUpdate",

View File

@@ -0,0 +1,26 @@
from datetime import datetime
from uuid import UUID
from app.schemas.base import CamelModel
class JournalEntryCreate(CamelModel):
boss_result_id: int | None = None
title: str
body: str
class JournalEntryUpdate(CamelModel):
boss_result_id: int | None = None
title: str | None = None
body: str | None = None
class JournalEntryResponse(CamelModel):
id: UUID
run_id: int
boss_result_id: int | None
title: str
body: str
created_at: datetime
updated_at: datetime

View File

@@ -0,0 +1,28 @@
from app.schemas.base import CamelModel
class MoveResponse(CamelModel):
id: int
name: str
introduced_gen: int
type: str | None
class PaginatedMoveResponse(CamelModel):
items: list[MoveResponse]
total: int
limit: int
offset: int
class AbilityResponse(CamelModel):
id: int
name: str
introduced_gen: int
class PaginatedAbilityResponse(CamelModel):
items: list[AbilityResponse]
total: int
limit: int
offset: int