init
This commit is contained in:
21
src/api/lookupService.ts
Normal file
21
src/api/lookupService.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import fetchAPI from "$api/apiService";
|
||||
|
||||
export const getCarModels = async () => {
|
||||
return fetchAPI("/lookup/car-models");
|
||||
};
|
||||
|
||||
export const getCupCategories = async () => {
|
||||
return fetchAPI("/lookup/cup-categories");
|
||||
};
|
||||
|
||||
export const getDriverCategories = async () => {
|
||||
return fetchAPI("/lookup/driver-categories");
|
||||
};
|
||||
|
||||
export const getSessionTypes = async () => {
|
||||
return fetchAPI("/lookup/session-types");
|
||||
};
|
||||
|
||||
export const getTracks = async () => {
|
||||
return fetchAPI("/lookup/tracks");
|
||||
};
|
||||
Reference in New Issue
Block a user