added habit daily completion target (#26)

This commit is contained in:
Doh
2025-01-05 16:56:04 -05:00
committed by GitHub
parent 86a517a859
commit aaa7e384bc
19 changed files with 577 additions and 132 deletions

View File

@@ -4,7 +4,8 @@ export type Habit = {
description: string
frequency: 'daily' | 'weekly' | 'monthly'
coinReward: number
completions: string[] // Array of ISO date strings
targetCompletions?: number // Optional field, default to 1
completions: string[] // Array of UTC ISO date strings
}
export type WishlistItemType = {