Closed jonathanfallon closed 3 months ago
The recent updates focus on refining the data normalization process, renaming key identifiers for clarity, and introducing a new rpc_journey_id
field. These changes ensure consistent data handling across various modules, improve the readability of identifiers, and enhance the overall structure of trip-related data.
File Path | Change Summary |
---|---|
api/src/pdc/services/apdf/helpers/normalizeAPDFData.helper.ts |
Renamed driver and passenger ID variables, added rpc_journey_id transformation. |
api/src/pdc/services/apdf/interfaces/APDFTripInterface.ts |
Reorganized trip details properties, added new fields including rpc_journey_id , updated incentive_type . |
api/src/pdc/services/apdf/providers/APDFRepositoryProvider.ts |
Added several protected readonly properties to DataRepositoryProvider class. |
.../apdf/providers/excel/SlicesWorksheetWriter.ts |
Renamed journey, trip, datetime, location, driver, and passenger identifiers for clarity. |
.../excel/TripsWorksheetWriter.integration.spec.ts |
Updated exportTripInterface object with new fields, removed outdated ones. |
.../excel/TripsWorksheetWriter.ts |
Added rpc_journey_id to headers, renamed driver and passenger ID fields. |
🐇 In fields of code where data flows, New names arise, as clarity grows. With journeys marked by
rpc
, And drivers, passengers, set free. The data's clear, the paths refined, In this bright code, improvements shine.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Improvements
rpc_journey_id
for more comprehensive data tracking.Bug Fixes