-
Notifications
You must be signed in to change notification settings - Fork 454
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
fix(core): updating document version actions to match deviated API #8913
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
Coverage Report
File Coverage
|
8e6e708
to
c5b8012
Compare
No changes to documentation |
⚡️ Editor Performance ReportUpdated Thu, 13 Mar 2025 01:26:41 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thank you Jordan!
Description
Some of the actions used in
createReleaseOperationsStore
(which is used byuseReleaseOperations
anduseVersionOperations
) have drifted from the actual APIs.This PR adjusts the types and updates the uses of these actions according to the version actions and the release actions from content lake.
Additionally, since
version.create
is now supported by content lake,handleCreateVersion
uses the version action rather than creating a document directly with the version_id
.What to review
Testing
Tests updated for
createReleaseOperationsStore.test
Manual testing trying to use most of the actions that have been impacted
Notes for release
Creating a new version of a document uses the Sanity API
version.create
action.