X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftypes%2FStatistics.ts;h=93687190301bb429380385dedf04b4d871b0c03c;hb=28f1c5749ad4ee138c34c345a7bd812b40ccbcfa;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..93687190 100644 --- a/src/types/Statistics.ts +++ b/src/types/Statistics.ts @@ -1,5 +1,6 @@ -import type { CircularArray } from '../utils/CircularArray'; -import type { WorkerData } from './Worker'; +import type { IncomingRequestCommand, RequestCommand } from './internal'; +import type { CircularArray } from '../utils'; +import type { WorkerData } from '../worker'; 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;