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