fix(types): Add AdminBatchUpdateProductVariant type (#10009)
This commit is contained in:
@@ -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
|
||||
extends BatchMethodRequest<
|
||||
AdminCreateProductVariant,
|
||||
AdminUpdateProductVariant
|
||||
AdminBatchUpdateProductVariant
|
||||
> {}
|
||||
|
||||
export interface AdminBatchProductVariantInventoryItemRequest
|
||||
@@ -109,6 +109,10 @@ export interface AdminUpdateProductVariant {
|
||||
options?: Record<string, string>
|
||||
}
|
||||
|
||||
export interface AdminBatchUpdateProductVariant extends AdminUpdateProductVariant {
|
||||
id: string
|
||||
}
|
||||
|
||||
export interface AdminUpdateProduct {
|
||||
title?: string
|
||||
subtitle?: string | null
|
||||
|
||||
Reference in New Issue
Block a user