Body, Mind & Soul — API Reference
    Preparing search index...

    Function dataUpload

    • Upload file to path on the "data" source.

      Parameters

      • path: string

        Destination folder.

      • file: File

        File to upload.

      • Optionaloptions: object = {}

        FilePicker upload options (e.g. { notify: false }... see below).

      • OptionaluploadOptions: object = {}

        Additional options forwarded as the 5th argument to FilePicker.upload (e.g. { notify: false }).

      Returns Promise<object>

      The upload response, or a falsy value on failure.