cross-stitch - v2.0.0
    Preparing search index...

    Type Alias Stitch

    Stitch: ZodDiscriminatedUnion<
        [
            ZodObject<
                {
                    colorId: $ZodBranded<ZodNumber, "ColorId", "out">;
                    kind: ZodLiteral<"full">;
                    x: $ZodBranded<ZodNumber, "CellCoordinate", "out">;
                    y: $ZodBranded<ZodNumber, "CellCoordinate", "out">;
                },
                $strip,
            >,
            ZodObject<
                {
                    angle: ZodEnum<{ "bl-tr": "bl-tr"; "tl-br": "tl-br" }>;
                    colorId: $ZodBranded<ZodNumber, "ColorId", "out">;
                    kind: ZodLiteral<"half">;
                    x: $ZodBranded<ZodNumber, "CellCoordinate", "out">;
                    y: $ZodBranded<ZodNumber, "CellCoordinate", "out">;
                },
                $strip,
            >,
            ZodObject<
                {
                    colorId: $ZodBranded<ZodNumber, "ColorId", "out">;
                    kind: ZodLiteral<"quarter">;
                    placement: ZodEnum<
                        {
                            "bottom-left": "bottom-left";
                            "bottom-right": "bottom-right";
                            "top-left": "top-left";
                            "top-right": "top-right";
                        },
                    >;
                    x: $ZodBranded<ZodNumber, "CellCoordinate", "out">;
                    y: $ZodBranded<ZodNumber, "CellCoordinate", "out">;
                },
                $strip,
            >,
        ],
        "kind",
    >

    Any stitch in a pattern, discriminated by its kind.