summaryrefslogtreecommitdiff
path: root/internal/models
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models')
-rw-r--r--internal/models/widget.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/models/widget.go b/internal/models/widget.go
index e2876b0..54a6eee 100644
--- a/internal/models/widget.go
+++ b/internal/models/widget.go
@@ -14,6 +14,7 @@ type WidgetItem struct {
End *time.Time `json:"end,omitempty"`
IsAllDay bool `json:"is_all_day"`
IsOverdue bool `json:"is_overdue"`
+ DueDate *time.Time `json:"due_date,omitempty"` // doot tasks only -- see TimelineItemToWidgetItem
URL string `json:"url,omitempty"`
Completable bool `json:"completable"` // true = doot task (checkbox shown)
}