• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agama-project / agama / 26086819313 / 2 – web
92%
master: 81%

Build:
Build:
LAST BUILD BRANCH: valibot
DEFAULT BRANCH: master
Ran 19 May 2026 08:56AM UTC
Files 609
Run time 27s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 May 2026 08:51AM UTC coverage: 76.75% (-0.005%) from 76.755%
web – 26086819313.2

push

github

dgdavid
refactor(web): centralize typed validation result helpers for forms

Introduce shared `ValidationResult<T>` and `FieldsValidationResult<T>`
types in `validation-helpers.ts` as the canonical return shapes for form
validation.

- `ValidationResult<T>` represents the final value returned from top-level
  `validate` functions and matches TanStack Form’s `onSubmitAsync`
  validator contract.
- `FieldsValidationResult<T>` represents the intermediate result produced
  by field-group validators before results are merged and `undefined`
  entries are stripped.

Both generics constrain keys to valid form field names via `T`, enabling
compile-time detection of misspelled fields. Centralizing these types
keeps validation behavior consistent across forms, avoids duplicate
`FormFieldErrors` aliases in individual `fields.ts` files, and makes
future updates easier if TanStack Form’s expected validation shape
changes.

4199 of 6288 branches covered (66.78%)

Branch coverage included in aggregate %.

15096 of 18852 relevant lines covered (80.08%)

91.05 hits per line

Source Files on job web - 26086819313.2
  • Tree
  • List 609
  • Changed 12
  • Source Changed 7
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26086819313
  • f94ae34e on github
  • Prev Job for on valibot (#26042057710.2)
  • Next Job for on valibot (#26091227466.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc