mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
feat(FE-42): add Product API and form validation schema with product flags
This commit is contained in:
@@ -29,6 +29,11 @@ import {
|
||||
ProductCategory,
|
||||
UpdateProductCategoryPayload,
|
||||
} from '@/types/api/master-data/product-category';
|
||||
import {
|
||||
CreateProductPayload,
|
||||
Product,
|
||||
UpdateProductPayload,
|
||||
} from '@/types/api/master-data/product';
|
||||
|
||||
export const UomApi = new BaseApiService<
|
||||
Uom,
|
||||
@@ -64,4 +69,10 @@ export const ProductCategoryApi = new BaseApiService<
|
||||
ProductCategory,
|
||||
CreateProductCategoryPayload,
|
||||
UpdateProductCategoryPayload
|
||||
>('/master-data/product-categories');
|
||||
>('/master-data/product-categories');
|
||||
|
||||
export const ProductApi = new BaseApiService<
|
||||
Product,
|
||||
CreateProductPayload,
|
||||
UpdateProductPayload
|
||||
>('/master-data/products');
|
||||
|
||||
Reference in New Issue
Block a user