fix: restore file attachment stubs with proper TODO

This commit is contained in:
Markov 2026-02-23 14:12:39 +01:00
parent f97aa64142
commit 58f5ebca68

View File

@ -111,8 +111,15 @@ export class TrackerClient {
return this.request('GET', `/api/v1/messages?${qs}`); return this.request('GET', `/api/v1/messages?${qs}`);
} }
// --- Files --- // --- Files (Attachments) ---
// TODO: file upload/download not implemented yet in Tracker // Files are attachments on Messages. To attach a file to a task,
// send a message with task_id + attachment.
// Upload endpoint: POST /api/v1/messages/{id}/attachments (TODO in Tracker)
// Download endpoint: GET /api/v1/attachments/{id} (TODO in Tracker)
// async uploadAttachment(messageId: string, filename: string, data: Buffer): Promise<Record<string, unknown>> {
// return this.request('POST', `/api/v1/messages/${messageId}/attachments`, ...);
// }
// --- Projects --- // --- Projects ---