feat: Create product category flow (#7034)

* feat: Create product category

* address PR comments
This commit is contained in:
Oli Juhl authored and GitHub committed 2024-04-15 17:11:42 +02:00
1 parent fd83e75e4b
commit bc081a7777
17 files changed
+1470 -1261

No files matched your search

+1 -4
View File
@@ -358,11 +358,8 @@ export interface CreateProductCategoryDTO {
rank?: number
/**
* The ID of the parent product category, if it has any.
*
* @privateRemarks
* Shouldn't this be optional?
*/
parent_category_id: string | null
parent_category_id?: string | null
/**
* Holds custom data in key-value pairs.
*/
+8 -6
View File
@@ -1,10 +1,12 @@
export * as CartWorkflow from "./cart"
export * as CommonWorkflow from "./common"
export * as ProductWorkflow from "./product"
export * as InventoryWorkflow from "./inventory"
export * as PriceListWorkflow from "./price-list"
export * as UserWorkflow from "./user"
export * as RegionWorkflow from "./region"
export * as InviteWorkflow from "./invite"
export * as FulfillmentWorkflow from "./fulfillment"
export * as InventoryWorkflow from "./inventory"
export * as InviteWorkflow from "./invite"
export * as PriceListWorkflow from "./price-list"
export * as ProductWorkflow from "./product"
export * as ProductCategoryWorkflow from "./product-category"
export * as RegionWorkflow from "./region"
export * as ReservationWorkflow from "./reservation"
export * as UserWorkflow from "./user"
@@ -0,0 +1,5 @@
import { CreateProductCategoryDTO } from "../../product"
export interface CreateProductCategoryWorkflowInput {
product_category: CreateProductCategoryDTO
}