@chopkola/common 1.0.137 → 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?: ProductI | null;
100
- product_variant?: ProductVariantI | null;
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">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chopkola/common",
3
- "version": "1.0.137",
3
+ "version": "1.0.138",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "akrosoft technology ltd",