feat(FE-41): craete KandangApi service

This commit is contained in:
ValdiANS
2025-10-05 13:40:09 +07:00
parent 26093034fa
commit 6ff19f05fd
+11
View File
@@ -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');