really solid

This commit is contained in:
2025-09-06 23:22:58 -04:00
parent b854fec9e5
commit 46002403c8
6 changed files with 114 additions and 89 deletions

View File

@@ -16,7 +16,7 @@ import { log } from "./logging";
export const WsOut = t.Union([
t.Object({ playersPresent: t.Array(t.String()) }),
t.Object({ playerNames: t.Record(t.String(), t.String()) }),
t.Object({ playersReady: t.Nullable(t.Record(t.String(), t.Boolean())) }),
t.Object({ playersReady: t.Record(t.String(), t.Boolean()) }),
t.Object({
gameConfig: t.Object({ game: t.String(), players: t.Array(t.String()) }),
}),