feat(relationship): implement relationship(friends, blocks) api (close #6)

This commit is contained in:
MingxuanGame
2025-07-26 15:31:09 +00:00
parent ab73a85504
commit ef977d1c2d
6 changed files with 206 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ class Score(ScoreBase, table=True):
nkatu: int = Field(exclude=True)
nlarge_tick_miss: int | None = Field(default=None, exclude=True)
nslider_tail_hit: int | None = Field(default=None, exclude=True)
gamemode: GameMode = Field(index=True, alias="ruleset_id")
gamemode: GameMode = Field(index=True)
# optional
beatmap: "Beatmap" = Relationship()