I implemented the frontend part of handling uploading files to APIs.
We can use a file dialog that opens more than one file simultaneously, so we have File[] "fileset" as the type. But the current version supports operating of max one fileset at a time, the old ones are deleted, what may lead to frontend exceptions.
I store unique (randomly generated) IDs of files in FileActionResponse to pass them to the backend.
Intended to fix issue #9.
I implemented the frontend part of handling uploading files to APIs.
We can use a file dialog that opens more than one file simultaneously, so we have
File[]
"fileset" as the type. But the current version supports operating of max one fileset at a time, the old ones are deleted, what may lead to frontend exceptions.I store unique (randomly generated) IDs of files in
FileActionResponse
to pass them to the backend.