docs: rename remoteLink and remoteQueryConfig (#10836)

* docs: rename remoteLink and remoteQueryConfig

* change version number
This commit is contained in:
Shahed Nasser
2025-01-07 14:43:12 +02:00
committed by GitHub
parent f5f4d417c0
commit 38223e5104
28 changed files with 223 additions and 212 deletions
@@ -77,19 +77,19 @@ const { data: fulfillments } = useQueryGraphStep({
</CodeTab>
</CodeTabs>
### Manage with Remote Link
### Manage with Link
To manage the order of a cart, use [Remote Link](!docs!/learn/fundamentals/module-links/remote-link):
To manage the order of a cart, use [Link](!docs!/learn/fundamentals/module-links/link):
<CodeTabs group="relation-link">
<CodeTab label="remoteLink.create" value="method">
<CodeTab label="link.create" value="method">
```ts
import { Modules } from "@medusajs/framework/utils"
// ...
await remoteLink.create({
await link.create({
[Modules.ORDER]: {
order_id: "order_123",
},
@@ -170,19 +170,19 @@ const { data: shippingOptions } = useQueryGraphStep({
</CodeTab>
</CodeTabs>
### Manage with Remote Link
### Manage with Link
To manage the price set of a shipping option, use [Remote Link](!docs!/learn/fundamentals/module-links/remote-link):
To manage the price set of a shipping option, use [Link](!docs!/learn/fundamentals/module-links/link):
<CodeTabs group="relation-link">
<CodeTab label="remoteLink.create" value="method">
<CodeTab label="link.create" value="method">
```ts
import { Modules } from "@medusajs/framework/utils"
// ...
await remoteLink.create({
await link.create({
[Modules.FULFILLMENT]: {
shipping_option_id: "so_123",
},
@@ -273,19 +273,19 @@ const { data: fulfillmentSets } = useQueryGraphStep({
</CodeTab>
</CodeTabs>
### Manage with Remote Link
### Manage with Link
To manage the stock location of a fulfillment set, use [Remote Link](!docs!/learn/fundamentals/module-links/remote-link):
To manage the stock location of a fulfillment set, use [Link](!docs!/learn/fundamentals/module-links/link):
<CodeTabs group="relation-link">
<CodeTab label="remoteLink.create" value="method">
<CodeTab label="link.create" value="method">
```ts
import { Modules } from "@medusajs/framework/utils"
// ...
await remoteLink.create({
await link.create({
[Modules.STOCK_LOCATION]: {
stock_location_id: "sloc_123",
},