reimagined/resolve

Module uploader is poorly documented

Opened this issue · 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