X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2Findex.ts;h=21a650ef42d92d1d69a6b67bc1b85cfe083ce811;hb=1253d60cd246f968e985f6f067204a130b384b72;hp=58fc23762b3cc5fd9f709bfcee5db0cdbc116647;hpb=5dc7c990eff43659bd48589cfc5afe09f9ec6664;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/index.ts b/src/utils/index.ts index 58fc2376..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,6 +43,7 @@ export { getRandomInteger, getWebSocketCloseEventStatusString, isArraySorted, + isAsyncFunction, isEmptyArray, isEmptyObject, isEmptyString,