feat!: handle Set at JSON serialization to string
[e-mobility-charging-stations-simulator.git] / src / utils / index.ts
1 export { AsyncLock, AsyncLockType } from './AsyncLock.js'
2 export {
3 buildChargingStationAutomaticTransactionGeneratorConfiguration,
4 buildConnectorsStatus,
5 buildEvsesStatus,
6 OutputFormat
7 } from './ChargingStationConfigurationUtils.js'
8 export { CircularArray } from './CircularArray.js'
9 export { Configuration } from './Configuration.js'
10 export { Constants } from './Constants.js'
11 export { ACElectricUtils, DCElectricUtils } from './ElectricUtils.js'
12 export {
13 handleFileException,
14 handleSendMessageError,
15 handleUncaughtException,
16 handleUnhandledRejection,
17 setDefaultErrorParams
18 } from './ErrorUtils.js'
19 export { watchJsonFile } from './FileUtils.js'
20 export { logger } from './Logger.js'
21 export {
22 buildAddedMessage,
23 buildChargingStationDataPayload,
24 buildDeletedMessage,
25 buildPerformanceStatisticsMessage,
26 buildStartedMessage,
27 buildStoppedMessage,
28 buildUpdatedMessage
29 } from './MessageChannelUtils.js'
30 export { average, median, nthPercentile, stdDeviation } from './StatisticUtils.js'
31 export {
32 clone,
33 convertToBoolean,
34 convertToDate,
35 convertToFloat,
36 convertToInt,
37 exponentialDelay,
38 extractTimeSeriesValues,
39 formatDurationMilliSeconds,
40 formatDurationSeconds,
41 generateUUID,
42 getRandomFloatFluctuatedRounded,
43 getRandomFloatRounded,
44 getRandomInteger,
45 getWebSocketCloseEventStatusString,
46 isArraySorted,
47 isAsyncFunction,
48 isEmptyArray,
49 isEmptyObject,
50 isEmptyString,
51 isNotEmptyArray,
52 isNotEmptyString,
53 isValidDate,
54 JSONStringify,
55 logPrefix,
56 max,
57 min,
58 once,
59 roundTo,
60 secureRandom,
61 sleep,
62 validateUUID
63 } from './Utils.js'