내 지난 얘측 보기 기능 추가, 한국 멕시코 경기 응원가 1곡 추가
This commit is contained in:
1 parent
0e5a63a28b
commit
b4fc96f299
12 files changed
+257
-8
No files matched your search
@@ -90,6 +90,26 @@ class SubmitPredictionOut(BaseModel):
|
||||
crowd: CrowdStatsOut
|
||||
|
||||
|
||||
# ── 내 지난 예측 (이메일 기준, 로그인 없음) ──────────────────
|
||||
class MyResultOut(BaseModel):
|
||||
scoreA: int
|
||||
scoreB: int
|
||||
outcome: Outcome
|
||||
hitOutcome: bool # 내 outcome 이 실제 결과와 일치했는지
|
||||
|
||||
|
||||
class MyPredictionOut(BaseModel):
|
||||
matchId: str
|
||||
teamA: Team
|
||||
teamB: Team
|
||||
kickoffKst: str
|
||||
outcome: Outcome
|
||||
scoreA: int
|
||||
scoreB: int
|
||||
submittedAt: str # ISO — 최신순 정렬 기준(updated_at)
|
||||
result: MyResultOut | None = None # 경기 종료 시에만 채워짐
|
||||
|
||||
|
||||
# ── 리더보드 ────────────────────────────────────────────────
|
||||
class StandingOut(BaseModel):
|
||||
rank: int
|
||||
|
||||
Reference in new issue
Block a user