@bondsports/types 2.1.16 → 2.1.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -53,12 +53,12 @@ export interface IUsesPerUser {
53
53
  id: number;
54
54
  uses: number;
55
55
  }
56
- export interface IUserItem {
56
+ export declare class IUserItem {
57
57
  id: number;
58
58
  userId: number;
59
59
  productId: number;
60
60
  product?: Product;
61
- quantity?: number;
61
+ totalQuantity?: number;
62
62
  price?: number;
63
63
  totalPrice?: number;
64
64
  isTaxInclusive?: boolean;
@@ -85,3 +85,6 @@ export interface IDiscountItem {
85
85
  amount: number;
86
86
  percentage?: number;
87
87
  }
88
+ export interface IValidateDiscountOptions {
89
+ overrideItems?: boolean;
90
+ }
@@ -1,4 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IUserItem = void 0;
3
4
  const enums_service_1 = require("../../../services/enums.service");
5
+ class IUserItem {
6
+ }
7
+ exports.IUserItem = IUserItem;
4
8
  //# sourceMappingURL=discount.interfaces.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"discount.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/discount.interfaces.ts"],"names":[],"mappings":";;AAGA,mEAAuF"}
1
+ {"version":3,"file":"discount.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/discount.interfaces.ts"],"names":[],"mappings":";;;AAGA,mEAAuF;AA8DvF,MAAa,SAAS;CAoBrB;AApBD,8BAoBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.16",
3
+ "version": "2.1.17",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {