ideas
ideas copied to clipboard
Ability to generate typescript types from blueprints and fieldsets
I'd love to make the join between Statamic and typescript even stronger by being able to automatically generate types for Statamic data structure!
Sure I could do this manually, but a script that could do it for me would be next-level.
Similar tools to this that already work in the laravel ecosystem:
- Spatie Data - https://spatie.be/docs/laravel-data
- Tighten Ziggy - https://github.com/tighten/ziggy (for routes)
- Laravel Wayfinder - https://github.com/laravel/wayfinder (for routes)