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

@@ -64,9 +64,9 @@ type TotalSummary struct {
}
// MyResidencesResponse represents the response for my-residences endpoint
// NOTE: Summary statistics are calculated client-side from kanban data
type MyResidencesResponse struct {
Residences []ResidenceResponse `json:"residences"`
Summary TotalSummary `json:"summary"`
}
// ResidenceWithSummaryResponse wraps ResidenceResponse with TotalSummary for CRUD operations