diff options
Diffstat (limited to 'internal/api/interfaces.go')
| -rw-r--r-- | internal/api/interfaces.go | 11 |
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) |
