fix(types): Add AdminBatchUpdateProductVariant type (#10009)
This commit is contained in:
1 parent
5e1ccba06d
commit
34f4f695c0
2 files changed
+10
-1
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/types": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix(types): Add AdminBatchUpdateProductVariant type, which includes ID.
|
||||||
@@ -11,7 +11,7 @@ export interface AdminBatchProductRequest
|
|||||||
export interface AdminBatchProductVariantRequest
|
export interface AdminBatchProductVariantRequest
|
||||||
extends BatchMethodRequest<
|
extends BatchMethodRequest<
|
||||||
AdminCreateProductVariant,
|
AdminCreateProductVariant,
|
||||||
AdminUpdateProductVariant
|
AdminBatchUpdateProductVariant
|
||||||
> {}
|
> {}
|
||||||
|
|
||||||
export interface AdminBatchProductVariantInventoryItemRequest
|
export interface AdminBatchProductVariantInventoryItemRequest
|
||||||
@@ -109,6 +109,10 @@ export interface AdminUpdateProductVariant {
|
|||||||
options?: Record<string, string>
|
options?: Record<string, string>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface AdminBatchUpdateProductVariant extends AdminUpdateProductVariant {
|
||||||
|
id: string
|
||||||
|
}
|
||||||
|
|
||||||
export interface AdminUpdateProduct {
|
export interface AdminUpdateProduct {
|
||||||
title?: string
|
title?: string
|
||||||
subtitle?: string | null
|
subtitle?: string | null
|
||||||
|
|||||||
Reference in new issue
Block a user