@watzon/baserow
    Preparing search index...

    Class UserFileOperations

    Operations for managing Baserow user files.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Uploads a file to Baserow by uploading the file contents directly.

      Parameters

      • fileOrFormData: File | Blob | FormData

        The file to upload (File/Blob object) or FormData with 'file' field

      Returns Promise<UserFile>

      Information about the uploaded file

      If file upload fails

    • Uploads a file to Baserow by downloading it from the provided URL.

      Parameters

      • url: string

        The URL to download the file from

      Returns Promise<UserFile>

      Information about the uploaded file

      If file upload fails