@xcr1234/dbhub-fork 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1073,7 +1073,7 @@ function validateSourceConfig(source, configPath) {
|
|
|
1073
1073
|
);
|
|
1074
1074
|
}
|
|
1075
1075
|
if (source.type) {
|
|
1076
|
-
const validTypes = ["postgres", "mysql", "mariadb", "sqlserver", "sqlite"];
|
|
1076
|
+
const validTypes = ["postgres", "mysql", "mariadb", "sqlserver", "sqlite", "oracle"];
|
|
1077
1077
|
if (!validTypes.includes(source.type)) {
|
|
1078
1078
|
throw new Error(
|
|
1079
1079
|
`Configuration file ${configPath}: source '${source.id}' has invalid type '${source.type}'. Valid types: ${validTypes.join(", ")}`
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveSourceConfigs,
|
|
13
13
|
resolveTomlConfigPath,
|
|
14
14
|
resolveTransport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XVCBZIOJ.js";
|
|
16
16
|
import {
|
|
17
17
|
loadConnectors
|
|
18
18
|
} from "./chunk-WVVMH6FJ.js";
|
|
@@ -1428,7 +1428,7 @@ See documentation for more details on configuring database connections.
|
|
|
1428
1428
|
const sources = sourceConfigsData.sources;
|
|
1429
1429
|
console.error(`Configuration source: ${sourceConfigsData.source}`);
|
|
1430
1430
|
await connectorManager.connectWithSources(sources);
|
|
1431
|
-
const { initializeToolRegistry: initializeToolRegistry2 } = await import("./registry-
|
|
1431
|
+
const { initializeToolRegistry: initializeToolRegistry2 } = await import("./registry-LAQHLQWA.js");
|
|
1432
1432
|
initializeToolRegistry2({
|
|
1433
1433
|
sources: sourceConfigsData.sources,
|
|
1434
1434
|
tools: sourceConfigsData.tools
|
package/package.json
CHANGED