ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Ability to generate typescript types from blueprints and fieldsets

Open admench opened this issue 8 months ago • 0 comments

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)

admench avatar Apr 15 '25 20:04 admench