SCRAPE-5: Implement convertDataTypes() with type parsing helpers #10

Merged
stephen merged 1 commits from scraper/convert-types into dev 2026-02-05 21:33:58 -07:00

1 Commits

Author SHA1 Message Date
2191a6d4f2 Implement convertDataTypes() with type parsing helpers
All checks were successful
CI/CD Pipeline - Apartment API / Scan Dependencies (pull_request) Successful in 13s
CI/CD Pipeline - Apartment API / Run Linting (pull_request) Successful in 9m37s
CI/CD Pipeline - Apartment API / Run Tests (pull_request) Successful in 9m43s
CI/CD Pipeline - Apartment API / Send Webhook Notification (pull_request) Successful in 2s
CI/CD Pipeline - Apartment API / Build & Push Image (pull_request) Has been skipped
CI/CD Pipeline - Apartment API / Deploy to Production (pull_request) Has been skipped
- Add parseInteger, parsePositiveInteger, parseIntegerOrString helpers
- Add parsePrice with currency format handling and validation
- Add parseBoolean, parseFloat, trimString helpers
- convertDataTypes() applies correct parser to each unit field
- Comprehensive test suite with 74 tests covering all edge cases

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05 21:22:49 -07:00