feat(multiplayer,playlist): complete the filter for /rooms

This commit is contained in:
MingxuanGame
2025-08-09 06:28:37 +00:00
parent 99f2b3db2a
commit e236c06f0f
4 changed files with 50 additions and 19 deletions

View File

@@ -76,7 +76,7 @@ class Room(AsyncAttrs, RoomBase, table=True):
class RoomResp(RoomBase):
id: int
password: str | None = None
has_password: bool = False
host: UserResp | None = None
playlist: list[PlaylistResp] = []
playlist_item_stats: RoomPlaylistItemStats | None = None