summaryrefslogtreecommitdiff
path: root/internal/models
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models')
-rw-r--r--internal/models/types.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/models/types.go b/internal/models/types.go
index 5214bf8..e28d985 100644
--- a/internal/models/types.go
+++ b/internal/models/types.go
@@ -197,3 +197,13 @@ const (
AgentTrustRecognized AgentTrustLevel = "recognized"
AgentTrustSuspicious AgentTrustLevel = "suspicious"
)
+
+// CompletedTask represents a logged completed task
+type CompletedTask struct {
+ ID int64 `json:"id"`
+ Source string `json:"source"`
+ SourceID string `json:"source_id"`
+ Title string `json:"title"`
+ DueDate *time.Time `json:"due_date,omitempty"`
+ CompletedAt time.Time `json:"completed_at"`
+}