feat: upload audio, get a private Swedish transcript, discuss it (#33, ADR-033) #39

Merged
mathias merged 299 commits from feat/33-audio-upload-transcript into main 2026-10-03 14:13:37 +00:00
Showing only changes of commit fdcdee7413 - Show all commits
+5 -3
View File
@@ -20,15 +20,17 @@ import (
// fakeUploadsStore satisfies the store surface buildUploads needs, and counts the // fakeUploadsStore satisfies the store surface buildUploads needs, and counts the
// start-up sweep. // start-up sweep.
type fakeUploadsStore struct { type fakeUploadsStore struct {
sweeps int sweeps int
sweepErr error sweepErr error
failedKinds []domain.UploadErrorKind
} }
func (f *fakeUploadsStore) CreateUpload(context.Context, string, string, bool) (string, error) { func (f *fakeUploadsStore) CreateUpload(context.Context, string, string, bool) (string, error) {
return "id", nil return "id", nil
} }
func (f *fakeUploadsStore) FailUpload(context.Context, string, string, domain.UploadErrorKind) error { func (f *fakeUploadsStore) FailUpload(_ context.Context, _, _ string, k domain.UploadErrorKind) error {
f.failedKinds = append(f.failedKinds, k)
return nil return nil
} }