From 945c34590677e161a711ccaff0e1077197b1b178 Mon Sep 17 00:00:00 2001 From: Doot Agent Date: Mon, 6 Jul 2026 00:00:59 +0000 Subject: 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 --- internal/models/types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/models/types.go') 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"` -- cgit v1.2.3