1 |
9c55d3bb
|
Schwobik
|
import { axiosInstance } from "./api"
|
2 |
|
|
|
3 |
|
|
export const fetchInventoriesRequest = async () => {
|
4 |
|
|
return await axiosInstance.get("/inventories")
|
5 |
|
|
}
|
6 |
|
|
|
7 |
|
|
export const fetchCountriesRequest = async () => {
|
8 |
|
|
return await axiosInstance.get("/form/country")
|
9 |
|
|
}
|
10 |
|
|
|
11 |
|
|
export const fetchInstitutionsRequest = async () => {
|
12 |
|
|
return await axiosInstance.get("/form/institution")
|
13 |
|
|
}
|
14 |
|
|
|
15 |
|
|
export const fetchCitiesRequest = async () => {
|
16 |
|
|
return await axiosInstance.get("/form/city")
|
17 |
|
|
}
|
18 |
|
|
|
19 |
|
|
export const fetchNationalitiesRequest = async () => {
|
20 |
|
|
return await axiosInstance.get("/form/nationality")
|
21 |
|
|
}
|
22 |
|
|
|
23 |
|
|
export const fetchTechniquesRequest = async () => {
|
24 |
|
|
return await axiosInstance.get("/form/technique")
|
25 |
|
|
}
|
26 |
|
|
|
27 |
|
|
export const fetchSubjectsRequest = async () => {
|
28 |
|
|
return await axiosInstance.get("/subject")
|
29 |
|
|
}
|
30 |
|
|
|
31 |
|
|
export const fetchArtistNamesRequest = async () => {
|
32 |
|
|
return await axiosInstance.get("/name/all")
|
33 |
|
|
}
|
34 |
|
|
|
35 |
|
|
export const fetchPlanRequest = async () => {
|
36 |
|
|
return await axiosInstance.get("/plan/list")
|
37 |
|
|
}
|