summaryrefslogtreecommitdiff
path: root/internal/api/interfaces.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-01-20 11:17:19 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-01-20 11:17:19 -1000
commit07ba815e8517ee2d3a5fa531361bbd09bdfcbaa7 (patch)
treeca9d9be0f02d5a724a3646f87d4a9f50203249cc /internal/api/interfaces.go
parent6a59098c3096f5ebd3a61ef5268cbd480b0f1519 (diff)
Remove Obsidian integration for public server deployment
Obsidian relied on local filesystem access which is incompatible with public server deployment. This removes all Obsidian-related code including: - API client and interface - Store layer methods (SaveNotes, GetNotes, SearchNotes) - Handler methods and routes - UI tab and templates - Configuration fields - Related tests Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'internal/api/interfaces.go')
-rw-r--r--internal/api/interfaces.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/internal/api/interfaces.go b/internal/api/interfaces.go
index 2419707..33bef59 100644
--- a/internal/api/interfaces.go
+++ b/internal/api/interfaces.go
@@ -26,11 +26,6 @@ type TrelloAPI interface {
UpdateCard(ctx context.Context, cardID string, updates map[string]interface{}) error
}
-// ObsidianAPI defines the interface for Obsidian operations
-type ObsidianAPI interface {
- GetNotes(ctx context.Context, limit int) ([]models.Note, error)
-}
-
// PlanToEatAPI defines the interface for PlanToEat operations
type PlanToEatAPI interface {
GetUpcomingMeals(ctx context.Context, days int) ([]models.Meal, error)
@@ -42,6 +37,5 @@ type PlanToEatAPI interface {
var (
_ TodoistAPI = (*TodoistClient)(nil)
_ TrelloAPI = (*TrelloClient)(nil)
- _ ObsidianAPI = (*ObsidianClient)(nil)
_ PlanToEatAPI = (*PlanToEatClient)(nil)
)