Include TotalSummary in kanban board task responses

Add summary field to KanbanBoardResponse so clients can update
dashboard stats without making a separate /summary API call.
This reduces network calls when refreshing task data.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Trey t
2025-12-08 16:48:39 -06:00
parent 9761156597
commit 1eec68ecf9
2 changed files with 7 additions and 0 deletions

View File

@@ -127,6 +127,7 @@ type KanbanBoardResponse struct {
Columns []KanbanColumnResponse `json:"columns"`
DaysThreshold int `json:"days_threshold"`
ResidenceID string `json:"residence_id"`
Summary *TotalSummary `json:"summary,omitempty"`
}
// Note: TaskCompletionListResponse pagination removed - returns arrays directly