Skip to content

v1.1.0 - Goal Improvements: New Fields & Auto-Status

Latest

Choose a tag to compare

@Mayel-dev Mayel-dev released this 19 Mar 05:01
· 3 commits to main since this release
f8e12f4

Backend v1.1.0

New Goal Fields

  • progress (0-100) — completion percentage
  • targetDate — goal target date
  • category — enum: HEALTH, FINANCE, LEARNING, TRAVEL, FITNESS, OTHER

Business Logic

  • Auto-status update based on progress:
    • 0 → PENDING
    • 1-99 → IN_PROGRESS
    • 100 → COMPLETED

Updated DTOs

  • CreateGoalDto → new optional fields
  • UpdateGoalDto → new optional fields