import { z } from "zod" export const focalPointSchema = z .object({ x: z.number().nullish(), y: z.number().nullish(), }) .transform(({ x, y }) => ({ x: x ?? 50, y: y ?? 50, }))