chore: update TSDocs for new release changes (#13317)
* chore: update TSDocs for new release changes * remove .medusa directory
This commit is contained in:
@@ -3,6 +3,9 @@ import { ContainerRegistrationKeys } from "@medusajs/framework/utils"
|
||||
|
||||
export const AUTHENTICATE = false
|
||||
|
||||
/**
|
||||
* @since 2.10.0
|
||||
*/
|
||||
export const GET = async (
|
||||
req: MedusaRequest,
|
||||
res: MedusaResponse<{ feature_flags: Record<string, boolean> }>
|
||||
|
||||
@@ -2,6 +2,9 @@ import { listShippingOptionsForOrderWorkflow } from "@medusajs/core-flows"
|
||||
import { MedusaRequest, MedusaResponse } from "@medusajs/framework/http"
|
||||
import { AdminShippingOption, HttpTypes } from "@medusajs/framework/types"
|
||||
|
||||
/**
|
||||
* @since 2.10.0
|
||||
*/
|
||||
export const GET = async (
|
||||
req: MedusaRequest<{}, HttpTypes.AdminGetOrderShippingOptionList>,
|
||||
res: MedusaResponse<{ shipping_options: AdminShippingOption[] }>
|
||||
|
||||
@@ -15,6 +15,9 @@ import {
|
||||
import { HttpTypes } from "@medusajs/framework/types"
|
||||
import { MedusaError } from "@medusajs/framework/utils"
|
||||
|
||||
/**
|
||||
* @since 2.10.0
|
||||
*/
|
||||
export const GET = async (
|
||||
req: AuthenticatedMedusaRequest<AdminGetShippingOptionTypeParamsType>,
|
||||
res: MedusaResponse<HttpTypes.AdminShippingOptionTypeResponse>
|
||||
@@ -28,6 +31,9 @@ export const GET = async (
|
||||
res.status(200).json({ shipping_option_type: shippingOptionType })
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 2.10.0
|
||||
*/
|
||||
export const POST = async (
|
||||
req: AuthenticatedMedusaRequest<AdminUpdateShippingOptionTypeType>,
|
||||
res: MedusaResponse<HttpTypes.AdminShippingOptionTypeResponse>
|
||||
@@ -61,6 +67,9 @@ export const POST = async (
|
||||
res.status(200).json({ shipping_option_type: shippingOptionType })
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 2.10.0
|
||||
*/
|
||||
export const DELETE = async (
|
||||
req: AuthenticatedMedusaRequest,
|
||||
res: MedusaResponse<HttpTypes.AdminShippingOptionTypeDeleteResponse>
|
||||
|
||||
@@ -8,6 +8,9 @@ import { createShippingOptionTypesWorkflow } from "@medusajs/core-flows"
|
||||
import { refetchShippingOptionType } from "./helpers"
|
||||
import { HttpTypes } from "@medusajs/framework/types"
|
||||
|
||||
/**
|
||||
* @since 2.10.0
|
||||
*/
|
||||
export const GET = async (
|
||||
req: AuthenticatedMedusaRequest<HttpTypes.AdminShippingOptionTypeListParams>,
|
||||
res: MedusaResponse<HttpTypes.AdminShippingOptionTypeListResponse>
|
||||
@@ -29,6 +32,9 @@ export const GET = async (
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 2.10.0
|
||||
*/
|
||||
export const POST = async (
|
||||
req: AuthenticatedMedusaRequest<HttpTypes.AdminCreateShippingOptionType>,
|
||||
res: MedusaResponse<HttpTypes.AdminShippingOptionTypeResponse>
|
||||
|
||||
@@ -9,6 +9,13 @@ import {
|
||||
import { generateEntityColumns } from "./helpers"
|
||||
import { ENTITY_MAPPINGS } from "./entity-mappings"
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*
|
||||
* @privateRemarks
|
||||
* Remove the `ignore` tag once the feature is ready. Otherwise,
|
||||
* it will be generated in the documentation.
|
||||
*/
|
||||
export const GET = async (
|
||||
req: AuthenticatedMedusaRequest,
|
||||
res: MedusaResponse<HttpTypes.AdminViewsEntityColumnsResponse>
|
||||
|
||||
@@ -7,6 +7,13 @@ import { HttpTypes } from "@medusajs/framework/types"
|
||||
import { MedusaError, Modules } from "@medusajs/framework/utils"
|
||||
import { updateViewConfigurationWorkflow } from "@medusajs/core-flows"
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*
|
||||
* @privateRemarks
|
||||
* Remove the `ignore` tag once the feature is ready. Otherwise,
|
||||
* it will be generated in the documentation.
|
||||
*/
|
||||
export const GET = async (
|
||||
req: AuthenticatedMedusaRequest<HttpTypes.AdminGetViewConfigurationParams>,
|
||||
res: MedusaResponse<HttpTypes.AdminViewConfigurationResponse>
|
||||
@@ -32,6 +39,13 @@ export const GET = async (
|
||||
res.json({ view_configuration: viewConfiguration })
|
||||
}
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*
|
||||
* @privateRemarks
|
||||
* Remove the `ignore` tag once the feature is ready. Otherwise,
|
||||
* it will be generated in the documentation.
|
||||
*/
|
||||
export const POST = async (
|
||||
req: AuthenticatedMedusaRequest<AdminUpdateViewConfigurationType>,
|
||||
res: MedusaResponse<HttpTypes.AdminViewConfigurationResponse>
|
||||
@@ -63,6 +77,13 @@ export const POST = async (
|
||||
res.json({ view_configuration: result })
|
||||
}
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*
|
||||
* @privateRemarks
|
||||
* Remove the `ignore` tag once the feature is ready. Otherwise,
|
||||
* it will be generated in the documentation.
|
||||
*/
|
||||
export const DELETE = async (
|
||||
req: AuthenticatedMedusaRequest,
|
||||
res: MedusaResponse<HttpTypes.AdminViewConfigurationDeleteResponse>
|
||||
|
||||
@@ -9,6 +9,13 @@ import {
|
||||
import { HttpTypes } from "@medusajs/framework/types"
|
||||
import { Modules } from "@medusajs/framework/utils"
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*
|
||||
* @privateRemarks
|
||||
* Remove the `ignore` tag once the feature is ready. Otherwise,
|
||||
* it will be generated in the documentation.
|
||||
*/
|
||||
export const GET = async (
|
||||
req: AuthenticatedMedusaRequest<AdminGetActiveViewConfigurationParamsType>,
|
||||
res: MedusaResponse<
|
||||
@@ -54,6 +61,13 @@ export const GET = async (
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*
|
||||
* @privateRemarks
|
||||
* Remove the `ignore` tag once the feature is ready. Otherwise,
|
||||
* it will be generated in the documentation.
|
||||
*/
|
||||
export const POST = async (
|
||||
req: AuthenticatedMedusaRequest<AdminSetActiveViewConfigurationType>,
|
||||
res: MedusaResponse<{ success: boolean }>
|
||||
|
||||
@@ -7,6 +7,13 @@ import { HttpTypes } from "@medusajs/framework/types"
|
||||
import { MedusaError, Modules } from "@medusajs/framework/utils"
|
||||
import { createViewConfigurationWorkflow } from "@medusajs/core-flows"
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*
|
||||
* @privateRemarks
|
||||
* Remove the `ignore` tag once the feature is ready. Otherwise,
|
||||
* it will be generated in the documentation.
|
||||
*/
|
||||
export const GET = async (
|
||||
req: AuthenticatedMedusaRequest<HttpTypes.AdminGetViewConfigurationsParams>,
|
||||
res: MedusaResponse<HttpTypes.AdminViewConfigurationListResponse>
|
||||
@@ -33,6 +40,13 @@ export const GET = async (
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*
|
||||
* @privateRemarks
|
||||
* Remove the `ignore` tag once the feature is ready. Otherwise,
|
||||
* it will be generated in the documentation.
|
||||
*/
|
||||
export const POST = async (
|
||||
req: AuthenticatedMedusaRequest<AdminCreateViewConfigurationType>,
|
||||
res: MedusaResponse<HttpTypes.AdminViewConfigurationResponse>
|
||||
|
||||
Reference in New Issue
Block a user