2023-09-21 14:00:04 +00:00
|
|
|
/**
|
|
|
|
* ==============================================================================
|
|
|
|
* Imports
|
|
|
|
* ==============================================================================
|
|
|
|
*/
|
|
|
|
import imageInputFileToBase64 from "./imageInputFileToBase64";
|
|
|
|
import imageInputToBase64 from "./imageInputToBase64";
|
|
|
|
|
|
|
|
/** ****************************************************************************** */
|
|
|
|
/** ****************************************************************************** */
|
|
|
|
/** ****************************************************************************** */
|
|
|
|
/** ****************************************************************************** */
|
|
|
|
/** ****************************************************************************** */
|
|
|
|
/** ****************************************************************************** */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* ==============================================================================
|
|
|
|
* Media Functions Object
|
|
|
|
* ==============================================================================
|
|
|
|
*/
|
|
|
|
const media = {
|
|
|
|
imageInputToBase64: imageInputToBase64,
|
|
|
|
imageInputFileToBase64: imageInputFileToBase64,
|
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* ==============================================================================
|
|
|
|
* Media Functions Object
|
|
|
|
* ==============================================================================
|
|
|
|
*/
|
|
|
|
const auth = {
|
|
|
|
imageInputToBase64: imageInputToBase64,
|
|
|
|
imageInputFileToBase64: imageInputFileToBase64,
|
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* ==============================================================================
|
|
|
|
* Main Export
|
|
|
|
* ==============================================================================
|
|
|
|
*/
|
|
|
|
const datasquirelClient = {
|
|
|
|
media: media,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default datasquirelClient;
|
|
|
|
|
|
|
|
/** ********************************************** */
|
|
|
|
/** ********************************************** */
|
|
|
|
/** ********************************************** */
|