meemup-library 1.5.13 → 1.5.15

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.
@@ -1,6 +1,7 @@
1
1
  import EnumShowCategoryExtras from "../enums/EnumShowCategoryExtras";
2
2
  import IAllergicStuffs from "./IAllergicStuffs";
3
3
  import IProductExtra from "./IProductExtra";
4
+ import IProductPriceItem from "./IProductPriceItem";
4
5
  import IProductDefaultExtra from "./database/IProductDefaultExtra";
5
6
  export default interface IProduct {
6
7
  id: number;
@@ -70,5 +71,6 @@ export default interface IProduct {
70
71
  sellWhenOutOfStock: boolean;
71
72
  inventoryControl: boolean;
72
73
  accesses: number[];
74
+ prices: IProductPriceItem[];
73
75
  }
74
76
  export declare const initProduct: IProduct;
@@ -67,5 +67,6 @@ export const initProduct = {
67
67
  eANBarcode: "",
68
68
  sellWhenOutOfStock: false,
69
69
  inventoryControl: false,
70
- accesses: []
70
+ accesses: [],
71
+ prices: []
71
72
  };
@@ -0,0 +1,6 @@
1
+ export default interface IProductPriceItem {
2
+ channel: number;
3
+ deliveryPrice: number;
4
+ dineInPrice: number;
5
+ pickupPrice: number;
6
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,5 @@
1
1
  import IBundleProductItem from "./bundle-product-item";
2
- export interface IBundleProduct {
2
+ export default interface IBundleProduct {
3
3
  id: number | null;
4
4
  productId: number;
5
5
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.5.13",
3
+ "version": "1.5.15",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "remove:one": "rimraf dist",
12
12
  "remove:two": "rimraf ./src/dist",
13
13
  "test": "echo \"Error: no test specified\" && exit 1",
14
- "commit": "git add . && git commit -m \"version.1.5.13\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.5.15\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"