Variable gameEventSchemaConst
gameEventSchema: ZodDiscriminatedUnion<
[
ZodReadonly<
ZodObject<
{
identity: ZodOptional<
ZodReadonly<
ZodObject<
{
rank: ZodLiteral<(...) | (...) | (...) | (...) | (...) | (...)>;
suitIndex: ZodLiteral<
(...)
| (...)
| (...)
| (...)
| (...)
| (...),
>;
},
$strict,
>,
>,
>;
order: $ZodBranded<ZodNumber, "CardOrder", "out">;
playerIndex: ZodLiteral<0 | 1 | 2 | 3 | 4>;
type: ZodLiteral<"draw">;
},
$strict,
>,
>,
ZodReadonly<
ZodObject<
{
identity: ZodOptional<
ZodReadonly<
ZodObject<
{
rank: ZodLiteral<(...) | (...) | (...) | (...) | (...) | (...)>;
suitIndex: ZodLiteral<
(...)
| (...)
| (...)
| (...)
| (...)
| (...),
>;
},
$strict,
>,
>,
>;
order: $ZodBranded<ZodNumber, "CardOrder", "out">;
playerIndex: ZodLiteral<0 | 1 | 2 | 3 | 4>;
type: ZodLiteral<"play">;
},
$strict,
>,
>,
ZodReadonly<
ZodObject<
{
identity: ZodOptional<
ZodReadonly<
ZodObject<
{
rank: ZodLiteral<(...) | (...) | (...) | (...) | (...) | (...)>;
suitIndex: ZodLiteral<
(...)
| (...)
| (...)
| (...)
| (...)
| (...),
>;
},
$strict,
>,
>,
>;
order: $ZodBranded<ZodNumber, "CardOrder", "out">;
playerIndex: ZodLiteral<0 | 1 | 2 | 3 | 4>;
type: ZodLiteral<"discard">;
},
$strict,
>,
>,
],
"type",
> = ...
One game event as a particular recipient sees it.