Files
mercadodevida/work/artifacts/F-088/implementer.md
2026-08-20 21:29:14 +02:00

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 0
  • cd project/apps/admin && NEXT_PUBLIC_API_URL=http://192.168.18.93:3000 npm run build → exit 0
  • .next/BUILD_ID generated: _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 200
  • curl http://192.168.18.93:3004/ → HTTP 200

Acceptance trace

  • taxApi.update accepts the validated appliesTo enum → PASS
  • Admin TypeScript check passes → PASS
  • Production build generates required artifacts → PASS
  • Admin remains reachable on LAN port 3004 → PASS