TEF (thermic effect of food): optional profile toggle, 10% of intake, introduced so maintenance is preserved - base = BMR*actLevel*(1-tef), then +tef*intake. On a deficit day expenditure is slightly lower (eat less, digest less), which keeps the existing calibration rather than inflating the deficit. Day summary shows "расход: база + переваривание + активность"; the 7-day trend uses it too. New activity_type "vr" (Руки/VR): HR-only like "workout" (no GPS, kcal from HR), tracked separately. GPS.isHrOnly() replaces the hardcoded "workout" checks so both kinds share the no-GPS record/detail path.
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/nicegui/tauri-v2/refs/heads/main/tooling/cli/schema.json",
|
|
"productName": "BalDav",
|
|
"version": "0.1.513",
|
|
"identifier": "dev.baldav.app",
|
|
"build": {
|
|
"frontendDist": "../frontend"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"security": {
|
|
"csp": "default-src 'self' 'unsafe-inline' 'unsafe-eval'; script-src 'self' 'wasm-unsafe-eval' 'unsafe-eval' 'unsafe-inline'; connect-src 'self' https://4aiman.top https://*.tile.openstreetmap.org https://*.tile.thunderforest.com https://api.open-meteo.com https://wttr.in http://192.168.1.1:88; img-src 'self' blob: data: https://*.tile.openstreetmap.org https://*.tile.thunderforest.com"
|
|
},
|
|
"windows": [
|
|
{
|
|
"title": "BalDav",
|
|
"width": 400,
|
|
"height": 700,
|
|
"resizable": true
|
|
}
|
|
]
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/icon.png"
|
|
],
|
|
"resources": {
|
|
"../frontend/data/products_seed.db": "data/products_seed.db"
|
|
}
|
|
},
|
|
"plugins": {
|
|
"sql": {
|
|
"preload": ["sqlite:baldav.db"]
|
|
}
|
|
}
|
|
}
|