zDeco: ZodUnion<
readonly [
ZodObject<
{
direction: ZodEnum<
{ down: "down"; left: "left"; right: "right"; up: "up" },
>;
id: ZodUUID;
position: ZodNumber;
shapes: ZodDefault<
ZodArray<
ZodDiscriminatedUnion<
[
ZodObject<
{
attrs: ZodOptional<(...)>;
data: ZodObject<(...), (...)>;
type: ZodLiteral<(...)>;
},
$strip,
>,
ZodObject<
{
attrs: ZodOptional<(...)>;
data: ZodObject<(...), (...)>;
type: ZodLiteral<(...)>;
},
$strip,
>,
],
"type",
>,
>,
>;
type: ZodLiteral<"split">;
},
$strip,
>,
ZodObject<
{
force: ZodOptional<ZodBoolean>;
id: ZodUUID;
shapes: ZodDefault<
ZodArray<
ZodDiscriminatedUnion<
[
ZodObject<
{
attrs: ZodOptional<(...)>;
data: ZodObject<(...), (...)>;
type: ZodLiteral<(...)>;
},
$strip,
>,
ZodObject<
{
attrs: ZodOptional<(...)>;
data: ZodObject<(...), (...)>;
type: ZodLiteral<(...)>;
},
$strip,
>,
],
"type",
>,
>,
>;
type: ZodLiteral<"close">;
},
$strip,
>,
ZodObject<
{
id: ZodUUID;
position: ZodUnion<
[
ZodEnum<
{ bottom: "bottom"; left: "left"; right: "right"; top: "top" },
>,
ZodEnum<{ center: "center" }>,
],
>;
shapes: ZodDefault<
ZodArray<
ZodDiscriminatedUnion<
[
ZodObject<
{
attrs: ZodOptional<(...)>;
data: ZodObject<(...), (...)>;
type: ZodLiteral<(...)>;
},
$strip,
>,
ZodObject<
{
attrs: ZodOptional<(...)>;
data: ZodObject<(...), (...)>;
type: ZodLiteral<(...)>;
},
$strip,
>,
],
"type",
>,
>,
>;
type: ZodLiteral<"drop">;
},
$strip,
>,
],
> = ...