UNPKG

@intuitionrobotics/file-upload

Version:

File Uploader - Express & Typescript based backend framework

14 lines 556 B
import { ApiResponse, HttpMethod, ServerApi } from "@intuitionrobotics/thunderstorm/backend"; import {} from "../../../../shared/types.js"; import {} from "@intuitionrobotics/thunderstorm"; import { UploaderModule } from "../../../modules/UploaderModule.js"; class ServerApi_GetUploadUrl extends ServerApi { constructor() { super(HttpMethod.POST); } async process(request, response, queryParams, body) { return UploaderModule.getUrl(body); } } export default new ServerApi_GetUploadUrl(); //# sourceMappingURL=get-url.js.map