diff options
| author | Doot Agent <agent@doot.local> | 2026-07-06 00:00:59 +0000 |
|---|---|---|
| committer | Doot Agent <agent@doot.local> | 2026-07-06 00:00:59 +0000 |
| commit | 945c34590677e161a711ccaff0e1077197b1b178 (patch) | |
| tree | df26e8ba5a369b3323649c2fab95bd8e7a49b58e /internal/models/types.go | |
| parent | cd14604bbef17f696475cf8737f1e41c9fa2dd06 (diff) | |
feat: remove Todoist integration entirely
Native tasks (native_tasks table) fully replace Todoist. All Todoist
API code, store functions, handlers, routes, templates, and tests have
been removed. Migration 021 drops the now-unused tasks cache table.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/models/types.go')
| -rw-r--r-- | internal/models/types.go | 6 |
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"` |
