Skip to content

Prepare for 0.15.0 release - #3

Merged
jsdw merged 9 commits into
masterfrom
jsdw-generate-ts
Oct 23, 2026
Merged

jsdw merged 9 commits into
masterfrom
jsdw-generate-ts

Conversation

@jsdw

@jsdw jsdw commented Oct 23, 2026

Copy link
Copy Markdown
Owner
  • Add a no_std seamless-ts crate, whose generate_types() function takes the JSON serialized info for an API (from Api::info()) and writes TypeScript to any core::fmt::Write, exporting an Api type which describes the method, params and result type of every route, and a readonly methods object holding the method of every route for use at runtime.
  • Add a seamless_ts_bin crate providing a seamless-ts CLI tool, which reads the JSON serialized info for an API from stdin (or a file given with --file, or a URL given with --url, optionally sending headers given with -H/--header) and writes the generated TypeScript to stdout.

@jsdw
jsdw merged commit b4f5eb0 into master Oct 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant