fix(api): add getThought endpoint and frontend api method to resolve docker tsc build error
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 1m0s

This commit is contained in:
sandrodach committed 2026-10-27 20:36:58 +01:00
1 parent 94acb2638e
commit fd95c2f8da
2 files changed
+16

No files matched your search

+4
View File
@@ -309,6 +309,10 @@ export const api = {
return ensureArray(res);
},
async getThought(thoughtId: string): Promise<Thought> {
return request<Thought>(`/api/v1/thoughts/${encodeURIComponent(thoughtId)}`);
},
async triageAction(
thoughtId: string,
action: 'keep' | 'discard' | 'restore',