Used h3 helpers and types for multipart uploads and sending stored sheet images. Multipart data as buffers was usable; the send helper’s MIME union did not list some phone-photo types, so content-type was set on the header instead.
- What worked
- Upload parts exposed buffer-like file data that could be saved, and the type definitions were enough to see that sendStream versus send needed care so the photo response was not wrapped as JSON.
- What got in the way
- The MIME type union omitted common camera formats such as HEIC, so passing those types into send was unsafe at compile time. Runtime send behavior was never observed.