feat(freight-api): add 4 fleet-ops reports

wagon-fleet-status, wagon-status-duration, wagon-requests,
locomotive-fleet-status. First batch off the ITLMS dashboard spec —
fleet data (wagons/locomotives/transfer-requests) needed no schema
work, just resolvers. No frontend changes: catalog is server-driven.
This commit is contained in:
Nathnael
2026-08-13 08:08:13 +00:00
parent 9930bef8aa
commit c0cdf80560
6 changed files with 334 additions and 0 deletions

View File

@@ -59,6 +59,10 @@ export const REPORT_KEYS = [
"revenue-by-customer",
"aging-receivables",
"contract-utilization",
"wagon-fleet-status",
"wagon-status-duration",
"wagon-requests",
"locomotive-fleet-status",
] as const;
export type ReportKey = (typeof REPORT_KEYS)[number];