repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UI protocol: cleanup version handling code
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
ocpp
/
Requests.ts
diff --git
a/src/types/ocpp/Requests.ts
b/src/types/ocpp/Requests.ts
index ed9dac1a71fe2d8de071adb90093a945de149eff..052bfc6bc044e41bf8e6e8a7f1d8e78f24983db1 100644
(file)
--- a/
src/types/ocpp/Requests.ts
+++ b/
src/types/ocpp/Requests.ts
@@
-1,8
+1,8
@@
import type ChargingStation from '../../charging-station/ChargingStation';
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 { OCPP16DiagnosticsStatus } from './1.6/DiagnosticsStatus';
-import { OCPP16MeterValuesRequest } from './1.6/MeterValues';
+import
type
{ OCPP16MeterValuesRequest } from './1.6/MeterValues';
import {
OCPP16AvailabilityType,
OCPP16BootNotificationRequest,
import {
OCPP16AvailabilityType,
OCPP16BootNotificationRequest,
@@
-11,7
+11,7
@@
import {
OCPP16RequestCommand,
OCPP16StatusNotificationRequest,
} from './1.6/Requests';
OCPP16RequestCommand,
OCPP16StatusNotificationRequest,
} from './1.6/Requests';
-import { MessageType } from './MessageType';
+import
type
{ MessageType } from './MessageType';
export type RequestCommand = OCPP16RequestCommand;
export type RequestCommand = OCPP16RequestCommand;
@@
-21,10
+21,10
@@
export const RequestCommand = {
export type OutgoingRequest = [MessageType.CALL_MESSAGE, string, RequestCommand, JsonType];
export type OutgoingRequest = [MessageType.CALL_MESSAGE, string, RequestCommand, JsonType];
-export
interface RequestParams
{
+export
type RequestParams =
{
skipBufferingOnError?: boolean;
triggerMessage?: boolean;
skipBufferingOnError?: boolean;
triggerMessage?: boolean;
-}
+}
;
export type IncomingRequestCommand = OCPP16IncomingRequestCommand;
export type IncomingRequestCommand = OCPP16IncomingRequestCommand;