prismicio/prismic-client

Ability to define the output location for the types output by codegen when using slicemachine

Closed this issue · 2 comments

Is your feature request related to a problem? Please describe.

When I save custom types, prismic-ts-codegen outputs the types to ./prismicio-types.d.ts automatically. I'd like to be able to configure the output location for that.

Describe the solution you'd like

Perhaps a property in the slicemachine.config.json file can tell you where that should be output.

Describe alternatives you've considered

None

Additional context

This issue has been labeled as a feature request since it was created using the 🙋‍♀️ Feature Request Template.

Hi there, thank you so much for your request!

Following our Maintenance Process, we will review your request and get back to you soon. If we decide to implement it, will proceed to implement the feature during the last week of the month. In the meantime, feel free to provide any details to help us better understand your request, such as:

  • The context that made you think of this feature request
  • As many details about the solution you'd like to see implemented, how it should behave, etc.
  • Any alternative solution you have considered

If you think you can implement the proposed change yourself, you're more than welcome to open a pull request implementing the new feature. Check out our quick start guide for a simple contribution process. Please note that submitting a pull request does not guarantee the feature will be merged.

- The Prismic Open-Source Team

Hi @zeckdude, thanks for the feature request!

I'm going to move it over to the prismicio/slice-machine repository since that is where @slicemachine/adapter-next lives.

You can track the progress of the request here: prismicio/slice-machine#1011