@freedom_sky/feige-lib 4.5.0 → 4.9.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 +3 -3
- package/dist/const/const.js +3 -3
- package/dist/enum/printer.enum.d.ts +2 -1
- package/dist/enum/printer.enum.js +1 -0
- package/dist/interfaces/order/order.interface.d.ts +1 -0
- package/dist/interfaces/store/store.interface.d.ts +8 -0
- package/package.json +1 -1
- package/src/const/const.ts +3 -3
- package/src/enum/printer.enum.ts +1 -0
- package/src/interfaces/order/order.interface.ts +1 -0
- package/src/interfaces/store/store.interface.ts +8 -0
package/dist/const/const.d.ts
CHANGED
|
@@ -165,21 +165,21 @@ declare class Const {
|
|
|
165
165
|
dateTime: string;
|
|
166
166
|
date: string;
|
|
167
167
|
yearMonth: string;
|
|
168
|
-
|
|
168
|
+
MonthDayHourMinute: string;
|
|
169
169
|
yearMonthDayHourMinute: string;
|
|
170
170
|
};
|
|
171
171
|
DAY_MONTH_YEAR: {
|
|
172
172
|
dateTime: string;
|
|
173
173
|
date: string;
|
|
174
174
|
yearMonth: string;
|
|
175
|
-
|
|
175
|
+
MonthDayHourMinute: string;
|
|
176
176
|
yearMonthDayHourMinute: string;
|
|
177
177
|
};
|
|
178
178
|
YEAR_MONTH_DAY_REVERSE: {
|
|
179
179
|
dateTime: string;
|
|
180
180
|
date: string;
|
|
181
181
|
yearMonth: string;
|
|
182
|
-
|
|
182
|
+
MonthDayHourMinute: string;
|
|
183
183
|
yearMonthDayHourMinute: string;
|
|
184
184
|
};
|
|
185
185
|
};
|
package/dist/const/const.js
CHANGED
|
@@ -259,21 +259,21 @@ var Const = /** @class */ (function () {
|
|
|
259
259
|
dateTime: 'YYYY-MM-DD HH:mm:ss',
|
|
260
260
|
date: 'YYYY-MM-DD',
|
|
261
261
|
yearMonth: 'YYYY-MM',
|
|
262
|
-
|
|
262
|
+
MonthDayHourMinute: 'MM-DD HH:mm',
|
|
263
263
|
yearMonthDayHourMinute: 'YYYY-MM-DD HH:mm',
|
|
264
264
|
},
|
|
265
265
|
DAY_MONTH_YEAR: {
|
|
266
266
|
dateTime: 'DD-MM-YYYY HH:mm:ss',
|
|
267
267
|
date: 'DD-MM-YYYY',
|
|
268
268
|
yearMonth: 'MM-YYYY',
|
|
269
|
-
|
|
269
|
+
MonthDayHourMinute: 'DD-MM HH:mm',
|
|
270
270
|
yearMonthDayHourMinute: 'DD-MM-YYYY HH:mm',
|
|
271
271
|
},
|
|
272
272
|
YEAR_MONTH_DAY_REVERSE: {
|
|
273
273
|
dateTime: 'HH:mm:ss YYYY-MM-DD',
|
|
274
274
|
date: 'YYYY-MM-DD',
|
|
275
275
|
yearMonth: 'YYYY-MM',
|
|
276
|
-
|
|
276
|
+
MonthDayHourMinute: 'MM-DD HH:mm',
|
|
277
277
|
yearMonthDayHourMinute: 'HH:mm YYYY-MM-DD',
|
|
278
278
|
},
|
|
279
279
|
};
|
|
@@ -4,6 +4,7 @@ import { OrderTypeEnum } from '../../enum/order.enum';
|
|
|
4
4
|
import { TaxTypeEnum } from '../../enum/tax.enum';
|
|
5
5
|
export interface Order {
|
|
6
6
|
readonly _id: string;
|
|
7
|
+
readonly serialOrderId: string;
|
|
7
8
|
readonly type: OrderTypeEnum;
|
|
8
9
|
readonly tableNum?: string;
|
|
9
10
|
readonly serialNum?: string;
|
|
@@ -125,6 +125,14 @@ export interface Store {
|
|
|
125
125
|
name: string;
|
|
126
126
|
enabled: boolean;
|
|
127
127
|
}[];
|
|
128
|
+
readonly areas: {
|
|
129
|
+
name: string;
|
|
130
|
+
}[];
|
|
131
|
+
readonly tables: {
|
|
132
|
+
name: string;
|
|
133
|
+
seatNUm: number;
|
|
134
|
+
areaId: string;
|
|
135
|
+
}[];
|
|
128
136
|
}
|
|
129
137
|
export interface ReceptionPrinter {
|
|
130
138
|
_id: string;
|
package/package.json
CHANGED
package/src/const/const.ts
CHANGED
|
@@ -256,21 +256,21 @@ class Const {
|
|
|
256
256
|
dateTime: 'YYYY-MM-DD HH:mm:ss',
|
|
257
257
|
date: 'YYYY-MM-DD',
|
|
258
258
|
yearMonth: 'YYYY-MM',
|
|
259
|
-
|
|
259
|
+
MonthDayHourMinute: 'MM-DD HH:mm',
|
|
260
260
|
yearMonthDayHourMinute: 'YYYY-MM-DD HH:mm',
|
|
261
261
|
},
|
|
262
262
|
DAY_MONTH_YEAR: {
|
|
263
263
|
dateTime: 'DD-MM-YYYY HH:mm:ss',
|
|
264
264
|
date: 'DD-MM-YYYY',
|
|
265
265
|
yearMonth: 'MM-YYYY',
|
|
266
|
-
|
|
266
|
+
MonthDayHourMinute: 'DD-MM HH:mm',
|
|
267
267
|
yearMonthDayHourMinute: 'DD-MM-YYYY HH:mm',
|
|
268
268
|
},
|
|
269
269
|
YEAR_MONTH_DAY_REVERSE: {
|
|
270
270
|
dateTime: 'HH:mm:ss YYYY-MM-DD',
|
|
271
271
|
date: 'YYYY-MM-DD',
|
|
272
272
|
yearMonth: 'YYYY-MM',
|
|
273
|
-
|
|
273
|
+
MonthDayHourMinute: 'MM-DD HH:mm',
|
|
274
274
|
yearMonthDayHourMinute: 'HH:mm YYYY-MM-DD',
|
|
275
275
|
},
|
|
276
276
|
};
|
package/src/enum/printer.enum.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { OrderTypeEnum } from '../../enum/order.enum';
|
|
|
4
4
|
import { TaxTypeEnum } from '../../enum/tax.enum';
|
|
5
5
|
export interface Order {
|
|
6
6
|
readonly _id: string;
|
|
7
|
+
readonly serialOrderId: string;
|
|
7
8
|
readonly type: OrderTypeEnum;
|
|
8
9
|
readonly tableNum?: string;
|
|
9
10
|
readonly serialNum?: string;
|
|
@@ -126,6 +126,14 @@ export interface Store {
|
|
|
126
126
|
name: string;
|
|
127
127
|
enabled: boolean;
|
|
128
128
|
}[];
|
|
129
|
+
readonly areas:{
|
|
130
|
+
name: string;
|
|
131
|
+
}[];
|
|
132
|
+
readonly tables:{
|
|
133
|
+
name:string,
|
|
134
|
+
seatNUm:number,
|
|
135
|
+
areaId:string
|
|
136
|
+
}[];
|
|
129
137
|
}
|
|
130
138
|
|
|
131
139
|
export interface ReceptionPrinter {
|