refactor: cleanup utils export
[e-mobility-charging-stations-simulator.git] / src / utils / index.ts
index 20d64cf554d2820e052cfc336c6a08ac36ec5a21..e1d6734c9c1fba31a6bf7eaeaad68e3e44abd913 100644 (file)
@@ -1,31 +1,34 @@
-export { ACElectricUtils, DCElectricUtils } from './ElectricUtils.js';
-export { AsyncLock, AsyncLockType } from './AsyncLock.js';
+export { AsyncLock, AsyncLockType } from './AsyncLock.js'
 export {
-  OutputFormat,
   buildChargingStationAutomaticTransactionGeneratorConfiguration,
   buildConnectorsStatus,
   buildEvsesStatus,
-} from './ChargingStationConfigurationUtils.js';
-export { CircularArray } from './CircularArray.js';
-export { Configuration } from './Configuration.js';
-export { Constants } from './Constants.js';
+  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,
   handleUncaughtException,
   handleUnhandledRejection,
-  handleSendMessageError,
-  setDefaultErrorParams,
-} from './ErrorUtils.js';
-export { watchJsonFile } from './FileUtils.js';
+  setDefaultErrorParams
+} from './ErrorUtils.js'
+export { watchJsonFile } from './FileUtils.js'
+export { logger } from './Logger.js'
 export {
+  buildAddedMessage,
+  buildDeletedMessage,
   buildPerformanceStatisticsMessage,
-  buildUpdatedMessage,
   buildStartedMessage,
   buildStoppedMessage,
-} from './MessageChannelUtils.js';
+  buildUpdatedMessage
+} from './MessageChannelUtils.js'
+export { max, min, nthPercentile, stdDeviation } from './StatisticUtils.js'
 export {
-  JSONStringifyWithMapSupport,
-  cloneObject,
+  clone,
   convertToBoolean,
   convertToDate,
   convertToFloat,
@@ -37,25 +40,16 @@ export {
   generateUUID,
   getRandomFloatFluctuatedRounded,
   getRandomFloatRounded,
-  getRandomInteger,
   getWebSocketCloseEventStatusString,
   isArraySorted,
-  isEmptyArray,
-  isEmptyObject,
-  isEmptyString,
+  isAsyncFunction,
   isNotEmptyArray,
   isNotEmptyString,
-  isNullOrUndefined,
-  isUndefined,
-  isValidTime,
+  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';
+  validateUUID
+} from './Utils.js'