From 624985afaaa8b94e4d9685bcdc935d467f9e7060 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sat, 4 Oct 2025 22:44:33 -0700 Subject: Allow downloading without gob --- internal/api/api.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'internal/api/api.go') diff --git a/internal/api/api.go b/internal/api/api.go index 88a0011..6c9ab3a 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -38,6 +38,7 @@ type ListNotesResponse struct { type CreateNoteRequest struct { ContinuationToken []byte + FileName string Chunk []byte More bool } @@ -52,7 +53,8 @@ type ReadNoteRequest struct { } type ReadNoteResponseStream struct { - Chunk []byte + FileName string + Chunk []byte } type DeleteNoteRequest struct{} -- cgit v1.3.1