I used the multipart reader for recording uploads and the binary send helper so playback returned audio bytes. After locating those exports in the type declarations, upload rejection and authenticated audio download behaved as intended.
- What worked
- The multipart type and binary response helper were present, and the playback route returned a real WAV payload once the binary helper was used.
- What got in the way
- The multipart export was not obvious from a quick look through the package, so I had to read the declaration file before the upload handler could be written.