asv-hlps-market 1.0.8 → 1.0.10

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.
@@ -20,4 +20,8 @@ export interface BuyProduct {
20
20
  buyPrice: number;
21
21
  amountBuyPrice: number;
22
22
  publicPrice: number;
23
+ pvdBillNumber?: string;
24
+ unitCost?: number;
25
+ unitCostPrice?: number;
26
+ unitPrice?: number;
23
27
  }
@@ -1,4 +1,4 @@
1
- import CartItem from "../../shops/models/CartItem";
1
+ import CartItem from "../../shopping/models/CartItem";
2
2
  import Sale from "./Sale";
3
3
  export default interface SaleItems {
4
4
  sale?: Sale;
@@ -0,0 +1,6 @@
1
+ import Product from "../../products/models/Product";
2
+ import BaseCartItem from "../../shared/CartItem";
3
+ export default interface CartItem extends BaseCartItem {
4
+ product: Product;
5
+ specialPrice?: number;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./CartItem";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CartItem"), exports);
@@ -1,2 +1 @@
1
1
  export * from "./Shop";
2
- export * from "./CartItem";
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Shop"), exports);
18
- __exportStar(require("./CartItem"), exports);
@@ -20,4 +20,8 @@ export interface BuyProduct {
20
20
  buyPrice: number;
21
21
  amountBuyPrice: number;
22
22
  publicPrice: number;
23
+ pvdBillNumber?: string;
24
+ unitCost?: number;
25
+ unitCostPrice?: number;
26
+ unitPrice?: number;
23
27
  }
@@ -1,4 +1,4 @@
1
- import CartItem from "../../shops/models/CartItem";
1
+ import CartItem from "../../shopping/models/CartItem";
2
2
  import Sale from "./Sale";
3
3
  export default interface SaleItems {
4
4
  sale?: Sale;
@@ -0,0 +1,6 @@
1
+ import Product from "../../products/models/Product";
2
+ import BaseCartItem from "../../shared/CartItem";
3
+ export default interface CartItem extends BaseCartItem {
4
+ product: Product;
5
+ specialPrice?: number;
6
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./CartItem";
@@ -0,0 +1 @@
1
+ export * from "./CartItem";
@@ -1,2 +1 @@
1
1
  export * from "./Shop";
2
- export * from "./CartItem";
@@ -1,2 +1 @@
1
1
  export * from "./Shop";
2
- export * from "./CartItem";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asv-hlps-market",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",
@@ -16,9 +16,9 @@
16
16
  "author": "Aril Vignon",
17
17
  "license": "ISC",
18
18
  "devDependencies": {
19
- "typescript": "^4.6.3"
19
+ "typescript": "^5.8.3"
20
20
  },
21
21
  "dependencies": {
22
- "asv-hlps": "^1.4.11"
22
+ "asv-hlps": "^1.4.31"
23
23
  }
24
24
  }