1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-06-16 13:46:16 +02:00

Resolve "Discuss and implement proper API methods."

This commit is contained in:
Maciej Lenartowicz
2019-11-05 11:10:50 +00:00
parent dfa80e64ec
commit 7f8aaea7b8
9 changed files with 122 additions and 244 deletions

View File

@ -6,10 +6,10 @@
*/
// API
export { useAPIGet } from "api/get";
export { useAPIPost } from "api/post";
export { useAPIDelete } from "api/delete";
export { useAPIPatch } from "api/patch";
export {
useAPIGet, useAPIPost, useAPIDelete, useAPIPatch,
} from "api/hooks";
export { API_STATE } from "api/utils";
// Bootstrap
export { Alert, ALERT_TYPES } from "bootstrap/Alert";