@freedom_sky/feige-lib 4.12.0 → 4.16.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,
|
|
@@ -45,6 +45,8 @@ export interface Store {
|
|
|
45
45
|
canDeleteOrder: boolean;
|
|
46
46
|
tableOrderAutoCheckout: boolean;
|
|
47
47
|
tableOrderAutoCleanTime: number;
|
|
48
|
+
serialOrderAutoCleanTime: number;
|
|
49
|
+
phoneOrderAutoCleanTime: number;
|
|
48
50
|
mustPayVersion: boolean;
|
|
49
51
|
freeVersion: boolean;
|
|
50
52
|
};
|
|
@@ -149,6 +151,7 @@ export interface ReceptionPrinter {
|
|
|
149
151
|
customInformationAtStart?: string;
|
|
150
152
|
customInformationAtEnd?: string;
|
|
151
153
|
showWaiterName?: boolean;
|
|
154
|
+
showUnitPrice?: boolean;
|
|
152
155
|
}
|
|
153
156
|
export interface ChefPrinter {
|
|
154
157
|
name: string;
|
|
@@ -186,11 +189,13 @@ interface DayLoopItem {
|
|
|
186
189
|
dishId: string[];
|
|
187
190
|
}
|
|
188
191
|
export interface Area {
|
|
192
|
+
readonly _id?: string;
|
|
189
193
|
readonly name: string;
|
|
190
194
|
readonly tables: Table[];
|
|
191
195
|
}
|
|
192
196
|
export interface Table {
|
|
193
|
-
|
|
194
|
-
|
|
197
|
+
readonly _id?: string;
|
|
198
|
+
readonly name: string;
|
|
199
|
+
readonly seatNum: number;
|
|
195
200
|
}
|
|
196
201
|
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,
|
|
@@ -46,6 +46,8 @@ export interface Store {
|
|
|
46
46
|
canDeleteOrder: boolean;
|
|
47
47
|
tableOrderAutoCheckout: boolean;
|
|
48
48
|
tableOrderAutoCleanTime: number;
|
|
49
|
+
serialOrderAutoCleanTime: number;
|
|
50
|
+
phoneOrderAutoCleanTime:number;
|
|
49
51
|
mustPayVersion: boolean;
|
|
50
52
|
freeVersion: boolean;
|
|
51
53
|
};
|
|
@@ -151,6 +153,7 @@ export interface ReceptionPrinter {
|
|
|
151
153
|
customInformationAtStart?: string;
|
|
152
154
|
customInformationAtEnd?: string;
|
|
153
155
|
showWaiterName?: boolean;
|
|
156
|
+
showUnitPrice?: boolean;
|
|
154
157
|
}
|
|
155
158
|
|
|
156
159
|
export interface ChefPrinter {
|
|
@@ -192,11 +195,13 @@ interface DayLoopItem {
|
|
|
192
195
|
}
|
|
193
196
|
|
|
194
197
|
export interface Area {
|
|
198
|
+
readonly _id?: string;
|
|
195
199
|
readonly name: string;
|
|
196
|
-
readonly tables: Table[]
|
|
200
|
+
readonly tables: Table[];
|
|
197
201
|
}
|
|
198
202
|
|
|
199
203
|
export interface Table {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
204
|
+
readonly _id?: string;
|
|
205
|
+
readonly name: string;
|
|
206
|
+
readonly seatNum: number;
|
|
207
|
+
}
|