Move web ui code in its own directory
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / Requests.ts
index ed9dac1a71fe2d8de071adb90093a945de149eff..052bfc6bc044e41bf8e6e8a7f1d8e78f24983db1 100644 (file)
@@ -1,8 +1,8 @@
 import type ChargingStation from '../../charging-station/ChargingStation';
-import OCPPError from '../../exception/OCPPError';
-import { JsonType } from '../JsonType';
+import type OCPPError from '../../exception/OCPPError';
+import type { JsonType } from '../JsonType';
 import { OCPP16DiagnosticsStatus } from './1.6/DiagnosticsStatus';
-import { OCPP16MeterValuesRequest } from './1.6/MeterValues';
+import type { OCPP16MeterValuesRequest } from './1.6/MeterValues';
 import {
   OCPP16AvailabilityType,
   OCPP16BootNotificationRequest,
@@ -11,7 +11,7 @@ import {
   OCPP16RequestCommand,
   OCPP16StatusNotificationRequest,
 } from './1.6/Requests';
-import { MessageType } from './MessageType';
+import type { MessageType } from './MessageType';
 
 export type RequestCommand = OCPP16RequestCommand;
 
@@ -21,10 +21,10 @@ export const RequestCommand = {
 
 export type OutgoingRequest = [MessageType.CALL_MESSAGE, string, RequestCommand, JsonType];
 
-export interface RequestParams {
+export type RequestParams = {
   skipBufferingOnError?: boolean;
   triggerMessage?: boolean;
-}
+};
 
 export type IncomingRequestCommand = OCPP16IncomingRequestCommand;