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