Backend Track • Intermediate • 5 mins review
Feat: Add Shipment search and bulk export
This PR adds a new endpoint to search shipments by reference, and a worker job to export shipment details.
Scenario Goal & Context
Goal: Implement a fast search method in the repository and a batch export worker that processes a list of shipments.
Background: The customer success team needs to quickly find shipments by exact reference ID and export them for daily reporting.
Changed Files (3)
- src/repository/ShipmentRepository.ts +12 -2
- src/jobs/ShipmentExportJob.ts +10 -3
- test/jobs/ShipmentExportJob.test.ts +12 -0
Ready to practice reviewing this PR?
Open this scenario inside the interactive DiffSense simulator to leave inline comments and receive an automated score.
Start Review Session