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
@@ -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