@multipart/form-data
Version:
Multipart/Form-Data And File Upload Middleware For Koa Written In ES6 And Optimised With JavaScript Compiler.
21 lines (20 loc) • 871 B
text/xml
<types namespace="_multipart">
<import name="BusBoyLimits" ns="_goa" from="@goa/busboy" />
<type name="FormDataConfig" desc="The configuration for the instance.">
<prop opt string name="dest">
The directory where to store the files using the `DiskStorage`. If not specified, files will be saved in the system's temp directory (`os.tmpdir()`).
</prop>
<prop opt type="_multipart.FormDataStorageEngine" name="storage">
An _instance_ of a custom storage engine.
</prop>
<prop opt type="_multipart.FormDataFileFilter" name="fileFilter">
The file filter.
</prop>
<prop opt type="_goa.BusBoyLimits" name="limits">
The limits of the uploaded data.
</prop>
<prop boolean name="preservePath" default="false">
Whether to keep the full path of files instead of just the base name.
</prop>
</type>
</types>