X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2Findex.ts;h=4d5a38acfe4c35ca977ab64b5139fd8602518028;hb=b85cef4cba7e4d2294940aef29a9f74edf800dac;hp=2273562e6589c53ceef77da8686bcb3095b9b7f5;hpb=fa5995d65e5084241af14d0ab7453fbb2fc9d8a6;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/index.ts b/src/utils/index.ts index 2273562e..4d5a38ac 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -17,6 +17,41 @@ export { setDefaultErrorParams, } from './ErrorUtils'; export { watchJsonFile } from './FileUtils'; -export { MessageChannelUtils } from './MessageChannelUtils'; -export { Utils } from './Utils'; +export { + buildPerformanceStatisticsMessage, + buildUpdatedMessage, + buildStartedMessage, + buildStoppedMessage, +} from './MessageChannelUtils'; +export { + JSONStringifyWithMapSupport, + cloneObject, + convertToBoolean, + convertToDate, + convertToFloat, + convertToInt, + exponentialDelay, + extractTimeSeriesValues, + formatDurationMilliSeconds, + formatDurationSeconds, + generateUUID, + getRandomFloatFluctuatedRounded, + getRandomFloatRounded, + getRandomInteger, + getWebSocketCloseEventStatusString, + isEmptyArray, + isEmptyObject, + isEmptyString, + isNotEmptyArray, + isNotEmptyString, + isNullOrUndefined, + isUndefined, + logPrefix, + promiseWithTimeout, + roundTo, + secureRandom, + sleep, + validateUUID, +} from './Utils'; +export { median, nthPercentile, stdDeviation } from './StatisticUtils'; export { logger } from './Logger';