File tree Expand file tree Collapse file tree 4 files changed +50
-3
lines changed
packages/core/core-flows/src/settings Expand file tree Collapse file tree 4 files changed +50
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ import { SettingsTypes } from "@medusajs/framework/types"
22import { Modules } from "@medusajs/framework/utils"
33import { StepResponse , createStep } from "@medusajs/framework/workflows-sdk"
44
5+ /**
6+ * Input data for creating property labels step.
7+ *
8+ * @since 2.13.7
9+ */
510export interface CreatePropertyLabelsStepInput {
611 property_labels : {
712 entity : string
@@ -11,10 +16,17 @@ export interface CreatePropertyLabelsStepInput {
1116 } [ ]
1217}
1318
19+ /**
20+ * Step ID for creating property labels step.
21+ *
22+ * @since 2.13.7
23+ */
1424export const createPropertyLabelsStepId = "create-property-labels"
1525
1626/**
17- * @since 2.13.2
27+ * Workflow step to create property labels.
28+ *
29+ * @since 2.13.7
1830 * @featureFlag view_configurations
1931 */
2032export const createPropertyLabelsStep = createStep (
Original file line number Diff line number Diff line change @@ -2,14 +2,26 @@ import { SettingsTypes } from "@medusajs/framework/types"
22import { Modules } from "@medusajs/framework/utils"
33import { StepResponse , createStep } from "@medusajs/framework/workflows-sdk"
44
5+ /**
6+ * Input data for deleting property labels step.
7+ *
8+ * @since 2.13.7
9+ */
510export interface DeletePropertyLabelsStepInput {
611 ids : string [ ]
712}
813
14+ /**
15+ * Step ID for deleting property labels step.
16+ *
17+ * @since 2.13.7
18+ */
919export const deletePropertyLabelsStepId = "delete-property-labels"
1020
1121/**
12- * @since 2.13.2
22+ * Workflow step to delete property labels.
23+ *
24+ * @since 2.13.7
1325 * @featureFlag view_configurations
1426 */
1527export const deletePropertyLabelsStep = createStep (
Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ import { SettingsTypes } from "@medusajs/framework/types"
22import { Modules } from "@medusajs/framework/utils"
33import { StepResponse , createStep } from "@medusajs/framework/workflows-sdk"
44
5+ /**
6+ * Input data for updating property labels step.
7+ *
8+ * @since 2.13.7
9+ */
510export interface UpdatePropertyLabelsStepInput {
611 property_labels : {
712 id : string
@@ -14,10 +19,17 @@ interface UpdatePropertyLabelsCompensateData {
1419 previous : { id : string ; label : string ; description : string | null } [ ]
1520}
1621
22+ /**
23+ * Step ID for updating property labels step.
24+ *
25+ * @since 2.13.7
26+ */
1727export const updatePropertyLabelsStepId = "update-property-labels"
1828
1929/**
20- * @since 2.13.2
30+ * Workflow step to update property labels.
31+ *
32+ * @since 2.13.7
2133 * @featureFlag view_configurations
2234 */
2335export const updatePropertyLabelsStep = createStep (
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ import { updatePropertyLabelsWorkflow } from "./update-property-label"
1717
1818/**
1919 * Input type for creating a property label in batch.
20+ *
21+ * @since 2.13.7
2022 */
2123export interface BatchPropertyLabelCreateInput {
2224 entity : string
@@ -27,6 +29,8 @@ export interface BatchPropertyLabelCreateInput {
2729
2830/**
2931 * Input type for updating a property label in batch.
32+ *
33+ * @since 2.13.7
3034 */
3135export interface BatchPropertyLabelUpdateInput {
3236 id : string
@@ -36,13 +40,20 @@ export interface BatchPropertyLabelUpdateInput {
3640
3741/**
3842 * The property labels to manage.
43+ *
44+ * @since 2.13.7
3945 */
4046export interface BatchPropertyLabelsWorkflowInput
4147 extends BatchWorkflowInput <
4248 BatchPropertyLabelCreateInput ,
4349 BatchPropertyLabelUpdateInput
4450 > { }
4551
52+ /**
53+ * Output type for batch property labels workflow.
54+ *
55+ * @since 2.13.7
56+ */
4657export type BatchPropertyLabelsWorkflowOutput =
4758 BatchWorkflowOutput < SettingsTypes . PropertyLabelDTO >
4859
You can’t perform that action at this time.
0 commit comments