Structural, zod-compatible schema: anything with safeParse(input). When safeParseAsync exists it is preferred (zod schemas with async refinements throw from safeParse). T is the parsed (output) type stored in c.state / returned by c.ask.
safeParse(input)
safeParseAsync
safeParse
T
c.state
c.ask
Optional
Structural, zod-compatible schema: anything with
safeParse(input). WhensafeParseAsyncexists it is preferred (zod schemas with async refinements throw fromsafeParse).Tis the parsed (output) type stored inc.state/ returned byc.ask.