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

fix(types): adjust action types to reflect Actions API #830

Merged
merged 1 commit into from
May 29, 2024

Conversation

juice49
Copy link
Contributor

@juice49 juice49 commented May 29, 2024

This branch adjusts the action types to align them with the Actions API.

  • In sanity.action.document.delete, purge should be optional.
  • In sanity.action.document.discard, purge should be optional.
  • In sanity.action.document.publish, ifDraftRevisionId should be optional.
  • In sanity.action.document.publish, ifPublishedRevisionId should be optional.
  • In sanity.action.document.replaceDraft, draftId should not exist.

@juice49 juice49 force-pushed the fix/sdx-1379-action-types branch from c93131d to 8e8589e Compare May 29, 2024 15:21
@juice49 juice49 marked this pull request as ready for review May 29, 2024 15:36
@juice49 juice49 requested a review from j33ty May 29, 2024 15:36
@juice49 juice49 merged commit e116c62 into main May 29, 2024
16 checks passed
@juice49 juice49 deleted the fix/sdx-1379-action-types branch May 29, 2024 15:45
@ecospark ecospark bot mentioned this pull request May 29, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants