Rebuild the connector catalog with gendered Male/Female port types
Replaces the old ungendered catalog (plain XLR, TS/TRS 1/4", Speakon NL2/4/8, etc.) with a full Male/Female-aware set covering audio, video, network/data, USB (with Host/Device role split for USB-C), power, RF coax, and fiber connectors, plus real-world bridging/adapter cables — enough to model gender benders and specify exact cable types in the BOM instead of just a connector family. The catalog now lives entirely in the DB (seeded via supabase/seed.sql, captured with the new export-seed.mjs) rather than partly hardcoded in domain/library.ts, which is now unused. Existing seeded diagrams/devices were intentionally not migrated to the new port types — there was nothing important in them yet. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017DUU6CnxECCDeqDNYJgr5x
This commit is contained in:
+3
-1
@@ -7,7 +7,9 @@
|
||||
"dev": "vite",
|
||||
"build": "tsc -b && vite build",
|
||||
"lint": "oxlint",
|
||||
"preview": "vite preview"
|
||||
"preview": "vite preview",
|
||||
"export-seed": "node scripts/export-seed.mjs",
|
||||
"db:reset": "node scripts/export-seed.mjs --check && npx supabase db reset"
|
||||
},
|
||||
"dependencies": {
|
||||
"@supabase/supabase-js": "^2.115.0",
|
||||
|
||||
Reference in New Issue
Block a user