build: switch to NodeNext module resolution
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 1.6 / ChargingProfile.ts
index 430f6c2865d39a866f0714b8ba9bd36cec39e008..89cf8e4d8545308d0e841f9647dde94beac746ff 100644 (file)
@@ -1,4 +1,4 @@
-import type { JsonObject } from '../../JsonType';
+import type { JsonObject } from '../../JsonType.js';
 
 export interface OCPP16ChargingProfile extends JsonObject {
   chargingProfileId: number;
@@ -13,8 +13,8 @@ export interface OCPP16ChargingProfile extends JsonObject {
 }
 
 export interface OCPP16ChargingSchedule extends JsonObject {
-  duration?: number;
   startSchedule?: Date;
+  duration?: number;
   chargingRateUnit: OCPP16ChargingRateUnitType;
   chargingSchedulePeriod: OCPP16ChargingSchedulePeriod[];
   minChargeRate?: number;