Newer
Older
import { DateTime } from 'luxon'
isWelcomeSeen: boolean
}
export interface ProfileEntity {
id: string
ecogestureHash: string
challengeHash: string
duelHash: string
quizHash: string
explorationHash: string
isFirstConnection: boolean
lastConnectionDate: string
haveSeenLastAnalysis: boolean
sendAnalysisNotification: boolean
monthlyAnalysisDate: string
sendConsumptionAlert: boolean
waterDailyConsumptionLimit: number
isProfileTypeCompleted: boolean
isProfileEcogestureCompleted: boolean
mailToken: string
enedis?: string
egl?: string
grdf?: string
haveSeenEcogestureModal: boolean
activateHalfHourDate: string
_id?: string
_rev?: string
}
export interface Profile
extends Omit<
ProfileEntity,
| 'lastConnectionDate'
| 'monthlyAnalysisDate'
| 'activateHalfHourDate'
lastConnectionDate: DateTime
monthlyAnalysisDate: DateTime
partnersIssueSeenDate: {
enedis: DateTime
egl: DateTime
grdf: DateTime
}
activateHalfHourDate: DateTime