mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 22:05:45 +00:00
feat(FE-42): add Product Category API and form validation schema
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
import { BaseMetadata } from '@/types/api/api-general';
|
||||
|
||||
export type BaseProductCategory = {
|
||||
id: number;
|
||||
code: string;
|
||||
name: string;
|
||||
};
|
||||
|
||||
export type ProductCategory = BaseMetadata & BaseProductCategory;
|
||||
|
||||
export type CreateProductCategoryPayload = {
|
||||
code: string;
|
||||
name: string;
|
||||
};
|
||||
|
||||
export type UpdateProductCategoryPayload = CreateProductCategoryPayload;
|
||||
Reference in New Issue
Block a user