UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

7 lines 507 B
import { ProgressCallback } from '@/synapse-client/index'; /** * Directly (from the client runtime, e.g. browser) uploads a file to an * S3-compatible storage service. */ export declare function uploadToS3(blob: Blob, fileKey: string, endpoint: string, accessKey: string, secretKey: string, bucketName: string, contentType: string, abortController: AbortController | undefined, progressCallback: ((progress: ProgressCallback) => void) | undefined): Promise<void>; //# sourceMappingURL=UploadToS3.d.ts.map