From: Jérôme Benoit Date: Sat, 18 Mar 2023 00:39:28 +0000 (+0100) Subject: refactor(simulator): cleanup types export X-Git-Tag: v1.1.95~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b0ba2bfc10e4f48b6660c100c29abe0bcff4d330;p=e-mobility-charging-stations-simulator.git refactor(simulator): cleanup types export Signed-off-by: Jérôme Benoit --- diff --git a/src/types/internal.ts b/src/types/internal.ts index 3d9fa5cb..11a47d99 100644 --- a/src/types/internal.ts +++ b/src/types/internal.ts @@ -1,8 +1,8 @@ -export * from './ocpp/1.6/ChargePointErrorCode'; -export * from './ocpp/1.6/ChargePointStatus'; +export { OCPP16ChargePointErrorCode } from './ocpp/1.6/ChargePointErrorCode'; +export { OCPP16ChargePointStatus } from './ocpp/1.6/ChargePointStatus'; export * from './ocpp/1.6/ChargingProfile'; export * from './ocpp/1.6/Configuration'; -export * from './ocpp/1.6/DiagnosticsStatus'; +export { OCPP16DiagnosticsStatus } from './ocpp/1.6/DiagnosticsStatus'; export * from './ocpp/1.6/MeterValues'; export * from './ocpp/1.6/Requests'; export * from './ocpp/1.6/Responses'; @@ -16,7 +16,7 @@ export * from './ocpp/ChargingProfile'; export * from './ocpp/Configuration'; export * from './ocpp/ConnectorStatusEnum'; export { ErrorType } from './ocpp/ErrorType'; -export * from './ocpp/MessageType'; +export { MessageType } from './ocpp/MessageType'; export * from './ocpp/MeterValues'; export { OCPPProtocol } from './ocpp/OCPPProtocol'; export { OCPPVersion } from './ocpp/OCPPVersion'; @@ -25,7 +25,12 @@ export * from './ocpp/Responses'; export * from './ocpp/Transaction'; export * from './orm/entities/PerformanceData'; export * from './orm/entities/PerformanceRecord'; -export * from './AutomaticTransactionGenerator'; +export { + type AutomaticTransactionGeneratorConfiguration, + type ChargingStationAutomaticTransactionGeneratorConfiguration, + IdTagDistribution, + type Status, +} from './AutomaticTransactionGenerator'; export * from './ChargingStationConfiguration'; export type { ChargingStationInfo, ChargingStationInfoConfiguration } from './ChargingStationInfo'; export * from './ChargingStationOcppConfiguration'; @@ -36,11 +41,15 @@ export type { ConnectorStatus } from './ConnectorStatus'; export type { EmptyObject } from './EmptyObject'; export type { HandleErrorParams } from './Error'; export { FileType } from './FileType'; -export type { JsonType, JsonObject } from './JsonType'; +export type { JsonObject, JsonType } from './JsonType'; export * from './MeasurandPerPhaseSampledValueTemplates'; export type { MeasurandValues } from './MeasurandValues'; export * from './Statistics'; export * from './Storage'; export * from './UIProtocol'; -export * from './WebSocket'; +export { + type WSError, + WebSocketCloseEventStatusCode, + WebSocketCloseEventStatusString, +} from './WebSocket'; export * from './WorkerBroadcastChannel';