chore: change 2.11.4 to 2.12.0 in TSDocs (#14174)

This commit is contained in:
Shahed Nasser
2025-12-01 17:33:28 +02:00
committed by GitHub
parent 83dd1b616a
commit 3cf1e5e9de
8 changed files with 11 additions and 11 deletions

View File

@@ -5,7 +5,7 @@ import { StepResponse, createStep } from "@medusajs/framework/workflows-sdk"
/**
* This step lists order change actions filtered by action type.
*
* @since v2.11.4
* @since v2.12.0
*/
export const listOrderChangeActionsByTypeStep = createStep(
"list-order-change-actions-by-type",

View File

@@ -53,7 +53,7 @@ export const computeAdjustmentsForPreviewWorkflowId =
* You can use this workflow within your customizations or your own custom workflows, allowing you to compute adjustments
* in your custom flows.
*
* @since v2.11.4
* @since v2.12.0
*
* @example
* const { result } = await computeAdjustmentsForPreviewWorkflow(container)

View File

@@ -44,7 +44,7 @@ export type OnCarryPromotionsFlagSetWorkflowInput = {
*
* :::
*
* @since v2.11.4
* @since v2.12.0
*
* @example
* const data = validateCarryPromotionsFlagStep({
@@ -150,7 +150,7 @@ export const onCarryPromotionsFlagSetId = "on-carry-promotions-flag-set"
* You can use this workflow within your customizations or your own custom workflows, allowing you to
* set the carry over promotions flag for an order change in your custom flows.
*
* @since v2.11.4
* @since v2.12.0
*
* @example
* const { result } = await onCarryPromotionsFlagSet(container)

View File

@@ -19,7 +19,7 @@ export const updateOrderChangeWorkflowId = "update-order-change-workflow"
* You can use this workflow within your customizations or your own custom workflows, allowing you to wrap custom logic around
* updating an order change and conditionally handling promotion carry-over.
*
* @since v2.11.4
* @since v2.12.0
*
* @example
* const { result } = await updateOrderChangeWorkflow(container)

View File

@@ -639,7 +639,7 @@ export class Order {
* [Update Order Change](https://docs.medusajs.com/api/admin#order-changes_postorder-changesid)
* API route.
*
* @since v2.11.4
* @since v2.12.0
*
* @param id - The order change's ID.
* @param body - The update details.

View File

@@ -7,7 +7,7 @@ import {
import { ContainerRegistrationKeys } from "@medusajs/framework/utils"
/**
* @since v2.11.4
* @since v2.12.0
*/
export const POST = async (
req: AuthenticatedMedusaRequest<

View File

@@ -28,7 +28,7 @@ const _OrderChange = model
canceled_by: model.text().nullable(),
canceled_at: model.dateTime().nullable(),
/**
* @since v2.11.4
* @since v2.12.0
*/
carry_over_promotions: model.boolean().nullable(),
order: model.belongsTo<() => typeof Order>(() => Order, {

View File

@@ -10,11 +10,11 @@ const Promotion = model
is_automatic: model.boolean().default(false),
is_tax_inclusive: model.boolean().default(false),
/**
* @since v2.11.4
* @since v2.12.0
*/
limit: model.number().nullable(),
/**
* @since v2.11.4
* @since v2.12.0
*/
used: model.number().default(0),
type: model.enum(PromotionUtils.PromotionType).index("IDX_promotion_type"),
@@ -37,7 +37,7 @@ const Promotion = model
mappedBy: "promotions",
}),
/**
* @since v2.11.4
* @since v2.12.0
*/
metadata: model.json().nullable(),
})