mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-28 16:09:17 +00:00
feat: add SelectDB support and update related icons
This commit is contained in:
@@ -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" },
|
||||
|
||||
@@ -36,6 +36,7 @@ const assetIcons: Record<string, string> = {
|
||||
bigquery: "bigquery",
|
||||
cassandra: "cassandra",
|
||||
doris: "doris",
|
||||
selectdb: "selectdb",
|
||||
tdengine: "tdengine",
|
||||
starrocks: "starrocks",
|
||||
redshift: "redshift",
|
||||
|
||||
Reference in New Issue
Block a user