resolve icon indicating copy to clipboard operation
resolve copied to clipboard

Module uploader is poorly documented

Open alexslavr opened this issue 2 years ago • 0 comments

Usage on the client-side is not documented at all.

API handlers description is wrong: Screenshot 2021-11-24 at 18 05 10

e.g. getFormUpload endpoint returns not an upload path, but the object

form: {
   fields: {}
   url: "http://localhost:3000/uploader?dir=images&uploadId=c5c61b58-b6d4-4ce0-8ea8-ccbab3151045"
   uploadId: "c5c61b58-b6d4-4ce0-8ea8-ccbab3151045"
}

It's unclear how to use form.fields

TS typings are also useless: Screenshot 2021-11-24 at 18 06 26

alexslavr avatar Nov 25 '21 09:11 alexslavr