refactor: code format cleanup
[e-mobility-charging-stations-simulator.git] / src / utils / index.ts
index f8fbe0e1f59c2b02f3a55ce09acec771bb00d012..397ea764603fef677999c0d233312730dae9a7e0 100644 (file)
@@ -1,28 +1,28 @@
-export { ACElectricUtils, DCElectricUtils } from './ElectricUtils';
-export { AsyncLock, AsyncLockType } from './AsyncLock';
+export { ACElectricUtils, DCElectricUtils } from './ElectricUtils.js'
+export { AsyncLock, AsyncLockType } from './AsyncLock.js'
 export {
   OutputFormat,
   buildChargingStationAutomaticTransactionGeneratorConfiguration,
   buildConnectorsStatus,
-  buildEvsesStatus,
-} from './ChargingStationConfigurationUtils';
-export { CircularArray } from './CircularArray';
-export { Configuration } from './Configuration';
-export { Constants } from './Constants';
+  buildEvsesStatus
+} from './ChargingStationConfigurationUtils.js'
+export { CircularArray } from './CircularArray.js'
+export { Configuration } from './Configuration.js'
+export { Constants } from './Constants.js'
 export {
   handleFileException,
   handleUncaughtException,
   handleUnhandledRejection,
   handleSendMessageError,
-  setDefaultErrorParams,
-} from './ErrorUtils';
-export { watchJsonFile } from './FileUtils';
+  setDefaultErrorParams
+} from './ErrorUtils.js'
+export { watchJsonFile } from './FileUtils.js'
 export {
   buildPerformanceStatisticsMessage,
   buildUpdatedMessage,
   buildStartedMessage,
-  buildStoppedMessage,
-} from './MessageChannelUtils';
+  buildStoppedMessage
+} from './MessageChannelUtils.js'
 export {
   JSONStringifyWithMapSupport,
   cloneObject,
@@ -45,16 +45,15 @@ export {
   isEmptyString,
   isNotEmptyArray,
   isNotEmptyString,
-  isNullOrUndefined,
-  isUndefined,
   isValidTime,
   logPrefix,
+  max,
+  min,
   once,
-  promiseWithTimeout,
   roundTo,
   secureRandom,
   sleep,
-  validateUUID,
-} from './Utils';
-export { average, median, nthPercentile, stdDeviation } from './StatisticUtils';
-export { logger } from './Logger';
+  validateUUID
+} from './Utils.js'
+export { average, median, nthPercentile, stdDeviation } from './StatisticUtils.js'
+export { logger } from './Logger.js'