fix(types): fix AdminBatchProductRequest to have product ID (#10168)
This commit is contained in:
5
.changeset/tough-lamps-sell.md
Normal file
5
.changeset/tough-lamps-sell.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/types": patch
|
||||
---
|
||||
|
||||
fix(types): fix AdminBatchProductRequest to have product ID
|
||||
@@ -10,8 +10,14 @@ export interface AdminImportProductRequest {
|
||||
*/
|
||||
file: File
|
||||
}
|
||||
interface AdminBatchUpdateProduct extends AdminUpdateProduct {
|
||||
/**
|
||||
* The ID of the product to update.
|
||||
*/
|
||||
id: string
|
||||
}
|
||||
export interface AdminBatchProductRequest
|
||||
extends BatchMethodRequest<AdminCreateProduct, AdminUpdateProduct> {}
|
||||
extends BatchMethodRequest<AdminCreateProduct, AdminBatchUpdateProduct> {}
|
||||
|
||||
export interface AdminBatchProductVariantRequest
|
||||
extends BatchMethodRequest<
|
||||
|
||||
Reference in New Issue
Block a user