Structs§
- Inertia
Props Struct - Represents a parsed InertiaProps struct
- Struct
Field
Enums§
Functions§
- generate_
types_ to_ file - Generate types and write to the output file
- generate_
typescript - Generate TypeScript interfaces from the structs (self-contained, no shared.ts imports)
- parse_
shared_ types - Parse shared.ts to find exported type names Returns set of exported type/interface/enum names
- resolve_
nested_ types - Resolve all nested types referenced by InertiaProps structs
- run
- Main entry point for the generate-types command
- scan_
inertia_ props - Scan all Rust files in the src directory for InertiaProps structs
- scan_
serialize_ structs - Scan all Rust files for Serialize structs matching the target type names