diff options
| author | Claude Agent <agent@doot.local> | 2026-03-25 05:17:35 +0000 |
|---|---|---|
| committer | Claude Agent <agent@doot.local> | 2026-03-25 05:17:35 +0000 |
| commit | b58787cfec0bd07abc316c66dc9be6c10b8113c6 (patch) | |
| tree | e1c788094f51bdab0bce8ad38c8d6638c9079bb9 /internal/api/interfaces.go | |
| parent | 2db5020047640361066510f29f908ca9fd1c99aa (diff) | |
feat: add Claudomator stories as atom source in Doot tasks tab
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/api/interfaces.go')
| -rw-r--r-- | internal/api/interfaces.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/api/interfaces.go b/internal/api/interfaces.go index 99701a1..0bd67b6 100644 --- a/internal/api/interfaces.go +++ b/internal/api/interfaces.go @@ -52,6 +52,11 @@ type GoogleTasksAPI interface { SetTaskListID(id string) } +// ClaudomatorClient defines the interface for Claudomator operations +type ClaudomatorClient interface { + GetActiveStories(ctx context.Context) ([]models.ClaudomatorStory, error) +} + // Ensure concrete types implement interfaces var ( _ TodoistAPI = (*TodoistClient)(nil) @@ -59,4 +64,5 @@ var ( _ PlanToEatAPI = (*PlanToEatClient)(nil) _ GoogleCalendarAPI = (*GoogleCalendarClient)(nil) _ GoogleTasksAPI = (*GoogleTasksClient)(nil) + _ ClaudomatorClient = (*ClaudomatorHTTPClient)(nil) ) |
