chore: remove internal module resources option (#9582)

What:
* removes resouces type "shared" or "isolated" from internal modules.
* modules can have an isolated database connection by providing a database config as part of their options on `medusa-config`

CLOSES: FRMW-2593
This commit is contained in:
Carlos R. L. Rodrigues
2024-10-17 21:31:46 +00:00
committed by GitHub
parent b07dd33a57
commit 902ac12f73
36 changed files with 75 additions and 258 deletions
@@ -260,7 +260,7 @@ moduleIntegrationTestRunner({
[Modules.FULFILLMENT]: {
definition: ModulesDefinition[Modules.FULFILLMENT],
options: {
databaseConfig,
database: databaseConfig,
providers: Object.keys(providersConfig).map((id) => ({
resolve: resolve(
process.cwd() +
@@ -310,7 +310,7 @@ moduleIntegrationTestRunner({
[Modules.FULFILLMENT]: {
definition: ModulesDefinition[Modules.FULFILLMENT],
options: {
databaseConfig,
database: databaseConfig,
providers: Object.keys(providersConfig2).map((id) => ({
resolve: resolve(
process.cwd() +