summaryrefslogtreecommitdiff
path: root/internal/api/interfaces.go
diff options
context:
space:
mode:
authorDoot Agent <agent@doot.local>2026-07-06 00:00:59 +0000
committerDoot Agent <agent@doot.local>2026-07-06 00:00:59 +0000
commit945c34590677e161a711ccaff0e1077197b1b178 (patch)
treedf26e8ba5a369b3323649c2fab95bd8e7a49b58e /internal/api/interfaces.go
parentcd14604bbef17f696475cf8737f1e41c9fa2dd06 (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/api/interfaces.go')
-rw-r--r--internal/api/interfaces.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/internal/api/interfaces.go b/internal/api/interfaces.go
index 0bd67b6..c5e154d 100644
--- a/internal/api/interfaces.go
+++ b/internal/api/interfaces.go
@@ -7,16 +7,6 @@ import (
"task-dashboard/internal/models"
)
-// TodoistAPI defines the interface for Todoist operations
-type TodoistAPI interface {
- GetTasks(ctx context.Context) ([]models.Task, error)
- GetProjects(ctx context.Context) ([]models.Project, error)
- CreateTask(ctx context.Context, content, projectID string, dueDate *time.Time, priority int) (*models.Task, error)
- UpdateTask(ctx context.Context, taskID string, updates map[string]interface{}) error
- CompleteTask(ctx context.Context, taskID string) error
- ReopenTask(ctx context.Context, taskID string) error
-}
-
// TrelloAPI defines the interface for Trello operations
type TrelloAPI interface {
GetBoards(ctx context.Context) ([]models.Board, error)
@@ -59,7 +49,6 @@ type ClaudomatorClient interface {
// Ensure concrete types implement interfaces
var (
- _ TodoistAPI = (*TodoistClient)(nil)
_ TrelloAPI = (*TrelloClient)(nil)
_ PlanToEatAPI = (*PlanToEatClient)(nil)
_ GoogleCalendarAPI = (*GoogleCalendarClient)(nil)