chore: add missing since and featureFlag tags (#13926)
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user