docs: update read-only links (#12468)
This commit is contained in:
1 parent
851c81fd4b
commit
d34b4646de
11 files changed
+16538
-16436
No files matched your search
@@ -371,7 +371,7 @@ import CartModule from "@medusajs/medusa/cart"
|
||||
|
||||
export default defineLink(
|
||||
{
|
||||
...QuoteModule.linkable.quote,
|
||||
linkable: QuoteModule.linkable.quote.id,
|
||||
field: "cart_id",
|
||||
},
|
||||
CartModule.linkable.cart,
|
||||
@@ -402,7 +402,7 @@ import CustomerModule from "@medusajs/medusa/customer"
|
||||
|
||||
export default defineLink(
|
||||
{
|
||||
...QuoteModule.linkable.quote,
|
||||
linkable: QuoteModule.linkable.quote.id,
|
||||
field: "customer_id",
|
||||
},
|
||||
CustomerModule.linkable.customer,
|
||||
@@ -427,7 +427,7 @@ import OrderModule from "@medusajs/medusa/order"
|
||||
|
||||
export default defineLink(
|
||||
{
|
||||
...QuoteModule.linkable.quote,
|
||||
linkable: QuoteModule.linkable.quote.id,
|
||||
field: "order_change_id",
|
||||
},
|
||||
OrderModule.linkable.orderChange,
|
||||
@@ -452,11 +452,11 @@ import OrderModule from "@medusajs/medusa/order"
|
||||
|
||||
export default defineLink(
|
||||
{
|
||||
...QuoteModule.linkable.quote,
|
||||
linkable: QuoteModule.linkable.quote.id,
|
||||
field: "draft_order_id",
|
||||
},
|
||||
{
|
||||
...OrderModule.linkable.order.id,
|
||||
linkable: OrderModule.linkable.order.id,
|
||||
alias: "draft_order",
|
||||
},
|
||||
{
|
||||
|
||||
@@ -618,7 +618,7 @@ import { SANITY_MODULE } from "../modules/sanity"
|
||||
|
||||
defineLink(
|
||||
{
|
||||
...ProductModule.linkable.product.id,
|
||||
linkable: ProductModule.linkable.product.id,
|
||||
field: "id",
|
||||
},
|
||||
{
|
||||
|
||||
@@ -419,7 +419,7 @@ import CustomerModule from "@medusajs/medusa/customer"
|
||||
|
||||
export default defineLink(
|
||||
{
|
||||
...WishlistModule.linkable.wishlist.id,
|
||||
linkable: WishlistModule.linkable.wishlist.id,
|
||||
field: "customer_id",
|
||||
},
|
||||
CustomerModule.linkable.customer.id,
|
||||
@@ -446,7 +446,7 @@ import SalesChannelModule from "@medusajs/medusa/sales-channel"
|
||||
|
||||
export default defineLink(
|
||||
{
|
||||
...WishlistModule.linkable.wishlist.id,
|
||||
linkable: WishlistModule.linkable.wishlist.id,
|
||||
field: "sales_channel_id",
|
||||
},
|
||||
SalesChannelModule.linkable.salesChannel,
|
||||
@@ -469,7 +469,7 @@ import ProductModule from "@medusajs/medusa/product"
|
||||
|
||||
export default defineLink(
|
||||
{
|
||||
...WishlistModule.linkable.wishlistItem.id,
|
||||
linkable: WishlistModule.linkable.wishlistItem.id,
|
||||
field: "product_variant_id",
|
||||
},
|
||||
ProductModule.linkable.productVariant,
|
||||
|
||||
@@ -316,7 +316,7 @@ import ProductModule from "@medusajs/medusa/product"
|
||||
|
||||
export default defineLink(
|
||||
{
|
||||
...RestockModule.linkable.restockSubscription.id,
|
||||
linkable: RestockModule.linkable.restockSubscription.id,
|
||||
field: "variant_id",
|
||||
},
|
||||
ProductModule.linkable.productVariant,
|
||||
|
||||
@@ -366,7 +366,7 @@ import { defineLink } from "@medusajs/framework/utils"
|
||||
export default defineLink(
|
||||
RestaurantModule.linkable.restaurant,
|
||||
{
|
||||
linkable: ProductModule.linkable.product,
|
||||
linkable: ProductModule.linkable.product.id,
|
||||
isList: true,
|
||||
}
|
||||
)
|
||||
|
||||
@@ -319,7 +319,7 @@ import ProductModule from "@medusajs/medusa/product"
|
||||
export default defineLink(
|
||||
MarketplaceModule.linkable.vendor,
|
||||
{
|
||||
linkable: ProductModule.linkable.product,
|
||||
linkable: ProductModule.linkable.product.id,
|
||||
isList: true,
|
||||
}
|
||||
)
|
||||
@@ -340,7 +340,7 @@ import OrderModule from "@medusajs/medusa/order"
|
||||
export default defineLink(
|
||||
MarketplaceModule.linkable.vendor,
|
||||
{
|
||||
linkable: OrderModule.linkable.order,
|
||||
linkable: OrderModule.linkable.order.id,
|
||||
isList: true,
|
||||
}
|
||||
)
|
||||
|
||||
@@ -346,7 +346,7 @@ import CustomerModule from "@medusajs/medusa/customer"
|
||||
|
||||
export default defineLink(
|
||||
{
|
||||
linkable: SubscriptionModule.linkable.subscription,
|
||||
linkable: SubscriptionModule.linkable.subscription.id,
|
||||
isList: true,
|
||||
},
|
||||
CustomerModule.linkable.customer
|
||||
@@ -367,7 +367,7 @@ import OrderModule from "@medusajs/medusa/order"
|
||||
export default defineLink(
|
||||
SubscriptionModule.linkable.subscription,
|
||||
{
|
||||
linkable: OrderModule.linkable.order,
|
||||
linkable: OrderModule.linkable.order.id,
|
||||
isList: true,
|
||||
}
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user