summaryrefslogtreecommitdiff
path: root/internal/models/widget.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models/widget.go')
-rw-r--r--internal/models/widget.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/models/widget.go b/internal/models/widget.go
index bf148fd..1ac082e 100644
--- a/internal/models/widget.go
+++ b/internal/models/widget.go
@@ -19,6 +19,9 @@ type WidgetItem struct {
Completable bool `json:"completable"` // true = doot task (checkbox shown)
RecurringEventID string `json:"recurring_event_id,omitempty"`
ProjectColor *string `json:"project_color,omitempty"`
+ ChainPosition int `json:"chain_position,omitempty"` // 1-indexed; 0 = not a chain task
+ ChainTotal int `json:"chain_total,omitempty"`
+ BucketState string `json:"bucket_state,omitempty"` // "active" when this is a maintenance-bucket item
}
// WidgetResponse is the full /api/widget response body.