@freedom_sky/feige-lib 5.1.3 → 5.2.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.
@@ -106,6 +106,7 @@ declare class Const {
106
106
  BRL: string;
107
107
  CZK: string;
108
108
  MXN: string;
109
+ HKD: string;
109
110
  };
110
111
  LARGE_CURRENCY: string[];
111
112
  SUFFIX_CURRENCY: string[];
@@ -111,6 +111,7 @@ var Const = /** @class */ (function () {
111
111
  BRL: 'R$',
112
112
  CZK: 'Kč',
113
113
  MXN: 'MXN$',
114
+ HKD: 'HKD',
114
115
  };
115
116
  this.LARGE_CURRENCY = ['đ', '¥', 'Kč']; //币值比较大,不需要小数而且需要三位打逗号的货币
116
117
  this.SUFFIX_CURRENCY = ['Kč']; // 货币符号在数字后面的货币
@@ -27,6 +27,12 @@ export interface BuffetCombosItems {
27
27
  child: number;
28
28
  };
29
29
  dishes: BuffetDishItem[];
30
+ orderingByTurns: {
31
+ enable: boolean;
32
+ interval: number;
33
+ maxOrdersPerRoundPerPerson: number;
34
+ maxRounds: number;
35
+ };
30
36
  }
31
37
  export interface AllergenItem {
32
38
  readonly _id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "5.1.3",
3
+ "version": "5.2.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -109,6 +109,7 @@ class Const {
109
109
  BRL: 'R$', //巴西巴西雷亚尔
110
110
  CZK: 'Kč', //捷克克朗
111
111
  MXN: 'MXN$', //墨西哥比索
112
+ HKD: 'HKD', //港币
112
113
  };
113
114
  LARGE_CURRENCY = ['đ', '¥', 'Kč']; //币值比较大,不需要小数而且需要三位打逗号的货币
114
115
  SUFFIX_CURRENCY = ['Kč']; // 货币符号在数字后面的货币
@@ -35,6 +35,12 @@ export interface BuffetCombosItems {
35
35
  child: number;
36
36
  };
37
37
  dishes: BuffetDishItem[];
38
+ orderingByTurns: {
39
+ enable: boolean,
40
+ interval: number,
41
+ maxOrdersPerRoundPerPerson: number,
42
+ maxRounds: number,
43
+ }
38
44
  }
39
45
 
40
46
  export interface AllergenItem {