meemup-library 1.2.9 → 1.2.11

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.
@@ -209,7 +209,10 @@ export default new class ProductModalController {
209
209
  extraId: extraItemModel.extraId,
210
210
  increasingValue: extraItemModel.increasingValue,
211
211
  thumbnailImage: extraItemModel.thumbnailImage,
212
- color: extraItemModel.color
212
+ color: extraItemModel.color,
213
+ oldId: extraItemModel.oldId,
214
+ packagingCost: extraItemModel.packagingCost,
215
+ weight: extraItemModel.weight
213
216
  });
214
217
  }
215
218
  });
@@ -14,5 +14,8 @@ export default interface IExtra {
14
14
  productsCount: number;
15
15
  categoriesCount: number;
16
16
  displayingMode: number;
17
+ color: string | null;
18
+ tags: string[] | null;
19
+ thumbnailImage: string | null;
17
20
  }
18
21
  export declare const initExtra: IExtra;
@@ -12,5 +12,8 @@ export const initExtra = {
12
12
  products: [],
13
13
  productsCount: 0,
14
14
  categoriesCount: 0,
15
- displayingMode: 1
15
+ displayingMode: 1,
16
+ color: null,
17
+ tags: null,
18
+ thumbnailImage: null,
16
19
  };
@@ -18,6 +18,9 @@ interface IExtraItem {
18
18
  tags: string[] | null;
19
19
  color: string | null;
20
20
  thumbnailImage: string | null;
21
+ oldId: number;
22
+ packagingCost: string;
23
+ weight: number;
21
24
  }
22
25
  export declare const initExtraItem: IExtraItem;
23
26
  export default IExtraItem;
@@ -17,5 +17,8 @@ export const initExtraItem = {
17
17
  increasingPercentage: 0,
18
18
  tags: null,
19
19
  color: null,
20
- thumbnailImage: null
20
+ thumbnailImage: null,
21
+ oldId: -1,
22
+ packagingCost: "0.00",
23
+ weight: 0,
21
24
  };
@@ -1,6 +1,8 @@
1
1
  import IDProductDefaultExtraItem from "./IDProductDefaultExtraItem";
2
2
  interface IProductDefaultExtra {
3
3
  extraId: number;
4
+ secondExtraId: number | null;
5
+ secondExtraItemId: number | null;
4
6
  items: IDProductDefaultExtraItem[];
5
7
  }
6
8
  export default IProductDefaultExtra;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.2.9",
3
+ "version": "1.2.11",
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.2.9\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.2.11\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"