c2ec6e84637a
L17/QUA-010: document intentional any usage in import.ts (external schema heterogeneity)
- time
- 2026-05-16 05:48 UTC · 5 months ago
- machine
- koh2
- parent
- a3e298dd0300
↓ peach-browser-c2ec6e84.tar.gzatlas at this save
files changed1 file
src/shared/import.ts+7 −0src/shared/import.ts+7 −0
@@ -1,3 +1,10 @@1+// `any` is intentional throughout this module (L17/I3/QUA-010): import files2+// are user-supplied external JSON whose schemas vary by source app and version3+// (1Password CPG, Bitwarden, CXF, generic CSV). Structural extraction is4+// defensive — every field is null-checked or falls back to "" — so a wrong5+// schema can't crash the import. Tightening to `unknown` would force a noisy6+// runtime schema validator on data we already treat as untrusted.7+18 import Papa from "papaparse";29 310 import {