X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2Findex.ts;h=f3feeb66d2bfd842d8fad04f9379fce44904f85f;hb=1f7173559059235505c4cca840d2c92a5b2daa6e;hp=2506da85375da705a69eb0eb516b22ec71fbaa8d;hpb=c8faabc815e314d10188b9c285c61e1e4c367f8c;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/index.ts b/src/utils/index.ts index 2506da85..f3feeb66 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -23,5 +23,40 @@ export { buildStartedMessage, buildStoppedMessage, } from './MessageChannelUtils'; -export { Utils } from './Utils'; +export { + JSONStringifyWithMapSupport, + cloneObject, + convertToBoolean, + convertToDate, + convertToFloat, + convertToInt, + exponentialDelay, + extractTimeSeriesValues, + formatDurationMilliSeconds, + formatDurationSeconds, + generateUUID, + getRandomFloatFluctuatedRounded, + getRandomFloatRounded, + getRandomInteger, + getWebSocketCloseEventStatusString, + isArraySorted, + isEmptyArray, + isEmptyObject, + 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';