Files
romm/docs
Georges-Antoine Assi 01be1850b9 fix(frontend): widen the dpdm gate and harden the 401 redirect
code-review pass.

dpdm cannot parse Vue SFCs, so the four entry points only reached 133 of
the frontend's modules: every `.vue` import was an unresolved dead end and
traversal stopped there. Make every `.ts` module an entry instead, which
brings the analysed graph to 771 modules. Frozen v1 `src/console` is carved
out because it still holds cycles we are not refactoring.

Take `ROUTES` and `isAuthExemptRoute` from the leaf module statically, and
keep only the router instance lazy. Guard the dynamic import so a failed
chunk load still rejects with the original AxiosError.

Move the `getDownloadPath` tests next to the module that now owns them.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-20 10:28:02 -04:00
..