feat(dashboard): handle region pricing on create/edit (#7811)
**What** - allow for region prices creation on product create flow - editing of region prices in prices edit form
This commit is contained in:
1 parent
bea3e669e1
commit
4a631e789d
7 files changed
+107
-22
No files matched your search
@@ -97,7 +97,6 @@ export const AdminUpdateProductOption = z.object({
|
||||
values: z.array(z.string()).optional(),
|
||||
})
|
||||
|
||||
// TODO: Add support for rules
|
||||
export type AdminCreateVariantPriceType = z.infer<
|
||||
typeof AdminCreateVariantPrice
|
||||
>
|
||||
@@ -109,7 +108,6 @@ export const AdminCreateVariantPrice = z.object({
|
||||
rules: z.record(z.string(), z.string()).optional(),
|
||||
})
|
||||
|
||||
// TODO: Add support for rules
|
||||
export type AdminUpdateVariantPriceType = z.infer<
|
||||
typeof AdminUpdateVariantPrice
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user