mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
🔥 删除旧 API 的 user_records 模型
This commit is contained in:
@@ -3,7 +3,6 @@ from typing import Literal
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
from ......games.tetrio.api.schemas.user_records import Zen
|
||||
from ......games.tetrio.api.typing import Rank, ValidRank
|
||||
from .....typing import Number
|
||||
from ...base import Avatar
|
||||
@@ -91,6 +90,11 @@ class Blitz(BaseModel):
|
||||
play_at: datetime
|
||||
|
||||
|
||||
class Zen(BaseModel):
|
||||
level: int
|
||||
score: int
|
||||
|
||||
|
||||
class Info(BaseModel):
|
||||
user: User
|
||||
tetra_league: TetraLeague | None
|
||||
|
||||
Reference in New Issue
Block a user