Skip to content

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

types.ts:54


createdAt

createdAt: string

Defined in

types.ts:60


dataValue

Optional dataValue: number

Numeric value for data-tracking habits

Defined in

types.ts:56


date

date: string

Date in YYYY-MM-DD format (UTC)

Defined in

types.ts:51


habitId

habitId: string

Defined in

types.ts:49


id

id: string

Defined in

types.ts:48


notes

Optional notes: string

Defined in

types.ts:59


skipReason

Optional skipReason: string

Required when status is 'skipped'

Defined in

types.ts:58


status

status: HabitStatus

Defined in

types.ts:52

Built with VitePress