X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftypes%2FStatistics.ts;h=f5a13ebbb143e87c7c201ebd20f971387dc78f5c;hb=96a52d088b4927e7bc51ea9282f502c2a6b67707;hp=26f6bc9fc39281a9e1777721b6e0b53408d42c8b;hpb=83e00df1c1ba02de8b637ca4cb0464eb909ebb18;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/Statistics.ts b/src/types/Statistics.ts index 26f6bc9f..f5a13ebb 100644 --- a/src/types/Statistics.ts +++ b/src/types/Statistics.ts @@ -1,4 +1,5 @@ import type { CircularArray } from '../utils/CircularArray'; +import type { IncomingRequestCommand, RequestCommand } from './ocpp/Requests'; import type { WorkerData } from './Worker'; export type TimeSeries = { @@ -22,11 +23,11 @@ export type StatisticsData = { stdDevTimeMeasurement: number; }; -export default interface Statistics extends WorkerData { +export type Statistics = WorkerData & { id: string; name: string; uri: string; createdAt: Date; updatedAt?: Date; - statisticsData: Map>; -} + statisticsData: Map>; +};