X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Futils%2Findex.ts;h=5fedbc57e20ab849439f4628c28390b4433015f5;hb=b8e3363a179fcf79d8bb66f47724b377d4d38a75;hp=81dc04d2b3b94979b3a64d36b549e3abcc54039a;hpb=4c3f6c20f9416e148a3d26b6a06acc13274ab469;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/index.ts b/src/utils/index.ts index 81dc04d2..5fedbc57 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -5,12 +5,12 @@ export { 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, + handleIncomingRequestError, handleSendMessageError, handleUncaughtException, handleUnhandledRejection, @@ -20,15 +20,13 @@ export { watchJsonFile } from './FileUtils.js' export { logger } from './Logger.js' export { buildAddedMessage, - buildChargingStationDataPayload, buildDeletedMessage, buildPerformanceStatisticsMessage, buildStartedMessage, buildStoppedMessage, - buildTemplateStatisticsPayload, buildUpdatedMessage } from './MessageChannelUtils.js' -export { average, median, nthPercentile, stdDeviation } from './StatisticUtils.js' +export { max, min, nthPercentile, stdDeviation } from './StatisticUtils.js' export { clone, convertToBoolean, @@ -42,21 +40,14 @@ export { generateUUID, getRandomFloatFluctuatedRounded, getRandomFloatRounded, - getRandomInteger, getWebSocketCloseEventStatusString, isArraySorted, isAsyncFunction, - isEmptyArray, - isEmptyObject, - isEmptyString, isNotEmptyArray, isNotEmptyString, isValidDate, - JSONStringifyWithMapSupport, + JSONStringify, logPrefix, - max, - min, - once, roundTo, secureRandom, sleep,