datasquirel/client/media/client.js

34 lines
738 B
JavaScript
Raw Permalink Normal View History

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