@freedom_sky/feige-lib 4.18.0 → 4.22.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/enum/role.enum.d.ts +7 -0
- package/dist/enum/role.enum.js +10 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/interfaces/order/order.interface.d.ts +2 -1
- package/dist/interfaces/store/store.interface.d.ts +3 -0
- package/package.json +1 -1
- package/src/enum/role.enum.ts +7 -0
- package/src/index.ts +1 -0
- package/src/interfaces/order/order.interface.ts +2 -1
- package/src/interfaces/store/store.interface.ts +3 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var RoleEnum;
|
|
4
|
+
(function (RoleEnum) {
|
|
5
|
+
RoleEnum["Manager"] = "manager";
|
|
6
|
+
RoleEnum["Waiter"] = "waiter";
|
|
7
|
+
RoleEnum["Chef"] = "chef";
|
|
8
|
+
RoleEnum["Receptionist"] = "receptionist";
|
|
9
|
+
RoleEnum["Partner"] = "partner";
|
|
10
|
+
})(RoleEnum = exports.RoleEnum || (exports.RoleEnum = {}));
|
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from './enum/user-status.enum';
|
|
|
20
20
|
export * from './enum/visit-task.enum';
|
|
21
21
|
export * from './enum/receptionist.enum';
|
|
22
22
|
export * from './enum/from.enum';
|
|
23
|
+
export * from './enum/role.enum';
|
|
23
24
|
export * from './interfaces/member/member.interface';
|
|
24
25
|
export * from './interfaces/member/member-transaction.interface';
|
|
25
26
|
export * from './interfaces/store/store.interface';
|
package/dist/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __export(require("./enum/user-status.enum"));
|
|
|
25
25
|
__export(require("./enum/visit-task.enum"));
|
|
26
26
|
__export(require("./enum/receptionist.enum"));
|
|
27
27
|
__export(require("./enum/from.enum"));
|
|
28
|
+
__export(require("./enum/role.enum"));
|
|
28
29
|
var pay_company_enum_1 = require("./enum/pay-company.enum");
|
|
29
30
|
exports.PayCompanyEnum = pay_company_enum_1.PayCompanyEnum;
|
|
30
31
|
var moment = require("moment");
|
|
@@ -22,10 +22,11 @@ export interface Order {
|
|
|
22
22
|
readonly storeId: string;
|
|
23
23
|
readonly clientId: string;
|
|
24
24
|
readonly date: Date | string;
|
|
25
|
-
readonly autoCleanTime
|
|
25
|
+
readonly autoCleanTime?: Date | string;
|
|
26
26
|
readonly status: string;
|
|
27
27
|
readonly checkoutFirst: boolean;
|
|
28
28
|
readonly operatorId: string;
|
|
29
|
+
readonly salesmanId: string;
|
|
29
30
|
readonly __v: number;
|
|
30
31
|
readonly process?: Process[];
|
|
31
32
|
readonly checkout?: Checkout[];
|
|
@@ -150,6 +150,7 @@ export interface ReceptionPrinter {
|
|
|
150
150
|
customInformationAtStart?: string;
|
|
151
151
|
customInformationAtEnd?: string;
|
|
152
152
|
showWaiterName?: boolean;
|
|
153
|
+
showSalesmanName?: boolean;
|
|
153
154
|
showUnitPrice?: boolean;
|
|
154
155
|
}
|
|
155
156
|
export interface ChefPrinter {
|
|
@@ -171,6 +172,8 @@ export interface ChefPrinter {
|
|
|
171
172
|
lineBetweenDishes?: boolean;
|
|
172
173
|
specificationInNewLine?: boolean;
|
|
173
174
|
countFront?: boolean;
|
|
175
|
+
showWaiterName?: boolean;
|
|
176
|
+
showSalesmanName?: boolean;
|
|
174
177
|
}
|
|
175
178
|
export interface LabelPrinter {
|
|
176
179
|
name: string;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -21,6 +21,7 @@ export * from './enum/user-status.enum';
|
|
|
21
21
|
export * from './enum/visit-task.enum';
|
|
22
22
|
export * from './enum/receptionist.enum';
|
|
23
23
|
export * from './enum/from.enum';
|
|
24
|
+
export * from './enum/role.enum';
|
|
24
25
|
export * from './interfaces/member/member.interface';
|
|
25
26
|
export * from './interfaces/member/member-transaction.interface';
|
|
26
27
|
export * from './interfaces/store/store.interface';
|
|
@@ -22,10 +22,11 @@ export interface Order {
|
|
|
22
22
|
readonly storeId: string;
|
|
23
23
|
readonly clientId: string;
|
|
24
24
|
readonly date: Date | string;
|
|
25
|
-
readonly autoCleanTime
|
|
25
|
+
readonly autoCleanTime?: Date | string;
|
|
26
26
|
readonly status: string;
|
|
27
27
|
readonly checkoutFirst: boolean;
|
|
28
28
|
readonly operatorId: string;
|
|
29
|
+
readonly salesmanId: string;
|
|
29
30
|
readonly __v: number;
|
|
30
31
|
readonly process?: Process[];
|
|
31
32
|
readonly checkout?: Checkout[];
|
|
@@ -152,6 +152,7 @@ export interface ReceptionPrinter {
|
|
|
152
152
|
customInformationAtStart?: string;
|
|
153
153
|
customInformationAtEnd?: string;
|
|
154
154
|
showWaiterName?: boolean;
|
|
155
|
+
showSalesmanName?: boolean;
|
|
155
156
|
showUnitPrice?: boolean;
|
|
156
157
|
}
|
|
157
158
|
|
|
@@ -174,6 +175,8 @@ export interface ChefPrinter {
|
|
|
174
175
|
lineBetweenDishes?: boolean;
|
|
175
176
|
specificationInNewLine?: boolean;
|
|
176
177
|
countFront?: boolean;
|
|
178
|
+
showWaiterName?: boolean;
|
|
179
|
+
showSalesmanName?: boolean;
|
|
177
180
|
}
|
|
178
181
|
|
|
179
182
|
export interface LabelPrinter {
|