Closed goto-bus-stop closed 6 years ago
It seems this needs some TypeScript love still @ifedapoolarewaju @goto-bus-stop :
> tsc -p .
src/server/Uploader.js(165,31): error TS2339: Property 'uploadUrl' does not exist on type '{ endpoint: string; protocol: string; metadata: any; size: number; fieldname?: string; pathPrefix...'.
from: https://travis-ci.org/transloadit/uppy-server/builds/343400917#L3159
Allows uploading to a tus endpoint if you don't actually get to create your own upload, like with Vimeo's upload API.
In the future we should make
endpoint
optional, which involves changing a bunch of checks throughout the Uploader class, but we can't do that yet because tus-js-client still requires an endpoint currently.