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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user