Change ParkingStructureCountOptions and HistoricalParkingAverageQueryResult to use Date objects

This matches the behavior of `updatedTime` on shuttle objects. When returning API data, dates are converted into milliseconds since Epoch by the DateTime scalar implementation.
This commit is contained in:
2025-07-19 12:12:08 -04:00
parent ed037cf2d2
commit 8ee1f1522e
6 changed files with 30 additions and 26 deletions

View File

@@ -9,7 +9,7 @@ export interface IParkingStructure extends IEntityWithTimestamp, IEntityWithId {
}
export interface IParkingStructureTimestampRecord {
timestampMs: number;
timestampMs: Date;
id: string;
spotsAvailable: number;
}