974 B
974 B
F-088 — Implementer evidence
Change
Updated project/apps/admin/src/lib/api-client.ts so taxApi.update accepts:
appliesTo?: 'general' | 'reduced' | 'super-reduced'
This matches the backend Zod enum and the existing TaxRate.appliesTo field used by F-085's inline editor.
Validation
cd project/apps/admin && npx tsc --noEmit→ exit 0cd project/apps/admin && NEXT_PUBLIC_API_URL=http://192.168.18.93:3000 npm run build→ exit 0.next/BUILD_IDgenerated:_bLiqJ4gfyeZE2fRSXk5Q- ESLint on touched client file → 0 errors, one pre-existing warning
- Admin production process running on port 3004
curl http://127.0.0.1:3004/→ HTTP 200curl http://192.168.18.93:3004/→ HTTP 200
Acceptance trace
taxApi.updateaccepts the validatedappliesToenum → PASS- Admin TypeScript check passes → PASS
- Production build generates required artifacts → PASS
- Admin remains reachable on LAN port 3004 → PASS