moved configurations page

This commit is contained in:
Shahed Nasser
2025-03-11 10:59:29 +02:00
parent 5a5da0d6a1
commit ac989a6ed1
30 changed files with 11817 additions and 9814 deletions
File diff suppressed because it is too large Load Diff
@@ -51,7 +51,7 @@ The `workerMode` configuration determines which mode the Medusa application runs
When you deploy the Medusa application, you deploy two instances: one in server mode, and one in worker mode.
Learn more about the `workerMode` configuration in [this document](!resources!/references/medusa-config#workermode).
Learn more about the `workerMode` configuration in [this document](../../configurations/medusa-config/page.mdx#workermode).
So, add the following configuration in `medusa-config.ts`:
@@ -87,7 +87,7 @@ The `redisUrl` configuration specifies the connection URL to Redis to store the
<Note>
Learn more in the [Medusa Configuration documentation](!resources!/references/medusa-config#redisurl).
Learn more in the [Medusa Configuration documentation](../../configurations/medusa-config/page.mdx#redisurl).
</Note>
@@ -146,9 +146,9 @@ You may need to retrieve data before your component is rendered, or you may need
In your admin customizations, you can use the following global variables:
- `__BASE__`: The base path of the Medusa Admin, as set in the [admin.path](!resources!/references/medusa-config#path) configuration in `medusa-config.ts`.
- `__BACKEND_URL__`: The URL to the Medusa backend, as set in the [admin.backendUrl](!resources!/references/medusa-config#backendurl) configuration in `medusa-config.ts`.
- `__STOREFRONT_URL__`: The URL to the storefront, as set in the [admin.storefrontUrl](!resources!/references/medusa-config#storefrontUrl) configuration in `medusa-config.ts`.
- `__BASE__`: The base path of the Medusa Admin, as set in the [admin.path](../../../configurations/medusa-config/page.mdx#path) configuration in `medusa-config.ts`.
- `__BACKEND_URL__`: The URL to the Medusa backend, as set in the [admin.backendUrl](../../../configurations/medusa-config/page.mdx#backendurl) configuration in `medusa-config.ts`.
- `__STOREFRONT_URL__`: The URL to the storefront, as set in the [admin.storefrontUrl](../../../configurations/medusa-config/page.mdx#storefrontUrl) configuration in `medusa-config.ts`.
---
@@ -36,7 +36,7 @@ This allows the `http://localhost:7001` origin to access the Admin API Routes, a
<Note title="Tip">
Learn more about the CORS configurations in [this resource guide](!resources!/references/medusa-config#http).
Learn more about the CORS configurations in [this resource guide](../../../configurations/medusa-config/page.mdx#http).
</Note>
@@ -117,7 +117,7 @@ The Medusa application uses the following predefined environment variables that
<Note title="Tip">
You should opt for setting configurations in `medusa-config.ts` where possible. For a full list of Medusa configurations, refer to [this documenation](!resources!/references/medusa-config).
You should opt for setting configurations in `medusa-config.ts` where possible. For a full list of Medusa configurations, refer to the [Medusa Configurations chapter](../../configurations/medusa-config/page.mdx).
</Note>
@@ -143,49 +143,49 @@ You should opt for setting configurations in `medusa-config.ts` where possible.
<Table.Row>
<Table.Cell>`DATABASE_URL`</Table.Cell>
<Table.Cell>
The URL to connect to the PostgreSQL database. Only used if [projectConfig.databaseUrl](!resources!/references/medusa-config#databaseurl) isn't set in `medusa-config.ts`.
The URL to connect to the PostgreSQL database. Only used if [projectConfig.databaseUrl](../../configurations/medusa-config/page.mdx#databaseurl) isn't set in `medusa-config.ts`.
</Table.Cell>
<Table.Cell> `postgres://localhost/medusa-starter-default` </Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>`STORE_CORS`</Table.Cell>
<Table.Cell>
URLs of storefronts that can access the Medusa backend's Store APIs. Only used if [projectConfig.http.storeCors](!resources!/references/medusa-config#http-storeCors-1-1) isn't set in `medusa-config.ts`.
URLs of storefronts that can access the Medusa backend's Store APIs. Only used if [projectConfig.http.storeCors](../../configurations/medusa-config/page.mdx#http-storeCors-1-1) isn't set in `medusa-config.ts`.
</Table.Cell>
<Table.Cell> `http://localhost:8000` </Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>`ADMIN_CORS`</Table.Cell>
<Table.Cell>
URLs of admin dashboards that can access the Medusa backend's Admin APIs. Only used if [projectConfig.http.adminCors](!resources!/references/medusa-config#http-adminCors-1-2) isn't set in `medusa-config.ts`.
URLs of admin dashboards that can access the Medusa backend's Admin APIs. Only used if [projectConfig.http.adminCors](../../configurations/medusa-config/page.mdx#http-adminCors-1-2) isn't set in `medusa-config.ts`.
</Table.Cell>
<Table.Cell> `http://localhost:7000,http://localhost:7001,http://localhost:5173` </Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>`AUTH_CORS`</Table.Cell>
<Table.Cell>
URLs of clients that can access the Medusa backend's authentication routes. Only used if [projectConfig.http.authCors](!resources!/references/medusa-config#http-authCors-1-0) isn't set in `medusa-config.ts`.
URLs of clients that can access the Medusa backend's authentication routes. Only used if [projectConfig.http.authCors](../../configurations/medusa-config/page.mdx#http-authCors-1-0) isn't set in `medusa-config.ts`.
</Table.Cell>
<Table.Cell> `http://localhost:7000,http://localhost:7001,http://localhost:5173` </Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>`JWT_SECRET`</Table.Cell>
<Table.Cell>
A random string used to create authentication tokens in the http layer. Only used if [projectConfig.http.jwtSecret](!resources!/references/medusa-config#http-jwtSecret-1-3) isn't set in `medusa-config.ts`.
A random string used to create authentication tokens in the http layer. Only used if [projectConfig.http.jwtSecret](../../configurations/medusa-config/page.mdx#http-jwtSecret-1-3) isn't set in `medusa-config.ts`.
</Table.Cell>
<Table.Cell> \- </Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>`COOKIE_SECRET`</Table.Cell>
<Table.Cell>
A random string used to create cookie tokens in the http layer. Only used if [projectConfig.http.cookieSecret](!resources!/references/medusa-config#http-cookieSecret-1-5) isn't set in `medusa-config.ts`.
A random string used to create cookie tokens in the http layer. Only used if [projectConfig.http.cookieSecret](../../configurations/medusa-config/page.mdx#http-cookieSecret-1-5) isn't set in `medusa-config.ts`.
</Table.Cell>
<Table.Cell> \- </Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>`MEDUSA_BACKEND_URL`</Table.Cell>
<Table.Cell>
The URL to the Medusa backend. Only used if [admin.backendUrl](!resources!/references/medusa-config#backendurl) isn't set in `medusa-config.ts`.
The URL to the Medusa backend. Only used if [admin.backendUrl](../../configurations/medusa-config/page.mdx#backendurl) isn't set in `medusa-config.ts`.
</Table.Cell>
<Table.Cell> \- </Table.Cell>
</Table.Row>
@@ -126,7 +126,7 @@ This directory is the central place for your custom development. It includes the
### medusa-config.ts
This file holds your [Medusa configurations](!resources!/references/medusa-config), such as your PostgreSQL database configurations.
This file holds your [Medusa configurations](../configurations/medusa-config/page.mdx), such as your PostgreSQL database configurations.
---
@@ -135,7 +135,7 @@ This file holds your [Medusa configurations](!resources!/references/medusa-confi
By default, your Medusa application is equipped with the basic configuration to start your development.
If you run into issues with configurations, such as CORS configurations, or need to make changes to the default configuration, refer to [this guide on all available configurations](!resources!/references/medusa-config).
If you run into issues with configurations, such as CORS configurations, or need to make changes to the default configuration, refer to [this guide on all available configurations](../configurations/medusa-config/page.mdx).
---
+8 -7
View File
@@ -48,8 +48,8 @@ export const generatedEditDates = {
"app/learn/fundamentals/scheduled-jobs/execution-number/page.mdx": "2024-10-21T13:30:21.371Z",
"app/learn/fundamentals/api-routes/parameters/page.mdx": "2025-02-14T08:34:03.184Z",
"app/learn/fundamentals/api-routes/http-methods/page.mdx": "2024-10-21T13:30:21.367Z",
"app/learn/fundamentals/admin/tips/page.mdx": "2025-03-06T07:30:06.322Z",
"app/learn/fundamentals/api-routes/cors/page.mdx": "2024-12-09T13:04:04.357Z",
"app/learn/fundamentals/admin/tips/page.mdx": "2025-03-11T08:54:12.028Z",
"app/learn/fundamentals/api-routes/cors/page.mdx": "2025-03-11T08:54:26.281Z",
"app/learn/fundamentals/admin/ui-routes/page.mdx": "2025-02-24T09:35:11.752Z",
"app/learn/fundamentals/api-routes/middlewares/page.mdx": "2025-03-04T10:16:15.029Z",
"app/learn/fundamentals/modules/isolation/page.mdx": "2024-12-09T11:02:38.087Z",
@@ -100,14 +100,13 @@ export const generatedEditDates = {
"app/learn/introduction/architecture/page.mdx": "2025-01-16T10:25:10.780Z",
"app/learn/fundamentals/data-models/infer-type/page.mdx": "2024-12-09T15:54:08.713Z",
"app/learn/fundamentals/custom-cli-scripts/seed-data/page.mdx": "2024-12-09T14:38:06.385Z",
"app/learn/fundamentals/environment-variables/page.mdx": "2025-03-06T07:30:22.986Z",
"app/learn/fundamentals/environment-variables/page.mdx": "2025-03-11T08:55:03.343Z",
"app/learn/build/page.mdx": "2024-12-09T11:05:17.383Z",
"app/learn/deployment/general/page.mdx": "2025-03-06T09:15:35.452Z",
"app/learn/deployment/general/page.mdx": "2025-03-11T08:53:37.292Z",
"app/learn/fundamentals/workflows/multiple-step-usage/page.mdx": "2024-11-25T16:19:32.169Z",
"app/learn/installation/page.mdx": "2025-01-31T13:16:57.883Z",
"app/learn/installation/page.mdx": "2025-03-11T08:55:12.967Z",
"app/learn/fundamentals/data-models/check-constraints/page.mdx": "2024-12-06T14:34:50.384Z",
"app/learn/fundamentals/module-links/link/page.mdx": "2025-01-06T09:27:25.604Z",
"app/learn/conventions/ts-aliases/page.mdx": "2025-01-23T15:01:15.403Z",
"app/learn/fundamentals/workflows/store-executions/page.mdx": "2025-02-11T15:56:03.835Z",
"app/learn/fundamentals/plugins/create/page.mdx": "2025-02-12T15:48:25.439Z",
"app/learn/fundamentals/plugins/page.mdx": "2025-01-22T10:14:10.433Z",
@@ -119,5 +118,7 @@ export const generatedEditDates = {
"app/learn/fundamentals/admin/routing/page.mdx": "2025-02-24T09:50:37.495Z",
"app/learn/resources/contribution-guidelines/admin-translations/page.mdx": "2025-02-11T16:57:46.726Z",
"app/learn/resources/contribution-guidelines/docs/page.mdx": "2025-03-06T09:32:26.010Z",
"app/learn/resources/usage/page.mdx": "2025-02-26T13:35:34.824Z"
"app/learn/resources/usage/page.mdx": "2025-02-26T13:35:34.824Z",
"app/learn/configurations/medusa-config/page.mdx": "2025-03-11T08:50:04.239Z",
"app/learn/configurations/ts-aliases/page.mdx": "2025-02-11T16:57:46.683Z"
}
+14 -14
View File
@@ -6,7 +6,6 @@ export const generatedSidebars = [
{
"loaded": true,
"isPathHref": true,
"initialOpen": false,
"type": "category",
"title": "1. Get Started",
"children": [
@@ -47,7 +46,6 @@ export const generatedSidebars = [
{
"loaded": true,
"isPathHref": true,
"initialOpen": false,
"type": "category",
"title": "2. Customization Tutorial",
"children": [
@@ -232,7 +230,6 @@ export const generatedSidebars = [
{
"loaded": true,
"isPathHref": true,
"initialOpen": false,
"type": "category",
"title": "3. Framework",
"children": [
@@ -912,7 +909,6 @@ export const generatedSidebars = [
{
"loaded": true,
"isPathHref": true,
"initialOpen": false,
"type": "category",
"title": "4. Admin Development",
"children": [
@@ -1006,13 +1002,11 @@ export const generatedSidebars = [
"children": [],
"number": "5."
}
],
"initialOpen": false
]
},
{
"loaded": true,
"isPathHref": true,
"initialOpen": false,
"type": "category",
"title": "6. Configurations",
"children": [
@@ -1026,6 +1020,16 @@ export const generatedSidebars = [
"chapterTitle": "6.1. Environment Variables",
"number": "6.1."
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"title": "Medusa Configuations",
"path": "/learn/configurations/medusa-config",
"children": [],
"chapterTitle": "6.2. Medusa Configuations",
"number": "6.2."
},
{
"loaded": true,
"isPathHref": true,
@@ -1033,8 +1037,8 @@ export const generatedSidebars = [
"title": "Type Aliases",
"path": "/learn/conventions/ts-aliases",
"children": [],
"chapterTitle": "6.2. Type Aliases",
"number": "6.2."
"chapterTitle": "6.3. Type Aliases",
"number": "6.3."
}
],
"chapterTitle": "6. Configurations",
@@ -1043,7 +1047,6 @@ export const generatedSidebars = [
{
"loaded": true,
"isPathHref": true,
"initialOpen": false,
"type": "category",
"title": "7. Debugging & Testing",
"children": [
@@ -1170,13 +1173,11 @@ export const generatedSidebars = [
],
"number": "8."
}
],
"initialOpen": false
]
},
{
"loaded": true,
"isPathHref": true,
"initialOpen": false,
"type": "category",
"title": "9. Upgrade",
"children": [
@@ -1207,7 +1208,6 @@ export const generatedSidebars = [
{
"loaded": true,
"isPathHref": true,
"initialOpen": false,
"type": "category",
"title": "10. Resources",
"children": [
File diff suppressed because it is too large Load Diff
+5
View File
@@ -534,6 +534,11 @@ export const sidebars = [
title: "Environment Variables",
path: "/learn/fundamentals/environment-variables",
},
{
type: "link",
title: "Medusa Configuations",
path: "/learn/configurations/medusa-config",
},
{
type: "link",
title: "Type Aliases",
+5
View File
@@ -123,6 +123,11 @@ const redirects = async () => {
destination: "/learn/resources/contribution-guidelines/docs",
permanent: true,
},
{
source: "/learn/conventions/:path*",
destination: "/learn/configurations/:path*",
permanent: true,
},
]
}
@@ -39,7 +39,7 @@ For example, the EmailPass Auth Module Provider authenticates a user using their
By default, users of all actor types can authenticate with all installed auth module providers.
To restrict the auth providers used for actor types, use the [authMethodsPerActor option](/references/medusa-config#http-authMethodsPerActor-1-3) in Medusa's configurations:
To restrict the auth providers used for actor types, use the [authMethodsPerActor option](!docs!/learn/configurations/medusa-config#httpauthMethodsPerActor) in Medusa's configurations:
```ts title="medusa-config.ts"
module.exports = defineConfig({
@@ -67,7 +67,7 @@ The Medusa application's authentication API routes are defined under the `/auth`
By default, the Medusa application you created will have an `AUTH_CORS` environment variable, which is used as the value of `authCors`.
Refer to [Medusa's configuration guide](/references/medusa-config#authCors) to learn more about the `authCors` configuration.
Refer to [Medusa's configuration guide](!docs!/learn/configurations/medusa-config#httpauthCors) to learn more about the `authCors` configuration.
---
@@ -21,7 +21,7 @@ In this document, youll learn how to deploy your Medusa application to [Railw
<Note>
The same Medusa project is used to deploy the server and worker modes. Learn more about the `workerMode` configuration in [this document](/references/medusa-config#workermode).
The same Medusa project is used to deploy the server and worker modes. Learn more about the `workerMode` configuration in [this document](!docs!/learn/configurations/medusa-config#workermode).
</Note>
@@ -74,7 +74,7 @@ The `redisUrl` configuration specifies the connection URL to Redis to store the
<Note>
Learn more in the [Medusa Configuration documentation](/references/medusa-config#redisurl).
Learn more in the [Medusa Configuration documentation](!docs!/learn/configurations/medusa-config#redisurl).
</Note>
@@ -1804,7 +1804,7 @@ return res.json({
})
```
You first retrieve the [http Medusa configuration](/references/medusa-config#http) which holds configurations related to JWT secrets and expiration times. You then use the `jsonwebtoken` package to sign a token containing the wishlist ID. You return the token in the response.
You first retrieve the [http Medusa configuration](!docs!/learn/configurations/medusa-config#http) which holds configurations related to JWT secrets and expiration times. You then use the `jsonwebtoken` package to sign a token containing the wishlist ID. You return the token in the response.
### Test API Route
@@ -116,7 +116,7 @@ AUTH_CORS=http://localhost:5173,http://localhost:9000,http://localhost:3000
You can add other origins as well if necessary.
Learn more about CORS configurations in [this guide](/references/medusa-config#http-storeCors-1-1).
Learn more about CORS configurations in [this guide](!docs!/learn/configurations/medusa-config#httpauthcors).
---
@@ -7,4 +7,4 @@ Error: connect ECONNREFUSED ::1:5432
This error occurs because the application couldn't connect to the PostgreSQL database. The issue could be one of the following:
1. PostgreSQL server isn't running. Make sure it's always running while the Medusa application is running.
2. The connection URL to your PostgreSQL database is incorrect. This could be because of incorrect credentials, port number, or connection URL format. The format should be `postgres://[user][:password]@[host][:port]/[dbname]`. Make sure that the connection URL format is correct, and the credentials passed in the URL are correct. You can learn more about formatting the connection URL [here](/references/medusa-config#databaseUrl)
2. The connection URL to your PostgreSQL database is incorrect. This could be because of incorrect credentials, port number, or connection URL format. The format should be `postgres://[user][:password]@[host][:port]/[dbname]`. Make sure that the connection URL format is correct, and the credentials passed in the URL are correct. You can learn more about formatting the connection URL [here](!docs!/learn/configurations/medusa-config#databaseUrl)
@@ -22,4 +22,4 @@ npx create-medusa-app@latest --db-url "postgres://user:password@localhost:<YOUR_
Where `<YOUR_PORT>` is the exposed port if it's different than `5432`.
Refer to the [databaseUrl configuration documentation](/references/medusa-config#databaseUrl) to learn how to set the database URL for an installed Medusa application.
Refer to the [databaseUrl configuration documentation](!docs!/learn/configurations/medusa-config#databaseUrl) to learn how to set the database URL for an installed Medusa application.
@@ -19,4 +19,4 @@ module.exports = defineConfig({
})
```
Learn more about these configurations in [this documentation](/references/medusa-config#http).
Learn more about these configurations in [this documentation](!docs!/learn/configurations/medusa-config#http).
@@ -10,5 +10,5 @@ port: 9000
This means that there's another process running at port `9000`. You need to either:
- Change the default port used by the Medusa application. You can do that by setting the `PORT` environment variable to a new port. When you do this, make sure to change the port used in other apps that interact with your Medusa application, such as in your [admin](/references/medusa-config#admin) or [storefront](../../../nextjs-starter/page.mdx#change-medusa-application-url).
- Change the default port used by the Medusa application. You can do that by setting the `PORT` environment variable to a new port. When you do this, make sure to change the port used in other apps that interact with your Medusa application, such as in your [admin](!docs!/learn/configurations/medusa-config#admin) or [storefront](../../../nextjs-starter/page.mdx#change-medusa-application-url).
- Terminate other processes running on port `9000`.
@@ -78,4 +78,4 @@ module.exports = defineConfig({
Where `qs` would be the third-party library you're using.
Learn more about the `optimizeDeps` configuration in the [Vite documentation](https://vite.dev/config/dep-optimization-options). Also, learn more about Medusa's admin configurations in [this documentation](/references/medusa-config).
Learn more about the `optimizeDeps` configuration in the [Vite documentation](https://vite.dev/config/dep-optimization-options). Also, learn more about Medusa's admin configurations in [this documentation](!docs!/learn/configurations/medusa-config).
+6 -6
View File
@@ -1,9 +1,9 @@
export const generatedEditDates = {
"app/commerce-modules/auth/auth-providers/emailpass/page.mdx": "2025-01-13T11:31:35.361Z",
"app/commerce-modules/auth/auth-providers/page.mdx": "2024-10-08T07:27:21.859Z",
"app/commerce-modules/auth/auth-providers/page.mdx": "2025-03-11T08:55:55.403Z",
"app/commerce-modules/auth/authentication-route/page.mdx": "2025-03-04T09:13:45.919Z",
"app/commerce-modules/auth/examples/page.mdx": "2024-10-15T15:02:13.794Z",
"app/commerce-modules/auth/module-options/page.mdx": "2025-01-07T12:47:35.073Z",
"app/commerce-modules/auth/module-options/page.mdx": "2025-03-11T08:56:10.338Z",
"app/commerce-modules/auth/page.mdx": "2025-01-09T13:41:05.476Z",
"app/commerce-modules/cart/_events/_events-table/page.mdx": "2024-07-03T19:27:13+03:00",
"app/commerce-modules/cart/_events/page.mdx": "2024-07-03T19:27:13+03:00",
@@ -101,7 +101,7 @@ export const generatedEditDates = {
"app/commerce-modules/page.mdx": "2025-03-10T13:51:30.338Z",
"app/create-medusa-app/page.mdx": "2025-01-16T10:00:25.975Z",
"app/deployment/admin/vercel/page.mdx": "2024-10-16T08:10:29.377Z",
"app/deployment/medusa-application/railway/page.mdx": "2025-02-24T07:35:43.421Z",
"app/deployment/medusa-application/railway/page.mdx": "2025-03-11T08:56:02.100Z",
"app/deployment/storefront/vercel/page.mdx": "2025-01-06T12:19:31.142Z",
"app/deployment/page.mdx": "2024-11-25T14:31:45.277Z",
"app/integrations/page.mdx": "2025-02-26T11:37:17.771Z",
@@ -230,7 +230,7 @@ export const generatedEditDates = {
"references/core_flows/core_flows.Order/page.mdx": "2024-12-23T12:30:24.071Z",
"references/modules/core_flows/page.mdx": "2025-03-04T13:33:40.121Z",
"references/types/types.HttpTypes/page.mdx": "2025-03-04T13:33:50.352Z",
"app/troubleshooting/medusa-admin/no-widget-route/page.mdx": "2025-02-03T12:42:43.932Z",
"app/troubleshooting/medusa-admin/no-widget-route/page.mdx": "2025-03-11T08:57:17.255Z",
"references/auth/IAuthModuleService/methods/auth.IAuthModuleService.createProviderIdentities/page.mdx": "2024-12-09T13:21:36.285Z",
"references/auth/IAuthModuleService/methods/auth.IAuthModuleService.deleteProviderIdentities/page.mdx": "2024-12-09T13:21:36.293Z",
"references/auth/IAuthModuleService/methods/auth.IAuthModuleService.listProviderIdentities/page.mdx": "2025-02-11T11:36:46.720Z",
@@ -5750,7 +5750,7 @@ export const generatedEditDates = {
"references/types/StockLocationTypes/interfaces/types.StockLocationTypes.FilterableStockLocationAddressProps/page.mdx": "2025-01-13T18:05:55.410Z",
"references/types/StockLocationTypes/types/types.StockLocationTypes.UpdateStockLocationAddressInput/page.mdx": "2025-01-07T12:54:23.057Z",
"references/types/StockLocationTypes/types/types.StockLocationTypes.UpsertStockLocationAddressInput/page.mdx": "2025-01-07T12:54:23.058Z",
"app/storefront-development/guides/express-checkout/page.mdx": "2025-02-12T07:21:55.821Z",
"app/storefront-development/guides/express-checkout/page.mdx": "2025-03-11T08:56:39.078Z",
"app/commerce-modules/inventory/inventory-kit/page.mdx": "2025-02-26T11:18:00.353Z",
"app/commerce-modules/api-key/workflows/page.mdx": "2025-01-09T13:41:46.573Z",
"app/commerce-modules/api-key/js-sdk/page.mdx": "2025-01-09T12:04:39.787Z",
@@ -5855,7 +5855,7 @@ export const generatedEditDates = {
"references/core_flows/types/core_flows.ThrowUnlessPaymentCollectionNotePaidInput/page.mdx": "2025-01-17T16:43:25.819Z",
"references/core_flows/types/core_flows.ValidatePaymentsRefundStepInput/page.mdx": "2025-01-17T16:43:26.128Z",
"references/core_flows/types/core_flows.ValidateRefundStepInput/page.mdx": "2025-03-04T13:33:47.462Z",
"app/plugins/guides/wishlist/page.mdx": "2025-02-20T17:13:30.276Z",
"app/plugins/guides/wishlist/page.mdx": "2025-03-11T08:56:19.626Z",
"app/plugins/page.mdx": "2025-02-26T11:39:25.709Z",
"app/admin-components/components/data-table/page.mdx": "2025-03-03T14:55:58.556Z",
"references/order_models/variables/order_models.Order/page.mdx": "2025-01-27T11:43:58.788Z",
@@ -875,10 +875,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/nextjs-starter/page.mdx",
"pathname": "/nextjs-starter"
},
{
"filePath": "/www/apps/resources/app/page.mdx",
"pathname": "/"
},
{
"filePath": "/www/apps/resources/app/plugins/guides/wishlist/page.mdx",
"pathname": "/plugins/guides/wishlist"
+5
View File
@@ -153,6 +153,11 @@ const nextConfig = {
destination: "/recipes",
permanent: true,
},
{
source: "/references/medusa-config",
destination: `${process.env.NEXT_PUBLIC_BASE_URL}/learn/configurations/medusa-config`,
permanent: true,
},
]
},
outputFileTracingExcludes: {
@@ -152,6 +152,6 @@ The link is then copied and you can share it with the customer to authorize the
<Note title="Tip">
If the payment link doesn't start with a domain or has a domain that doesn't match your storefront, refer your technical team to [this guide](!resources!/references/medusa-config#storefronturl) to set up the storefront domain.
If the payment link doesn't start with a domain or has a domain that doesn't match your storefront, refer your technical team to [this guide](!docs!/learn/configurations/medusa-config#storefronturl) to set up the storefront domain.
</Note>
@@ -36,7 +36,8 @@ async function getAutogeneratedSidebarItems(
dir: string,
nested = false
): Promise<ItemsToAdd[]> {
const isRefDir = dir.startsWith("/references")
const isRefDir =
dir.startsWith("/references") && dir !== "/references-overview"
const basePath = isRefDir ? path.resolve() : path.resolve("app")
const fullPath = path.resolve(basePath, dir.replace(/^\//, ""))
const items: ItemsToAdd[] = []
@@ -196,7 +196,9 @@ function checkLink({
const projectOptions = options.crossProjects[parsedLink.area]
const isReferenceLink = parsedLink.path.startsWith("/references")
const isReferenceLink =
parsedLink.path.startsWith("/references") &&
parsedLink.path !== "/references-overview"
const baseDir = isReferenceLink
? "references"
: projectOptions.contentPath || "app"
+23 -23
View File
@@ -1,45 +1,45 @@
export * from "./user-guide.js"
export * from "./fulfillment.js"
export * from "./order.js"
export * from "./payment.js"
export * from "./cache.js"
export * from "./server.js"
export * from "./how-to.js"
export * from "./product.js"
export * from "./event.js"
export * from "./server.js"
export * from "./pricing.js"
export * from "./promotion.js"
export * from "./event.js"
export * from "./product.js"
export * from "./user.js"
export * from "./api-key.js"
export * from "./auth.js"
export * from "./notification.js"
export * from "./promotion.js"
export * from "./auth.js"
export * from "./workflow.js"
export * from "./api-key.js"
export * from "./stock-location.js"
export * from "./store.js"
export * from "./region.js"
export * from "./sales-channel.js"
export * from "./currency.js"
export * from "./cart.js"
export * from "./store.js"
export * from "./tax.js"
export * from "./tutorial.js"
export * from "./cart.js"
export * from "./customer.js"
export * from "./region.js"
export * from "./inventory.js"
export * from "./fulfillment.js"
export * from "./extend-module.js"
export * from "./tutorial.js"
export * from "./concept.js"
export * from "./query.js"
export * from "./storefront.js"
export * from "./order.js"
export * from "./stripe.js"
export * from "./example.js"
export * from "./product-collection.js"
export * from "./product-category.js"
export * from "./publishable-api-key.js"
export * from "./storefront.js"
export * from "./step.js"
export * from "./event-bus.js"
export * from "./remote-query.js"
export * from "./link.js"
export * from "./locking.js"
export * from "./js-sdk.js"
export * from "./customer.js"
export * from "./inventory.js"
export * from "./file.js"
export * from "./remote-query.js"
export * from "./checkout.js"
export * from "./logger.js"
export * from "./publishable-api-key.js"
export * from "./locking.js"
export * from "./file.js"
export * from "./admin.js"
export * from "./example.js"
export * from "./event-bus.js"
export * from "./js-sdk.js"
export * from "./logger.js"
@@ -72,12 +72,6 @@ const customOptions: Record<string, Partial<TypeDocOptions>> = {
),
],
}),
"medusa-config": getOptions({
entryPointPath: "packages/core/framework/src/config/types.ts",
tsConfigName: "framework.json",
name: "medusa-config",
exclude: [...(baseOptions.exclude || []), "**/dist/**"],
}),
medusa: getOptions({
entryPointPath: "packages/medusa/src/index.ts",
tsConfigName: "medusa.json",