refactor(simulator): switch to internal modules export/import design
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 13 Feb 2023 19:55:35 +0000 (20:55 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 13 Feb 2023 19:55:35 +0000 (20:55 +0100)
commit2896e06dc8d72adf7150b23c941079f622f6f37c
tree3a0b7e09990d7b6ecf859311feb81e4b0696bad6
parent3ce0201e969c813052452540075b65985b3bc47e
refactor(simulator): switch to internal modules export/import design
     pattern

should close all issues related circular module dependencies

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
70 files changed:
rollup.config.mjs
src/charging-station/AutomaticTransactionGenerator.ts
src/charging-station/Bootstrap.ts
src/charging-station/ChargingStation.ts
src/charging-station/ChargingStationConfigurationUtils.ts
src/charging-station/ChargingStationUtils.ts
src/charging-station/ChargingStationWorker.ts
src/charging-station/ChargingStationWorkerBroadcastChannel.ts
src/charging-station/MessageChannelUtils.ts
src/charging-station/UIServiceWorkerBroadcastChannel.ts
src/charging-station/index.ts
src/charging-station/internal.ts
src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts
src/charging-station/ocpp/1.6/OCPP16RequestService.ts
src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
src/charging-station/ocpp/1.6/OCPP16ServiceUtils.ts
src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts
src/charging-station/ocpp/2.0/OCPP20RequestService.ts
src/charging-station/ocpp/2.0/OCPP20ResponseService.ts
src/charging-station/ocpp/2.0/OCPP20ServiceUtils.ts
src/charging-station/ocpp/OCPPIncomingRequestService.ts
src/charging-station/ocpp/OCPPRequestService.ts
src/charging-station/ocpp/OCPPResponseService.ts
src/charging-station/ocpp/OCPPServiceUtils.ts
src/charging-station/ocpp/index.ts
src/charging-station/ocpp/internal.ts [new file with mode: 0644]
src/charging-station/ui-server/UIHttpServer.ts
src/charging-station/ui-server/UIServerFactory.ts
src/charging-station/ui-server/UIWebSocketServer.ts
src/charging-station/ui-server/ui-services/AbstractUIService.ts
src/exception/OCPPError.ts
src/exception/index.ts
src/exception/internal.ts [new file with mode: 0644]
src/performance/PerformanceStatistics.ts
src/performance/index.ts
src/performance/internal.ts [new file with mode: 0644]
src/performance/storage/JsonFileStorage.ts
src/performance/storage/MikroOrmStorage.ts
src/performance/storage/MongoDBStorage.ts
src/performance/storage/StorageFactory.ts
src/types/ChargingStationConfiguration.ts
src/types/ChargingStationInfo.ts
src/types/ChargingStationOcppConfiguration.ts
src/types/ChargingStationTemplate.ts
src/types/ChargingStationWorker.ts
src/types/ConfigurationData.ts
src/types/ConnectorStatus.ts
src/types/Statistics.ts
src/types/UIProtocol.ts
src/types/WorkerBroadcastChannel.ts
src/types/index.ts
src/types/internal.ts [new file with mode: 0644]
src/types/ocpp/1.6/ChargingProfile.ts
src/types/ocpp/1.6/MeterValues.ts
src/types/ocpp/1.6/Requests.ts
src/types/ocpp/1.6/Responses.ts
src/types/ocpp/1.6/Transaction.ts
src/types/ocpp/2.0/Requests.ts
src/types/ocpp/2.0/Responses.ts
src/types/ocpp/ChargePointErrorCode.ts
src/types/ocpp/ChargingProfile.ts
src/types/ocpp/Configuration.ts
src/types/ocpp/ConnectorStatusEnum.ts
src/types/ocpp/MeterValues.ts
src/types/ocpp/Requests.ts
src/types/ocpp/Responses.ts
src/types/ocpp/Transaction.ts
src/types/orm/entities/PerformanceData.ts
src/types/orm/entities/PerformanceRecord.ts
src/worker/index.ts