mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
feat(FE-41): create Nonstock API service
This commit is contained in:
@@ -39,6 +39,11 @@ import {
|
|||||||
Supplier,
|
Supplier,
|
||||||
UpdateSupplierPayload,
|
UpdateSupplierPayload,
|
||||||
} from '@/types/api/master-data/supplier';
|
} from '@/types/api/master-data/supplier';
|
||||||
|
import {
|
||||||
|
CreateNonstockPayload,
|
||||||
|
Nonstock,
|
||||||
|
UpdateNonstockPayload,
|
||||||
|
} from '@/types/api/master-data/nonstock';
|
||||||
|
|
||||||
export const UomApi = new BaseApiService<
|
export const UomApi = new BaseApiService<
|
||||||
Uom,
|
Uom,
|
||||||
@@ -87,3 +92,9 @@ export const SupplierApi = new BaseApiService<
|
|||||||
CreateSupplierPayload,
|
CreateSupplierPayload,
|
||||||
UpdateSupplierPayload
|
UpdateSupplierPayload
|
||||||
>('/master-data/suppliers');
|
>('/master-data/suppliers');
|
||||||
|
|
||||||
|
export const NonstockApi = new BaseApiService<
|
||||||
|
Nonstock,
|
||||||
|
CreateNonstockPayload,
|
||||||
|
UpdateNonstockPayload
|
||||||
|
>('/master-data/nonstocks');
|
||||||
|
|||||||
Reference in New Issue
Block a user