X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2Findex.ts;h=21a650ef42d92d1d69a6b67bc1b85cfe083ce811;hb=0b1828224edf798044ef54672ddfc69598cd99a5;hp=08cdf6ce4c8f6b76ef77960f15094781570bee2a;hpb=be9f397bd55b221c24bacb110a64c21f012f36ab;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/index.ts b/src/utils/index.ts index 08cdf6ce..21a650ef 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -11,21 +11,24 @@ export { Configuration } from './Configuration.js' export { Constants } from './Constants.js' export { handleFileException, + handleSendMessageError, handleUncaughtException, handleUnhandledRejection, - handleSendMessageError, setDefaultErrorParams } from './ErrorUtils.js' export { watchJsonFile } from './FileUtils.js' export { + buildAddedMessage, + buildChargingStationDataPayload, + buildDeletedMessage, buildPerformanceStatisticsMessage, - buildUpdatedMessage, buildStartedMessage, - buildStoppedMessage + buildStoppedMessage, + buildUpdatedMessage } from './MessageChannelUtils.js' export { JSONStringifyWithMapSupport, - cloneObject, + clone, convertToBoolean, convertToDate, convertToFloat, @@ -40,13 +43,13 @@ export { getRandomInteger, getWebSocketCloseEventStatusString, isArraySorted, + isAsyncFunction, isEmptyArray, isEmptyObject, isEmptyString, isNotEmptyArray, isNotEmptyString, - isUndefined, - isValidTime, + isValidDate, logPrefix, max, min,