refactor: prepare for MikroORM storage support
[e-mobility-charging-stations-simulator.git] / src / types / orm / entities / PerformanceRecord.ts
index dbe9ceeca87e4160e66f73c2c5ccced5edf0ab4e..bdd88abaeb6cd04e4ab8fc79752343ade355d295 100644 (file)
@@ -1,6 +1,6 @@
 import { Entity, PrimaryKey, Property } from '@mikro-orm/core'
 
-interface PerformanceData {
+interface StatisticsData {
   name: string
   requestCount: number
   responseCount: number
@@ -38,5 +38,5 @@ export class PerformanceRecord {
     updatedAt?: Date
 
   @Property()
-    performanceData!: PerformanceData[]
+    statisticsData!: Array<Partial<StatisticsData>>
 }