fix(): Improve store currency readonly link (#14276)
* fix(): Improve store currency readonly link * fix(): Improve store currency readonly link * fix(): Improve store currency readonly link * Create wicked-rabbits-sparkle.md
This commit is contained in:
committed by
GitHub
parent
d565a92f63
commit
9852a7c74d
5
.changeset/wicked-rabbits-sparkle.md
Normal file
5
.changeset/wicked-rabbits-sparkle.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/link-modules": patch
|
||||
---
|
||||
|
||||
fix(): Improve store currency readonly link
|
||||
@@ -7,12 +7,12 @@ export const StoreCurrencies: ModuleJoinerConfig = {
|
||||
extends: [
|
||||
{
|
||||
serviceName: Modules.STORE,
|
||||
entity: "Store",
|
||||
entity: "StoreCurrency",
|
||||
relationship: {
|
||||
serviceName: Modules.CURRENCY,
|
||||
entity: "Currency",
|
||||
primaryKey: "code",
|
||||
foreignKey: "supported_currencies.currency_code",
|
||||
foreignKey: "currency_code",
|
||||
alias: "currency",
|
||||
args: {
|
||||
methodSuffix: "Currencies",
|
||||
|
||||
@@ -20,7 +20,7 @@ export const StoreLocales: ModuleJoinerConfig = {
|
||||
foreignKey: "locale_code",
|
||||
alias: "locale",
|
||||
args: {
|
||||
methodSuffix: "StoreLocales",
|
||||
methodSuffix: "Locales",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user