Commit b0017ae
committed
feat(sync-actions): implement product tailoring actions and corresponding tests
- Added product tailoring functionality in `product-tailoring.ts` to handle various action groups including base, meta, images, assets, attributes, and variants.
- Created a comprehensive test suite in `product-tailoring-sync.spec.ts` to validate the behavior of the product tailoring actions, ensuring immutability and correctness of actions generated for various scenarios.
- Included edge case handling and support for staged actions based on publish and staged flags.1 parent 3067a91 commit b0017ae
4 files changed
Lines changed: 1659 additions & 0 deletions
File tree
- packages/sync-actions
- src
- product-tailoring
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
0 commit comments