@powfix/core-js 0.14.5 → 0.15.0-beta-2
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/constants/COORDINATE.js +6 -0
- package/dist/client/constants/CRUD.js +19 -0
- package/dist/client/constants/DATE.js +22 -0
- package/dist/client/constants/DISTANCE.js +14 -0
- package/dist/client/constants/DURATION.js +17 -0
- package/dist/client/constants/NOT_NULL.js +1 -0
- package/dist/client/constants/index.browser.d.ts +6 -0
- package/dist/client/constants/index.browser.js +6 -0
- package/dist/client/index.browser.d.ts +7 -0
- package/dist/client/index.browser.js +7 -0
- package/dist/client/interfaces/Coordinate.js +1 -0
- package/dist/client/interfaces/Point2.js +1 -0
- package/dist/{src → client}/interfaces/Point3.d.ts +1 -1
- package/dist/client/interfaces/Point3.js +1 -0
- package/dist/client/interfaces/StorageProvider.js +1 -0
- package/dist/client/interfaces/index.browser.d.ts +4 -0
- package/dist/client/interfaces/index.browser.js +4 -0
- package/dist/{src → client}/managers/SessionManager.d.ts +2 -2
- package/dist/client/managers/SessionManager.js +127 -0
- package/dist/{src → client}/managers/SessionManager.type.d.ts +1 -1
- package/dist/client/managers/SessionManager.type.js +1 -0
- package/dist/client/managers/index.browser.d.ts +2 -0
- package/dist/client/managers/index.browser.js +2 -0
- package/dist/client/scripts/base64Polyfill.js +10 -0
- package/dist/client/scripts/index.browser.d.ts +1 -0
- package/dist/client/scripts/index.browser.js +1 -0
- package/dist/client/services/index.browser.d.ts +1 -0
- package/dist/client/services/index.browser.js +1 -0
- package/dist/{src → client}/services/time/TimeService.d.ts +1 -1
- package/dist/client/services/time/TimeService.js +173 -0
- package/dist/client/services/time/TimeService.type.js +1 -0
- package/dist/client/services/time/index.d.ts +2 -0
- package/dist/client/services/time/index.js +2 -0
- package/dist/client/types/IntRage.js +1 -0
- package/dist/client/types/PartialExcept.js +1 -0
- package/dist/client/types/index.browser.d.ts +2 -0
- package/dist/client/types/index.browser.js +2 -0
- package/dist/client/utils/ArrayUtils.js +26 -0
- package/dist/client/utils/AxiosUtils.js +49 -0
- package/dist/client/utils/BooleanUtils.js +5 -0
- package/dist/client/utils/Calc.js +23 -0
- package/dist/{src → client}/utils/CoordinateUtils.d.ts +1 -1
- package/dist/client/utils/CoordinateUtils.js +38 -0
- package/dist/{src → client}/utils/DateUtils.d.ts +1 -1
- package/dist/client/utils/DateUtils.js +303 -0
- package/dist/client/utils/JuminNumberUtils.js +46 -0
- package/dist/client/utils/NumberUtils.js +21 -0
- package/dist/client/utils/ObjectIdUtils.js +20 -0
- package/dist/{src → client}/utils/Point3Utils.d.ts +1 -1
- package/dist/client/utils/Point3Utils.js +8 -0
- package/dist/client/utils/RandomUtils.js +60 -0
- package/dist/client/utils/Sequencer.js +141 -0
- package/dist/client/utils/StringUtils.js +33 -0
- package/dist/{src → client}/utils/UuidUtils.js +2 -6
- package/dist/client/utils/Validator.js +114 -0
- package/dist/client/utils/global/between.js +3 -0
- package/dist/client/utils/global/castArray.js +3 -0
- package/dist/client/utils/global/circularDistance.js +11 -0
- package/dist/client/utils/global/fallbackIfEqual.js +6 -0
- package/dist/client/utils/global/fallbackIfNull.js +4 -0
- package/dist/client/utils/global/fallbackIfUndefined.js +4 -0
- package/dist/client/utils/global/firstNonNullish.js +10 -0
- package/dist/client/utils/global/flat.js +113 -0
- package/dist/client/utils/global/index.d.ts +11 -0
- package/dist/client/utils/global/index.js +11 -0
- package/dist/client/utils/global/processFirstNonNullish.js +8 -0
- package/dist/client/utils/global/pureEnum.js +9 -0
- package/dist/client/utils/global/sleep.js +1 -0
- package/dist/client/utils/index.browser.d.ts +17 -0
- package/dist/client/utils/index.browser.js +17 -0
- package/dist/client/utils/try-catch/TryCatch.js +74 -0
- package/dist/client/utils/try-catch/index.d.ts +1 -0
- package/dist/client/utils/try-catch/index.js +1 -0
- package/dist/server/constants/COORDINATE.d.ts +7 -0
- package/dist/server/constants/CRUD.d.ts +9 -0
- package/dist/server/constants/DATE.d.ts +13 -0
- package/dist/server/constants/DISTANCE.d.ts +13 -0
- package/dist/server/constants/DURATION.d.ts +16 -0
- package/dist/server/constants/NOT_NULL.d.ts +1 -0
- package/dist/server/constants/index.browser.d.ts +6 -0
- package/dist/{src → server}/constants/index.browser.js +6 -6
- package/dist/server/constants/index.d.ts +2 -0
- package/dist/{src/interfaces → server/constants}/index.js +2 -2
- package/dist/server/constants/nodejs/index.d.ts +2 -0
- package/dist/{src → server}/constants/nodejs/index.js +2 -2
- package/dist/server/index.browser.d.ts +7 -0
- package/dist/{src → server}/index.browser.js +7 -7
- package/dist/server/index.d.ts +8 -0
- package/dist/{src → server}/index.js +8 -8
- package/dist/server/interfaces/Coordinate.d.ts +8 -0
- package/dist/server/interfaces/Point2.d.ts +4 -0
- package/dist/server/interfaces/Point3.d.ts +4 -0
- package/dist/server/interfaces/StorageProvider.d.ts +7 -0
- package/dist/server/interfaces/index.browser.d.ts +4 -0
- package/dist/{src → server}/interfaces/index.browser.js +4 -4
- package/dist/server/interfaces/index.d.ts +2 -0
- package/dist/{index.js → server/interfaces/index.js} +2 -1
- package/dist/server/interfaces/nodejs/db/index.d.ts +1 -0
- package/dist/{src/interfaces/nodejs → server/interfaces/nodejs/db}/index.js +1 -1
- package/dist/{src → server}/interfaces/nodejs/db/sequelize/Hook.d.ts +2 -2
- package/dist/{src → server}/interfaces/nodejs/db/sequelize/HookFn.d.ts +1 -1
- package/dist/server/interfaces/nodejs/db/sequelize/UpsertOptions.d.ts +4 -0
- package/dist/server/interfaces/nodejs/db/sequelize/index.d.ts +6 -0
- package/dist/server/interfaces/nodejs/db/sequelize/index.js +22 -0
- package/dist/server/interfaces/nodejs/index.d.ts +1 -0
- package/dist/{src/interfaces/nodejs/db → server/interfaces/nodejs}/index.js +1 -1
- package/dist/server/managers/SessionManager.d.ts +15 -0
- package/dist/server/managers/SessionManager.type.d.ts +9 -0
- package/dist/{src → server}/managers/TransactionManager.d.ts +2 -2
- package/dist/{src → server}/managers/TransactionManager.js +13 -13
- package/dist/{src → server}/managers/TransactionManager.types.d.ts +1 -1
- package/dist/server/managers/index.browser.d.ts +2 -0
- package/dist/{src → server}/managers/index.browser.js +2 -2
- package/dist/server/managers/index.d.ts +2 -0
- package/dist/server/managers/index.js +18 -0
- package/dist/server/scripts/base64Polyfill.d.ts +1 -0
- package/dist/server/scripts/index.browser.d.ts +1 -0
- package/dist/{src → server}/scripts/index.browser.js +1 -1
- package/dist/server/scripts/index.d.ts +1 -0
- package/dist/{src → server}/scripts/index.js +1 -1
- package/dist/server/services/index.browser.d.ts +1 -0
- package/dist/{src → server}/services/index.browser.js +1 -1
- package/dist/server/services/index.d.ts +2 -0
- package/dist/{src/constants → server/services}/index.js +2 -2
- package/dist/{src → server}/services/redis/RedisPublisher.d.ts +1 -1
- package/dist/{src → server}/services/redis/RedisPublisher.js +2 -2
- package/dist/{src → server}/services/redis/RedisSubscriber.d.ts +2 -2
- package/dist/{src → server}/services/redis/RedisSubscriber.js +5 -5
- package/dist/server/services/redis/index.d.ts +3 -0
- package/dist/{src → server}/services/redis/index.js +3 -3
- package/dist/server/services/time/TimeService.d.ts +31 -0
- package/dist/server/services/time/TimeService.type.d.ts +21 -0
- package/dist/server/services/time/index.d.ts +2 -0
- package/dist/server/services/time/index.js +18 -0
- package/dist/server/types/IntRage.d.ts +3 -0
- package/dist/server/types/PartialExcept.d.ts +1 -0
- package/dist/server/types/index.browser.d.ts +2 -0
- package/dist/{index.browser.js → server/types/index.browser.js} +2 -1
- package/dist/server/types/index.d.ts +2 -0
- package/dist/server/types/index.js +18 -0
- package/dist/server/utils/ArrayUtils.d.ts +12 -0
- package/dist/{src → server}/utils/ArrayUtils.js +2 -2
- package/dist/server/utils/AxiosUtils.d.ts +5 -0
- package/dist/server/utils/BooleanUtils.d.ts +1 -0
- package/dist/server/utils/Calc.d.ts +4 -0
- package/dist/server/utils/CoordinateUtils.d.ts +8 -0
- package/dist/server/utils/DateUtils.d.ts +24 -0
- package/dist/{src → server}/utils/DateUtils.js +17 -17
- package/dist/server/utils/JuminNumberUtils.d.ts +4 -0
- package/dist/{src → server}/utils/JuminNumberUtils.js +2 -2
- package/dist/server/utils/NumberUtils.d.ts +4 -0
- package/dist/server/utils/ObjectIdUtils.d.ts +4 -0
- package/dist/{src → server}/utils/ObjectIdUtils.js +3 -3
- package/dist/server/utils/Point3Utils.d.ts +4 -0
- package/dist/server/utils/RandomUtils.d.ts +8 -0
- package/dist/server/utils/Sequencer.d.ts +38 -0
- package/dist/{src → server}/utils/Sequencer.js +2 -2
- package/dist/server/utils/StringUtils.d.ts +5 -0
- package/dist/server/utils/UuidUtils.d.ts +14 -0
- package/dist/server/utils/UuidUtils.js +79 -0
- package/dist/server/utils/Validator.d.ts +48 -0
- package/dist/server/utils/global/between.d.ts +1 -0
- package/dist/server/utils/global/castArray.d.ts +1 -0
- package/dist/server/utils/global/circularDistance.d.ts +1 -0
- package/dist/server/utils/global/fallbackIfEqual.d.ts +1 -0
- package/dist/server/utils/global/fallbackIfNull.d.ts +1 -0
- package/dist/{src → server}/utils/global/fallbackIfNull.js +2 -2
- package/dist/server/utils/global/fallbackIfUndefined.d.ts +1 -0
- package/dist/{src → server}/utils/global/fallbackIfUndefined.js +2 -2
- package/dist/server/utils/global/firstNonNullish.d.ts +1 -0
- package/dist/server/utils/global/flat.d.ts +14 -0
- package/dist/server/utils/global/index.d.ts +11 -0
- package/dist/server/utils/global/index.js +27 -0
- package/dist/server/utils/global/processFirstNonNullish.d.ts +1 -0
- package/dist/{src → server}/utils/global/processFirstNonNullish.js +2 -2
- package/dist/server/utils/global/pureEnum.d.ts +8 -0
- package/dist/server/utils/global/sleep.d.ts +1 -0
- package/dist/server/utils/index.browser.d.ts +17 -0
- package/dist/server/utils/index.browser.js +33 -0
- package/dist/server/utils/index.d.ts +2 -0
- package/dist/server/utils/index.js +18 -0
- package/dist/{src → server}/utils/nodejs/HookUtils.d.ts +1 -1
- package/dist/server/utils/nodejs/index.d.ts +2 -0
- package/dist/{src → server}/utils/nodejs/index.js +3 -3
- package/dist/{src → server}/utils/nodejs/sequelize-utils/SequelizeUtils.d.ts +1 -1
- package/dist/{src → server}/utils/nodejs/sequelize-utils/SequelizeUtils.js +8 -8
- package/dist/server/utils/nodejs/sequelize-utils/index.d.ts +1 -0
- package/dist/{src → server}/utils/nodejs/sequelize-utils/index.js +2 -2
- package/dist/server/utils/try-catch/TryCatch.d.ts +24 -0
- package/dist/server/utils/try-catch/index.d.ts +1 -0
- package/dist/{src → server}/utils/try-catch/index.js +1 -1
- package/package.json +56 -52
- package/dist/index.browser.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/src/constants/index.browser.d.ts +0 -6
- package/dist/src/constants/index.d.ts +0 -2
- package/dist/src/constants/nodejs/index.d.ts +0 -2
- package/dist/src/index.browser.d.ts +0 -7
- package/dist/src/index.d.ts +0 -8
- package/dist/src/interfaces/index.browser.d.ts +0 -4
- package/dist/src/interfaces/index.d.ts +0 -2
- package/dist/src/interfaces/nodejs/db/index.d.ts +0 -1
- package/dist/src/interfaces/nodejs/db/sequelize/UpsertOptions.d.ts +0 -4
- package/dist/src/interfaces/nodejs/db/sequelize/index.d.ts +0 -6
- package/dist/src/interfaces/nodejs/db/sequelize/index.js +0 -22
- package/dist/src/interfaces/nodejs/index.d.ts +0 -1
- package/dist/src/managers/index.browser.d.ts +0 -2
- package/dist/src/managers/index.d.ts +0 -2
- package/dist/src/managers/index.js +0 -18
- package/dist/src/scripts/index.browser.d.ts +0 -1
- package/dist/src/scripts/index.d.ts +0 -1
- package/dist/src/services/index.browser.d.ts +0 -1
- package/dist/src/services/index.d.ts +0 -2
- package/dist/src/services/index.js +0 -18
- package/dist/src/services/redis/index.d.ts +0 -3
- package/dist/src/services/time/index.d.ts +0 -2
- package/dist/src/services/time/index.js +0 -18
- package/dist/src/types/index.browser.d.ts +0 -2
- package/dist/src/types/index.browser.js +0 -18
- package/dist/src/types/index.d.ts +0 -2
- package/dist/src/types/index.js +0 -18
- package/dist/src/utils/global/index.d.ts +0 -11
- package/dist/src/utils/global/index.js +0 -27
- package/dist/src/utils/index.browser.d.ts +0 -17
- package/dist/src/utils/index.browser.js +0 -33
- package/dist/src/utils/index.d.ts +0 -2
- package/dist/src/utils/index.js +0 -18
- package/dist/src/utils/nodejs/index.d.ts +0 -2
- package/dist/src/utils/nodejs/sequelize-utils/index.d.ts +0 -1
- package/dist/src/utils/try-catch/index.d.ts +0 -1
- /package/dist/{src → client}/constants/COORDINATE.d.ts +0 -0
- /package/dist/{src → client}/constants/CRUD.d.ts +0 -0
- /package/dist/{src → client}/constants/DATE.d.ts +0 -0
- /package/dist/{src → client}/constants/DISTANCE.d.ts +0 -0
- /package/dist/{src → client}/constants/DURATION.d.ts +0 -0
- /package/dist/{src → client}/constants/NOT_NULL.d.ts +0 -0
- /package/dist/{src → client}/interfaces/Coordinate.d.ts +0 -0
- /package/dist/{src → client}/interfaces/Point2.d.ts +0 -0
- /package/dist/{src → client}/interfaces/StorageProvider.d.ts +0 -0
- /package/dist/{src → client}/scripts/base64Polyfill.d.ts +0 -0
- /package/dist/{src → client}/services/time/TimeService.type.d.ts +0 -0
- /package/dist/{src → client}/types/IntRage.d.ts +0 -0
- /package/dist/{src → client}/types/PartialExcept.d.ts +0 -0
- /package/dist/{src → client}/utils/ArrayUtils.d.ts +0 -0
- /package/dist/{src → client}/utils/AxiosUtils.d.ts +0 -0
- /package/dist/{src → client}/utils/BooleanUtils.d.ts +0 -0
- /package/dist/{src → client}/utils/Calc.d.ts +0 -0
- /package/dist/{src → client}/utils/JuminNumberUtils.d.ts +0 -0
- /package/dist/{src → client}/utils/NumberUtils.d.ts +0 -0
- /package/dist/{src → client}/utils/ObjectIdUtils.d.ts +0 -0
- /package/dist/{src → client}/utils/RandomUtils.d.ts +0 -0
- /package/dist/{src → client}/utils/Sequencer.d.ts +0 -0
- /package/dist/{src → client}/utils/StringUtils.d.ts +0 -0
- /package/dist/{src → client}/utils/UuidUtils.d.ts +0 -0
- /package/dist/{src → client}/utils/Validator.d.ts +0 -0
- /package/dist/{src → client}/utils/global/between.d.ts +0 -0
- /package/dist/{src → client}/utils/global/castArray.d.ts +0 -0
- /package/dist/{src → client}/utils/global/circularDistance.d.ts +0 -0
- /package/dist/{src → client}/utils/global/fallbackIfEqual.d.ts +0 -0
- /package/dist/{src → client}/utils/global/fallbackIfNull.d.ts +0 -0
- /package/dist/{src → client}/utils/global/fallbackIfUndefined.d.ts +0 -0
- /package/dist/{src → client}/utils/global/firstNonNullish.d.ts +0 -0
- /package/dist/{src → client}/utils/global/flat.d.ts +0 -0
- /package/dist/{src → client}/utils/global/processFirstNonNullish.d.ts +0 -0
- /package/dist/{src → client}/utils/global/pureEnum.d.ts +0 -0
- /package/dist/{src → client}/utils/global/sleep.d.ts +0 -0
- /package/dist/{src → client}/utils/try-catch/TryCatch.d.ts +0 -0
- /package/dist/{src → server}/constants/COORDINATE.js +0 -0
- /package/dist/{src → server}/constants/CRUD.js +0 -0
- /package/dist/{src → server}/constants/DATE.js +0 -0
- /package/dist/{src → server}/constants/DISTANCE.js +0 -0
- /package/dist/{src → server}/constants/DURATION.js +0 -0
- /package/dist/{src → server}/constants/NOT_NULL.js +0 -0
- /package/dist/{src → server}/constants/nodejs/TransactionManagerLogLevel.d.ts +0 -0
- /package/dist/{src → server}/constants/nodejs/TransactionManagerLogLevel.js +0 -0
- /package/dist/{src → server}/constants/nodejs/TransactionManagerTimeoutAction.d.ts +0 -0
- /package/dist/{src → server}/constants/nodejs/TransactionManagerTimeoutAction.js +0 -0
- /package/dist/{src → server}/interfaces/Coordinate.js +0 -0
- /package/dist/{src → server}/interfaces/Point2.js +0 -0
- /package/dist/{src → server}/interfaces/Point3.js +0 -0
- /package/dist/{src → server}/interfaces/StorageProvider.js +0 -0
- /package/dist/{src → server}/interfaces/nodejs/db/sequelize/Hook.js +0 -0
- /package/dist/{src → server}/interfaces/nodejs/db/sequelize/HookFn.js +0 -0
- /package/dist/{src → server}/interfaces/nodejs/db/sequelize/HookType.d.ts +0 -0
- /package/dist/{src → server}/interfaces/nodejs/db/sequelize/HookType.js +0 -0
- /package/dist/{src → server}/interfaces/nodejs/db/sequelize/ReloadOption.d.ts +0 -0
- /package/dist/{src → server}/interfaces/nodejs/db/sequelize/ReloadOption.js +0 -0
- /package/dist/{src → server}/interfaces/nodejs/db/sequelize/TransactionOption.d.ts +0 -0
- /package/dist/{src → server}/interfaces/nodejs/db/sequelize/TransactionOption.js +0 -0
- /package/dist/{src → server}/interfaces/nodejs/db/sequelize/UpsertOptions.js +0 -0
- /package/dist/{src → server}/managers/SessionManager.js +0 -0
- /package/dist/{src → server}/managers/SessionManager.type.js +0 -0
- /package/dist/{src → server}/managers/TransactionManager.types.js +0 -0
- /package/dist/{src → server}/scripts/base64Polyfill.js +0 -0
- /package/dist/{src → server}/services/redis/RedisClient.d.ts +0 -0
- /package/dist/{src → server}/services/redis/RedisClient.js +0 -0
- /package/dist/{src → server}/services/time/TimeService.js +0 -0
- /package/dist/{src → server}/services/time/TimeService.type.js +0 -0
- /package/dist/{src → server}/types/IntRage.js +0 -0
- /package/dist/{src → server}/types/PartialExcept.js +0 -0
- /package/dist/{src → server}/types/UpsertResult.d.ts +0 -0
- /package/dist/{src → server}/types/UpsertResult.js +0 -0
- /package/dist/{src → server}/utils/AxiosUtils.js +0 -0
- /package/dist/{src → server}/utils/BooleanUtils.js +0 -0
- /package/dist/{src → server}/utils/Calc.js +0 -0
- /package/dist/{src → server}/utils/CoordinateUtils.js +0 -0
- /package/dist/{src → server}/utils/NumberUtils.js +0 -0
- /package/dist/{src → server}/utils/Point3Utils.js +0 -0
- /package/dist/{src → server}/utils/RandomUtils.js +0 -0
- /package/dist/{src → server}/utils/StringUtils.js +0 -0
- /package/dist/{src → server}/utils/Validator.js +0 -0
- /package/dist/{src → server}/utils/global/between.js +0 -0
- /package/dist/{src → server}/utils/global/castArray.js +0 -0
- /package/dist/{src → server}/utils/global/circularDistance.js +0 -0
- /package/dist/{src → server}/utils/global/fallbackIfEqual.js +0 -0
- /package/dist/{src → server}/utils/global/firstNonNullish.js +0 -0
- /package/dist/{src → server}/utils/global/flat.js +0 -0
- /package/dist/{src → server}/utils/global/pureEnum.js +0 -0
- /package/dist/{src → server}/utils/global/sleep.js +0 -0
- /package/dist/{src → server}/utils/nodejs/HookUtils.js +0 -0
- /package/dist/{src → server}/utils/nodejs/sequelize-utils/types.d.ts +0 -0
- /package/dist/{src → server}/utils/nodejs/sequelize-utils/types.js +0 -0
- /package/dist/{src → server}/utils/try-catch/TryCatch.js +0 -0
|
@@ -15,6 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.SequelizeUtils = void 0;
|
|
18
|
-
__exportStar(require("./HookUtils"), exports);
|
|
19
|
-
var
|
|
20
|
-
Object.defineProperty(exports, "SequelizeUtils", { enumerable: true, get: function () { return
|
|
18
|
+
__exportStar(require("./HookUtils.js"), exports);
|
|
19
|
+
var index_js_1 = require("./sequelize-utils/index.js");
|
|
20
|
+
Object.defineProperty(exports, "SequelizeUtils", { enumerable: true, get: function () { return index_js_1.SequelizeUtils; } });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelAttributeColumnOptions, WhereOptions } from "sequelize";
|
|
2
|
-
import { Model, NonKnownUuidStringKeys, UuidColumnOptionsBase, UuidColumnOptionsForModel } from "./types";
|
|
2
|
+
import { Model, NonKnownUuidStringKeys, UuidColumnOptionsBase, UuidColumnOptionsForModel } from "./types.js";
|
|
3
3
|
export declare class SequelizeUtils {
|
|
4
4
|
static decimal2Number(value: any): number | null | undefined;
|
|
5
5
|
static buildPrimaryUuidColumn: () => Partial<ModelAttributeColumnOptions>;
|
|
@@ -13,8 +13,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.SequelizeUtils = void 0;
|
|
15
15
|
const sequelize_1 = require("sequelize");
|
|
16
|
-
const
|
|
17
|
-
const
|
|
16
|
+
const UuidUtils_js_1 = require("../../UuidUtils.js");
|
|
17
|
+
const index_js_1 = require("../../../constants/index.js");
|
|
18
18
|
class SequelizeUtils {
|
|
19
19
|
static decimal2Number(value) {
|
|
20
20
|
if (value === null || value === undefined) {
|
|
@@ -34,18 +34,18 @@ class SequelizeUtils {
|
|
|
34
34
|
if (value === null) {
|
|
35
35
|
return value;
|
|
36
36
|
}
|
|
37
|
-
return
|
|
37
|
+
return UuidUtils_js_1.UuidUtils.toString(this.getDataValue(columnName));
|
|
38
38
|
},
|
|
39
39
|
set(uuid) {
|
|
40
|
-
this.setDataValue(columnName, uuid === null ? null :
|
|
40
|
+
this.setDataValue(columnName, uuid === null ? null : UuidUtils_js_1.UuidUtils.toBuffer(uuid));
|
|
41
41
|
} }, overrideOptions);
|
|
42
42
|
}
|
|
43
43
|
else {
|
|
44
44
|
return Object.assign({ type: "binary(16)", get() {
|
|
45
|
-
return
|
|
45
|
+
return UuidUtils_js_1.UuidUtils.toString(this.getDataValue(columnName));
|
|
46
46
|
},
|
|
47
47
|
set(uuid) {
|
|
48
|
-
this.setDataValue(columnName,
|
|
48
|
+
this.setDataValue(columnName, UuidUtils_js_1.UuidUtils.toBuffer(uuid));
|
|
49
49
|
} }, overrideOptions);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -55,7 +55,7 @@ class SequelizeUtils {
|
|
|
55
55
|
if (value === null) {
|
|
56
56
|
return { [sequelize_1.Op.is]: value };
|
|
57
57
|
}
|
|
58
|
-
else if (value ===
|
|
58
|
+
else if (value === index_js_1.NOT_NULL) {
|
|
59
59
|
return { [sequelize_1.Op.not]: null };
|
|
60
60
|
}
|
|
61
61
|
else {
|
|
@@ -71,5 +71,5 @@ SequelizeUtils.buildPrimaryUuidColumn = () => (Object.assign({}, SequelizeUtils.
|
|
|
71
71
|
allowNull: false,
|
|
72
72
|
primaryKey: true,
|
|
73
73
|
unique: true,
|
|
74
|
-
defaultValue: () =>
|
|
74
|
+
defaultValue: () => UuidUtils_js_1.UuidUtils.toBuffer(UuidUtils_js_1.UuidUtils.v4()),
|
|
75
75
|
})));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SequelizeUtils } from './SequelizeUtils.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SequelizeUtils = void 0;
|
|
4
|
-
var
|
|
5
|
-
Object.defineProperty(exports, "SequelizeUtils", { enumerable: true, get: function () { return
|
|
4
|
+
var SequelizeUtils_js_1 = require("./SequelizeUtils.js");
|
|
5
|
+
Object.defineProperty(exports, "SequelizeUtils", { enumerable: true, get: function () { return SequelizeUtils_js_1.SequelizeUtils; } });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provides a utility class for handling synchronous and asynchronous operations with a consistent try-catch pattern.
|
|
3
|
+
* It returns a tuple where the first element is the error (or null on success) and the second element is the result (or undefined on error).
|
|
4
|
+
*/
|
|
5
|
+
export declare class TryCatch {
|
|
6
|
+
/**
|
|
7
|
+
* Executes a synchronous function within a try-catch block.
|
|
8
|
+
* @template T The return type of the function.
|
|
9
|
+
* @template E The type of the error that might be thrown (defaults to Error).
|
|
10
|
+
* @param fn The synchronous function to execute.
|
|
11
|
+
*@param disableLogging console.error is default way of logging on error. You can disable it by setting it true
|
|
12
|
+
* @returns A tuple containing the result of the function and an error (null if successful).
|
|
13
|
+
*/
|
|
14
|
+
static function<T, E = Error>(fn: () => T, disableLogging?: boolean): readonly [null, T] | readonly [E, undefined];
|
|
15
|
+
/**
|
|
16
|
+
* Executes an asynchronous function (Promise) within a try-catch block.
|
|
17
|
+
* @template T The resolved value type of the Promise.
|
|
18
|
+
* @template E The type of the error that might be rejected (defaults to Error).
|
|
19
|
+
* @param fn The Promise to await.
|
|
20
|
+
* @param disableLogging console.error is default way of logging on error. You can disable it by setting it true
|
|
21
|
+
* @returns A tuple containing the resolved value of the Promise and an error (null if successful).
|
|
22
|
+
*/
|
|
23
|
+
static asyncFunction<T, E = Error>(fn: Promise<T>, disableLogging?: boolean): Promise<readonly [null, Awaited<T>] | readonly [E, undefined]>;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./TryCatch.js";
|
|
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./TryCatch"), exports);
|
|
17
|
+
__exportStar(require("./TryCatch.js"), exports);
|
package/package.json
CHANGED
|
@@ -1,54 +1,58 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
2
|
+
"name": "@powfix/core-js",
|
|
3
|
+
"version": "0.15.0-beta-2",
|
|
4
|
+
"description": "core package",
|
|
5
|
+
"author": "Kwon Kyung-Min <powfix@gmail.com>",
|
|
6
|
+
"private": false,
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/powfix/core-js"
|
|
10
|
+
},
|
|
11
|
+
"keywords": ["javascript", "core", "util"],
|
|
12
|
+
"homepage": "https://github.com/powfix/core-js",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"exports": {
|
|
15
|
+
"./client": {
|
|
16
|
+
"default": "./dist/client/index.browser.js",
|
|
17
|
+
"types": "./dist/client/index.browser.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./server": {
|
|
20
|
+
"default": "./dist/server/index.js",
|
|
21
|
+
"types": "./dist/server/index.d.ts"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"clean": "rm -rf dist | wc -l",
|
|
26
|
+
"prebuild": "yarn clean",
|
|
27
|
+
"build:client": "tsc -p tsconfig.client.json",
|
|
28
|
+
"build:server": "tsc -p tsconfig.server.json",
|
|
29
|
+
"build": "yarn build:client && yarn build:server",
|
|
30
|
+
"deploy": "yarn deploy:patch",
|
|
31
|
+
"deploy:patch": "yarn build && npm version patch && npm publish",
|
|
32
|
+
"deploy:minor": "yarn build && npm version minor && npm publish",
|
|
33
|
+
"deploy:major": "yarn build && npm version major && npm publish"
|
|
34
|
+
},
|
|
35
|
+
"files": ["dist"],
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"base-64": "^1.0.0",
|
|
38
|
+
"eventemitter3": "^5.0.1",
|
|
39
|
+
"jwt-decode": "^4.0.0",
|
|
40
|
+
"redis": "4.7.0",
|
|
41
|
+
"uuid": "9.0.1"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/base-64": "1.0.2",
|
|
45
|
+
"@types/node": "20.9.5",
|
|
46
|
+
"@types/uuid": "9.0.7",
|
|
47
|
+
"axios": "^1.9.0",
|
|
48
|
+
"moment": "^2.30.1",
|
|
49
|
+
"sequelize": "6.37.7",
|
|
50
|
+
"sequelize-typescript": "^2.1.6",
|
|
51
|
+
"ts-node": "^10.9.2",
|
|
52
|
+
"typescript": "5.8.3"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"moment": ">=2.0.0",
|
|
56
|
+
"eventemitter3": ">=5"
|
|
57
|
+
}
|
|
54
58
|
}
|
package/dist/index.browser.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/index.browser';
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/index';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './constants/index.browser';
|
|
2
|
-
export * from './interfaces/index.browser';
|
|
3
|
-
export * from './managers/index.browser';
|
|
4
|
-
export * from './scripts/index.browser';
|
|
5
|
-
export * from './services/index.browser';
|
|
6
|
-
export * from './types/index.browser';
|
|
7
|
-
export * from './utils/index.browser';
|
package/dist/src/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './sequelize';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./Hook"), exports);
|
|
18
|
-
__exportStar(require("./HookFn"), exports);
|
|
19
|
-
__exportStar(require("./HookType"), exports);
|
|
20
|
-
__exportStar(require("./ReloadOption"), exports);
|
|
21
|
-
__exportStar(require("./TransactionOption"), exports);
|
|
22
|
-
__exportStar(require("./UpsertOptions"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './db';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./TransactionManager"), exports);
|
|
18
|
-
__exportStar(require("./TransactionManager.types"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './base64Polyfill';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './index.browser';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './time';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./index.browser"), exports);
|
|
18
|
-
__exportStar(require("./redis"), exports);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./TimeService"), exports);
|
|
18
|
-
__exportStar(require("./TimeService.type"), exports);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./IntRage"), exports);
|
|
18
|
-
__exportStar(require("./PartialExcept"), exports);
|
package/dist/src/types/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./index.browser"), exports);
|
|
18
|
-
__exportStar(require("./UpsertResult"), exports);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './between';
|
|
2
|
-
export * from './castArray';
|
|
3
|
-
export * from './circularDistance';
|
|
4
|
-
export * from './sleep';
|
|
5
|
-
export * from './fallbackIfEqual';
|
|
6
|
-
export * from './fallbackIfNull';
|
|
7
|
-
export * from './fallbackIfUndefined';
|
|
8
|
-
export * from './firstNonNullish';
|
|
9
|
-
export * from './flat';
|
|
10
|
-
export * from './processFirstNonNullish';
|
|
11
|
-
export * from './pureEnum';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./between"), exports);
|
|
18
|
-
__exportStar(require("./castArray"), exports);
|
|
19
|
-
__exportStar(require("./circularDistance"), exports);
|
|
20
|
-
__exportStar(require("./sleep"), exports);
|
|
21
|
-
__exportStar(require("./fallbackIfEqual"), exports);
|
|
22
|
-
__exportStar(require("./fallbackIfNull"), exports);
|
|
23
|
-
__exportStar(require("./fallbackIfUndefined"), exports);
|
|
24
|
-
__exportStar(require("./firstNonNullish"), exports);
|
|
25
|
-
__exportStar(require("./flat"), exports);
|
|
26
|
-
__exportStar(require("./processFirstNonNullish"), exports);
|
|
27
|
-
__exportStar(require("./pureEnum"), exports);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export * from './global';
|
|
2
|
-
export * from './ArrayUtils';
|
|
3
|
-
export * from './AxiosUtils';
|
|
4
|
-
export * from './StringUtils';
|
|
5
|
-
export * from './UuidUtils';
|
|
6
|
-
export * from './BooleanUtils';
|
|
7
|
-
export * from './Calc';
|
|
8
|
-
export * from './CoordinateUtils';
|
|
9
|
-
export * from './DateUtils';
|
|
10
|
-
export * from './NumberUtils';
|
|
11
|
-
export * from './ObjectIdUtils';
|
|
12
|
-
export * from './Point3Utils';
|
|
13
|
-
export * from './RandomUtils';
|
|
14
|
-
export * from './Validator';
|
|
15
|
-
export * from './JuminNumberUtils';
|
|
16
|
-
export * from './Sequencer';
|
|
17
|
-
export * from './try-catch';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./global"), exports);
|
|
18
|
-
__exportStar(require("./ArrayUtils"), exports);
|
|
19
|
-
__exportStar(require("./AxiosUtils"), exports);
|
|
20
|
-
__exportStar(require("./StringUtils"), exports);
|
|
21
|
-
__exportStar(require("./UuidUtils"), exports);
|
|
22
|
-
__exportStar(require("./BooleanUtils"), exports);
|
|
23
|
-
__exportStar(require("./Calc"), exports);
|
|
24
|
-
__exportStar(require("./CoordinateUtils"), exports);
|
|
25
|
-
__exportStar(require("./DateUtils"), exports);
|
|
26
|
-
__exportStar(require("./NumberUtils"), exports);
|
|
27
|
-
__exportStar(require("./ObjectIdUtils"), exports);
|
|
28
|
-
__exportStar(require("./Point3Utils"), exports);
|
|
29
|
-
__exportStar(require("./RandomUtils"), exports);
|
|
30
|
-
__exportStar(require("./Validator"), exports);
|
|
31
|
-
__exportStar(require("./JuminNumberUtils"), exports);
|
|
32
|
-
__exportStar(require("./Sequencer"), exports);
|
|
33
|
-
__exportStar(require("./try-catch"), exports);
|
package/dist/src/utils/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./index.browser"), exports);
|
|
18
|
-
__exportStar(require("./nodejs"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SequelizeUtils } from './SequelizeUtils';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./TryCatch";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|