@dascompany/product 1.1.4 → 1.1.5

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.
@@ -51,7 +51,8 @@ export default class ProductReader {
51
51
  deleted: product.deleted,
52
52
  thumbnail: thumbnail ? thumbnail : null,
53
53
  files,
54
- grossPrice: calculateNetToGrossPrice(product.net_price, product.vat)
54
+ grossPrice: calculateNetToGrossPrice(product.net_price, product.vat),
55
+ jsonData: product.json_data
55
56
  };
56
57
  }
57
58
  }
@@ -17,4 +17,5 @@ export default interface ProductI {
17
17
  createdAt: string;
18
18
  deleted: boolean;
19
19
  files?: FileI[];
20
+ jsonData: any;
20
21
  }
@@ -14,4 +14,5 @@ export default interface ProductRow {
14
14
  length: number;
15
15
  created_at: string;
16
16
  deleted: boolean;
17
+ json_data: any;
17
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dascompany/product",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "vitest",