Type Alias: FrappeUploadInput
FrappeUploadInput =
Blob|File|Uint8Array|ArrayBuffer|ReadableStream<Uint8Array>
Defined in: packages/client/src/modules/file/types.ts:26
Anything upload accepts. Deliberately excludes Node's Buffer — a public .d.ts that
references Buffer requires @types/node to compile, which breaks browser-only consumers.
Pass Uint8Array/ArrayBuffer instead (Buffer is itself a Uint8Array in Node, so
myBuffer is already assignable).
ReadableStream inputs are buffered into a Blob before upload — true chunked upload
streaming from a ReadableStream is not currently supported by the underlying
fetch/FormData platform primitives without additional dependencies, so progress on those
inputs is best-effort rather than byte-accurate.