Web UI: Fix NPE at template loading
[e-mobility-charging-stations-simulator.git] / src / ui / web / src / types / ChargingStationType.ts
index dc485451034efc2efa12a8e0d94674eaf12ea73b..8d6f968537eeefbf4d2ade590aca799db811d1bb 100644 (file)
@@ -1,7 +1,6 @@
 import type { JsonObject } from './JsonType';
 
 export type ChargingStationData = {
-  hashId: string;
   stationInfo: ChargingStationInfo;
   stopped: boolean;
   bootNotificationResponse: BootNotificationResponse;
@@ -9,6 +8,7 @@ export type ChargingStationData = {
 };
 
 export type ChargingStationInfo = {
+  hashId: string;
   chargingStationId?: string;
   chargePointModel: string;
   chargePointVendor: string;
@@ -50,7 +50,7 @@ export type ChargingStationInfo = {
   reconnectExponentialDelay?: boolean;
   registrationMaxRetries?: number;
   enableStatistics?: boolean;
-  mayAuthorizeAtRemoteStart?: boolean;
+  mustAuthorizeAtRemoteStart?: boolean;
   amperageLimitationOcppKey?: string;
   amperageLimitationUnit?: AmpereUnits;
   beginEndMeterValues?: boolean;