Remove summary from list API responses

Summary statistics are now calculated client-side from kanban data.
This removes the summary field from MyResidencesResponse and
KanbanBoardResponse. Mutation endpoints still return summary via
WithSummaryResponse<T> for immediate cache updates.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Trey t
2025-12-16 17:05:52 -06:00
parent b737357c60
commit 156741f1ad
4 changed files with 6 additions and 18 deletions

View File

@@ -114,11 +114,11 @@ type KanbanColumnResponse struct {
}
// KanbanBoardResponse represents the kanban board
// NOTE: Summary statistics are calculated client-side from kanban data
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