Interface: HabitLog
index.HabitLog
Record of a habit's status for a specific day. One log per habit per day.
Properties
completedAt
• Optional completedAt: string
Set when status is 'completed'
Defined in
createdAt
• createdAt: string
Defined in
dataValue
• Optional dataValue: number
Numeric value for data-tracking habits
Defined in
date
• date: string
Date in YYYY-MM-DD format (UTC)
Defined in
habitId
• habitId: string
Defined in
id
• id: string
Defined in
notes
• Optional notes: string
Defined in
skipReason
• Optional skipReason: string
Required when status is 'skipped'
Defined in
status
• status: HabitStatus