vox-codegen-ts API (deprecated stub)
vox-codegen-ts API (deprecated)
Section titled “vox-codegen-ts API (deprecated)”The historical vox-codegen-ts crate name is retired. HIR-to-TypeScript/TSX emission lives in the monolith crate vox-compiler under codegen_ts (see crates/vox-codegen/src/codegen_ts/).
Overview
Section titled “Overview”The codegen pipeline lowers HIR through the Web IR layer before final TypeScript emit. See internal-web-ir-implementation-blueprint.md and internal-web-ir-implementation-blueprint.md for the full Web IR specification.
For the strategic rationale, see ADR 012 (adr/012).
Output files
Section titled “Output files”| File | Description |
|---|---|
<Component>.tsx | React component for each component declaration |
routes.manifest.ts | Route manifest for TanStack Start / Vite adapter |
vox-client.ts | Type-safe client hooks for @endpoint(kind: query/mutation) |
types.ts | TypeScript union types for type declarations |
server.ts | Express/Axum route handlers for @endpoint(kind: server) |