feat: Switch to zod for the product API and implement missing primitives (#6978)

This commit is contained in:
Stevche Radevski
2024-04-06 15:45:52 +02:00
committed by GitHub
parent 65794f4bb5
commit 883a75c4f3
16 changed files with 491 additions and 829 deletions
@@ -11,7 +11,7 @@ import { getVariantPricingLinkStep } from "../steps/get-variant-pricing-link"
type UpdateProductVariantsStepInput = {
selector: ProductTypes.FilterableProductVariantProps
update: ProductTypes.UpdateProductVariantDTO & {
prices?: PricingTypes.CreateMoneyAmountDTO[]
prices?: Partial<PricingTypes.CreateMoneyAmountDTO>[]
}
}