feat: MariaDB type layer — union, capabilities, icons, ports, URI parse/copy, filter (Task 2)

This commit is contained in:
2026-09-09 18:02:27 +08:00
parent 0db68d12b7
commit 28ce32ce91
12 changed files with 76 additions and 6 deletions
@@ -31,6 +31,7 @@ type Stage = "entry" | "configured";
const FALLBACK_PORTS: Record<string, number> = {
postgresql: 5432,
mysql: 3306,
mariadb: 3306,
redis: 6379,
};
@@ -9,6 +9,7 @@ import type { DbType } from "../../lib/types";
const DB_TYPE_LABELS: Record<DbType, string> = {
postgresql: "PostgreSQL",
mysql: "MySQL",
mariadb: "MariaDB",
sqlite: "SQLite",
redis: "Redis",
};
@@ -7,6 +7,7 @@ import type { DbType } from "../../lib/types";
const DB_TYPES: { value: DbType; label: string }[] = [
{ value: "postgresql", label: "PostgreSQL" },
{ value: "mysql", label: "MySQL" },
{ value: "mariadb", label: "MariaDB" },
{ value: "sqlite", label: "SQLite" },
{ value: "redis", label: "Redis" },
];