refactor: cleanup utils export
[e-mobility-charging-stations-simulator.git] / src / utils / index.ts
index 1bc4fe7e0d64d5b4a161b476194d56d863eaa3b6..e1d6734c9c1fba31a6bf7eaeaad68e3e44abd913 100644 (file)
@@ -1,14 +1,14 @@
-export { ACElectricUtils, DCElectricUtils } from './ElectricUtils.js'
 export { AsyncLock, AsyncLockType } from './AsyncLock.js'
 export {
-  OutputFormat,
   buildChargingStationAutomaticTransactionGeneratorConfiguration,
   buildConnectorsStatus,
-  buildEvsesStatus
+  buildEvsesStatus,
+  OutputFormat
 } from './ChargingStationConfigurationUtils.js'
 export { CircularArray } from './CircularArray.js'
 export { Configuration } from './Configuration.js'
 export { Constants } from './Constants.js'
+export { ACElectricUtils, DCElectricUtils } from './ElectricUtils.js'
 export {
   handleFileException,
   handleSendMessageError,
@@ -17,18 +17,17 @@ export {
   setDefaultErrorParams
 } from './ErrorUtils.js'
 export { watchJsonFile } from './FileUtils.js'
+export { logger } from './Logger.js'
 export {
   buildAddedMessage,
-  buildChargingStationDataPayload,
   buildDeletedMessage,
   buildPerformanceStatisticsMessage,
   buildStartedMessage,
   buildStoppedMessage,
-  buildTemplateStatisticsPayload,
   buildUpdatedMessage
 } from './MessageChannelUtils.js'
+export { max, min, nthPercentile, stdDeviation } from './StatisticUtils.js'
 export {
-  JSONStringifyWithMapSupport,
   clone,
   convertToBoolean,
   convertToDate,
@@ -41,24 +40,16 @@ export {
   generateUUID,
   getRandomFloatFluctuatedRounded,
   getRandomFloatRounded,
-  getRandomInteger,
   getWebSocketCloseEventStatusString,
   isArraySorted,
   isAsyncFunction,
-  isEmptyArray,
-  isEmptyObject,
-  isEmptyString,
   isNotEmptyArray,
   isNotEmptyString,
   isValidDate,
+  JSONStringify,
   logPrefix,
-  max,
-  min,
-  once,
   roundTo,
   secureRandom,
   sleep,
   validateUUID
 } from './Utils.js'
-export { average, median, nthPercentile, stdDeviation } from './StatisticUtils.js'
-export { logger } from './Logger.js'