Elysia 2 Standard Schema Guard
A deployments API that validates with Zod on the way in and TypeBox on the way out, on the same route, documenting the TypeBox v1 dependency swap that Elysia 2.0 forces: the peer moved from @sinclair/typebox at 0.34 to the renamed typebox package at 1.3, and leaving the old one installed yields two TypeBox copies whose validators reject valid input. Also covers when to reach for which validator (TypeBox for responses so the exact-mirror encoder can compile them, TypeBox for params so path coercion applies, Standard Schema for anything shared with a client), and replaces the removed schema.static with Elysia's UnwrapSchema.
npx shadcn@latest add https://ui.aryank.space/r/elysia-standard-schema-guard.jsonInstalls from ui.aryank.space. To add it by hand, copy the files in Files below, or register the @compronents namespace via the docs.
One route validates with Zod inbound and TypeBox outbound; a valid deployment body passes both schemas and the response is shaped on the way out.