@freedom_sky/feige-lib 4.61.0 → 4.61.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.
- package/dist/const/const.d.ts +6 -6
- package/package.json +1 -1
- package/src/const/const.ts +19 -19
- package/src/enum/continent.enum.ts +1 -1
package/dist/const/const.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ContinentEnum } from '../enum/continent.enum';
|
|
2
2
|
import { LanguageItem } from '../interfaces/common/language.interface';
|
|
3
3
|
declare class Const {
|
|
4
|
-
ROLE: {
|
|
5
|
-
MANAGER:
|
|
6
|
-
WAITER:
|
|
7
|
-
CHEF:
|
|
8
|
-
RECEPTIONIST:
|
|
9
|
-
PARTNER:
|
|
4
|
+
readonly ROLE: {
|
|
5
|
+
readonly MANAGER: "manager";
|
|
6
|
+
readonly WAITER: "waiter";
|
|
7
|
+
readonly CHEF: "chef";
|
|
8
|
+
readonly RECEPTIONIST: "receptionist";
|
|
9
|
+
readonly PARTNER: "partner";
|
|
10
10
|
};
|
|
11
11
|
TASK_TYPE: {
|
|
12
12
|
CHECK: string;
|
package/package.json
CHANGED
package/src/const/const.ts
CHANGED
|
@@ -3,13 +3,13 @@ import { EncodeTypeEnum } from '../enum/printer.enum';
|
|
|
3
3
|
import { ContinentEnum } from '../enum/continent.enum';
|
|
4
4
|
import { LanguageItem } from '../interfaces/common/language.interface';
|
|
5
5
|
class Const {
|
|
6
|
-
ROLE = {
|
|
6
|
+
readonly ROLE = {
|
|
7
7
|
MANAGER: 'manager',
|
|
8
8
|
WAITER: 'waiter',
|
|
9
9
|
CHEF: 'chef',
|
|
10
10
|
RECEPTIONIST: 'receptionist',
|
|
11
11
|
PARTNER: 'partner',
|
|
12
|
-
};
|
|
12
|
+
} as const;
|
|
13
13
|
TASK_TYPE = {
|
|
14
14
|
CHECK: 'check',
|
|
15
15
|
DELIVER: 'deliver',
|
|
@@ -461,25 +461,25 @@ class Const {
|
|
|
461
461
|
DINE: 'dine',
|
|
462
462
|
TAKEOUT: 'takeout',
|
|
463
463
|
};
|
|
464
|
-
AREA_CODE:{
|
|
465
|
-
continent: ContinentEnum
|
|
466
|
-
en: string
|
|
467
|
-
zh: string
|
|
468
|
-
phoneCode: string
|
|
469
|
-
zhHead: string
|
|
470
|
-
cost?: number // SMS cost
|
|
464
|
+
AREA_CODE: {
|
|
465
|
+
continent: ContinentEnum;
|
|
466
|
+
en: string;
|
|
467
|
+
zh: string;
|
|
468
|
+
phoneCode: string;
|
|
469
|
+
zhHead: string;
|
|
470
|
+
cost?: number; // SMS cost
|
|
471
471
|
setting?: {
|
|
472
|
-
defaultCurrency: string
|
|
473
|
-
timeZoneNum: number
|
|
472
|
+
defaultCurrency: string;
|
|
473
|
+
timeZoneNum: number;
|
|
474
474
|
agent: {
|
|
475
|
-
instruction: string
|
|
476
|
-
showPriceInStore: boolean
|
|
477
|
-
qrCode: string
|
|
478
|
-
phone?: string
|
|
479
|
-
email?: string
|
|
480
|
-
}
|
|
481
|
-
cashDenominations?: number[]
|
|
482
|
-
}
|
|
475
|
+
instruction: string;
|
|
476
|
+
showPriceInStore: boolean;
|
|
477
|
+
qrCode: string;
|
|
478
|
+
phone?: string;
|
|
479
|
+
email?: string;
|
|
480
|
+
};
|
|
481
|
+
cashDenominations?: number[];
|
|
482
|
+
};
|
|
483
483
|
}[] = [
|
|
484
484
|
{
|
|
485
485
|
en: 'Angola',
|