]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor: use union types consistently in common code and tests
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 16 Mar 2026 12:36:04 +0000 (13:36 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 16 Mar 2026 12:36:04 +0000 (13:36 +0100)
commit19ab6a48a0203485185f8bdfe1a11012d9a72160
tree38f6e6acd1a5dc4cfcb4ed266d43767dda859d73
parentce77ea9710defa1c9783add2b0d37543f32b10c1
refactor: use union types consistently in common code and tests

- OCPPServiceUtils: use SampledValue union in generics, use
  StatusNotificationRequest union in satisfies, remove unused
  OCPP20StatusNotificationRequest import
- BroadcastChannel: use MeterValuesRequest/Response unions
- OCPPServiceUtils-validation.test: OCPP16MessageTrigger → MessageTrigger,
  remove redundant casts
tests/charging-station/ocpp/OCPPServiceUtils-validation.test.ts