summaryrefslogtreecommitdiffstats
path: root/internal/api/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/api.go')
-rw-r--r--internal/api/api.go4
1 files changed, 3 insertions, 1 deletions
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{}