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