docs: updates to link to other modules docs (#12225)
This commit is contained in:
@@ -38,13 +38,13 @@ Read-only links are used to query data across modules, but the relations aren't
|
||||
<Table.Body>
|
||||
<Table.Row>
|
||||
<Table.Cell>
|
||||
[Cart](/references/cart/models/Cart) in [Cart Module](../../cart/page.mdx)
|
||||
[LineItem](/references/cart/models/LineItem) in [Cart Module](../../cart/page.mdx)
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
[Product](/references/product/models/Product)
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
Read-only
|
||||
Read-only - has one
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
[Learn more](#cart-module)
|
||||
@@ -58,7 +58,7 @@ Read-only links are used to query data across modules, but the relations aren't
|
||||
[ShippingProfile](/references/fulfillment/models/ShippingProfile) in [Fulfillment Module](../../fulfillment/page.mdx)
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
Stored
|
||||
Stored - many-to-one
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
[Learn more](#fulfillment-module)
|
||||
@@ -72,7 +72,7 @@ Read-only links are used to query data across modules, but the relations aren't
|
||||
[InventoryItem](/references/inventory/models/InventoryItem) in [Inventory Module](../../inventory/page.mdx)
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
Stored
|
||||
Stored - many-to-many
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
[Learn more](#inventory-module)
|
||||
@@ -80,13 +80,13 @@ Read-only links are used to query data across modules, but the relations aren't
|
||||
</Table.Row>
|
||||
<Table.Row>
|
||||
<Table.Cell>
|
||||
[Order](/references/order/models/Order) in [Order Module](../../order/page.mdx)
|
||||
[OrderLineItem](/references/order/models/OrderLineItem) in [Order Module](../../order/page.mdx)
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
[Product](/references/product/models/Product)
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
Read-only
|
||||
Read-only - has one
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
[Learn more](#order-module)
|
||||
@@ -100,7 +100,7 @@ Read-only links are used to query data across modules, but the relations aren't
|
||||
[PriceSet](/references/pricing/models/PriceSet) in [Pricing Module](../../pricing/page.mdx)
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
Stored
|
||||
Stored - one-to-one
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
[Learn more](#pricing-module)
|
||||
@@ -114,7 +114,7 @@ Read-only links are used to query data across modules, but the relations aren't
|
||||
[SalesChannel](/references/sales-channel/models/SalesChannel) in [Sales Channel Module](../../sales-channel/page.mdx)
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
Stored
|
||||
Stored - many-to-many
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
[Learn more](#sales-channel-module)
|
||||
@@ -153,7 +153,7 @@ const { data: lineItems } = await query.graph({
|
||||
],
|
||||
})
|
||||
|
||||
// lineItems.variant
|
||||
// lineItems[0].variant
|
||||
```
|
||||
|
||||
</CodeTab>
|
||||
@@ -171,7 +171,7 @@ const { data: lineItems } = useQueryGraphStep({
|
||||
],
|
||||
})
|
||||
|
||||
// lineItems.variant
|
||||
// lineItems[0].variant
|
||||
```
|
||||
|
||||
</CodeTab>
|
||||
@@ -204,7 +204,7 @@ const { data: products } = await query.graph({
|
||||
],
|
||||
})
|
||||
|
||||
// products.shipping_profile
|
||||
// products[0].shipping_profile
|
||||
```
|
||||
|
||||
</CodeTab>
|
||||
@@ -222,7 +222,7 @@ const { data: products } = useQueryGraphStep({
|
||||
],
|
||||
})
|
||||
|
||||
// products.shipping_profile
|
||||
// products[0].shipping_profile
|
||||
```
|
||||
|
||||
</CodeTab>
|
||||
@@ -305,7 +305,7 @@ const { data: variants } = await query.graph({
|
||||
],
|
||||
})
|
||||
|
||||
// variants.inventory_items
|
||||
// variants[0].inventory_items
|
||||
```
|
||||
|
||||
</CodeTab>
|
||||
@@ -323,7 +323,7 @@ const { data: variants } = useQueryGraphStep({
|
||||
],
|
||||
})
|
||||
|
||||
// variants.inventory_items
|
||||
// variants[0].inventory_items
|
||||
```
|
||||
|
||||
</CodeTab>
|
||||
@@ -403,7 +403,7 @@ const { data: lineItems } = await query.graph({
|
||||
],
|
||||
})
|
||||
|
||||
// lineItems.variant
|
||||
// lineItems[0].variant
|
||||
```
|
||||
|
||||
</CodeTab>
|
||||
@@ -421,7 +421,7 @@ const { data: lineItems } = useQueryGraphStep({
|
||||
],
|
||||
})
|
||||
|
||||
// lineItems.variant
|
||||
// lineItems[0].variant
|
||||
```
|
||||
|
||||
</CodeTab>
|
||||
@@ -454,7 +454,7 @@ const { data: variants } = await query.graph({
|
||||
],
|
||||
})
|
||||
|
||||
// variants.price_set
|
||||
// variants[0].price_set
|
||||
```
|
||||
|
||||
</CodeTab>
|
||||
@@ -472,7 +472,7 @@ const { data: variants } = useQueryGraphStep({
|
||||
],
|
||||
})
|
||||
|
||||
// variants.price_set
|
||||
// variants[0].price_set
|
||||
```
|
||||
|
||||
</CodeTab>
|
||||
@@ -547,7 +547,7 @@ const { data: products } = await query.graph({
|
||||
],
|
||||
})
|
||||
|
||||
// products.sales_channels
|
||||
// products[0].sales_channels
|
||||
```
|
||||
|
||||
</CodeTab>
|
||||
@@ -565,7 +565,7 @@ const { data: products } = useQueryGraphStep({
|
||||
],
|
||||
})
|
||||
|
||||
// products.sales_channels
|
||||
// products[0].sales_channels
|
||||
```
|
||||
|
||||
</CodeTab>
|
||||
|
||||
Reference in New Issue
Block a user