chore: add missing since and featureFlag tags (#13926)

This commit is contained in:
Shahed Nasser
2025-10-31 16:17:19 +02:00
committed by GitHub
parent 604ff55a5b
commit 0fd9f27ca5
17 changed files with 50 additions and 2 deletions

View File

@@ -6,6 +6,8 @@ export const addImageToVariantsStepId = "add-image-to-variants"
/**
* This step adds an image to one or more product variants.
*
* @since 2.11.2
*
* @example
* const data = addImageToVariantsStep({

View File

@@ -6,6 +6,8 @@ export const addImagesToVariantStepId = "add-images-to-variant"
/**
* This step adds one or more images to a product variant.
*
* @since 2.11.2
*
* @example
* const data = addImagesToVariantStep({

View File

@@ -7,6 +7,8 @@ export const removeImageFromVariantsStepId = "remove-image-from-variants"
/**
* This step removes an image from one or more product variants.
*
* @since 2.11.2
*
* @example
* const data = removeImageFromVariantsStep({
* image_id: "img_123",

View File

@@ -7,6 +7,8 @@ export const removeImagesFromVariantStepId = "remove-images-from-variant"
/**
* This step removes one or more images from a product variant.
*
* @since 2.11.2
*
* @example
* const data = removeImagesFromVariantStep({
* variant_id: "variant_123",

View File

@@ -55,6 +55,8 @@ export const batchImageVariantsWorkflowId = "batch-image-variants"
* You can use this workflow within your own customizations or custom workflows to manage image-variant associations in bulk.
* This is also useful when writing a [seed script](https://docs.medusajs.com/learn/fundamentals/custom-cli-scripts/seed-data) or a custom import script.
*
* @since 2.11.2
*
* @example
* const { result } = await batchImageVariantsWorkflow(container)
* .run({

View File

@@ -55,6 +55,8 @@ export const batchVariantImagesWorkflowId = "batch-variant-images"
* You can use this workflow within your own customizations or custom workflows to manage variant-image associations in bulk.
* This is also useful when writing a [seed script](https://docs.medusajs.com/learn/fundamentals/custom-cli-scripts/seed-data) or a custom import script.
*
* @since 2.11.2
*
* @example
* const { result } = await batchVariantImagesWorkflow(container)
* .run({

View File

@@ -1080,6 +1080,8 @@ export class Product {
* This method manages image-variant associations for a specific image. It sends a request to the
* [Batch Image Variants](https://docs.medusajs.com/api/admin#products_postproductsidimagesimage_idvariantsbatch)
* API route.
*
* @since 2.11.2
*
* @param productId - The product's ID.
* @param imageId - The image's ID.
@@ -1116,6 +1118,8 @@ export class Product {
* This method manages variant-image associations for a specific variant. It sends a request to the
* [Batch Variant Images](https://docs.medusajs.com/api/admin#products_postproductsidvariantsvariant_idimagesbatch)
* API route.
*
* @since 2.11.2
*
* @param productId - The product's ID.
* @param variantId - The variant's ID.