X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FStatistics.ts;h=60b2379b77577757f4f5d883e828662645acb8f1;hb=129fdda549b8c7dc7c43ec5893d14a1151ed61a9;hp=44c941e70bee6e2b7ee828f657c75463a5ffef73;hpb=c36e3cf0312f553b4b8c2b716da0d55cc87450cf;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/Statistics.ts b/src/types/Statistics.ts index 44c941e7..60b2379b 100644 --- a/src/types/Statistics.ts +++ b/src/types/Statistics.ts @@ -2,12 +2,12 @@ import type { IncomingRequestCommand, RequestCommand } from './ocpp/Requests'; import type { CircularArray } from '../utils'; import type { WorkerData } from '../worker'; -export type TimestampedData = { +export interface TimestampedData { timestamp: number; value: number; -}; +} -type StatisticsData = Partial<{ +export type StatisticsData = Partial<{ requestCount: number; responseCount: number; errorCount: number;