const {
  ObjectStore,
  makeSureBucketExists,
  upload,
  streamUpload,
  retrieve,
  retrieveToTmp,
  deleteFolder,
  uploadDirectory,
  downloadTarball,
} = require("@budibase/auth").objectStore

/***********************************
 *              NOTE               *
 * This file purely exists so that *
 *  the object store functionality *
 *   can easily be mocked out of   *
 *  the server without mocking the *
 *      entire core library.       *
 ***********************************/

exports.ObjectStore = ObjectStore
exports.makeSureBucketExists = makeSureBucketExists
exports.upload = upload
exports.streamUpload = streamUpload
exports.retrieve = retrieve
exports.retrieveToTmp = retrieveToTmp
exports.deleteFolder = deleteFolder
exports.uploadDirectory = uploadDirectory
exports.downloadTarball = downloadTarball
