feat!: handle Set at JSON serialization to string
[e-mobility-charging-stations-simulator.git] / src / utils / index.ts
index 397ea764603fef677999c0d233312730dae9a7e0..daa67094d76ed4126fc9a57df1dd8e51dd137053 100644 (file)
@@ -1,31 +1,35 @@
-export { ACElectricUtils, DCElectricUtils } from './ElectricUtils.js'
 export { AsyncLock, AsyncLockType } from './AsyncLock.js'
 export {
-  OutputFormat,
   buildChargingStationAutomaticTransactionGeneratorConfiguration,
   buildConnectorsStatus,
-  buildEvsesStatus
+  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,
+  handleSendMessageError,
   handleUncaughtException,
   handleUnhandledRejection,
-  handleSendMessageError,
   setDefaultErrorParams
 } from './ErrorUtils.js'
 export { watchJsonFile } from './FileUtils.js'
+export { logger } from './Logger.js'
 export {
+  buildAddedMessage,
+  buildChargingStationDataPayload,
+  buildDeletedMessage,
   buildPerformanceStatisticsMessage,
-  buildUpdatedMessage,
   buildStartedMessage,
-  buildStoppedMessage
+  buildStoppedMessage,
+  buildUpdatedMessage
 } from './MessageChannelUtils.js'
+export { average, median, nthPercentile, stdDeviation } from './StatisticUtils.js'
 export {
-  JSONStringifyWithMapSupport,
-  cloneObject,
+  clone,
   convertToBoolean,
   convertToDate,
   convertToFloat,
@@ -40,12 +44,14 @@ export {
   getRandomInteger,
   getWebSocketCloseEventStatusString,
   isArraySorted,
+  isAsyncFunction,
   isEmptyArray,
   isEmptyObject,
   isEmptyString,
   isNotEmptyArray,
   isNotEmptyString,
-  isValidTime,
+  isValidDate,
+  JSONStringify,
   logPrefix,
   max,
   min,
@@ -55,5 +61,3 @@ export {
   sleep,
   validateUUID
 } from './Utils.js'
-export { average, median, nthPercentile, stdDeviation } from './StatisticUtils.js'
-export { logger } from './Logger.js'