Variable RoomStateMessageConst
RoomStateMessage: ZodObject<
{
players: ZodRecord<
ZodString,
ZodObject<
{
answerData: ZodOptional<
ZodObject<
{
answer: ZodOptional<ZodString>;
answerIndex: ZodOptional<ZodInt>;
answerSpeed: ZodNumber;
answerTimestamp: ZodNumber;
questionPoints: ZodNumber;
},
$strip,
>,
>;
color: ZodString;
isHost: ZodBoolean;
isSpectator: ZodBoolean;
points: ZodNumber;
username: ZodCustomStringFormat<"user">;
},
$strip,
>,
>;
state: ZodLiteral<"lobby" | "results" | "ingame">;
type: ZodDefault<ZodLiteral<"room_state">>;
uuid: ZodString;
version: ZodString;
},
$strip,
> = ...
Schema for messages containing the current room state update.