Appearance
Type Alias: HttpMultipartPart
ts
type HttpMultipartPart =
| {
contentType?: string;
name: string;
value: string;
}
| {
document: string;
filename?: string;
name: string;
};One part of a multipart form: a value, or a document of the tenant by id (its file name and content type the document's unless given). A value's contentType is a media type, parameters allowed (text/plain; charset=utf-8), without a control character: the host refuses any other.