30 lines
902 B
JavaScript
30 lines
902 B
JavaScript
'use strict'
|
|
/*
|
|
Open Rowing Monitor, https://github.com/laberning/openrowingmonitor
|
|
|
|
Defines the global state of the app
|
|
*/
|
|
|
|
export const APP_STATE = {
|
|
// currently can be STANDALONE (Mobile Home Screen App), KIOSK (Raspberry Pi deployment) or '' (default)
|
|
appMode: '',
|
|
// contains all the rowing metrics that are delivered from the backend
|
|
metrics: {},
|
|
config: {
|
|
// currently can be FTMS, FTMSBIKE, PM5, CSC, CPS, OFF
|
|
blePeripheralMode: '',
|
|
// currently can be ANT, BLE, OFF
|
|
hrmPeripheralMode: '',
|
|
// currently can be FE, OFF
|
|
antPeripheralMode: '',
|
|
// true if upload to strava is enabled
|
|
stravaUploadEnabled: false,
|
|
// true if remote device shutdown is enabled
|
|
shutdownEnabled: false,
|
|
guiConfigs: {
|
|
dashboardMetrics: ['distance', 'timer', 'pace', 'power', 'stkRate', 'totalStk', 'calories', 'actions'],
|
|
showIcons: true
|
|
}
|
|
}
|
|
}
|