Modules
Define once in Elixir. Generate everywhere in TypeScript.
Wraps JSON-ready data in an envelope: %{"data" => ..., "meta" => ...}.
Declares the props of Inertia pages. mix typelizer.gen writes one TypeScript props
interface per page component, and Typelizer.InertiaPage.ValidateProps checks the
rendered props in dev and test.
Raised by Typelizer.InertiaPage.ValidateProps when the props of a rendered Inertia
page do not match the page declaration.
A plug that checks, in dev and test, that each rendered Inertia page sends exactly
the props declared with Typelizer.InertiaPage.page/2.
Declares the query params of controller actions, so that the generated route
helpers type their query option.
Raised by serialize/2 when a record cannot be serialized, for example when an
association is not preloaded or a field is missing from the record.
A serializer DSL that is also the source of a TypeScript interface.
Mix Tasks
Checks that the generated TypeScript files match the Elixir code.
Generates the TypeScript files: serializer interfaces, route helpers and Inertia page props.