@powfix/core-js 0.15.0-beta-3 → 0.15.0-beta-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client/interfaces → browser/cjs/constants}/index.browser.js +6 -4
- package/dist/{client/constants → browser/cjs}/index.browser.js +7 -6
- package/dist/{client/managers → browser/cjs/interfaces}/index.browser.js +4 -2
- package/dist/{client/types → browser/cjs/managers}/index.browser.js +2 -2
- package/dist/{client/services → browser/cjs/scripts}/index.browser.js +1 -1
- package/dist/{server → browser/cjs}/services/index.browser.js +1 -1
- package/dist/browser/cjs/services/time/index.js +18 -0
- package/dist/{client/scripts → browser/cjs/types}/index.browser.js +2 -1
- package/dist/{client → browser/cjs}/utils/ArrayUtils.js +2 -2
- package/dist/{client → browser/cjs}/utils/DateUtils.js +17 -17
- package/dist/{server → browser/cjs}/utils/JuminNumberUtils.js +2 -2
- package/dist/{server → browser/cjs}/utils/ObjectIdUtils.js +3 -3
- package/dist/{server → browser/cjs}/utils/Sequencer.js +2 -2
- package/dist/{client → browser/cjs}/utils/global/fallbackIfNull.js +2 -2
- package/dist/{client → browser/cjs}/utils/global/fallbackIfUndefined.js +2 -2
- package/dist/browser/cjs/utils/global/index.js +27 -0
- package/dist/{client → browser/cjs}/utils/global/processFirstNonNullish.js +2 -2
- package/dist/browser/cjs/utils/index.browser.js +33 -0
- package/dist/{server → browser/cjs}/utils/try-catch/index.js +1 -1
- package/dist/browser/esm/constants/COORDINATE.mjs +6 -0
- package/dist/browser/esm/constants/CRUD.mjs +19 -0
- package/dist/browser/esm/constants/DATE.mjs +22 -0
- package/dist/browser/esm/constants/DISTANCE.mjs +14 -0
- package/dist/browser/esm/constants/DURATION.mjs +17 -0
- package/dist/browser/esm/constants/NOT_NULL.mjs +1 -0
- package/dist/browser/esm/constants/index.browser.mjs +6 -0
- package/dist/browser/esm/index.browser.mjs +7 -0
- package/dist/browser/esm/interfaces/Coordinate.mjs +1 -0
- package/dist/browser/esm/interfaces/Point2.mjs +1 -0
- package/dist/browser/esm/interfaces/Point3.mjs +1 -0
- package/dist/browser/esm/interfaces/StorageProvider.mjs +1 -0
- package/dist/browser/esm/interfaces/index.browser.mjs +4 -0
- package/dist/browser/esm/managers/SessionManager.mjs +127 -0
- package/dist/browser/esm/managers/SessionManager.type.mjs +1 -0
- package/dist/browser/esm/managers/index.browser.mjs +2 -0
- package/dist/browser/esm/scripts/base64Polyfill.mjs +10 -0
- package/dist/browser/esm/scripts/index.browser.mjs +1 -0
- package/dist/browser/esm/services/index.browser.mjs +1 -0
- package/dist/browser/esm/services/time/TimeService.mjs +173 -0
- package/dist/browser/esm/services/time/TimeService.type.mjs +1 -0
- package/dist/browser/esm/services/time/index.mjs +2 -0
- package/dist/browser/esm/types/IntRage.mjs +1 -0
- package/dist/browser/esm/types/PartialExcept.mjs +1 -0
- package/dist/browser/esm/types/index.browser.mjs +2 -0
- package/dist/browser/esm/utils/ArrayUtils.mjs +26 -0
- package/dist/browser/esm/utils/AxiosUtils.mjs +49 -0
- package/dist/browser/esm/utils/BooleanUtils.mjs +5 -0
- package/dist/browser/esm/utils/Calc.mjs +23 -0
- package/dist/browser/esm/utils/CoordinateUtils.mjs +38 -0
- package/dist/browser/esm/utils/DateUtils.mjs +303 -0
- package/dist/browser/esm/utils/JuminNumberUtils.mjs +46 -0
- package/dist/browser/esm/utils/NumberUtils.mjs +21 -0
- package/dist/browser/esm/utils/ObjectIdUtils.mjs +20 -0
- package/dist/browser/esm/utils/Point3Utils.mjs +8 -0
- package/dist/browser/esm/utils/RandomUtils.mjs +60 -0
- package/dist/browser/esm/utils/Sequencer.mjs +141 -0
- package/dist/browser/esm/utils/StringUtils.mjs +33 -0
- package/dist/browser/esm/utils/UuidUtils.mjs +42 -0
- package/dist/browser/esm/utils/Validator.mjs +114 -0
- package/dist/browser/esm/utils/global/between.mjs +3 -0
- package/dist/browser/esm/utils/global/castArray.mjs +3 -0
- package/dist/browser/esm/utils/global/circularDistance.mjs +11 -0
- package/dist/browser/esm/utils/global/fallbackIfEqual.mjs +6 -0
- package/dist/browser/esm/utils/global/fallbackIfNull.mjs +4 -0
- package/dist/browser/esm/utils/global/fallbackIfUndefined.mjs +4 -0
- package/dist/browser/esm/utils/global/firstNonNullish.mjs +10 -0
- package/dist/browser/esm/utils/global/flat.mjs +113 -0
- package/dist/browser/esm/utils/global/index.mjs +11 -0
- package/dist/browser/esm/utils/global/processFirstNonNullish.mjs +8 -0
- package/dist/browser/esm/utils/global/pureEnum.mjs +9 -0
- package/dist/browser/esm/utils/global/sleep.mjs +1 -0
- package/dist/browser/esm/utils/index.browser.mjs +17 -0
- package/dist/browser/esm/utils/try-catch/TryCatch.mjs +74 -0
- package/dist/browser/esm/utils/try-catch/index.mjs +1 -0
- package/dist/browser/types/constants/index.browser.d.ts +6 -0
- package/dist/browser/types/index.browser.d.ts +7 -0
- package/dist/{server → browser/types}/interfaces/Point3.d.ts +1 -1
- package/dist/browser/types/interfaces/index.browser.d.ts +4 -0
- package/dist/{server → browser/types}/managers/SessionManager.d.ts +2 -2
- package/dist/{client → browser/types}/managers/SessionManager.type.d.ts +1 -1
- package/dist/browser/types/managers/index.browser.d.ts +2 -0
- package/dist/browser/types/scripts/index.browser.d.ts +1 -0
- package/dist/browser/types/services/index.browser.d.ts +1 -0
- package/dist/{client → browser/types}/services/time/TimeService.d.ts +1 -1
- package/dist/browser/types/services/time/index.d.ts +2 -0
- package/dist/browser/types/types/index.browser.d.ts +2 -0
- package/dist/{client → browser/types}/utils/CoordinateUtils.d.ts +1 -1
- package/dist/{server → browser/types}/utils/DateUtils.d.ts +1 -1
- package/dist/{server → browser/types}/utils/Point3Utils.d.ts +1 -1
- package/dist/browser/types/utils/global/index.d.ts +11 -0
- package/dist/browser/types/utils/index.browser.d.ts +17 -0
- package/dist/browser/types/utils/try-catch/index.d.ts +1 -0
- package/dist/node/cjs/constants/index.browser.js +22 -0
- package/dist/{server/interfaces/nodejs/db → node/cjs/constants}/index.js +2 -1
- package/dist/{client/services/time → node/cjs/constants/nodejs}/index.js +2 -2
- package/dist/node/cjs/index.browser.js +23 -0
- package/dist/node/cjs/index.js +24 -0
- package/dist/node/cjs/interfaces/index.browser.js +20 -0
- package/dist/node/cjs/interfaces/index.js +18 -0
- package/dist/{client/utils/try-catch → node/cjs/interfaces/nodejs/db}/index.js +1 -1
- package/dist/{server/constants/nodejs → node/cjs/interfaces/nodejs/db/sequelize}/index.js +6 -2
- package/dist/{server → node/cjs}/interfaces/nodejs/index.js +1 -1
- package/dist/{server → node/cjs}/managers/TransactionManager.js +13 -13
- package/dist/node/cjs/managers/index.browser.js +18 -0
- package/dist/{server/constants → node/cjs/managers}/index.js +2 -2
- package/dist/node/cjs/scripts/index.browser.js +17 -0
- package/dist/node/cjs/scripts/index.js +17 -0
- package/dist/node/cjs/services/index.browser.js +17 -0
- package/dist/{server/scripts → node/cjs/services}/index.js +2 -1
- package/dist/{server → node/cjs}/services/redis/RedisPublisher.js +2 -2
- package/dist/{server → node/cjs}/services/redis/RedisSubscriber.js +5 -5
- package/dist/{server → node/cjs}/services/redis/index.js +3 -3
- package/dist/node/cjs/services/time/index.js +18 -0
- package/dist/{server/scripts → node/cjs/types}/index.browser.js +2 -1
- package/dist/node/cjs/types/index.js +18 -0
- package/dist/{server → node/cjs}/utils/ArrayUtils.js +2 -2
- package/dist/{server → node/cjs}/utils/DateUtils.js +17 -17
- package/dist/{client → node/cjs}/utils/JuminNumberUtils.js +2 -2
- package/dist/{client → node/cjs}/utils/ObjectIdUtils.js +3 -3
- package/dist/{client → node/cjs}/utils/Sequencer.js +2 -2
- package/dist/{server → node/cjs}/utils/global/fallbackIfNull.js +2 -2
- package/dist/{server → node/cjs}/utils/global/fallbackIfUndefined.js +2 -2
- package/dist/node/cjs/utils/global/index.js +27 -0
- package/dist/{server → node/cjs}/utils/global/processFirstNonNullish.js +2 -2
- package/dist/node/cjs/utils/index.browser.js +33 -0
- package/dist/node/cjs/utils/index.js +18 -0
- package/dist/{server → node/cjs}/utils/nodejs/index.js +3 -3
- package/dist/{server → node/cjs}/utils/nodejs/sequelize-utils/SequelizeUtils.js +8 -8
- package/dist/{server → node/cjs}/utils/nodejs/sequelize-utils/index.js +2 -2
- package/dist/node/cjs/utils/try-catch/index.js +17 -0
- package/dist/node/esm/constants/COORDINATE.mjs +6 -0
- package/dist/node/esm/constants/CRUD.mjs +19 -0
- package/dist/node/esm/constants/DATE.mjs +22 -0
- package/dist/node/esm/constants/DISTANCE.mjs +14 -0
- package/dist/node/esm/constants/DURATION.mjs +17 -0
- package/dist/node/esm/constants/NOT_NULL.mjs +1 -0
- package/dist/node/esm/constants/index.browser.mjs +6 -0
- package/dist/node/esm/constants/index.mjs +2 -0
- package/dist/node/esm/constants/nodejs/TransactionManagerLogLevel.mjs +8 -0
- package/dist/node/esm/constants/nodejs/TransactionManagerTimeoutAction.mjs +5 -0
- package/dist/node/esm/constants/nodejs/index.mjs +2 -0
- package/dist/node/esm/index.browser.mjs +7 -0
- package/dist/node/esm/index.mjs +8 -0
- package/dist/node/esm/interfaces/Coordinate.mjs +1 -0
- package/dist/node/esm/interfaces/Point2.mjs +1 -0
- package/dist/node/esm/interfaces/Point3.mjs +1 -0
- package/dist/node/esm/interfaces/StorageProvider.mjs +1 -0
- package/dist/node/esm/interfaces/index.browser.mjs +4 -0
- package/dist/node/esm/interfaces/index.mjs +2 -0
- package/dist/node/esm/interfaces/nodejs/db/index.mjs +1 -0
- package/dist/node/esm/interfaces/nodejs/db/sequelize/Hook.mjs +1 -0
- package/dist/node/esm/interfaces/nodejs/db/sequelize/HookFn.mjs +1 -0
- package/dist/node/esm/interfaces/nodejs/db/sequelize/HookType.mjs +1 -0
- package/dist/node/esm/interfaces/nodejs/db/sequelize/ReloadOption.mjs +1 -0
- package/dist/node/esm/interfaces/nodejs/db/sequelize/TransactionOption.mjs +1 -0
- package/dist/node/esm/interfaces/nodejs/db/sequelize/UpsertOptions.mjs +1 -0
- package/dist/node/esm/interfaces/nodejs/db/sequelize/index.mjs +6 -0
- package/dist/node/esm/interfaces/nodejs/index.mjs +1 -0
- package/dist/node/esm/managers/SessionManager.mjs +127 -0
- package/dist/node/esm/managers/SessionManager.type.mjs +1 -0
- package/dist/node/esm/managers/TransactionManager.mjs +144 -0
- package/dist/node/esm/managers/TransactionManager.types.mjs +1 -0
- package/dist/node/esm/managers/index.browser.mjs +2 -0
- package/dist/node/esm/managers/index.mjs +2 -0
- package/dist/node/esm/scripts/base64Polyfill.mjs +10 -0
- package/dist/node/esm/scripts/index.browser.mjs +1 -0
- package/dist/node/esm/scripts/index.mjs +1 -0
- package/dist/node/esm/services/index.browser.mjs +1 -0
- package/dist/node/esm/services/index.mjs +2 -0
- package/dist/node/esm/services/redis/RedisClient.mjs +71 -0
- package/dist/node/esm/services/redis/RedisPublisher.mjs +60 -0
- package/dist/node/esm/services/redis/RedisSubscriber.mjs +69 -0
- package/dist/node/esm/services/redis/index.mjs +4 -0
- package/dist/node/esm/services/time/TimeService.mjs +173 -0
- package/dist/node/esm/services/time/TimeService.type.mjs +1 -0
- package/dist/node/esm/services/time/index.mjs +2 -0
- package/dist/node/esm/types/IntRage.mjs +1 -0
- package/dist/node/esm/types/PartialExcept.mjs +1 -0
- package/dist/node/esm/types/UpsertResult.mjs +1 -0
- package/dist/node/esm/types/index.browser.mjs +2 -0
- package/dist/node/esm/types/index.mjs +2 -0
- package/dist/node/esm/utils/ArrayUtils.mjs +26 -0
- package/dist/node/esm/utils/AxiosUtils.mjs +49 -0
- package/dist/node/esm/utils/BooleanUtils.mjs +5 -0
- package/dist/node/esm/utils/Calc.mjs +23 -0
- package/dist/node/esm/utils/CoordinateUtils.mjs +38 -0
- package/dist/node/esm/utils/DateUtils.mjs +303 -0
- package/dist/node/esm/utils/JuminNumberUtils.mjs +46 -0
- package/dist/node/esm/utils/NumberUtils.mjs +21 -0
- package/dist/node/esm/utils/ObjectIdUtils.mjs +20 -0
- package/dist/node/esm/utils/Point3Utils.mjs +8 -0
- package/dist/node/esm/utils/RandomUtils.mjs +60 -0
- package/dist/node/esm/utils/Sequencer.mjs +141 -0
- package/dist/node/esm/utils/StringUtils.mjs +33 -0
- package/dist/node/esm/utils/UuidUtils.mjs +42 -0
- package/dist/node/esm/utils/Validator.mjs +114 -0
- package/dist/node/esm/utils/global/between.mjs +3 -0
- package/dist/node/esm/utils/global/castArray.mjs +3 -0
- package/dist/node/esm/utils/global/circularDistance.mjs +11 -0
- package/dist/node/esm/utils/global/fallbackIfEqual.mjs +6 -0
- package/dist/node/esm/utils/global/fallbackIfNull.mjs +4 -0
- package/dist/node/esm/utils/global/fallbackIfUndefined.mjs +4 -0
- package/dist/node/esm/utils/global/firstNonNullish.mjs +10 -0
- package/dist/node/esm/utils/global/flat.mjs +113 -0
- package/dist/node/esm/utils/global/index.mjs +11 -0
- package/dist/node/esm/utils/global/processFirstNonNullish.mjs +8 -0
- package/dist/node/esm/utils/global/pureEnum.mjs +9 -0
- package/dist/node/esm/utils/global/sleep.mjs +1 -0
- package/dist/node/esm/utils/index.browser.mjs +17 -0
- package/dist/node/esm/utils/index.mjs +2 -0
- package/dist/node/esm/utils/nodejs/HookUtils.mjs +26 -0
- package/dist/node/esm/utils/nodejs/index.mjs +2 -0
- package/dist/node/esm/utils/nodejs/sequelize-utils/SequelizeUtils.mjs +71 -0
- package/dist/node/esm/utils/nodejs/sequelize-utils/index.mjs +1 -0
- package/dist/node/esm/utils/nodejs/sequelize-utils/types.mjs +1 -0
- package/dist/node/esm/utils/try-catch/TryCatch.mjs +74 -0
- package/dist/node/esm/utils/try-catch/index.mjs +1 -0
- package/dist/node/types/constants/index.browser.d.ts +6 -0
- package/dist/node/types/constants/index.d.ts +2 -0
- package/dist/node/types/constants/nodejs/index.d.ts +2 -0
- package/dist/node/types/index.browser.d.ts +7 -0
- package/dist/node/types/index.d.ts +8 -0
- package/dist/{client → node/types}/interfaces/Point3.d.ts +1 -1
- package/dist/node/types/interfaces/index.browser.d.ts +4 -0
- package/dist/node/types/interfaces/index.d.ts +2 -0
- package/dist/node/types/interfaces/nodejs/db/index.d.ts +1 -0
- package/dist/{server → node/types}/interfaces/nodejs/db/sequelize/Hook.d.ts +2 -2
- package/dist/{server → node/types}/interfaces/nodejs/db/sequelize/HookFn.d.ts +1 -1
- package/dist/node/types/interfaces/nodejs/db/sequelize/UpsertOptions.d.ts +4 -0
- package/dist/node/types/interfaces/nodejs/db/sequelize/index.d.ts +6 -0
- package/dist/node/types/interfaces/nodejs/index.d.ts +1 -0
- package/dist/{client → node/types}/managers/SessionManager.d.ts +2 -2
- package/dist/{server → node/types}/managers/SessionManager.type.d.ts +1 -1
- package/dist/{server → node/types}/managers/TransactionManager.d.ts +2 -2
- package/dist/{server → node/types}/managers/TransactionManager.types.d.ts +1 -1
- package/dist/node/types/managers/index.browser.d.ts +2 -0
- package/dist/node/types/managers/index.d.ts +2 -0
- package/dist/node/types/scripts/index.browser.d.ts +1 -0
- package/dist/node/types/scripts/index.d.ts +1 -0
- package/dist/node/types/services/index.browser.d.ts +1 -0
- package/dist/node/types/services/index.d.ts +2 -0
- package/dist/{server → node/types}/services/redis/RedisPublisher.d.ts +1 -1
- package/dist/{server → node/types}/services/redis/RedisSubscriber.d.ts +2 -2
- package/dist/node/types/services/redis/index.d.ts +3 -0
- package/dist/{server → node/types}/services/time/TimeService.d.ts +1 -1
- package/dist/node/types/services/time/index.d.ts +2 -0
- package/dist/node/types/types/index.browser.d.ts +2 -0
- package/dist/node/types/types/index.d.ts +2 -0
- package/dist/{server → node/types}/utils/CoordinateUtils.d.ts +1 -1
- package/dist/{client → node/types}/utils/DateUtils.d.ts +1 -1
- package/dist/{client → node/types}/utils/Point3Utils.d.ts +1 -1
- package/dist/node/types/utils/global/index.d.ts +11 -0
- package/dist/node/types/utils/index.browser.d.ts +17 -0
- package/dist/node/types/utils/index.d.ts +2 -0
- package/dist/{server → node/types}/utils/nodejs/HookUtils.d.ts +1 -1
- package/dist/node/types/utils/nodejs/index.d.ts +2 -0
- package/dist/{server → node/types}/utils/nodejs/sequelize-utils/SequelizeUtils.d.ts +1 -1
- package/dist/node/types/utils/nodejs/sequelize-utils/index.d.ts +1 -0
- package/dist/node/types/utils/try-catch/index.d.ts +1 -0
- package/package.json +17 -10
- package/dist/client/constants/index.browser.d.ts +0 -6
- package/dist/client/index.browser.d.ts +0 -7
- package/dist/client/index.browser.js +0 -23
- package/dist/client/interfaces/index.browser.d.ts +0 -4
- package/dist/client/managers/index.browser.d.ts +0 -2
- package/dist/client/scripts/index.browser.d.ts +0 -1
- package/dist/client/services/index.browser.d.ts +0 -1
- package/dist/client/services/time/index.d.ts +0 -2
- package/dist/client/types/index.browser.d.ts +0 -2
- package/dist/client/utils/global/index.d.ts +0 -11
- package/dist/client/utils/global/index.js +0 -27
- package/dist/client/utils/index.browser.d.ts +0 -17
- package/dist/client/utils/index.browser.js +0 -33
- package/dist/client/utils/try-catch/index.d.ts +0 -1
- package/dist/server/constants/index.browser.d.ts +0 -6
- package/dist/server/constants/index.browser.js +0 -22
- package/dist/server/constants/index.d.ts +0 -2
- package/dist/server/constants/nodejs/index.d.ts +0 -2
- package/dist/server/index.browser.d.ts +0 -7
- package/dist/server/index.browser.js +0 -23
- package/dist/server/index.d.ts +0 -8
- package/dist/server/index.js +0 -24
- package/dist/server/interfaces/index.browser.d.ts +0 -4
- package/dist/server/interfaces/index.browser.js +0 -20
- package/dist/server/interfaces/index.d.ts +0 -2
- package/dist/server/interfaces/index.js +0 -18
- package/dist/server/interfaces/nodejs/db/index.d.ts +0 -1
- package/dist/server/interfaces/nodejs/db/sequelize/UpsertOptions.d.ts +0 -4
- package/dist/server/interfaces/nodejs/db/sequelize/index.d.ts +0 -6
- package/dist/server/interfaces/nodejs/db/sequelize/index.js +0 -22
- package/dist/server/interfaces/nodejs/index.d.ts +0 -1
- package/dist/server/managers/index.browser.d.ts +0 -2
- package/dist/server/managers/index.browser.js +0 -18
- package/dist/server/managers/index.d.ts +0 -2
- package/dist/server/managers/index.js +0 -18
- package/dist/server/scripts/index.browser.d.ts +0 -1
- package/dist/server/scripts/index.d.ts +0 -1
- package/dist/server/services/index.browser.d.ts +0 -1
- package/dist/server/services/index.d.ts +0 -2
- package/dist/server/services/index.js +0 -18
- package/dist/server/services/redis/index.d.ts +0 -3
- package/dist/server/services/time/index.d.ts +0 -2
- package/dist/server/services/time/index.js +0 -18
- package/dist/server/types/index.browser.d.ts +0 -2
- package/dist/server/types/index.browser.js +0 -18
- package/dist/server/types/index.d.ts +0 -2
- package/dist/server/types/index.js +0 -18
- package/dist/server/utils/global/index.d.ts +0 -11
- package/dist/server/utils/global/index.js +0 -27
- package/dist/server/utils/index.browser.d.ts +0 -17
- package/dist/server/utils/index.browser.js +0 -33
- package/dist/server/utils/index.d.ts +0 -2
- package/dist/server/utils/index.js +0 -18
- package/dist/server/utils/nodejs/index.d.ts +0 -2
- package/dist/server/utils/nodejs/sequelize-utils/index.d.ts +0 -1
- package/dist/server/utils/try-catch/index.d.ts +0 -1
- /package/dist/{client → browser/cjs}/constants/COORDINATE.js +0 -0
- /package/dist/{client → browser/cjs}/constants/CRUD.js +0 -0
- /package/dist/{client → browser/cjs}/constants/DATE.js +0 -0
- /package/dist/{client → browser/cjs}/constants/DISTANCE.js +0 -0
- /package/dist/{client → browser/cjs}/constants/DURATION.js +0 -0
- /package/dist/{client → browser/cjs}/constants/NOT_NULL.js +0 -0
- /package/dist/{client → browser/cjs}/interfaces/Coordinate.js +0 -0
- /package/dist/{client → browser/cjs}/interfaces/Point2.js +0 -0
- /package/dist/{client → browser/cjs}/interfaces/Point3.js +0 -0
- /package/dist/{client → browser/cjs}/interfaces/StorageProvider.js +0 -0
- /package/dist/{client → browser/cjs}/managers/SessionManager.js +0 -0
- /package/dist/{client → browser/cjs}/managers/SessionManager.type.js +0 -0
- /package/dist/{client → browser/cjs}/scripts/base64Polyfill.js +0 -0
- /package/dist/{client → browser/cjs}/services/time/TimeService.js +0 -0
- /package/dist/{client → browser/cjs}/services/time/TimeService.type.js +0 -0
- /package/dist/{client → browser/cjs}/types/IntRage.js +0 -0
- /package/dist/{client → browser/cjs}/types/PartialExcept.js +0 -0
- /package/dist/{client → browser/cjs}/utils/AxiosUtils.js +0 -0
- /package/dist/{client → browser/cjs}/utils/BooleanUtils.js +0 -0
- /package/dist/{client → browser/cjs}/utils/Calc.js +0 -0
- /package/dist/{client → browser/cjs}/utils/CoordinateUtils.js +0 -0
- /package/dist/{client → browser/cjs}/utils/NumberUtils.js +0 -0
- /package/dist/{client → browser/cjs}/utils/Point3Utils.js +0 -0
- /package/dist/{client → browser/cjs}/utils/RandomUtils.js +0 -0
- /package/dist/{client → browser/cjs}/utils/StringUtils.js +0 -0
- /package/dist/{client → browser/cjs}/utils/UuidUtils.js +0 -0
- /package/dist/{client → browser/cjs}/utils/Validator.js +0 -0
- /package/dist/{client → browser/cjs}/utils/global/between.js +0 -0
- /package/dist/{client → browser/cjs}/utils/global/castArray.js +0 -0
- /package/dist/{client → browser/cjs}/utils/global/circularDistance.js +0 -0
- /package/dist/{client → browser/cjs}/utils/global/fallbackIfEqual.js +0 -0
- /package/dist/{client → browser/cjs}/utils/global/firstNonNullish.js +0 -0
- /package/dist/{client → browser/cjs}/utils/global/flat.js +0 -0
- /package/dist/{client → browser/cjs}/utils/global/pureEnum.js +0 -0
- /package/dist/{client → browser/cjs}/utils/global/sleep.js +0 -0
- /package/dist/{client → browser/cjs}/utils/try-catch/TryCatch.js +0 -0
- /package/dist/{client → browser/types}/constants/COORDINATE.d.ts +0 -0
- /package/dist/{client → browser/types}/constants/CRUD.d.ts +0 -0
- /package/dist/{client → browser/types}/constants/DATE.d.ts +0 -0
- /package/dist/{client → browser/types}/constants/DISTANCE.d.ts +0 -0
- /package/dist/{client → browser/types}/constants/DURATION.d.ts +0 -0
- /package/dist/{client → browser/types}/constants/NOT_NULL.d.ts +0 -0
- /package/dist/{client → browser/types}/interfaces/Coordinate.d.ts +0 -0
- /package/dist/{client → browser/types}/interfaces/Point2.d.ts +0 -0
- /package/dist/{client → browser/types}/interfaces/StorageProvider.d.ts +0 -0
- /package/dist/{client → browser/types}/scripts/base64Polyfill.d.ts +0 -0
- /package/dist/{client → browser/types}/services/time/TimeService.type.d.ts +0 -0
- /package/dist/{client → browser/types}/types/IntRage.d.ts +0 -0
- /package/dist/{client → browser/types}/types/PartialExcept.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/ArrayUtils.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/AxiosUtils.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/BooleanUtils.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/Calc.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/JuminNumberUtils.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/NumberUtils.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/ObjectIdUtils.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/RandomUtils.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/Sequencer.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/StringUtils.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/UuidUtils.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/Validator.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/global/between.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/global/castArray.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/global/circularDistance.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/global/fallbackIfEqual.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/global/fallbackIfNull.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/global/fallbackIfUndefined.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/global/firstNonNullish.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/global/flat.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/global/processFirstNonNullish.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/global/pureEnum.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/global/sleep.d.ts +0 -0
- /package/dist/{client → browser/types}/utils/try-catch/TryCatch.d.ts +0 -0
- /package/dist/{server → node/cjs}/constants/COORDINATE.js +0 -0
- /package/dist/{server → node/cjs}/constants/CRUD.js +0 -0
- /package/dist/{server → node/cjs}/constants/DATE.js +0 -0
- /package/dist/{server → node/cjs}/constants/DISTANCE.js +0 -0
- /package/dist/{server → node/cjs}/constants/DURATION.js +0 -0
- /package/dist/{server → node/cjs}/constants/NOT_NULL.js +0 -0
- /package/dist/{server → node/cjs}/constants/nodejs/TransactionManagerLogLevel.js +0 -0
- /package/dist/{server → node/cjs}/constants/nodejs/TransactionManagerTimeoutAction.js +0 -0
- /package/dist/{server → node/cjs}/interfaces/Coordinate.js +0 -0
- /package/dist/{server → node/cjs}/interfaces/Point2.js +0 -0
- /package/dist/{server → node/cjs}/interfaces/Point3.js +0 -0
- /package/dist/{server → node/cjs}/interfaces/StorageProvider.js +0 -0
- /package/dist/{server → node/cjs}/interfaces/nodejs/db/sequelize/Hook.js +0 -0
- /package/dist/{server → node/cjs}/interfaces/nodejs/db/sequelize/HookFn.js +0 -0
- /package/dist/{server → node/cjs}/interfaces/nodejs/db/sequelize/HookType.js +0 -0
- /package/dist/{server → node/cjs}/interfaces/nodejs/db/sequelize/ReloadOption.js +0 -0
- /package/dist/{server → node/cjs}/interfaces/nodejs/db/sequelize/TransactionOption.js +0 -0
- /package/dist/{server → node/cjs}/interfaces/nodejs/db/sequelize/UpsertOptions.js +0 -0
- /package/dist/{server → node/cjs}/managers/SessionManager.js +0 -0
- /package/dist/{server → node/cjs}/managers/SessionManager.type.js +0 -0
- /package/dist/{server → node/cjs}/managers/TransactionManager.types.js +0 -0
- /package/dist/{server → node/cjs}/scripts/base64Polyfill.js +0 -0
- /package/dist/{server → node/cjs}/services/redis/RedisClient.js +0 -0
- /package/dist/{server → node/cjs}/services/time/TimeService.js +0 -0
- /package/dist/{server → node/cjs}/services/time/TimeService.type.js +0 -0
- /package/dist/{server → node/cjs}/types/IntRage.js +0 -0
- /package/dist/{server → node/cjs}/types/PartialExcept.js +0 -0
- /package/dist/{server → node/cjs}/types/UpsertResult.js +0 -0
- /package/dist/{server → node/cjs}/utils/AxiosUtils.js +0 -0
- /package/dist/{server → node/cjs}/utils/BooleanUtils.js +0 -0
- /package/dist/{server → node/cjs}/utils/Calc.js +0 -0
- /package/dist/{server → node/cjs}/utils/CoordinateUtils.js +0 -0
- /package/dist/{server → node/cjs}/utils/NumberUtils.js +0 -0
- /package/dist/{server → node/cjs}/utils/Point3Utils.js +0 -0
- /package/dist/{server → node/cjs}/utils/RandomUtils.js +0 -0
- /package/dist/{server → node/cjs}/utils/StringUtils.js +0 -0
- /package/dist/{server → node/cjs}/utils/UuidUtils.js +0 -0
- /package/dist/{server → node/cjs}/utils/Validator.js +0 -0
- /package/dist/{server → node/cjs}/utils/global/between.js +0 -0
- /package/dist/{server → node/cjs}/utils/global/castArray.js +0 -0
- /package/dist/{server → node/cjs}/utils/global/circularDistance.js +0 -0
- /package/dist/{server → node/cjs}/utils/global/fallbackIfEqual.js +0 -0
- /package/dist/{server → node/cjs}/utils/global/firstNonNullish.js +0 -0
- /package/dist/{server → node/cjs}/utils/global/flat.js +0 -0
- /package/dist/{server → node/cjs}/utils/global/pureEnum.js +0 -0
- /package/dist/{server → node/cjs}/utils/global/sleep.js +0 -0
- /package/dist/{server → node/cjs}/utils/nodejs/HookUtils.js +0 -0
- /package/dist/{server → node/cjs}/utils/nodejs/sequelize-utils/types.js +0 -0
- /package/dist/{server → node/cjs}/utils/try-catch/TryCatch.js +0 -0
- /package/dist/{server → node/types}/constants/COORDINATE.d.ts +0 -0
- /package/dist/{server → node/types}/constants/CRUD.d.ts +0 -0
- /package/dist/{server → node/types}/constants/DATE.d.ts +0 -0
- /package/dist/{server → node/types}/constants/DISTANCE.d.ts +0 -0
- /package/dist/{server → node/types}/constants/DURATION.d.ts +0 -0
- /package/dist/{server → node/types}/constants/NOT_NULL.d.ts +0 -0
- /package/dist/{server → node/types}/constants/nodejs/TransactionManagerLogLevel.d.ts +0 -0
- /package/dist/{server → node/types}/constants/nodejs/TransactionManagerTimeoutAction.d.ts +0 -0
- /package/dist/{server → node/types}/interfaces/Coordinate.d.ts +0 -0
- /package/dist/{server → node/types}/interfaces/Point2.d.ts +0 -0
- /package/dist/{server → node/types}/interfaces/StorageProvider.d.ts +0 -0
- /package/dist/{server → node/types}/interfaces/nodejs/db/sequelize/HookType.d.ts +0 -0
- /package/dist/{server → node/types}/interfaces/nodejs/db/sequelize/ReloadOption.d.ts +0 -0
- /package/dist/{server → node/types}/interfaces/nodejs/db/sequelize/TransactionOption.d.ts +0 -0
- /package/dist/{server → node/types}/scripts/base64Polyfill.d.ts +0 -0
- /package/dist/{server → node/types}/services/redis/RedisClient.d.ts +0 -0
- /package/dist/{server → node/types}/services/time/TimeService.type.d.ts +0 -0
- /package/dist/{server → node/types}/types/IntRage.d.ts +0 -0
- /package/dist/{server → node/types}/types/PartialExcept.d.ts +0 -0
- /package/dist/{server → node/types}/types/UpsertResult.d.ts +0 -0
- /package/dist/{server → node/types}/utils/ArrayUtils.d.ts +0 -0
- /package/dist/{server → node/types}/utils/AxiosUtils.d.ts +0 -0
- /package/dist/{server → node/types}/utils/BooleanUtils.d.ts +0 -0
- /package/dist/{server → node/types}/utils/Calc.d.ts +0 -0
- /package/dist/{server → node/types}/utils/JuminNumberUtils.d.ts +0 -0
- /package/dist/{server → node/types}/utils/NumberUtils.d.ts +0 -0
- /package/dist/{server → node/types}/utils/ObjectIdUtils.d.ts +0 -0
- /package/dist/{server → node/types}/utils/RandomUtils.d.ts +0 -0
- /package/dist/{server → node/types}/utils/Sequencer.d.ts +0 -0
- /package/dist/{server → node/types}/utils/StringUtils.d.ts +0 -0
- /package/dist/{server → node/types}/utils/UuidUtils.d.ts +0 -0
- /package/dist/{server → node/types}/utils/Validator.d.ts +0 -0
- /package/dist/{server → node/types}/utils/global/between.d.ts +0 -0
- /package/dist/{server → node/types}/utils/global/castArray.d.ts +0 -0
- /package/dist/{server → node/types}/utils/global/circularDistance.d.ts +0 -0
- /package/dist/{server → node/types}/utils/global/fallbackIfEqual.d.ts +0 -0
- /package/dist/{server → node/types}/utils/global/fallbackIfNull.d.ts +0 -0
- /package/dist/{server → node/types}/utils/global/fallbackIfUndefined.d.ts +0 -0
- /package/dist/{server → node/types}/utils/global/firstNonNullish.d.ts +0 -0
- /package/dist/{server → node/types}/utils/global/flat.d.ts +0 -0
- /package/dist/{server → node/types}/utils/global/processFirstNonNullish.d.ts +0 -0
- /package/dist/{server → node/types}/utils/global/pureEnum.d.ts +0 -0
- /package/dist/{server → node/types}/utils/global/sleep.d.ts +0 -0
- /package/dist/{server → node/types}/utils/nodejs/sequelize-utils/types.d.ts +0 -0
- /package/dist/{server → node/types}/utils/try-catch/TryCatch.d.ts +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export class NumberUtils {
|
|
2
|
+
static formatWithThousandsSeparator(value, separator = ',') {
|
|
3
|
+
return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, separator);
|
|
4
|
+
}
|
|
5
|
+
static formatBigNumber(value, precision = 2) {
|
|
6
|
+
const map = [
|
|
7
|
+
{ suffix: 'Qi', threshold: 1e18 },
|
|
8
|
+
{ suffix: 'Q', threshold: 1e15 },
|
|
9
|
+
{ suffix: 'T', threshold: 1e12 },
|
|
10
|
+
{ suffix: 'B', threshold: 1e9 },
|
|
11
|
+
{ suffix: 'M', threshold: 1e6 },
|
|
12
|
+
{ suffix: 'K', threshold: 1e3 },
|
|
13
|
+
{ suffix: '', threshold: 1 },
|
|
14
|
+
];
|
|
15
|
+
const found = map.find(e => Math.abs(value) >= e.threshold);
|
|
16
|
+
if (found) {
|
|
17
|
+
return Number((value / found.threshold).toFixed(precision)) + found.suffix;
|
|
18
|
+
}
|
|
19
|
+
return value.toString();
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UuidUtils } from "./UuidUtils.mjs";
|
|
2
|
+
export class ObjectIdUtils {
|
|
3
|
+
static toUuid(objectId, pad = 'start') {
|
|
4
|
+
const result = Buffer.alloc(16);
|
|
5
|
+
Buffer.from(objectId, 'hex').copy(result, pad === 'start' ? 4 : 0);
|
|
6
|
+
return UuidUtils.toString(result);
|
|
7
|
+
}
|
|
8
|
+
static fromUuid(uuid, pad) {
|
|
9
|
+
const buffer = UuidUtils.toBuffer(uuid);
|
|
10
|
+
const isPadEnd = buffer.subarray(buffer.length - 4).every(byte => byte === 0);
|
|
11
|
+
if (isPadEnd || pad === 'end') {
|
|
12
|
+
return buffer.subarray(0, buffer.length - 4).toString('hex');
|
|
13
|
+
}
|
|
14
|
+
const isPadStart = buffer.subarray(0, 4).every(byte => byte === 0);
|
|
15
|
+
if (!isPadStart) {
|
|
16
|
+
console.warn('buffer is not pad start and pad end');
|
|
17
|
+
}
|
|
18
|
+
return buffer.subarray(4).toString('hex');
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export class RandomUtils {
|
|
2
|
+
static randomNumber(min, max) {
|
|
3
|
+
min = Math.ceil(min);
|
|
4
|
+
max = Math.floor(max);
|
|
5
|
+
return Math.floor(Math.random() * (max - min + 1) + min);
|
|
6
|
+
}
|
|
7
|
+
static randomLatinStrings(length) {
|
|
8
|
+
const strings = [];
|
|
9
|
+
for (let i = 0; i < length; ++i) {
|
|
10
|
+
const isLowerCase = RandomUtils.randomNumber(0, 1);
|
|
11
|
+
if (isLowerCase) {
|
|
12
|
+
strings.push(String.fromCharCode(RandomUtils.randomNumber(97, 122)));
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
strings.push(String.fromCharCode(RandomUtils.randomNumber(65, 90)));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return strings.join('');
|
|
19
|
+
}
|
|
20
|
+
static randomLatinLowercaseStrings(length) {
|
|
21
|
+
const strings = [];
|
|
22
|
+
for (let i = 0; i < length; ++i) {
|
|
23
|
+
strings.push(String.fromCharCode(RandomUtils.randomNumber(97, 122)));
|
|
24
|
+
}
|
|
25
|
+
return strings.join('');
|
|
26
|
+
}
|
|
27
|
+
static randomLatinUppercaseStrings(length) {
|
|
28
|
+
const strings = [];
|
|
29
|
+
for (let i = 0; i < length; ++i) {
|
|
30
|
+
strings.push(String.fromCharCode(RandomUtils.randomNumber(65, 90)));
|
|
31
|
+
}
|
|
32
|
+
return strings.join('');
|
|
33
|
+
}
|
|
34
|
+
static randomNumberStrings(length) {
|
|
35
|
+
const strings = [];
|
|
36
|
+
for (let i = 0; i < length; ++i) {
|
|
37
|
+
strings.push(String.fromCharCode(RandomUtils.randomNumber(48, 57)));
|
|
38
|
+
}
|
|
39
|
+
return strings.join('');
|
|
40
|
+
}
|
|
41
|
+
static randomStrings(length) {
|
|
42
|
+
const strings = [];
|
|
43
|
+
for (let i = 0; i < length; ++i) {
|
|
44
|
+
const isNumber = RandomUtils.randomNumber(0, 1);
|
|
45
|
+
if (isNumber) {
|
|
46
|
+
strings.push(String.fromCharCode(RandomUtils.randomNumber(48, 57)));
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const isLowerCase = RandomUtils.randomNumber(0, 1);
|
|
50
|
+
if (isLowerCase) {
|
|
51
|
+
strings.push(String.fromCharCode(RandomUtils.randomNumber(97, 122)));
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
strings.push(String.fromCharCode(RandomUtils.randomNumber(65, 90)));
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return strings.join('');
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import moment from "moment";
|
|
11
|
+
import EventEmitter3 from 'eventemitter3';
|
|
12
|
+
export var SequencerStatus;
|
|
13
|
+
(function (SequencerStatus) {
|
|
14
|
+
SequencerStatus[SequencerStatus["IDLE"] = 0] = "IDLE";
|
|
15
|
+
SequencerStatus[SequencerStatus["RUNNING"] = 1] = "RUNNING";
|
|
16
|
+
SequencerStatus[SequencerStatus["ERROR"] = 2] = "ERROR";
|
|
17
|
+
SequencerStatus[SequencerStatus["DONE"] = 3] = "DONE";
|
|
18
|
+
})(SequencerStatus || (SequencerStatus = {}));
|
|
19
|
+
export var SequencerEvent;
|
|
20
|
+
(function (SequencerEvent) {
|
|
21
|
+
SequencerEvent["START"] = "START";
|
|
22
|
+
SequencerEvent["END"] = "END";
|
|
23
|
+
SequencerEvent["SEQUENCE_START"] = "SEQUENCE_START";
|
|
24
|
+
SequencerEvent["SEQUENCE_END"] = "SEQUENCE_END";
|
|
25
|
+
})(SequencerEvent || (SequencerEvent = {}));
|
|
26
|
+
export class Sequencer {
|
|
27
|
+
constructor(option) {
|
|
28
|
+
this.sequences = [];
|
|
29
|
+
this.status = SequencerStatus.IDLE;
|
|
30
|
+
this.minimumExecutionTime = 0;
|
|
31
|
+
// Reset variables task is done
|
|
32
|
+
this.currentSequence = null;
|
|
33
|
+
this.startTimestamp = null;
|
|
34
|
+
this.endTimestamp = null;
|
|
35
|
+
// Emitter
|
|
36
|
+
this.eventEmitter = new EventEmitter3();
|
|
37
|
+
this.pushSequence = (sequence) => {
|
|
38
|
+
this.sequences.push(sequence);
|
|
39
|
+
};
|
|
40
|
+
this.start = () => __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
if (this.status === SequencerStatus.RUNNING) {
|
|
42
|
+
console.warn('Sequencer status is', this.status);
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
this.status = SequencerStatus.RUNNING;
|
|
46
|
+
this.currentSequence = null;
|
|
47
|
+
this.startTimestamp = this.getCurrentTimeStamp;
|
|
48
|
+
this.endTimestamp = null;
|
|
49
|
+
console.log(`Sequence started, started at ${this.startTimestamp}, MINIMUM_EXECUTION_TIME is ${this.minimumExecutionTime}`);
|
|
50
|
+
for (let sequence of this.sequences) {
|
|
51
|
+
console.log('Currently total execution time', this.executionTime);
|
|
52
|
+
const sequenceStartTimeStamp = this.getCurrentTimeStamp;
|
|
53
|
+
this.currentSequence = sequence;
|
|
54
|
+
// Emitter
|
|
55
|
+
this.eventEmitter.emit(SequencerEvent.SEQUENCE_START, sequence);
|
|
56
|
+
try {
|
|
57
|
+
yield new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
58
|
+
var _a;
|
|
59
|
+
try {
|
|
60
|
+
console.log(`Sequence ${sequence.key} start`);
|
|
61
|
+
yield ((_a = sequence.task) === null || _a === void 0 ? void 0 : _a.call(sequence));
|
|
62
|
+
const sequenceEndTimeStamp = this.getCurrentTimeStamp;
|
|
63
|
+
const sequenceExecutionTime = sequenceEndTimeStamp - sequenceStartTimeStamp;
|
|
64
|
+
console.log(`✅ Sequence ${sequence.key} done at`, sequenceEndTimeStamp);
|
|
65
|
+
console.log('Sequence execution time', sequenceExecutionTime, 'ms');
|
|
66
|
+
if (sequence.minimumExecutionTime) {
|
|
67
|
+
console.log(`Sequence has minimumExecutionTime`, sequence.minimumExecutionTime, 'ms');
|
|
68
|
+
if (sequenceExecutionTime < sequence.minimumExecutionTime) {
|
|
69
|
+
const delay = sequence.minimumExecutionTime - sequenceExecutionTime;
|
|
70
|
+
console.log(`Sequence will delay`, delay, 'ms');
|
|
71
|
+
let dotInterpreterBlocked = false;
|
|
72
|
+
const dotInterpreter = setInterval(() => {
|
|
73
|
+
if (dotInterpreterBlocked) {
|
|
74
|
+
console.log('!');
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
console.log('.');
|
|
78
|
+
}, 100);
|
|
79
|
+
setTimeout(() => {
|
|
80
|
+
dotInterpreterBlocked = true;
|
|
81
|
+
clearInterval(dotInterpreter);
|
|
82
|
+
console.log('done');
|
|
83
|
+
resolve();
|
|
84
|
+
}, delay);
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
console.log('Sequence execution time is greater than minimum execution time');
|
|
88
|
+
resolve();
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
resolve();
|
|
92
|
+
}
|
|
93
|
+
catch (e) {
|
|
94
|
+
reject(e);
|
|
95
|
+
}
|
|
96
|
+
}));
|
|
97
|
+
console.log('Out of Promise');
|
|
98
|
+
// Emitter
|
|
99
|
+
this.eventEmitter.emit(SequencerEvent.SEQUENCE_END, sequence);
|
|
100
|
+
}
|
|
101
|
+
catch (e) {
|
|
102
|
+
if (sequence.required) {
|
|
103
|
+
console.error(`🚫 Sequence ${sequence.key} failed`, e);
|
|
104
|
+
this.status = SequencerStatus.ERROR;
|
|
105
|
+
this.currentSequence = null;
|
|
106
|
+
this.endTimestamp = this.currentSequence;
|
|
107
|
+
// IMPORTANT
|
|
108
|
+
return Promise.reject({
|
|
109
|
+
sequence,
|
|
110
|
+
reason: e,
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
console.log(`Sequence ${sequence.key} failed`, e);
|
|
114
|
+
// Emitter
|
|
115
|
+
this.eventEmitter.emit(SequencerEvent.SEQUENCE_END, sequence);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
this.status = SequencerStatus.DONE;
|
|
119
|
+
this.currentSequence = null;
|
|
120
|
+
this.endTimestamp = this.currentSequence;
|
|
121
|
+
});
|
|
122
|
+
if (option === null || option === void 0 ? void 0 : option.sequences) {
|
|
123
|
+
this.sequences.push(...option.sequences);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
get getCurrentTimeStamp() {
|
|
127
|
+
return parseInt(moment().format('x'), 10);
|
|
128
|
+
}
|
|
129
|
+
get executionTime() {
|
|
130
|
+
if (this.status === SequencerStatus.IDLE) {
|
|
131
|
+
return null;
|
|
132
|
+
}
|
|
133
|
+
if (!this.startTimestamp) {
|
|
134
|
+
return null;
|
|
135
|
+
}
|
|
136
|
+
if (this.startTimestamp && this.endTimestamp) {
|
|
137
|
+
return this.endTimestamp - this.startTimestamp;
|
|
138
|
+
}
|
|
139
|
+
return this.getCurrentTimeStamp - this.startTimestamp;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export class StringUtils {
|
|
2
|
+
static numberWithCommas(x) {
|
|
3
|
+
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
|
4
|
+
}
|
|
5
|
+
static getByte(s) {
|
|
6
|
+
const getByteLength = (decimal) => {
|
|
7
|
+
const LINE_FEED = 10;
|
|
8
|
+
return (decimal >> 7) || (LINE_FEED === decimal) ? 2 : 1;
|
|
9
|
+
};
|
|
10
|
+
return s
|
|
11
|
+
.split('')
|
|
12
|
+
.map((s) => s.charCodeAt(0))
|
|
13
|
+
.reduce((prev, unicodeDecimalValue) => prev + getByteLength(unicodeDecimalValue), 0);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
StringUtils.levenshteinDistance = (str1 = '', str2 = '') => {
|
|
17
|
+
const track = Array(str2.length + 1).fill(null).map(() => Array(str1.length + 1).fill(null));
|
|
18
|
+
for (let i = 0; i <= str1.length; i += 1) {
|
|
19
|
+
track[0][i] = i;
|
|
20
|
+
}
|
|
21
|
+
for (let j = 0; j <= str2.length; j += 1) {
|
|
22
|
+
track[j][0] = j;
|
|
23
|
+
}
|
|
24
|
+
for (let j = 1; j <= str2.length; j += 1) {
|
|
25
|
+
for (let i = 1; i <= str1.length; i += 1) {
|
|
26
|
+
const indicator = str1[i - 1] === str2[j - 1] ? 0 : 1;
|
|
27
|
+
track[j][i] = Math.min(track[j][i - 1] + 1, // deletion
|
|
28
|
+
track[j - 1][i] + 1, // insertion
|
|
29
|
+
track[j - 1][i - 1] + indicator);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return track[str2.length][str1.length];
|
|
33
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as uuid from "uuid";
|
|
2
|
+
function binaryToString(binary) {
|
|
3
|
+
return Buffer.from(binary).toString('hex');
|
|
4
|
+
}
|
|
5
|
+
export class UuidUtils {
|
|
6
|
+
static v4() {
|
|
7
|
+
return uuid.v4();
|
|
8
|
+
}
|
|
9
|
+
static format(uuid) {
|
|
10
|
+
if (uuid.length === 32) {
|
|
11
|
+
// Without dash: ca23c587d7f84c76be59f53bbc9f91f8
|
|
12
|
+
return `${uuid.substring(0, 8)}-${uuid.substring(8, 12)}-${uuid.substring(12, 16)}-${uuid.substring(16, 20)}-${uuid.substring(20, 32)}`.toUpperCase();
|
|
13
|
+
}
|
|
14
|
+
else if (uuid.length === 36) {
|
|
15
|
+
// With dash: ca23c587-d7f8-4c76-be59-f53bbc9f91f8
|
|
16
|
+
return uuid.toUpperCase();
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
// Unexpected uuid
|
|
20
|
+
console.warn('Unexpected uuid length', uuid);
|
|
21
|
+
return uuid;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
static toString(binary) {
|
|
25
|
+
if (!binary)
|
|
26
|
+
return null;
|
|
27
|
+
return UuidUtils.format(binaryToString(binary));
|
|
28
|
+
}
|
|
29
|
+
static toBuffer(uuid) {
|
|
30
|
+
if (!uuid) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return Buffer.from(uuid.replace(/-/g, ''), 'hex');
|
|
34
|
+
}
|
|
35
|
+
static isValidUUID(uuid) {
|
|
36
|
+
if (!uuid)
|
|
37
|
+
return false;
|
|
38
|
+
if (typeof uuid !== 'string')
|
|
39
|
+
return false;
|
|
40
|
+
return RegExp(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/i).test(uuid);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
export class Validator {
|
|
2
|
+
static validate(value, options) {
|
|
3
|
+
value = value || '';
|
|
4
|
+
const validations = [];
|
|
5
|
+
const errors = [];
|
|
6
|
+
const { length } = value;
|
|
7
|
+
const spaceCount = (value.match(/\s/g) || []).length;
|
|
8
|
+
const numberCount = (value.match(/\d/g) || []).length;
|
|
9
|
+
const alphabetCount = (value.match(/[A-Za-z]/g) || []).length;
|
|
10
|
+
const alphabetLowerCaseCount = (value.match(/[a-z]/g) || []).length;
|
|
11
|
+
const alphabetUpperCaseCount = (value.match(/[A-Z]/g) || []).length;
|
|
12
|
+
const specialCount = (value.match(/[~`!@#$%^&*()\-+={[}\]|\\:;"'<,>.?/]/g) || []).length;
|
|
13
|
+
const startsWithNumber = /^\d/.test(value);
|
|
14
|
+
const startsWithAlphabet = /^[A-Za-z]/.test(value);
|
|
15
|
+
const startsWithSpecialCharacter = /^[~`!@#$%^&*()\-+={[}\]|\\:;"'<,>.?/]/.test(value);
|
|
16
|
+
// 최소 길이
|
|
17
|
+
if (options.minLength !== undefined && options.minLength > -1) {
|
|
18
|
+
validations.push(Validator.VALIDATION.MIN_LENGTH);
|
|
19
|
+
if (length < options.minLength) {
|
|
20
|
+
errors.push(Validator.VALIDATION.MIN_LENGTH);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
// 최대 길이
|
|
24
|
+
if (options.maxLength !== undefined && options.maxLength > -1) {
|
|
25
|
+
validations.push(Validator.VALIDATION.MAX_LENGTH);
|
|
26
|
+
if (length > options.maxLength) {
|
|
27
|
+
errors.push(Validator.VALIDATION.MAX_LENGTH);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
const validateMin = (option, value, validation) => {
|
|
31
|
+
if (option !== undefined && option > -1) {
|
|
32
|
+
validations.push(validation);
|
|
33
|
+
if (value < option) {
|
|
34
|
+
errors.push(validation);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
const validateMax = (option, value, validation) => {
|
|
39
|
+
if (option !== undefined && option > -1) {
|
|
40
|
+
validations.push(validation);
|
|
41
|
+
if (value > option) {
|
|
42
|
+
errors.push(validation);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
// 공백 개수
|
|
47
|
+
validateMin(options.spaceMinCount, spaceCount, Validator.VALIDATION.SPACE_MIN_COUNT);
|
|
48
|
+
validateMax(options.spaceMaxCount, spaceCount, Validator.VALIDATION.SPACE_MAX_COUNT);
|
|
49
|
+
// 숫자 개수
|
|
50
|
+
validateMin(options.numberMinCount, numberCount, Validator.VALIDATION.NUMBER_MIN_COUNT);
|
|
51
|
+
validateMax(options.numberMaxCount, numberCount, Validator.VALIDATION.NUMBER_MAX_COUNT);
|
|
52
|
+
// 알파벳 개수
|
|
53
|
+
validateMin(options.alphabetMinCount, alphabetCount, Validator.VALIDATION.ALPHABET_MIN_COUNT);
|
|
54
|
+
validateMax(options.alphabetMaxCount, alphabetCount, Validator.VALIDATION.ALPHABET_MAX_COUNT);
|
|
55
|
+
// 알파벳(소문자) 개수
|
|
56
|
+
validateMin(options.alphabetLowerCaseMinCount, alphabetLowerCaseCount, Validator.VALIDATION.ALPHABET_LOWER_CASE_MIN_COUNT);
|
|
57
|
+
validateMax(options.alphabetLowerCaseMaxCount, alphabetLowerCaseCount, Validator.VALIDATION.ALPHABET_LOWER_CASE_MAX_COUNT);
|
|
58
|
+
// 알파벳(대문자) 개수
|
|
59
|
+
validateMin(options.alphabetUpperCaseMinCount, alphabetUpperCaseCount, Validator.VALIDATION.ALPHABET_UPPER_CASE_MIN_COUNT);
|
|
60
|
+
validateMax(options.alphabetUpperCaseMaxCount, alphabetUpperCaseCount, Validator.VALIDATION.ALPHABET_UPPER_CASE_MAX_COUNT);
|
|
61
|
+
// 특수문자 개수
|
|
62
|
+
validateMin(options.specialCharacterMinCount, specialCount, Validator.VALIDATION.SPECIAL_CHARACTER_MIN_COUNT);
|
|
63
|
+
validateMax(options.specialCharacterMaxCount, specialCount, Validator.VALIDATION.SPECIAL_CHARACTER_MAX_COUNT);
|
|
64
|
+
// 숫자로 시작
|
|
65
|
+
if (options.startsWithNumber) {
|
|
66
|
+
validations.push(Validator.VALIDATION.STARTS_WITH_NUMBER);
|
|
67
|
+
if (!startsWithNumber) {
|
|
68
|
+
errors.push(Validator.VALIDATION.STARTS_WITH_NUMBER);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
// 영문으로 시작
|
|
72
|
+
if (options.startsWithAlphabet) {
|
|
73
|
+
validations.push(Validator.VALIDATION.STARTS_WITH_ALPHABET);
|
|
74
|
+
if (!startsWithAlphabet) {
|
|
75
|
+
errors.push(Validator.VALIDATION.STARTS_WITH_ALPHABET);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
// 특수문자로 시작
|
|
79
|
+
if (options.startsWithSpecialCharacter) {
|
|
80
|
+
validations.push(Validator.VALIDATION.STARTS_WITH_SPECIAL_CHARACTER);
|
|
81
|
+
if (!startsWithSpecialCharacter) {
|
|
82
|
+
errors.push(Validator.VALIDATION.STARTS_WITH_SPECIAL_CHARACTER);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
result: errors.length === 0,
|
|
87
|
+
validations,
|
|
88
|
+
passes: validations.filter(e => !errors.includes(e)),
|
|
89
|
+
errors,
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
(function (Validator) {
|
|
94
|
+
let VALIDATION;
|
|
95
|
+
(function (VALIDATION) {
|
|
96
|
+
VALIDATION["MIN_LENGTH"] = "MIN_LENGTH";
|
|
97
|
+
VALIDATION["MAX_LENGTH"] = "MAX_LENGTH";
|
|
98
|
+
VALIDATION["SPACE_MIN_COUNT"] = "SPACE_MIN_COUNT";
|
|
99
|
+
VALIDATION["SPACE_MAX_COUNT"] = "SPACE_MAX_COUNT";
|
|
100
|
+
VALIDATION["NUMBER_MIN_COUNT"] = "NUMBER_MIN_COUNT";
|
|
101
|
+
VALIDATION["NUMBER_MAX_COUNT"] = "NUMBER_MAX_COUNT";
|
|
102
|
+
VALIDATION["ALPHABET_MIN_COUNT"] = "ALPHABET_MIN_COUNT";
|
|
103
|
+
VALIDATION["ALPHABET_MAX_COUNT"] = "ALPHABET_MAX_COUNT";
|
|
104
|
+
VALIDATION["ALPHABET_LOWER_CASE_MIN_COUNT"] = "ALPHABET_LOWER_CASE_MIN_COUNT";
|
|
105
|
+
VALIDATION["ALPHABET_LOWER_CASE_MAX_COUNT"] = "ALPHABET_LOWER_CASE_MAX_COUNT";
|
|
106
|
+
VALIDATION["ALPHABET_UPPER_CASE_MIN_COUNT"] = "ALPHABET_UPPER_CASE_MIN_COUNT";
|
|
107
|
+
VALIDATION["ALPHABET_UPPER_CASE_MAX_COUNT"] = "ALPHABET_UPPER_CASE_MAX_COUNT";
|
|
108
|
+
VALIDATION["SPECIAL_CHARACTER_MIN_COUNT"] = "SPECIAL_CHARACTER_MIN_COUNT";
|
|
109
|
+
VALIDATION["SPECIAL_CHARACTER_MAX_COUNT"] = "SPECIAL_CHARACTER_MAX_COUNT";
|
|
110
|
+
VALIDATION["STARTS_WITH_ALPHABET"] = "STARTS_WITH_ALPHABET";
|
|
111
|
+
VALIDATION["STARTS_WITH_NUMBER"] = "STARTS_WITH_NUMBER";
|
|
112
|
+
VALIDATION["STARTS_WITH_SPECIAL_CHARACTER"] = "STARTS_WITH_SPECIAL_CHARACTER";
|
|
113
|
+
})(VALIDATION = Validator.VALIDATION || (Validator.VALIDATION = {}));
|
|
114
|
+
})(Validator || (Validator = {}));
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
// flat.ts
|
|
2
|
+
function isBuffer(obj) {
|
|
3
|
+
return !!(obj &&
|
|
4
|
+
obj.constructor &&
|
|
5
|
+
typeof obj.constructor.isBuffer === 'function' &&
|
|
6
|
+
obj.constructor.isBuffer(obj));
|
|
7
|
+
}
|
|
8
|
+
function keyIdentity(key) {
|
|
9
|
+
return key;
|
|
10
|
+
}
|
|
11
|
+
export function flatten(target, opts = {}) {
|
|
12
|
+
const delimiter = opts.delimiter || '.';
|
|
13
|
+
const maxDepth = opts.maxDepth;
|
|
14
|
+
const transformKey = opts.transformKey || keyIdentity;
|
|
15
|
+
const output = {};
|
|
16
|
+
function step(object, prev, currentDepth = 1) {
|
|
17
|
+
Object.keys(object).forEach((key) => {
|
|
18
|
+
const value = object[key];
|
|
19
|
+
const isarray = opts.safe && Array.isArray(value);
|
|
20
|
+
const type = Object.prototype.toString.call(value);
|
|
21
|
+
const isbuffer = isBuffer(value);
|
|
22
|
+
const isobject = type === '[object Object]' || type === '[object Array]';
|
|
23
|
+
const newKey = prev
|
|
24
|
+
? `${prev}${delimiter}${transformKey(key)}`
|
|
25
|
+
: transformKey(key);
|
|
26
|
+
if (!isarray &&
|
|
27
|
+
!isbuffer &&
|
|
28
|
+
isobject &&
|
|
29
|
+
Object.keys(value).length &&
|
|
30
|
+
(!maxDepth || currentDepth < maxDepth)) {
|
|
31
|
+
return step(value, newKey, currentDepth + 1);
|
|
32
|
+
}
|
|
33
|
+
output[newKey] = value;
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
step(target);
|
|
37
|
+
return output;
|
|
38
|
+
}
|
|
39
|
+
export function unflatten(target, opts = {}) {
|
|
40
|
+
const delimiter = opts.delimiter || '.';
|
|
41
|
+
const overwrite = opts.overwrite || false;
|
|
42
|
+
const transformKey = opts.transformKey || keyIdentity;
|
|
43
|
+
const result = {};
|
|
44
|
+
if (isBuffer(target) ||
|
|
45
|
+
Object.prototype.toString.call(target) !== '[object Object]') {
|
|
46
|
+
return target;
|
|
47
|
+
}
|
|
48
|
+
function getkey(key) {
|
|
49
|
+
const parsedKey = Number(key);
|
|
50
|
+
return isNaN(parsedKey) || key.indexOf('.') !== -1 || opts.object
|
|
51
|
+
? key
|
|
52
|
+
: parsedKey;
|
|
53
|
+
}
|
|
54
|
+
function addKeys(keyPrefix, recipient, target) {
|
|
55
|
+
return Object.keys(target).reduce((res, key) => {
|
|
56
|
+
res[`${keyPrefix}${delimiter}${key}`] = target[key];
|
|
57
|
+
return res;
|
|
58
|
+
}, recipient);
|
|
59
|
+
}
|
|
60
|
+
function isEmpty(val) {
|
|
61
|
+
const type = Object.prototype.toString.call(val);
|
|
62
|
+
const isArray = type === '[object Array]';
|
|
63
|
+
const isObject = type === '[object Object]';
|
|
64
|
+
if (!val) {
|
|
65
|
+
return true;
|
|
66
|
+
}
|
|
67
|
+
else if (isArray) {
|
|
68
|
+
return !val.length;
|
|
69
|
+
}
|
|
70
|
+
else if (isObject) {
|
|
71
|
+
return !Object.keys(val).length;
|
|
72
|
+
}
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
const target2 = Object.keys(target).reduce((res, key) => {
|
|
76
|
+
const value = target[key];
|
|
77
|
+
const type = Object.prototype.toString.call(value);
|
|
78
|
+
const isObject = type === '[object Object]' || type === '[object Array]';
|
|
79
|
+
if (!isObject || isEmpty(value)) {
|
|
80
|
+
res[key] = value;
|
|
81
|
+
return res;
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
return addKeys(key, res, flatten(value, opts));
|
|
85
|
+
}
|
|
86
|
+
}, {});
|
|
87
|
+
Object.keys(target2).forEach((key) => {
|
|
88
|
+
const split = key.split(delimiter).map(transformKey);
|
|
89
|
+
let key1 = getkey(split.shift());
|
|
90
|
+
let key2 = getkey(split[0]);
|
|
91
|
+
let recipient = result;
|
|
92
|
+
while (key2 !== undefined) {
|
|
93
|
+
if (key1 === '__proto__')
|
|
94
|
+
return;
|
|
95
|
+
const type = Object.prototype.toString.call(recipient[key1]);
|
|
96
|
+
const isobject = type === '[object Object]' || type === '[object Array]';
|
|
97
|
+
if (!overwrite && !isobject && typeof recipient[key1] !== 'undefined') {
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
if ((overwrite && !isobject) || (!overwrite && recipient[key1] == null)) {
|
|
101
|
+
recipient[key1] =
|
|
102
|
+
typeof key2 === 'number' && !opts.object ? [] : {};
|
|
103
|
+
}
|
|
104
|
+
recipient = recipient[key1];
|
|
105
|
+
if (split.length > 0) {
|
|
106
|
+
key1 = getkey(split.shift());
|
|
107
|
+
key2 = getkey(split[0]);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
recipient[key1] = unflatten(target2[key], opts);
|
|
111
|
+
});
|
|
112
|
+
return result;
|
|
113
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './between.mjs';
|
|
2
|
+
export * from './castArray.mjs';
|
|
3
|
+
export * from './circularDistance.mjs';
|
|
4
|
+
export * from './sleep.mjs';
|
|
5
|
+
export * from './fallbackIfEqual.mjs';
|
|
6
|
+
export * from './fallbackIfNull.mjs';
|
|
7
|
+
export * from './fallbackIfUndefined.mjs';
|
|
8
|
+
export * from './firstNonNullish.mjs';
|
|
9
|
+
export * from './flat.mjs';
|
|
10
|
+
export * from './processFirstNonNullish.mjs';
|
|
11
|
+
export * from './pureEnum.mjs';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function pureEnum(e) {
|
|
2
|
+
return Object.entries(e).filter(([key, value]) => !/^-?\d+$/g.test(key) && typeof value !== 'function');
|
|
3
|
+
}
|
|
4
|
+
export function pureEnumKeys(e) {
|
|
5
|
+
return pureEnum(e).map(([key]) => key);
|
|
6
|
+
}
|
|
7
|
+
export function pureEnumValues(e) {
|
|
8
|
+
return pureEnum(e).map(([, value]) => value);
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const sleep = (ms) => new Promise(resolve => setTimeout(resolve, ms));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from './global/index.mjs';
|
|
2
|
+
export * from './ArrayUtils.mjs';
|
|
3
|
+
export * from './AxiosUtils.mjs';
|
|
4
|
+
export * from './StringUtils.mjs';
|
|
5
|
+
export * from './UuidUtils.mjs';
|
|
6
|
+
export * from './BooleanUtils.mjs';
|
|
7
|
+
export * from './Calc.mjs';
|
|
8
|
+
export * from './CoordinateUtils.mjs';
|
|
9
|
+
export * from './DateUtils.mjs';
|
|
10
|
+
export * from './NumberUtils.mjs';
|
|
11
|
+
export * from './ObjectIdUtils.mjs';
|
|
12
|
+
export * from './Point3Utils.mjs';
|
|
13
|
+
export * from './RandomUtils.mjs';
|
|
14
|
+
export * from './Validator.mjs';
|
|
15
|
+
export * from './JuminNumberUtils.mjs';
|
|
16
|
+
export * from './Sequencer.mjs';
|
|
17
|
+
export * from './try-catch/index.mjs';
|