summaryrefslogtreecommitdiff
path: root/internal/models/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models/types.go')
-rw-r--r--internal/models/types.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/models/types.go b/internal/models/types.go
index 0b025ce..d9dd515 100644
--- a/internal/models/types.go
+++ b/internal/models/types.go
@@ -6,7 +6,7 @@ import (
"time"
)
-// Task represents a task from Todoist
+// Task represents a native task
type Task struct {
ID string `json:"id"`
Content string `json:"content"`
@@ -118,7 +118,7 @@ type Card struct {
URL string `json:"url"`
}
-// Project represents a Todoist project
+// Project represents a project (used for source config grouping)
type Project struct {
ID string `json:"id"`
Name string `json:"name"`
@@ -249,7 +249,7 @@ type CompletedTask struct {
// SourceConfig represents a configurable item from a data source
type SourceConfig struct {
ID int64 `json:"id"`
- Source string `json:"source"` // trello, todoist, gcal, gtasks
+ Source string `json:"source"` // trello, gcal, gtasks
ItemType string `json:"item_type"` // board, project, calendar, tasklist
ItemID string `json:"item_id"`
ItemName string `json:"item_name"`