@chopkola/common 1.0.129 → 1.0.130
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.
|
@@ -69,16 +69,10 @@ export interface StockMovementI extends Timestamps {
|
|
|
69
69
|
export interface ProductWithVariantsI extends ProductI {
|
|
70
70
|
variants: ProductVariantI[];
|
|
71
71
|
}
|
|
72
|
-
export interface ProductWithInventoryItemI extends ProductWithVariantsI {
|
|
73
|
-
inventory: InventoryItemI;
|
|
74
|
-
}
|
|
75
|
-
export interface ProductWithInventoryItemI extends ProductWithVariantsI {
|
|
76
|
-
inventory: InventoryItemI;
|
|
77
|
-
movements: StockMovementI[];
|
|
78
|
-
}
|
|
79
72
|
export interface InventoryItemWithProductI extends InventoryItemI {
|
|
80
73
|
product?: ProductI | null;
|
|
81
74
|
product_variant?: ProductVariantI | null;
|
|
75
|
+
movements: StockMovementI[];
|
|
82
76
|
}
|
|
83
77
|
export type CreateProductInput = Omit<ProductI, "id" | "created_at" | "updated_at">;
|
|
84
78
|
export type CreateProductVariantInput = Omit<ProductVariantI, "id" | "created_at" | "updated_at">;
|