import type { z } from 'zod'; /** * Maps every key of T to a ZodType, suitable for use as a `z.object>()` generic. * Ensures the schema covers all fields of T without importing from generated code. */ export type ZodShape = { [K in keyof T]?: z.ZodType; };