import { fileControllerUpload , fileControllerUploadAnonymously , } from '@energyweb/origin-backend-react-query-client' ; export const fileUploadHandler = async ( file ) => { return await fileControllerUpload ( { files : file } ) ; } ; export const publicFileUploadHandler = async ( file ) => { return await fileControllerUploadAnonymously ( { files : file } ) ; } ;