25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix(docs): accept grouped connection profiles in support matrix check
t8y2538b8183cd15
diff --git a/docs/scripts/verify-doc-content.mjs b/docs/scripts/verify-doc-content.mjsindex 77b10d4e62..5110241f2d 100644--- a/docs/scripts/verify-doc-content.mjs+++ b/docs/scripts/verify-doc-content.mjs@@ -98,6 +98,21 @@ if (!connectionOptionsMatch) {} else {const connectionModeIds = new Set(["custom_mysql", "custom_postgres"]);const connectionIds = [...connectionOptionsMatch[1].matchAll(/value: "([^"]+)"/g)].map((match) => match[1]).filter((id) => !connectionModeIds.has(id));+ // Grouped profiles (e.g. GBase 8s/8c under the GBase picker entry) are valid connection+ // targets without their own top-level picker value; accept CONNECTION_PROFILES keys that+ // the picker does not already list.+ const profilesMapMatch = connectionProfilesSource.match(/export const CONNECTION_PROFILES = \{([\s\S]*?)\n\} as const/);+ if (!profilesMapMatch) {+ errors.push("Unable to read CONNECTION_PROFILES from connectionProfiles.ts");+ } else {+ // gbase8a is an alias of the grouped gbase entry; jdbc is the generic external-driver+ // profile surfaced through the driver store rather than the database support matrix.+ const profileAliases = new Set(["gbase8a", "jdbc"]);+ const pickerIds = new Set(connectionIds);+ for (const key of [...profilesMapMatch[1].matchAll(/^\s{2}([a-z0-9_]+): \{/gm)].map((match) => match[1])) {+ if (!connectionModeIds.has(key) && !profileAliases.has(key) && !pickerIds.has(key)) connectionIds.push(key);+ }+ }if (!jdbcProductProfilesMatch) {errors.push("Unable to read registered JDBC product profiles");