@modfy/gentypes
v1.0.31
Published
Generates typescript bindings for API types.
Downloads
6
Keywords
Readme
gentypes
Generates typescript bindings for API types.
Adding JsonSchema derive macro to Rust types will cause schemas to be generated in the schemas/
folder.
The API cilent prelude is defined in src/main.rs
see the generate_api_client_type()
function.
Generating and bundling
Run pnpm generate
then pnpm bundle