commercetools / nodejs

Everything related to the Node.js ecosystem for the commercetools platform.
https://commercetools.github.io/nodejs/
MIT License
75 stars 70 forks source link

Add removeStagedChanges action for StandalonePrice #1896

Closed nima-ct closed 4 months ago

nima-ct commented 4 months ago

Summary

Following the requirements here https://commercetools.atlassian.net/browse/PRC-2676, we want to be able to clear a staged value from an existing standalone price. This PR adds a removeStagedChanges action.

Description

Docs https://docs.commercetools.com/api/projects/standalone-prices#remove-staged-changes

Todo

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 22b83dd911fa9d756c53acda7fdb44b01bc26147

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------------- | ----- | | @commercetools/sync-actions | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.75%. Comparing base (1da0f3a) to head (22b83dd).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1896 +/- ## ======================================= Coverage 94.75% 94.75% ======================================= Files 147 147 Lines 5057 5057 Branches 1375 1375 ======================================= Hits 4792 4792 Misses 262 262 Partials 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

gitstream-cm[bot] commented 4 months ago

🥷 Code experts: ragafus

ragafus has most 🧠 knowledge in the files.

See details `packages/sync-actions/src/prices-actions.js` Knowledge based on git-blame: ragafus: 23% `packages/sync-actions/test/price-sync.spec.js` Knowledge based on git-blame: ragafus: 79%

To learn more about /:\ gitStream - Visit our Docs