@freedom_sky/feige-lib 4.49.2 → 4.50.0

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.
@@ -24,6 +24,12 @@ export interface BuffetCombosItems {
24
24
  };
25
25
  dishes: BuffetDishItem[];
26
26
  }
27
+ export interface AllergenItem {
28
+ _id: string;
29
+ names: object;
30
+ img: string;
31
+ dishIds: string[];
32
+ }
27
33
  export interface Store {
28
34
  readonly _id: string;
29
35
  name: string;
@@ -89,6 +95,10 @@ export interface Store {
89
95
  enable: boolean;
90
96
  buffetCombos: BuffetCombosItems[];
91
97
  };
98
+ readonly allergenSetting: {
99
+ enable: boolean;
100
+ allergens: AllergenItem[];
101
+ };
92
102
  readonly memberSetting: {
93
103
  savingRules: MemberSavingRule[];
94
104
  security: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "4.49.2",
3
+ "version": "4.50.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -33,6 +33,13 @@ export interface BuffetCombosItems {
33
33
  dishes: BuffetDishItem[];
34
34
  }
35
35
 
36
+ export interface AllergenItem {
37
+ _id: string;
38
+ names: object;
39
+ img: string;
40
+ dishIds: string[];
41
+ }
42
+
36
43
  export interface Store {
37
44
  readonly _id: string;
38
45
  name: string;
@@ -98,6 +105,10 @@ export interface Store {
98
105
  enable: boolean;
99
106
  buffetCombos: BuffetCombosItems[];
100
107
  };
108
+ readonly allergenSetting: {
109
+ enable: boolean;
110
+ allergens: AllergenItem[];
111
+ };
101
112
  readonly memberSetting: {
102
113
  savingRules: MemberSavingRule[];
103
114
  security: {