feat: add SelectDB support and update related icons

This commit is contained in:
t8y2
2026-05-01 11:02:41 +08:00
parent b33d823a11
commit a7b829c951
36 changed files with 38 additions and 34 deletions
@@ -93,6 +93,7 @@ const driverProfiles: Record<string, { type: DatabaseType; port: number; user: s
kingbase: { type: "postgres", port: 54321, user: "system", label: "KingBase", icon: "kingbase" },
vastbase: { type: "postgres", port: 5432, user: "vastbase", label: "Vastbase", icon: "vastbase" },
doris: { type: "mysql", port: 9030, user: "root", label: "Doris", icon: "doris" },
selectdb: { type: "mysql", port: 9030, user: "root", label: "SelectDB", icon: "selectdb" },
starrocks: { type: "mysql", port: 9030, user: "root", label: "StarRocks", icon: "starrocks" },
redshift: { type: "postgres", port: 5439, user: "awsuser", label: "Redshift", icon: "redshift" },
cockroachdb:{ type: "postgres", port: 26257, user: "root", label: "CockroachDB", icon: "cockroachdb" },
@@ -187,7 +188,7 @@ const iconTypeMap: Record<string, string> = {
elasticsearch: "elasticsearch",
mariadb: "mariadb", tidb: "tidb", oceanbase: "oceanbase", goldendb: "goldendb",
opengauss: "opengauss", gaussdb: "gaussdb", kingbase: "kingbase", vastbase: "vastbase",
doris: "doris", starrocks: "starrocks", redshift: "redshift",
doris: "doris", selectdb: "selectdb", starrocks: "starrocks", redshift: "redshift",
cockroachdb: "cockroachdb", tdengine: "tdengine",
custom_mysql: "mysql", custom_postgres: "postgres",
};
@@ -211,6 +212,7 @@ const mysqlCompat = [
{ value: "oceanbase", label: "OceanBase" },
{ value: "goldendb", label: "GoldenDB" },
{ value: "doris", label: "Doris" },
{ value: "selectdb", label: "SelectDB" },
{ value: "starrocks", label: "StarRocks" },
{ value: "tdengine", label: "TDengine" },
{ value: "custom_mysql", label: "Custom" },
+1
View File
@@ -36,6 +36,7 @@ const assetIcons: Record<string, string> = {
bigquery: "bigquery",
cassandra: "cassandra",
doris: "doris",
selectdb: "selectdb",
tdengine: "tdengine",
starrocks: "starrocks",
redshift: "redshift",