repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: cleanup default params in error handlers
[e-mobility-charging-stations-simulator.git]
/
src
/
utils
/
index.ts
diff --git
a/src/utils/index.ts
b/src/utils/index.ts
index 4d5a38acfe4c35ca977ab64b5139fd8602518028..d6efcdc7d17111df6b2897e2866144c3f81341c5 100644
(file)
--- a/
src/utils/index.ts
+++ b/
src/utils/index.ts
@@
-1,31
+1,33
@@
-export { ACElectricUtils, DCElectricUtils } from './ElectricUtils';
-export { AsyncLock, AsyncLockType } from './AsyncLock';
+export { AsyncLock, AsyncLockType } from './AsyncLock.js'
export {
export {
- OutputFormat,
buildChargingStationAutomaticTransactionGeneratorConfiguration,
buildConnectorsStatus,
buildEvsesStatus,
buildChargingStationAutomaticTransactionGeneratorConfiguration,
buildConnectorsStatus,
buildEvsesStatus,
-} from './ChargingStationConfigurationUtils';
-export { CircularArray } from './CircularArray';
-export { Configuration } from './Configuration';
-export { Constants } from './Constants';
+ OutputFormat
+} from './ChargingStationConfigurationUtils.js'
+export { Configuration } from './Configuration.js'
+export { Constants } from './Constants.js'
+export { ACElectricUtils, DCElectricUtils } from './ElectricUtils.js'
export {
handleFileException,
export {
handleFileException,
- handleUncaughtException,
- handleUnhandledRejection,
+ handleIncomingRequestError,
handleSendMessageError,
handleSendMessageError,
- setDefaultErrorParams,
-} from './ErrorUtils';
-export { watchJsonFile } from './FileUtils';
+ handleUncaughtException,
+ handleUnhandledRejection
+} from './ErrorUtils.js'
+export { watchJsonFile } from './FileUtils.js'
+export { logger } from './Logger.js'
export {
export {
+ buildAddedMessage,
+ buildDeletedMessage,
buildPerformanceStatisticsMessage,
buildPerformanceStatisticsMessage,
- buildUpdatedMessage,
buildStartedMessage,
buildStoppedMessage,
buildStartedMessage,
buildStoppedMessage,
-} from './MessageChannelUtils';
+ buildUpdatedMessage
+} from './MessageChannelUtils.js'
+export { max, min, nthPercentile, stdDeviation } from './StatisticUtils.js'
export {
export {
- JSONStringifyWithMapSupport,
- cloneObject,
+ clone,
convertToBoolean,
convertToDate,
convertToFloat,
convertToBoolean,
convertToDate,
convertToFloat,
@@
-37,21
+39,16
@@
export {
generateUUID,
getRandomFloatFluctuatedRounded,
getRandomFloatRounded,
generateUUID,
getRandomFloatFluctuatedRounded,
getRandomFloatRounded,
- getRandomInteger,
getWebSocketCloseEventStatusString,
getWebSocketCloseEventStatusString,
- isEmptyArray,
- isEmptyObject,
- isEmptyString,
+ isArraySorted,
+ isAsyncFunction,
isNotEmptyArray,
isNotEmptyString,
isNotEmptyArray,
isNotEmptyString,
- is
NullOrUndefined
,
-
isUndefined
,
+ is
ValidDate
,
+
JSONStringify
,
logPrefix,
logPrefix,
- promiseWithTimeout,
roundTo,
secureRandom,
sleep,
roundTo,
secureRandom,
sleep,
- validateUUID,
-} from './Utils';
-export { median, nthPercentile, stdDeviation } from './StatisticUtils';
-export { logger } from './Logger';
+ validateUUID
+} from './Utils.js'