Skip to content

vox-codegen-ts API (deprecated stub)

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/).

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).

FileDescription
<Component>.tsxReact component for each component declaration
routes.manifest.tsRoute manifest for TanStack Start / Vite adapter
vox-client.tsType-safe client hooks for @endpoint(kind: query/mutation)
types.tsTypeScript union types for type declarations
server.tsExpress/Axum route handlers for @endpoint(kind: server)