@freedom_sky/feige-lib 4.49.0 → 4.49.1

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.
@@ -7,6 +7,23 @@ import { TaxTypeEnum } from '../../enum/tax.enum';
7
7
  import { PrinterDeviceTypeEnum, PrinterWidthEnum, TagPrinterDeviceTypeEnum, EncodeTypeEnum, MultiLangDirectionEnum } from '../../enum/printer.enum';
8
8
  import { TimeMenuLoopMode } from '../../enum/time-menu.enum';
9
9
  import { WeekEnum } from '../../enum/common.enum';
10
+ export interface BuffetDishItem {
11
+ dishId: string;
12
+ upperLimit: {
13
+ enable: boolean;
14
+ adult: number;
15
+ child: number;
16
+ };
17
+ }
18
+ export interface BuffetCombosItems {
19
+ _id: string;
20
+ names: object;
21
+ price: {
22
+ adult: number;
23
+ child: number;
24
+ };
25
+ dishes: BuffetDishItem[];
26
+ }
10
27
  export interface Store {
11
28
  readonly _id: string;
12
29
  name: string;
@@ -70,21 +87,7 @@ export interface Store {
70
87
  };
71
88
  readonly buffetSetting: {
72
89
  enable: boolean;
73
- buffetCombos: {
74
- names: object;
75
- price: {
76
- adult: number;
77
- child: number;
78
- };
79
- dishes: [{
80
- dishId: string;
81
- upperLimit: {
82
- enable: boolean;
83
- adult: number;
84
- child: number;
85
- };
86
- }];
87
- }[];
90
+ buffetCombos: BuffetCombosItems[];
88
91
  };
89
92
  readonly memberSetting: {
90
93
  savingRules: MemberSavingRule[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "4.49.0",
3
+ "version": "4.49.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -14,6 +14,25 @@ import {
14
14
  import { TimeMenuLoopMode } from '../../enum/time-menu.enum';
15
15
  import { WeekEnum } from '../../enum/common.enum';
16
16
 
17
+ export interface BuffetDishItem {
18
+ dishId: string;
19
+ upperLimit: {
20
+ enable: boolean;
21
+ adult: number;
22
+ child: number;
23
+ };
24
+ }
25
+
26
+ export interface BuffetCombosItems {
27
+ _id: string;
28
+ names: object;
29
+ price: {
30
+ adult: number;
31
+ child: number;
32
+ };
33
+ dishes: BuffetDishItem[];
34
+ }
35
+
17
36
  export interface Store {
18
37
  readonly _id: string;
19
38
  name: string;
@@ -77,23 +96,7 @@ export interface Store {
77
96
  };
78
97
  readonly buffetSetting: {
79
98
  enable: boolean;
80
- buffetCombos: {
81
- names: object;
82
- price: {
83
- adult: number;
84
- child: number;
85
- };
86
- dishes: [
87
- {
88
- dishId: string;
89
- upperLimit: {
90
- enable: boolean;
91
- adult: number;
92
- child: number;
93
- };
94
- },
95
- ];
96
- }[];
99
+ buffetCombos: BuffetCombosItems[];
97
100
  };
98
101
  readonly memberSetting: {
99
102
  savingRules: MemberSavingRule[];