X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2Findex.ts;h=b202225586685306df379e6050cfa6b0a4d58b5f;hb=f0bede86574750d1d894d16a86ef63f83948e7a0;hp=20d64cf554d2820e052cfc336c6a08ac36ec5a21;hpb=a6ef1ece74c0d08e86a905571f4f6045c28131cb;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/index.ts b/src/utils/index.ts index 20d64cf5..b2022255 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -1,31 +1,32 @@ -export { ACElectricUtils, DCElectricUtils } from './ElectricUtils.js'; -export { AsyncLock, AsyncLockType } from './AsyncLock.js'; +export { ACElectricUtils, DCElectricUtils } from './ElectricUtils.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'; + 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.js'; -export { watchJsonFile } from './FileUtils.js'; + setDefaultErrorParams +} from './ErrorUtils.js' +export { watchJsonFile } from './FileUtils.js' export { buildPerformanceStatisticsMessage, buildUpdatedMessage, buildStartedMessage, - buildStoppedMessage, -} from './MessageChannelUtils.js'; + buildStoppedMessage +} from './MessageChannelUtils.js' export { + isAsyncFunction, JSONStringifyWithMapSupport, - cloneObject, + clone, convertToBoolean, convertToDate, convertToFloat, @@ -45,9 +46,7 @@ export { isEmptyString, isNotEmptyArray, isNotEmptyString, - isNullOrUndefined, - isUndefined, - isValidTime, + isValidDate, logPrefix, max, min, @@ -55,7 +54,7 @@ export { roundTo, secureRandom, sleep, - validateUUID, -} from './Utils.js'; -export { average, median, nthPercentile, stdDeviation } from './StatisticUtils.js'; -export { logger } from './Logger.js'; + validateUUID +} from './Utils.js' +export { average, median, nthPercentile, stdDeviation } from './StatisticUtils.js' +export { logger } from './Logger.js'