[ ] Chore (a non-breaking change which is related to package maintenance)
[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
This PR fixes the IntegrationFields type to use the correct shape. Integration Fields data from Prismic's Rest API V2 provides the field's third-party data without any additional wrappers or nesting.
Before this PR, the IntegrationFields type incorrectly was shaped after the Integration Fields API.
For more details, see #38.
Checklist:
[ ] My change requires an update to the official documentation.
[x] All TSDoc comments are up-to-date and new ones have been added where necessary.
Types of changes
Description
This PR fixes the
IntegrationFields
type to use the correct shape. Integration Fields data from Prismic's Rest API V2 provides the field's third-party data without any additional wrappers or nesting.Before this PR, the
IntegrationFields
type incorrectly was shaped after the Integration Fields API.For more details, see #38.
Checklist:
🦙