@dbx-app/node-core 0.4.8 → 0.4.9
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.
- package/dist/connections.d.ts +2 -0
- package/dist/connections.js +1 -0
- package/dist/diagnostics.d.ts +1 -1
- package/dist/diagnostics.js +1 -0
- package/package.json +1 -1
package/dist/connections.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export interface ConnectionConfig {
|
|
|
19
19
|
redis_sentinel_username?: string;
|
|
20
20
|
redis_sentinel_password?: string;
|
|
21
21
|
redis_sentinel_tls?: boolean;
|
|
22
|
+
redis_key_separator?: string;
|
|
22
23
|
read_only?: boolean;
|
|
23
24
|
}
|
|
24
25
|
export type TransportLayerConfig = ({
|
|
@@ -38,6 +39,7 @@ export interface SshTunnelConfig {
|
|
|
38
39
|
key_passphrase?: string;
|
|
39
40
|
connect_timeout_secs?: number;
|
|
40
41
|
expose_lan?: boolean;
|
|
42
|
+
use_ssh_agent?: boolean;
|
|
41
43
|
}
|
|
42
44
|
export interface ProxyTunnelConfig {
|
|
43
45
|
id: string;
|
package/dist/connections.js
CHANGED
|
@@ -67,6 +67,7 @@ function normalizeTransportLayers(config) {
|
|
|
67
67
|
key_passphrase: config.ssh_key_passphrase || "",
|
|
68
68
|
connect_timeout_secs: config.ssh_connect_timeout_secs || 5,
|
|
69
69
|
expose_lan: !!config.ssh_expose_lan,
|
|
70
|
+
use_ssh_agent: false,
|
|
70
71
|
});
|
|
71
72
|
}
|
|
72
73
|
if (config.proxy_enabled && config.proxy_host) {
|
package/dist/diagnostics.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const DIRECT_QUERY_TYPES: readonly ["postgres", "redshift", "mysql", "doris", "starrocks", "sqlite", "rqlite", "gaussdb", "kwdb", "opengauss"];
|
|
2
2
|
export type DirectQueryType = (typeof DIRECT_QUERY_TYPES)[number];
|
|
3
3
|
export declare function isDirectQueryType(dbType: string): dbType is DirectQueryType;
|
|
4
|
-
export declare const BRIDGE_REQUIRED_TYPES: readonly ["redis", "mongodb", "duckdb", "clickhouse", "sqlserver", "oracle", "elasticsearch", "etcd", "dameng", "kingbase", "highgo", "vastbase", "goldendb", "databend", "yashandb", "databricks", "saphana", "teradata", "vertica", "firebird", "exasol", "oceanbase-oracle", "gbase", "tdengine", "iotdb", "h2", "snowflake", "trino", "hive", "db2", "informix", "iris", "neo4j", "cassandra", "bigquery", "kylin", "sundb", "xugu", "jdbc", "access"];
|
|
4
|
+
export declare const BRIDGE_REQUIRED_TYPES: readonly ["redis", "mongodb", "duckdb", "clickhouse", "sqlserver", "oracle", "elasticsearch", "etcd", "dameng", "kingbase", "highgo", "vastbase", "goldendb", "databend", "yashandb", "databricks", "saphana", "teradata", "vertica", "firebird", "exasol", "oceanbase-oracle", "gbase", "tdengine", "iotdb", "h2", "snowflake", "trino", "hive", "db2", "informix", "iris", "neo4j", "cassandra", "bigquery", "kylin", "sundb", "xugu", "jdbc", "access", "influxdb"];
|
|
5
5
|
export interface DbxDiagnostics {
|
|
6
6
|
appDataDir: string;
|
|
7
7
|
dbPath: string;
|
package/dist/diagnostics.js
CHANGED