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
35 lines
879 B
JSON
35 lines
879 B
JSON
{
|
|
"name": "av-planner",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "oxlint",
|
|
"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",
|
|
"@xyflow/react": "^12.11.5",
|
|
"react": "^19.2.8",
|
|
"react-dom": "^19.2.8",
|
|
"uuid": "^14.0.2",
|
|
"zustand": "^5.0.15"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.3.3",
|
|
"@types/node": "^24.13.3",
|
|
"@types/react": "^19.2.18",
|
|
"@types/react-dom": "^19.2.4",
|
|
"@types/uuid": "^10.0.0",
|
|
"@vitejs/plugin-react": "^6.1.0",
|
|
"oxlint": "^1.79.0",
|
|
"tailwindcss": "^4.3.3",
|
|
"typescript": "~6.0.2",
|
|
"vite": "^8.2.2"
|
|
}
|
|
}
|