feat(medusa): Continue create product workflow changes (#4473)

This commit is contained in:
Adrien de Peretti
2023-07-24 13:30:24 +02:00
committed by GitHub
parent edf93d972d
commit d2a8cf0378
103 changed files with 1859 additions and 524 deletions
+2
View File
@@ -12,6 +12,7 @@ export enum ProductStatus {
* DTO in and out of the module (module API)
*/
// TODO: This DTO should represent the product, when used in config we should use Partial<ProductDTO>, it means that some props like handle should be updated to not be optional
export interface ProductDTO {
id: string
title: string
@@ -63,6 +64,7 @@ export interface ProductVariantDTO {
options: ProductOptionValueDTO
metadata?: Record<string, unknown> | null
product: ProductDTO
product_id: string
variant_rank?: number | null
created_at: string | Date
updated_at: string | Date