feat: add habit creation, savings tabs, fix dashboard, fix tab order

This commit is contained in:
Cosmo
2026-03-25 12:32:55 +00:00
parent 4c54467b5e
commit 17b82a874f
6 changed files with 339 additions and 30 deletions

View File

@@ -120,6 +120,10 @@ class APIService {
return try await fetch("/savings/stats", token: token)
}
func getSavingsTransactions(token: String, limit: Int = 50) async throws -> [SavingsTransaction] {
return try await fetch("/savings/transactions?limit=\(limit)", token: token)
}
func getFinanceCategories(token: String) async throws -> [FinanceCategory] {
return try await fetch("/finance/categories", token: token)
}