@chopkola/common 1.0.136 → 1.0.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -96,9 +96,8 @@ export interface ProductWithVariantsI extends ProductI {
|
|
|
96
96
|
variants: ProductVariantI[];
|
|
97
97
|
}
|
|
98
98
|
export interface InventoryItemWithProductI extends InventoryItemI {
|
|
99
|
-
product?:
|
|
100
|
-
|
|
101
|
-
movements: StockMovementI[];
|
|
99
|
+
product?: ProductWithVariantsI | null;
|
|
100
|
+
movements?: StockMovementI[];
|
|
102
101
|
}
|
|
103
102
|
export type CreateProductInput = Omit<ProductI, "id" | "created_at" | "updated_at">;
|
|
104
103
|
export type CreateProductVariantInput = Omit<ProductVariantI, "id" | "created_at" | "updated_at">;
|
|
@@ -117,5 +116,5 @@ export interface VendorProductsManagementData {
|
|
|
117
116
|
}
|
|
118
117
|
export interface VendorCreateOrEditProductPageData {
|
|
119
118
|
categories: CategoryI[];
|
|
120
|
-
product?:
|
|
119
|
+
product?: InventoryItemWithProductI;
|
|
121
120
|
}
|