@freedom_sky/feige-lib 4.11.0 → 4.15.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.
package/dist/const/const.d.ts
CHANGED
|
@@ -99,6 +99,7 @@ declare class Const {
|
|
|
99
99
|
SPECIFICATION_NAME_MAX_LENGTH: number;
|
|
100
100
|
SPECIFICATION_DESCRIPTION_MAX_LENGTH: number;
|
|
101
101
|
STORE_NAME_MAX_LENGTH: number;
|
|
102
|
+
TABLE_NAME_MAX_LENGTH: number;
|
|
102
103
|
TAKEOUT_STARTING_PRICE: number;
|
|
103
104
|
TAKEOUT_DELIVERY_FEE: number;
|
|
104
105
|
MEMBER_SAVING_RULE_DESCRIPTION_MAX_LENGTH: number;
|
package/dist/const/const.js
CHANGED
|
@@ -103,6 +103,7 @@ var Const = /** @class */ (function () {
|
|
|
103
103
|
SPECIFICATION_NAME_MAX_LENGTH: 60,
|
|
104
104
|
SPECIFICATION_DESCRIPTION_MAX_LENGTH: 60,
|
|
105
105
|
STORE_NAME_MAX_LENGTH: 30,
|
|
106
|
+
TABLE_NAME_MAX_LENGTH: 30,
|
|
106
107
|
TAKEOUT_STARTING_PRICE: 10000000,
|
|
107
108
|
TAKEOUT_DELIVERY_FEE: 10000000,
|
|
108
109
|
MEMBER_SAVING_RULE_DESCRIPTION_MAX_LENGTH: 50,
|
|
@@ -125,13 +125,7 @@ export interface Store {
|
|
|
125
125
|
name: string;
|
|
126
126
|
enabled: boolean;
|
|
127
127
|
}[];
|
|
128
|
-
readonly areas:
|
|
129
|
-
readonly name: string;
|
|
130
|
-
readonly tables: {
|
|
131
|
-
name: string;
|
|
132
|
-
seatNum: number;
|
|
133
|
-
}[];
|
|
134
|
-
}[];
|
|
128
|
+
readonly areas: Area[];
|
|
135
129
|
}
|
|
136
130
|
export interface ReceptionPrinter {
|
|
137
131
|
_id: string;
|
|
@@ -155,6 +149,7 @@ export interface ReceptionPrinter {
|
|
|
155
149
|
customInformationAtStart?: string;
|
|
156
150
|
customInformationAtEnd?: string;
|
|
157
151
|
showWaiterName?: boolean;
|
|
152
|
+
showUnitPrice?: boolean;
|
|
158
153
|
}
|
|
159
154
|
export interface ChefPrinter {
|
|
160
155
|
name: string;
|
|
@@ -191,4 +186,14 @@ interface DayLoopItem {
|
|
|
191
186
|
removeMode: boolean;
|
|
192
187
|
dishId: string[];
|
|
193
188
|
}
|
|
189
|
+
export interface Area {
|
|
190
|
+
readonly _id?: string;
|
|
191
|
+
readonly name: string;
|
|
192
|
+
readonly tables: Table[];
|
|
193
|
+
}
|
|
194
|
+
export interface Table {
|
|
195
|
+
readonly _id?: string;
|
|
196
|
+
readonly name: string;
|
|
197
|
+
readonly seatNum: number;
|
|
198
|
+
}
|
|
194
199
|
export {};
|
package/package.json
CHANGED
package/src/const/const.ts
CHANGED
|
@@ -100,6 +100,7 @@ class Const {
|
|
|
100
100
|
SPECIFICATION_NAME_MAX_LENGTH: 60,
|
|
101
101
|
SPECIFICATION_DESCRIPTION_MAX_LENGTH: 60,
|
|
102
102
|
STORE_NAME_MAX_LENGTH: 30,
|
|
103
|
+
TABLE_NAME_MAX_LENGTH: 30,
|
|
103
104
|
TAKEOUT_STARTING_PRICE: 10000000,
|
|
104
105
|
TAKEOUT_DELIVERY_FEE: 10000000,
|
|
105
106
|
MEMBER_SAVING_RULE_DESCRIPTION_MAX_LENGTH: 50,
|
|
@@ -126,13 +126,7 @@ export interface Store {
|
|
|
126
126
|
name: string;
|
|
127
127
|
enabled: boolean;
|
|
128
128
|
}[];
|
|
129
|
-
readonly areas:
|
|
130
|
-
readonly name: string;
|
|
131
|
-
readonly tables: {
|
|
132
|
-
name: string;
|
|
133
|
-
seatNum: number;
|
|
134
|
-
}[];
|
|
135
|
-
}[];
|
|
129
|
+
readonly areas: Area[];
|
|
136
130
|
}
|
|
137
131
|
|
|
138
132
|
export interface ReceptionPrinter {
|
|
@@ -157,6 +151,7 @@ export interface ReceptionPrinter {
|
|
|
157
151
|
customInformationAtStart?: string;
|
|
158
152
|
customInformationAtEnd?: string;
|
|
159
153
|
showWaiterName?: boolean;
|
|
154
|
+
showUnitPrice?: boolean;
|
|
160
155
|
}
|
|
161
156
|
|
|
162
157
|
export interface ChefPrinter {
|
|
@@ -196,3 +191,15 @@ interface DayLoopItem {
|
|
|
196
191
|
removeMode: boolean;
|
|
197
192
|
dishId: string[];
|
|
198
193
|
}
|
|
194
|
+
|
|
195
|
+
export interface Area {
|
|
196
|
+
readonly _id?: string;
|
|
197
|
+
readonly name: string;
|
|
198
|
+
readonly tables: Table[];
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export interface Table {
|
|
202
|
+
readonly _id?: string;
|
|
203
|
+
readonly name: string;
|
|
204
|
+
readonly seatNum: number;
|
|
205
|
+
}
|