feat(webui): mock admin API with scenarios for local development

Serve captured fixtures from the Vite dev server under MOCK=1. Synthesise missing ranges from the nearest fixture and select failure scenarios with ?mock=.
This commit is contained in:
2026-11-25 11:52:35 +00:00
parent 0bf4e4015c
commit 853a66dcb7
9 changed files with 1205 additions and 7 deletions
+1
View File
@@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"dev:mock": "MOCK=1 vite",
"build": "vue-tsc -b && vite build",
"preview": "vite preview",
"test": "vitest run"