diff --git a/www/apps/book/app/advanced-development/api-routes/validation/page.mdx b/www/apps/book/app/advanced-development/api-routes/validation/page.mdx index 4a6d3e3489..7dd7dab903 100644 --- a/www/apps/book/app/advanced-development/api-routes/validation/page.mdx +++ b/www/apps/book/app/advanced-development/api-routes/validation/page.mdx @@ -49,7 +49,7 @@ For example, create the file `src/api/middlewares.ts` with the following content import { defineMiddlewares } from "@medusajs/medusa" import { validateAndTransformBody, -} from "@medusajs/medusa/dist/api/utils/validate-body" +} from "@medusajs/medusa/api/utils/validate-body" import { PostStoreCustomSchema } from "./custom/validators" export default defineMiddlewares({ diff --git a/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx b/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx index ebae4b215e..ea4681b00c 100644 --- a/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx +++ b/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx @@ -667,7 +667,7 @@ The route handler imports a validation schema from a `validation-schema` file. S ```ts title="src/api/validation-schemas.ts" import { AdminCreateProduct, -} from "@medusajs/medusa/dist/api/admin/products/validators" +} from "@medusajs/medusa/api/admin/products/validators" import { z } from "zod" import { MediaType } from "../modules/digital-product/types" @@ -690,7 +690,7 @@ Finally, create the file `src/api/middlewares.ts` with the following content: import { defineMiddlewares } from "@medusajs/medusa" import { validateAndTransformBody, -} from "@medusajs/medusa/dist/api/utils/validate-body" +} from "@medusajs/medusa/api/utils/validate-body" import { createDigitalProductsSchema } from "./validation-schemas" export default defineMiddlewares({ @@ -2312,7 +2312,7 @@ In this section, you’ll customize the [Next.js Starter storefront](../../../.. In `src/types/global.ts`, add the following types that you’ll use in your customizations: ```ts title="src/types/global.ts" -import { BaseProductVariant } from "@medusajs/framework/types/dist/http/product/common" +import { BaseProductVariant } from "@medusajs/framework/types/http/product/common" // ... diff --git a/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx b/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx index 5ad8e5bd8b..a67859514c 100644 --- a/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx +++ b/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx @@ -1314,7 +1314,7 @@ Create the file `src/api/restaurants/[id]/products/route.ts` with the following import { MedusaRequest, MedusaResponse } from "@medusajs/medusa" import { AdminCreateProduct, -} from "@medusajs/medusa/dist/api/admin/products/validators" +} from "@medusajs/medusa/api/admin/products/validators" import { z } from "zod" import { createRestaurantProductsWorkflow, diff --git a/www/apps/resources/app/recipes/marketplace/examples/vendors/page.mdx b/www/apps/resources/app/recipes/marketplace/examples/vendors/page.mdx index 519334c72e..7ad2f00b15 100644 --- a/www/apps/resources/app/recipes/marketplace/examples/vendors/page.mdx +++ b/www/apps/resources/app/recipes/marketplace/examples/vendors/page.mdx @@ -712,10 +712,10 @@ import { } from "@medusajs/medusa" import { validateAndTransformBody, -} from "@medusajs/medusa/dist/api/utils/validate-body" +} from "@medusajs/medusa/api/utils/validate-body" import { AdminCreateProduct, -} from "@medusajs/medusa/dist/api/admin/products/validators" +} from "@medusajs/medusa/api/admin/products/validators" export default defineMiddlewares({ routes: [ diff --git a/www/apps/resources/app/recipes/subscriptions/examples/standard/page.mdx b/www/apps/resources/app/recipes/subscriptions/examples/standard/page.mdx index 6d1feaeeb0..21aa327670 100644 --- a/www/apps/resources/app/recipes/subscriptions/examples/standard/page.mdx +++ b/www/apps/resources/app/recipes/subscriptions/examples/standard/page.mdx @@ -1765,10 +1765,10 @@ import { } from "../../modules/subscription/types" import { authorizePaymentSessionStep, -} from "@medusajs/medusa/core-flows/dist/payment/steps/authorize-payment-session" +} from "@medusajs/medusa/core-flows" import { createPaymentCollectionsStep, -} from "@medusajs/medusa/core-flows/dist/cart/steps/create-payment-collection" +} from "@medusajs/medusa/core-flows" import createSubscriptionOrderStep from "./steps/create-subscription-order" import updateSubscriptionStep from "./steps/update-subscription"