Ho Ngoc Hai
6cf2c23170
feat(listings): add source field to PriceHistory + unit tests
- Add `source` column to PriceHistory Prisma model (manual_update, admin_override, market_adjustment)
- Add migration for the new column with default 'manual_update'
- Update ListingPriceChangedEvent domain event with optional source parameter
- Update RecordPriceHistoryHandler to persist source
- Update GetPriceHistoryHandler to return source in query results
- Add unit tests for RecordPriceHistoryHandler (5 cases)
- Add unit tests for GetPriceHistoryHandler (3 cases)
- Add ListingPriceChangedEvent tests to domain events spec (4 cases)
- Add getPriceHistory controller tests (2 cases)
All 1805 tests pass, typecheck clean.
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-16 17:43:48 +07:00
..
2026-04-08 02:04:30 +07:00
2026-04-08 04:02:13 +07:00
2026-04-08 06:18:26 +07:00
2026-04-08 13:17:24 +07:00
2026-04-08 14:16:32 +07:00
2026-04-08 22:43:59 +07:00
2026-04-09 00:11:34 +07:00
2026-04-09 01:27:17 +07:00
2026-04-09 09:44:37 +07:00
2026-04-10 05:43:54 +07:00
2026-04-11 01:39:37 +07:00
2026-04-11 00:21:46 +07:00
2026-04-11 23:43:20 +07:00
2026-04-11 23:43:20 +07:00
2026-04-16 02:28:04 +07:00
2026-04-16 02:32:52 +07:00
2026-04-16 05:15:04 +07:00
2026-04-16 09:11:16 +07:00
2026-04-16 09:11:16 +07:00
2026-04-16 09:11:16 +07:00
2026-04-16 17:43:48 +07:00
2026-04-08 02:04:30 +07:00