better plumbing for games frontend
This commit is contained in:
@@ -17,7 +17,9 @@ export const WsOut = t.Object({
|
||||
playersPresent: t.Optional(t.Array(t.String())),
|
||||
playerNames: t.Optional(t.Record(t.String(), t.String())),
|
||||
playersReady: t.Optional(t.Nullable(t.Record(t.String(), t.Boolean()))),
|
||||
gameConfig: t.Optional(t.Any()),
|
||||
gameConfig: t.Optional(
|
||||
t.Object({ game: t.String(), players: t.Array(t.String()) })
|
||||
),
|
||||
view: t.Optional(t.Any()),
|
||||
results: t.Optional(t.Any()),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user