X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FStatistics.ts;h=6abc1287c991368a6f2ca2343a8f86b545707a7b;hb=27e40a3b65c82807a3bf15a0e56b6f24fceb89f8;hp=72f96696905165847155a305ddb8b4d5e3f8ab5b;hpb=8a36b1eb6df21e7ff434b36333d26739edf0e146;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/Statistics.ts b/src/types/Statistics.ts index 72f96696..6abc1287 100644 --- a/src/types/Statistics.ts +++ b/src/types/Statistics.ts @@ -1,5 +1,6 @@ -import type { CircularArray } from '../utils/CircularArray'; +import type { IncomingRequestCommand, RequestCommand } from './ocpp/Requests'; import type { WorkerData } from './Worker'; +import type { CircularArray } from '../utils/CircularArray'; export type TimeSeries = { timestamp: number; @@ -22,11 +23,11 @@ export type StatisticsData = { stdDevTimeMeasurement: number; }; -export type Statistics = WorkerData & { +export type Statistics = { id: string; name: string; uri: string; createdAt: Date; updatedAt?: Date; - statisticsData: Map>; -}; + statisticsData: Map>; +} & WorkerData;