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

safe-global / safe-client-gateway / 8281603280

14 Mar 2024 01:30PM UTC coverage: 93.66% (-0.02%) from 93.681%
8281603280

push

github

web-flow
Migrate `GetDataDecodedDto` to `zod` and narrow types (#1289)

This migrates the validation of `GetDataDecodedDto` and narrows the related types:

- Narrow `ITransactionApi['getDataDecoded']` argument types
- Narrow `IDataDecodedRepository['getDataDecoded']` argument types
- Add `GetDataDecodedDtoSchema` schema with test coverage
- Remove and exchange `GetDataDecodedDtoValidationPipe` for new schema
- Infer `GetDataDecodedDto` from new schema
- Propagate types

1794 of 2143 branches covered (83.71%)

Branch coverage included in aggregate %.

10 of 10 new or added lines in 4 files covered. (100.0%)

2 existing lines in 2 files now uncovered.

6376 of 6580 relevant lines covered (96.9%)

364.67 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/validation/patterns.ts
UNCOV
1
export const HEX_PATTERN = '0[x][0-9a-fA-F]+';
×
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