You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It would be great to have a typed api from storyblok making it much easier to implement components that match the schema
Describe the solution you'd like storyblok generate --typescript which generates typings based off the current storyblok's spaceid
Describe alternatives you've considered
Additional context
We've hacked together an initial version of this for our own internal usage that we will extend as/when required for our internal usage but would be great to see this in the full storyblok cli. It would be nice if the API (get/getAll etc) could end up with nice typings too.
The feature would affect: (check one with "x")
Is your feature request related to a problem? Please describe.
It would be great to have a typed api from storyblok making it much easier to implement components that match the schema
Describe the solution you'd like
storyblok generate --typescript
which generates typings based off the current storyblok's spaceidDescribe alternatives you've considered
Additional context
We've hacked together an initial version of this for our own internal usage that we will extend as/when required for our internal usage but would be great to see this in the full storyblok cli. It would be nice if the API (get/getAll etc) could end up with nice typings too.
https://gist.github.com/eyn/b9dd0956b2fa6f783b9898b6ffaeb192
The text was updated successfully, but these errors were encountered: