Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix slugs pointing to admin rather than store routes #10063

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions www/apps/resources/generated/edit-dates.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,9 @@ export const generatedEditDates = {
"references/fulfillment_models/classes/fulfillment_models.ShippingOptionRule/page.mdx": "2024-10-03T00:12:15.551Z",
"references/fulfillment_models/classes/fulfillment_models.ShippingOptionType/page.mdx": "2024-10-03T00:12:15.557Z",
"references/fulfillment_models/classes/fulfillment_models.ShippingProfile/page.mdx": "2024-10-03T00:12:15.581Z",
"references/helper_steps/functions/helper_steps.createRemoteLinkStep/page.mdx": "2024-10-03T00:12:16.458Z",
"references/helper_steps/functions/helper_steps.dismissRemoteLinkStep/page.mdx": "2024-10-03T00:12:16.461Z",
"references/helper_steps/functions/helper_steps.emitEventStep/page.mdx": "2024-10-03T00:12:16.464Z",
"references/helper_steps/functions/helper_steps.createRemoteLinkStep/page.mdx": "2024-11-12T16:19:00.137Z",
"references/helper_steps/functions/helper_steps.dismissRemoteLinkStep/page.mdx": "2024-11-12T16:19:00.139Z",
"references/helper_steps/functions/helper_steps.emitEventStep/page.mdx": "2024-11-12T16:19:00.140Z",
"references/helper_steps/functions/helper_steps.updateRemoteLinksStep/page.mdx": "2024-10-02T00:12:16.726Z",
"references/helper_steps/types/helper_steps.DismissRemoteLinksStepInput/page.mdx": "2024-08-28T00:11:31.042Z",
"references/medusa_config/interfaces/medusa_config.AdminOptions/page.mdx": "2024-11-06T21:09:09.666Z",
Expand Down Expand Up @@ -737,7 +737,7 @@ export const generatedEditDates = {
"references/core_flows/types/core_flows.OrderEditRequestWorkflowInput/page.mdx": "2024-10-23T07:15:51.428Z",
"references/core_flows/types/core_flows.UpdateOrderTaxLinesWorkflowInput/page.mdx": "2024-10-23T07:15:51.436Z",
"references/core_flows/types/core_flows.UpdateTaxLinesWorkflowInput/page.mdx": "2024-11-06T21:09:04.554Z",
"references/helper_steps/functions/helper_steps.useRemoteQueryStep/page.mdx": "2024-10-03T00:12:16.474Z",
"references/helper_steps/functions/helper_steps.useRemoteQueryStep/page.mdx": "2024-11-12T16:19:00.148Z",
"references/modules/types/page.mdx": "2024-11-12T09:36:21.248Z",
"references/order/IOrderModuleService/methods/order.IOrderModuleService.cancelReturn/page.mdx": "2024-11-06T21:09:11.354Z",
"references/order/interfaces/order.CancelOrderClaimDTO/page.mdx": "2024-10-03T00:12:17.706Z",
Expand Down Expand Up @@ -1776,7 +1776,7 @@ export const generatedEditDates = {
"references/dml/Property_Types/methods/dml.Property_Types.json/page.mdx": "2024-10-03T00:12:15.464Z",
"references/dml/Property_Types/methods/dml.Property_Types.number/page.mdx": "2024-10-03T00:12:15.459Z",
"references/dml/Property_Types/methods/dml.Property_Types.text/page.mdx": "2024-10-03T00:12:15.457Z",
"references/helper_steps/functions/helper_steps.removeRemoteLinkStep/page.mdx": "2024-10-03T00:12:16.466Z",
"references/helper_steps/functions/helper_steps.removeRemoteLinkStep/page.mdx": "2024-11-12T16:19:00.142Z",
"references/modules/workflows/page.mdx": "2024-09-30T08:43:53.315Z",
"references/search/classes/search.AbstractSearchService/page.mdx": "2024-10-14T09:11:45.913Z",
"references/workflows/StepResponse/methods/workflows.StepResponse.permanentFailure/page.mdx": "2024-10-02T00:12:20.683Z",
Expand Down Expand Up @@ -2716,17 +2716,17 @@ export const generatedEditDates = {
"references/js_sdk/auth/Auth/methods/js_sdk.auth.Auth.updateProvider/page.mdx": "2024-10-24T13:48:31.024Z",
"references/js_sdk/auth/classes/js_sdk.auth.Auth/page.mdx": "2024-10-22T15:09:53.780Z",
"references/js_sdk/modules/js_sdk.admin/page.mdx": "2024-10-22T15:09:52.264Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.category/page.mdx": "2024-11-11T10:32:09.787Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.category/page.mdx": "2024-11-12T16:19:01.705Z",
"references/js_sdk/modules/js_sdk.store/page.mdx": "2024-10-22T15:09:53.787Z",
"references/js_sdk/modules/js_sdk.auth/page.mdx": "2024-10-22T15:09:53.779Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.collection/page.mdx": "2024-10-25T15:35:30.345Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.cart/page.mdx": "2024-11-11T10:32:09.851Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.customer/page.mdx": "2024-11-11T10:32:09.935Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.fulfillment/page.mdx": "2024-10-25T15:35:30.425Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.order/page.mdx": "2024-11-11T10:32:09.891Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.payment/page.mdx": "2024-11-11T10:32:09.875Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.product/page.mdx": "2024-11-11T10:32:09.803Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.region/page.mdx": "2024-11-11T10:32:09.763Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.collection/page.mdx": "2024-11-12T16:19:01.699Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.cart/page.mdx": "2024-11-12T16:19:01.735Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.customer/page.mdx": "2024-11-12T16:19:01.773Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.fulfillment/page.mdx": "2024-11-12T16:19:01.739Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.order/page.mdx": "2024-11-12T16:19:01.753Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.payment/page.mdx": "2024-11-12T16:19:01.748Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.product/page.mdx": "2024-11-12T16:19:01.712Z",
"references/js_sdk/store/Store/properties/js_sdk.store.Store.region/page.mdx": "2024-11-12T16:19:01.693Z",
"references/js_sdk/store/classes/js_sdk.store.Store/page.mdx": "2024-10-22T15:09:53.788Z",
"references/modules/js_sdk/page.mdx": "2024-10-22T15:09:52.263Z",
"references/core_flows/Inventory/Steps_Inventory/functions/core_flows.Inventory.Steps_Inventory.validateInventoryDeleteStep/page.mdx": "2024-10-23T07:15:37.028Z",
Expand Down
18 changes: 9 additions & 9 deletions www/apps/resources/generated/sidebar.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8616,71 +8616,71 @@ export const generatedSidebar = [
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/references/js-sdk/admin/cart",
"path": "/references/js-sdk/store/cart",
"title": "cart",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/references/js-sdk/admin/category",
"path": "/references/js-sdk/store/category",
"title": "category",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/references/js-sdk/admin/collection",
"path": "/references/js-sdk/store/collection",
"title": "collection",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/references/js-sdk/admin/customer",
"path": "/references/js-sdk/store/customer",
"title": "customer",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/references/js-sdk/admin/fulfillment",
"path": "/references/js-sdk/store/fulfillment",
"title": "fulfillment",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/references/js-sdk/admin/order",
"path": "/references/js-sdk/store/order",
"title": "order",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/references/js-sdk/admin/payment",
"path": "/references/js-sdk/store/payment",
"title": "payment",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/references/js-sdk/admin/product",
"path": "/references/js-sdk/store/product",
"title": "product",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/references/js-sdk/admin/region",
"path": "/references/js-sdk/store/region",
"title": "region",
"children": []
}
Expand Down
18 changes: 9 additions & 9 deletions www/apps/resources/generated/slug-changes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4336,47 +4336,47 @@ export const slugChanges = [
},
{
"origSlug": "/references/js_sdk/store/Store/properties/js_sdk.store.Store.cart",
"newSlug": "/references/js-sdk/admin/cart",
"newSlug": "/references/js-sdk/store/cart",
"filePath": "/www/apps/resources/references/js_sdk/store/Store/properties/js_sdk.store.Store.cart/page.mdx"
},
{
"origSlug": "/references/js_sdk/store/Store/properties/js_sdk.store.Store.category",
"newSlug": "/references/js-sdk/admin/category",
"newSlug": "/references/js-sdk/store/category",
"filePath": "/www/apps/resources/references/js_sdk/store/Store/properties/js_sdk.store.Store.category/page.mdx"
},
{
"origSlug": "/references/js_sdk/store/Store/properties/js_sdk.store.Store.collection",
"newSlug": "/references/js-sdk/admin/collection",
"newSlug": "/references/js-sdk/store/collection",
"filePath": "/www/apps/resources/references/js_sdk/store/Store/properties/js_sdk.store.Store.collection/page.mdx"
},
{
"origSlug": "/references/js_sdk/store/Store/properties/js_sdk.store.Store.customer",
"newSlug": "/references/js-sdk/admin/customer",
"newSlug": "/references/js-sdk/store/customer",
"filePath": "/www/apps/resources/references/js_sdk/store/Store/properties/js_sdk.store.Store.customer/page.mdx"
},
{
"origSlug": "/references/js_sdk/store/Store/properties/js_sdk.store.Store.fulfillment",
"newSlug": "/references/js-sdk/admin/fulfillment",
"newSlug": "/references/js-sdk/store/fulfillment",
"filePath": "/www/apps/resources/references/js_sdk/store/Store/properties/js_sdk.store.Store.fulfillment/page.mdx"
},
{
"origSlug": "/references/js_sdk/store/Store/properties/js_sdk.store.Store.order",
"newSlug": "/references/js-sdk/admin/order",
"newSlug": "/references/js-sdk/store/order",
"filePath": "/www/apps/resources/references/js_sdk/store/Store/properties/js_sdk.store.Store.order/page.mdx"
},
{
"origSlug": "/references/js_sdk/store/Store/properties/js_sdk.store.Store.payment",
"newSlug": "/references/js-sdk/admin/payment",
"newSlug": "/references/js-sdk/store/payment",
"filePath": "/www/apps/resources/references/js_sdk/store/Store/properties/js_sdk.store.Store.payment/page.mdx"
},
{
"origSlug": "/references/js_sdk/store/Store/properties/js_sdk.store.Store.product",
"newSlug": "/references/js-sdk/admin/product",
"newSlug": "/references/js-sdk/store/product",
"filePath": "/www/apps/resources/references/js_sdk/store/Store/properties/js_sdk.store.Store.product/page.mdx"
},
{
"origSlug": "/references/js_sdk/store/Store/properties/js_sdk.store.Store.region",
"newSlug": "/references/js-sdk/admin/region",
"newSlug": "/references/js-sdk/store/region",
"filePath": "/www/apps/resources/references/js_sdk/store/Store/properties/js_sdk.store.Store.region/page.mdx"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ import { TypeList } from "docs-ui"

This documentation provides a reference to the `createRemoteLinkStep` step. It belongs to the `@medusajs/medusa/core-flows` package.

This step creates remote links between two records of linked data models.

Learn more in the [Remote Link documentation.](https://docs.medusajs.com/advanced-development/modules/remote-link#create-link).

## Example

```ts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ import { TypeList } from "docs-ui"

This documentation provides a reference to the `dismissRemoteLinkStep` step. It belongs to the `@medusajs/medusa/core-flows` package.

This step removes remote links between two records of linked data models.

Learn more in the [Remote Link documentation.](https://docs.medusajs.com/advanced-development/modules/remote-link#dismiss-link).

## Example

```ts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { TypeList } from "docs-ui"

This documentation provides a reference to the `emitEventStep` step. It belongs to the `@medusajs/medusa/core-flows` package.

Emit an event.

## Example

```ts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ import { TypeList } from "docs-ui"

This documentation provides a reference to the `removeRemoteLinkStep` step. It belongs to the `@medusajs/medusa/core-flows` package.

This step deletes linked records of a record.

Learn more in the [Remote Link documentation](https://docs.medusajs.com/advanced-development/modules/remote-link#cascade-delete-linked-records)

## Example

```ts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ import { TypeList } from "docs-ui"

This documentation provides a reference to the `useRemoteQueryStep` step. It belongs to the `@medusajs/medusa/core-flows` package.

This step fetches data across modules using the remote query.

Learn more in the [Remote Query documentation](https://docs.medusajs.com/advanced-development/modules/remote-query).

## Example

To retrieve a list of records of a data model:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: /references/js-sdk/admin/cart
slug: /references/js-sdk/store/cart
sidebar_label: cart
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: /references/js-sdk/admin/category
slug: /references/js-sdk/store/category
sidebar_label: category
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: /references/js-sdk/admin/collection
slug: /references/js-sdk/store/collection
sidebar_label: collection
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: /references/js-sdk/admin/customer
slug: /references/js-sdk/store/customer
sidebar_label: customer
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: /references/js-sdk/admin/fulfillment
slug: /references/js-sdk/store/fulfillment
sidebar_label: fulfillment
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: /references/js-sdk/admin/order
slug: /references/js-sdk/store/order
sidebar_label: order
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: /references/js-sdk/admin/payment
slug: /references/js-sdk/store/payment
sidebar_label: payment
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: /references/js-sdk/admin/product
slug: /references/js-sdk/store/product
sidebar_label: product
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: /references/js-sdk/admin/region
slug: /references/js-sdk/store/region
sidebar_label: region
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const jsSdkOptions: FormattingOptionsType = {
},
"^js_sdk/store/Store/properties/": {
frontmatterData: {
slug: "/references/js-sdk/admin/{{alias}}",
slug: "/references/js-sdk/store/{{alias}}",
sidebar_label: "{{alias}}",
},
reflectionTitle: {
Expand Down
Loading