MCPcopy Create free account
hub / github.com/axe-api/axe-api / getEnvSettings

Function getEnvSettings

packages/integrations/envSettings.ts:109–115  ·  view source on GitHub ↗
(dbType: string)

Source from the content-addressed store, hash-verified

107};
108
109export const getEnvSettings = (dbType: string) => {
110 const settings = SETTINGS[dbType];
111 if (!settings) {
112 throw new Error(`Unsupported database type: ${dbType}`);
113 }
114 return settings;
115};
116
117export const setEnvSettings = () => {
118 const dbType: string = process.env.DB_PROVIDER || "sqlite";

Callers 1

setEnvSettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected