-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.js
More file actions
79 lines (72 loc) · 1.46 KB
/
config.js
File metadata and controls
79 lines (72 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
const cityReliability = {
"MAP_BY_CITY": 100,
"MAP_BY_AREA": 80,
"MAP_BY_ROAD": 15,
"NOT_FOUND": 0
}
const areaReliability = {
"MAP_BY_AREA": 100,
"MAP_BY_ROAD_AND_CITY": 30,
"MAP_BY_ROAD_WITHOUT_CITY": 15,
"NOT_FOUND": 0
}
const cityStatus = {
mapByCity: "MAP_BY_CITY",
mapByArea: "MAP_BY_AREA",
mapByRoad: "MAP_BY_ROAD",
notFound: "NOT_FOUND"
}
const areaStatus = {
mapByArea: "MAP_BY_AREA",
mapByRoadAndCity: "MAP_BY_ROAD_AND_CITY",
mapByRoadWithoutCity: "MAP_BY_ROAD_WITHOUT_CITY",
notFound: "NOT_FOUND"
}
Object.freeze(cityReliability);
Object.freeze(areaReliability);
Object.freeze(cityStatus);
Object.freeze(areaStatus);
const fullwidthNumber = {
"0": {
number: "0",
chinese: "零"
},
"1": {
number: "1",
chinese: "一"
},
"2": {
number: "2",
chinese: "二"
},
"3": {
number: "3",
chinese: "三"
},
"4": {
number: "4",
chinese: "四"
},
"5": {
number: "5",
chinese: "五"
},
"6": {
number: "6",
chinese: "六"
},
"7": {
number: "7",
chinese: "七"
},
"8": {
number: "8",
chinese: "八"
},
"9": {
number: "9",
chinese: "九"
},
}
Object.freeze(fullwidthNumber);
module.exports = { cityReliability, areaReliability, cityStatus, areaStatus, fullwidthNumber }