Rev 3432 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
import { deleteData, sendData, getData, updateData, setBaseURL } from '../services/ApiClient';
class axios {
static delete = deleteData;
static post = sendData;
static get = getData;
static put = updateData;
static create = setBaseURL;
}
export function getKeyByValue(object = {}, value) {
return Object.keys(object).find((key) => object[key] === value);
}
export function generateUUID() {
const uuid = crypto.randomUUID();
return uuid;
}
export { axios };
export * from './globals';
export * from './devices';
export * from './notifications';