Cozy CoachCO2 settings doctype¶
Description¶
This doctype stores information about CoachCO2 application settings. There is only one document.
Attributes:¶
account: {Object} - Current account displayed, copy of the associatedio.cozy.accountdocumentbikeGoal: {Object} - Informations about the bike goal featureshowAlert: {boolean} - Whether an alert is displayed requesting activation of the bike goal featureshowAlertSuccess: {boolean} - Whether an alert is displayed when the goal is reachedactivated: {boolean} - Whether the feature is enabledsendToDACC: {boolean} - Whether the user has agreed to share their data with the DACConboarded: {boolean} - Whether the user as completed the onboardingonboardingStep: {number} - The actual onboard step of the userfirstname: {string} - The user’s firstname requested in the onboardinglastname: {string} - The user’s lastname requested in the onboardingdaysToReach: {number} - The user’s goal days to reach requested in the onboardingCO2Emission: {Object} - Informations about the CO2 Emission featureshowAlert: {boolean} - Whether an alert is displayed requesting activation of the DACCsendToDACC: {boolean} - Whether the user has agreed to share their data with the DACChidePoiModal: {boolean} - Whether to display the POI modal when changing the purpose (except for the “Going to or from work” choice)isAllAccountsSelected: {boolean} - If the “all sources” option is selected, in this caseaccountisnull