chore: use since instead of version tag in TSDocs (#13126)
This commit is contained in:
@@ -10,7 +10,7 @@ export const ContainerRegistrationKeys = {
|
||||
*/
|
||||
REMOTE_LINK: "remoteLink",
|
||||
/**
|
||||
* @version 2.2.0
|
||||
* @since 2.2.0
|
||||
*/
|
||||
LINK: "link",
|
||||
FEATURE_FLAG_ROUTER: "featureFlagRouter",
|
||||
|
||||
@@ -52,7 +52,7 @@ export const CartWorkflowEvents = {
|
||||
/**
|
||||
* Emitted when the customer in the cart is transferred.
|
||||
*
|
||||
* @version 2.8.0
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @eventPayload
|
||||
* ```ts
|
||||
@@ -269,7 +269,7 @@ export const OrderEditWorkflowEvents = {
|
||||
/**
|
||||
* Emitted when an order edit is requested.
|
||||
*
|
||||
* @version 2.8.0
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @eventPayload
|
||||
* ```ts
|
||||
@@ -283,7 +283,7 @@ export const OrderEditWorkflowEvents = {
|
||||
/**
|
||||
* Emitted when an order edit request is confirmed.
|
||||
*
|
||||
* @version 2.8.0
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @eventPayload
|
||||
* ```ts
|
||||
@@ -297,7 +297,7 @@ export const OrderEditWorkflowEvents = {
|
||||
/**
|
||||
* Emitted when an order edit request is canceled.
|
||||
*
|
||||
* @version 2.8.0
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @eventPayload
|
||||
* ```ts
|
||||
|
||||
@@ -242,7 +242,7 @@ export class EntityBuilder {
|
||||
* This method defines a float property that allows for
|
||||
* values with decimal places
|
||||
*
|
||||
* @version 2.1.2
|
||||
* @since 2.1.2
|
||||
*
|
||||
* @example
|
||||
* import { model } from "@medusajs/framework/utils"
|
||||
|
||||
@@ -192,7 +192,7 @@ export class AbstractFileProviderService implements IFileProvider {
|
||||
* @param {FileTypes.ProviderGetFileDTO} fileData - The details of the file to get its stream.
|
||||
* @returns {Promise<Readable>} The file's stream.
|
||||
*
|
||||
* @version 2.8.0
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @example
|
||||
* class MyFileProviderService extends AbstractFileProviderService {
|
||||
@@ -217,7 +217,7 @@ export class AbstractFileProviderService implements IFileProvider {
|
||||
* @param {FileTypes.ProviderGetFileDTO} fileData - The details of the file to get its buffer.
|
||||
* @returns {Promise<Buffer>} The file's buffer.
|
||||
*
|
||||
* @version 2.8.0
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @example
|
||||
* class MyFileProviderService extends AbstractFileProviderService {
|
||||
|
||||
Reference in New Issue
Block a user