Atrium — shared contracts and the typesetting engine
    Preparing search index...

    Variable updateProfileSchemaConst

    updateProfileSchema: ZodEffects<
        ZodObject<
            {
                color: ZodOptional<ZodEnum<["cream", "rose", "sky", "mint"]>>;
                name: ZodOptional<ZodString>;
            },
            "strip",
            ZodTypeAny,
            { color?: "cream"
            | "rose"
            | "sky"
            | "mint"; name?: string },
            { color?: "cream" | "rose" | "sky" | "mint"; name?: string },
        >,
        { color?: "cream" | "rose" | "sky" | "mint"; name?: string },
        { color?: "cream" | "rose" | "sky" | "mint"; name?: string },
    > = ...

    PATCH /profiles/:id body — rename and/or recolour.