naystack - v1.5.10
    Preparing search index...

    Function uploadBlob

    • Returns a function that uploads a Blob/File to S3 at the given key.

      Parameters

      • client: S3Client

        S3 client instance.

      Returns (file: Blob | File, key: string) => Promise<PutObjectCommandOutput>

      (file: File | Blob, key: string) => Promise<PutObjectCommandOutput>.