docs: fix passing linkable for inverse read-only links (#13041)

This commit is contained in:
Shahed Nasser
2025-07-25 13:27:06 +03:00
committed by GitHub
parent 7b3dc917a2
commit d22b6257b7
3 changed files with 7 additions and 7 deletions

View File

@@ -110,7 +110,7 @@ export default defineLink(
field: "id",
},
{
linkable: BlogModule.linkable.post.id,
...BlogModule.linkable.post.id,
primaryKey: "product_id",
},
{
@@ -272,7 +272,7 @@ export default defineLink(
field: "id",
},
{
linkable: BlogModule.linkable.post.id,
...BlogModule.linkable.post.id,
primaryKey: "product_id",
},
{
@@ -346,7 +346,7 @@ export default defineLink(
isList: true,
},
{
linkable: BlogModule.linkable.post.id,
...BlogModule.linkable.post.id,
primaryKey: "product_id",
},
{

View File

@@ -114,7 +114,7 @@ export const generatedEditDates = {
"app/learn/configurations/medusa-config/page.mdx": "2025-07-14T09:28:54.302Z",
"app/learn/configurations/ts-aliases/page.mdx": "2025-07-23T15:32:18.008Z",
"app/learn/production/worker-mode/page.mdx": "2025-07-18T15:19:45.352Z",
"app/learn/fundamentals/module-links/read-only/page.mdx": "2025-05-13T15:04:12.107Z",
"app/learn/fundamentals/module-links/read-only/page.mdx": "2025-07-25T07:58:54.327Z",
"app/learn/fundamentals/data-models/properties/page.mdx": "2025-03-18T07:57:17.826Z",
"app/learn/fundamentals/framework/page.mdx": "2025-06-26T14:26:22.120Z",
"app/learn/fundamentals/api-routes/retrieve-custom-links/page.mdx": "2025-07-14T10:24:32.582Z",

View File

@@ -13193,7 +13193,7 @@ export default defineLink(
field: "id",
},
{
linkable: BlogModule.linkable.post.id,
...BlogModule.linkable.post.id,
primaryKey: "product_id",
},
{
@@ -13326,7 +13326,7 @@ export default defineLink(
field: "id",
},
{
linkable: BlogModule.linkable.post.id,
...BlogModule.linkable.post.id,
primaryKey: "product_id",
},
{
@@ -13400,7 +13400,7 @@ export default defineLink(
isList: true,
},
{
linkable: BlogModule.linkable.post.id,
...BlogModule.linkable.post.id,
primaryKey: "product_id",
},
{