chore: Rename config properties to camelCase (#7498)

* refactor: rename config types to camelCase

* refactor: update config references to use renamed options

* refactor: update more references

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Harminder Virk
2024-05-28 18:19:29 +05:30
committed by GitHub
parent e60b4bafe1
commit 82be054a1a
15 changed files with 297 additions and 140 deletions

View File

@@ -13,7 +13,7 @@ describe("Database options", () => {
const cwd = path.resolve(path.join(__dirname, "..", ".."))
dbConnection = await initDb({
cwd,
database_extra: { idle_in_transaction_session_timeout: 1000 },
databaseExtra: { idle_in_transaction_session_timeout: 1000 },
})
medusaProcess = await setupServer({ cwd })
})

View File

@@ -21,9 +21,9 @@ module.exports = {
disable: true,
},
projectConfig: {
redis_url: redisUrl,
database_url: DB_URL,
database_type: "postgres",
redisUrl: redisUrl,
databaseUrl: DB_URL,
databaseType: "postgres",
http: {
compression: {
enabled: enableResponseCompression,