mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
feat(FE-41): craete KandangApi service
This commit is contained in:
@@ -14,6 +14,11 @@ import {
|
||||
Location,
|
||||
UpdateLocationPayload,
|
||||
} from '@/types/api/master-data/location';
|
||||
import {
|
||||
CreateKandangPayload,
|
||||
Kandang,
|
||||
UpdateKandangPayload,
|
||||
} from '@/types/api/master-data/kandang';
|
||||
|
||||
export const UomApi = new BaseApiService<
|
||||
Uom,
|
||||
@@ -32,3 +37,9 @@ export const LocationApi = new BaseApiService<
|
||||
CreateLocationPayload,
|
||||
UpdateLocationPayload
|
||||
>('/master-data/locations');
|
||||
|
||||
export const KandangApi = new BaseApiService<
|
||||
Kandang,
|
||||
CreateKandangPayload,
|
||||
UpdateKandangPayload
|
||||
>('/master-data/kandangs');
|
||||
|
||||
Reference in New Issue
Block a user