meemup-library 1.3.24 → 1.3.26

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.
@@ -63,4 +63,10 @@ export default interface IProduct {
63
63
  depth: number;
64
64
  length: number;
65
65
  };
66
+ showRecipes: boolean;
67
+ ingredientMaterialUnitId: number;
68
+ eANBarcode: string;
69
+ sellWhenOutOfStock: boolean;
70
+ inventoryControl: boolean;
66
71
  }
72
+ export declare const initProduct: IProduct;
@@ -1 +1,69 @@
1
- export {};
1
+ import EnumShowCategoryExtras from "../enums/EnumShowCategoryExtras";
2
+ export const initProduct = {
3
+ id: 0,
4
+ available: true,
5
+ notAvailableToDate: null,
6
+ displayWhenNotAvailable: true,
7
+ name: "",
8
+ posName: "",
9
+ kitchenReceiptName: "",
10
+ description: "",
11
+ extrasDescription: "",
12
+ minOrderQuantity: 1,
13
+ maxOrderQuantity: 99,
14
+ availableIn: 31,
15
+ deliveryPrice: 0,
16
+ diningPrice: 0,
17
+ pickupPrice: 0,
18
+ availableForOrderingType: 5,
19
+ eanBarcode: "",
20
+ imageFullPath: null,
21
+ imageBase64: null,
22
+ preperationTime: "00:00:00",
23
+ showFromDate: null,
24
+ showFromTime: null,
25
+ showToDate: null,
26
+ showToTime: null,
27
+ onlyOnWeekDays: null,
28
+ vegetarian: false,
29
+ vegan: false,
30
+ organic: false,
31
+ halal: false,
32
+ spiciness: 0,
33
+ showExtrasCategory: EnumShowCategoryExtras.NO,
34
+ // showCategoryExtras: EnumShowCategoryExtras.NO,
35
+ deleted: false,
36
+ containsAlcohol: false,
37
+ inMultipleCategories: true,
38
+ displayOnKitchenDisplay: true,
39
+ mainCategoryId: "",
40
+ calories: 0,
41
+ points: 0,
42
+ chosenExtraItemsMode: 1,
43
+ customizable: false,
44
+ allergicStuffsId: [],
45
+ allergicStuffs: [],
46
+ categories: [],
47
+ extras: [],
48
+ defaultExtraItems: [],
49
+ menuId: 0,
50
+ packagingCosts: 0,
51
+ depositCost: 0,
52
+ color: null,
53
+ size: 0,
54
+ weight: 0,
55
+ thumbnailImage: "",
56
+ taxable: true,
57
+ tags: [],
58
+ initialPrice: 0,
59
+ dimensions: {
60
+ length: 0,
61
+ height: 0,
62
+ depth: 0
63
+ },
64
+ showRecipes: false,
65
+ ingredientMaterialUnitId: 0,
66
+ eANBarcode: "",
67
+ sellWhenOutOfStock: false,
68
+ inventoryControl: false,
69
+ };
@@ -0,0 +1,6 @@
1
+ import IManagementRecipesItem from "./IManagementRecipesItem";
2
+ export default interface IManagementRecipes {
3
+ id: number;
4
+ name: string;
5
+ recipes: IManagementRecipesItem[];
6
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import IManagementRecipesFormItem from "./IManagementRecipesFormItem";
2
+ export default interface IManagementRecipesForm {
3
+ id: number;
4
+ name: string;
5
+ recipes: IManagementRecipesFormItem[];
6
+ }
@@ -0,0 +1,5 @@
1
+ export default interface IManagementRecipesFormItem {
2
+ ingredientMaterialId: number;
3
+ majorValue: number;
4
+ minorValue: number;
5
+ }
@@ -0,0 +1,6 @@
1
+ import IManagementRecipesFormItem from "./IManagementRecipesFormItem";
2
+ export default interface IManagementRecipesItem extends IManagementRecipesFormItem {
3
+ ingredientMaterial: string;
4
+ majorUnit: string;
5
+ minorUnit: string;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.3.24",
3
+ "version": "1.3.26",
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.3.24 \" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.3.26 \" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"