feat(medusa,core-flows,types): adds batch operations to price list prices (#7077)

what:

- adds batch operations to price list prices

RESOLVES CORE-1969
RESOLVES CORE-1970
This commit is contained in:
Riqwan Thamir
2024-04-17 15:36:09 +00:00
committed by GitHub
parent 08dc861dc1
commit 8d356217bd
35 changed files with 735 additions and 630 deletions
@@ -715,14 +715,13 @@ moduleIntegrationTestRunner({
describe("addRules", () => {
it("should add rules to existing price set", async () => {
console.log("1")
await service.addRules([
{
priceSetId: "price-set-1",
rules: [{ attribute: "region_id" }],
},
])
console.log("2")
const [priceSet] = await service.list(
{ id: ["price-set-1"] },
{ relations: ["rule_types"] }