1
0
mirror of https://github.com/elisspace/FxLifeSheet.git synced 2026-08-29 15:44:00 +00:00

Add additional keys

This commit is contained in:
Felix Krause
2022-04-21 17:25:25 +02:00
parent dccb938886
commit 4fad6b2858

View File

@@ -44,6 +44,20 @@
"rounding": 1,
"good": "up",
"percentage": false
}, {
"name": "withingssleepinghr",
"customTitle": "Sleeping HR",
"unit": "beats/min",
"rounding": 1,
"good": "bad",
"percentage": false
}, {
"name": "alcoholintake",
"customTitle": "Alcohol Intake",
"unit": "drinks/day",
"rounding": 1,
"good": "bad",
"percentage": false
}, {
"name": "veggies",
"customTitle": "Ate Vegetables",
@@ -58,7 +72,36 @@
"rounding": 1,
"good": "up",
"percentage": false
}, {
"name": "healthy",
"customTitle": "Healthy",
"unit": "",
"rounding": 1,
"good": "up",
"percentage": false
}, {
"name": "headache",
"customTitle": "Headache",
"unit": "",
"rounding": 1,
"good": "bad",
"percentage": false
}, {
"name": "hoursdriving",
"customTitle": "Hours Driven",
"unit": "hours",
"rounding": 1,
"good": "up",
"percentage": false
}, {
"name": "macroadherence",
"customTitle": "Macro Counting Adherence",
"unit": "",
"rounding": 1,
"good": "up",
"percentage": false
}];
// Key have to be lower case
const rows = ["week", "month", "quarter", "year"]
for (var i = 0; i < keys.length; i++) {
const keyData = keys[i];