dohomi / storyblok-generate-ts

Generates TypeScript interface types based on Storyblok component file
MIT License
102 stars 33 forks source link

Deprecated RichtTextResolver #76

Open slemont3 opened 2 months ago

slemont3 commented 2 months ago

Hi

We've noticed the following info during build of our application using the latest stroyblok-js-client (v 6.9.2):

Warning ⚠️: The RichTextResolver class is deprecated and will be removed in the next major release. Please use the @storyblok/richtext package instead. https://github.com/storyblok/richtext/

As we're using your storyblok-generate-ts library, we realised that the library is currently still using the RichtText field type RichtextStoryblok for the generated interfaces.

In order to use the new RichText Resolver as suggested by Storyblok, the RichtText field type will be StoryblokRichTextNode.

Perhaps this is already a scheduled change on your end. We wanted to ask you nevertheless if you plan to implement the new type in the near future?

Many thanks in advance and keep up the good work!

Best regards, Simon

dohomi commented 2 weeks ago

Any PR is welcome I am currently invested in other projects but I am happy to review any PR to solve this issue