[rooms,match] add a couple missing endpoints

This commit is contained in:
Devin Zuczek
2026-08-25 14:02:39 -04:00
parent 599730379c
commit 5cb2cbf967
8 changed files with 336 additions and 4 deletions
+13
View File
@@ -413,3 +413,16 @@ export const InviteResponse = z.object({
export const InstanceIdResponse = z
.int()
.describe('The players room instance id, or 0 when they are not in one')
/**
* `GET /clubhousesearch/mostactivenow` — one row per clubhouse someone is standing in
* right now, busiest first.
*
* A bare array, and only the clubs with players in them: an empty clubhouse is absent
* rather than listed with a `PlayerCount` of 0, so a quiet server answers `[]`.
*/
export const ActiveClubhouseDto = z.object({
RoomId: z.int().describe('The clubs clubhouse room'),
ClubId: z.int().describe('The club that clubhouse belongs to'),
PlayerCount: z.int().describe('How many players are in the room this second'),
})