feat(ui): 补充国产数据库中文品牌名称

Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
This commit is contained in:
zipgandzipg authored and GitHub committed 2026-08-05 23:15:53 +08:00
1 parent a6d335fff9
commit e1822cb704
7 files changed
+39 -36

No files matched your search

@@ -767,7 +767,7 @@
},
{
"dbType": "vastbase",
"label": "Vastbase",
"label": "海量 Vastbase",
"runtimeMode": "agent",
"mcpMode": "bridge",
"agentKey": "vastbase",
@@ -797,7 +797,7 @@
},
{
"dbType": "goldendb",
"label": "GoldenDB",
"label": "金篆 GoldenDB",
"runtimeMode": "agent",
"mcpMode": "bridge",
"agentKey": "goldendb",
@@ -1213,7 +1213,7 @@
},
{
"dbType": "gbase",
"label": "GBase 8a",
"label": "南大通用 GBase 8a",
"runtimeMode": "agent",
"mcpMode": "bridge",
"agentKey": "gbase8a",
@@ -1224,12 +1224,12 @@
"driverProfiles": [
{
"profile": "gbase8s",
"label": "GBase 8s",
"label": "南大通用 GBase 8s",
"agentKey": "gbase8s"
},
{
"profile": "gbase8a",
"label": "GBase 8a",
"label": "南大通用 GBase 8a",
"agentKey": "gbase8a"
}
],
@@ -1612,7 +1612,7 @@
},
{
"dbType": "sundb",
"label": "SunDB",
"label": "科蓝 SUNDB",
"runtimeMode": "agent",
"mcpMode": "bridge",
"agentKey": "sundb",
+6 -6
View File
@@ -25,8 +25,8 @@ const ORACLE_PROFILES: &[AgentDriverProfile] = &[
];
const GBASE_PROFILES: &[AgentDriverProfile] = &[
AgentDriverProfile { profile: "gbase8s", key: "gbase8s", label: "GBase 8s", store_visible: true },
AgentDriverProfile { profile: "gbase8a", key: "gbase8a", label: "GBase 8a", store_visible: true },
AgentDriverProfile { profile: "gbase8s", key: "gbase8s", label: "南大通用 GBase 8s", store_visible: true },
AgentDriverProfile { profile: "gbase8a", key: "gbase8a", label: "南大通用 GBase 8a", store_visible: true },
];
const MONGODB_PROFILES: &[AgentDriverProfile] = &[AgentDriverProfile {
@@ -86,14 +86,14 @@ const AGENT_CATALOG: &[AgentCatalogEntry] = &[
AgentCatalogEntry {
db_type: DatabaseType::Vastbase,
key: "vastbase",
label: "Vastbase",
label: "海量 Vastbase",
store_visible: true,
profiles: &[],
},
AgentCatalogEntry {
db_type: DatabaseType::Goldendb,
key: "goldendb",
label: "GoldenDB",
label: "金篆 GoldenDB",
store_visible: true,
profiles: &[],
},
@@ -156,7 +156,7 @@ const AGENT_CATALOG: &[AgentCatalogEntry] = &[
AgentCatalogEntry {
db_type: DatabaseType::Gbase,
key: "gbase8a",
label: "GBase 8a",
label: "南大通用 GBase 8a",
store_visible: true,
profiles: GBASE_PROFILES,
},
@@ -249,7 +249,7 @@ const AGENT_CATALOG: &[AgentCatalogEntry] = &[
AgentCatalogEntry {
db_type: DatabaseType::Sundb,
key: "sundb",
label: "SunDB",
label: "科蓝 SUNDB",
store_visible: true,
profiles: &[],
},