Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide types for the Integration Fields API #312

Open
angeloashmore opened this issue Jun 8, 2022 · 0 comments
Open

Provide types for the Integration Fields API #312

angeloashmore opened this issue Jun 8, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@angeloashmore
Copy link
Member

angeloashmore commented Jun 8, 2022

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

Developers writing custom Integration Field integrations do not have any Prismic-provided types to use. First-party provided types would make the development process easier.

Describe the solution you'd like

The Integration FIelds API is used to send data to Prismic to populate Integration Fields.

Details on the API are provided here: https://prismic.io/docs/core-concepts/integration-fields-setup

Similar to the types provided in api.ts, we could provide types for the Integration Fields API. This would be helpful when writing custom Integration Field integrations.

Describe alternatives you've considered

The types can be manually typed in a project. Not ideal.

Additional context

This request was prompted after prismicio/prismic-types#38 was discovered.

@angeloashmore angeloashmore added the enhancement New feature or request label Jun 8, 2022
@lihbr lihbr transferred this issue from prismicio/prismic-types Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant