@pangza/express 0.0.0-stage → 1.0.0
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/Application/callbackArgs.d.ts +5 -0
- package/Application/callbackArgs.d.ts.map +1 -0
- package/Application/callbackArgs.js +98 -0
- package/Application/callbackArgs.js.map +1 -0
- package/Application/decorators.d.ts +29 -0
- package/Application/decorators.d.ts.map +1 -0
- package/Application/decorators.js +181 -0
- package/Application/decorators.js.map +1 -0
- package/Application/index.d.ts +49 -0
- package/Application/index.d.ts.map +1 -0
- package/Application/index.js +504 -0
- package/Application/index.js.map +1 -0
- package/Application/lifecycle.d.ts +8 -0
- package/Application/lifecycle.d.ts.map +1 -0
- package/Application/lifecycle.js +96 -0
- package/Application/lifecycle.js.map +1 -0
- package/Application/metadata.d.ts +32 -0
- package/Application/metadata.d.ts.map +1 -0
- package/Application/metadata.js +230 -0
- package/Application/metadata.js.map +1 -0
- package/Application/processGuards.d.ts +2 -0
- package/Application/processGuards.d.ts.map +1 -0
- package/Application/processGuards.js +18 -0
- package/Application/processGuards.js.map +1 -0
- package/Application/types.d.ts +42 -0
- package/Application/types.d.ts.map +1 -0
- package/Application/types.js +13 -0
- package/Application/types.js.map +1 -0
- package/Application/warmup.d.ts +2 -0
- package/Application/warmup.d.ts.map +1 -0
- package/Application/warmup.js +64 -0
- package/Application/warmup.js.map +1 -0
- package/Auth/AuthUtil.d.ts +36 -0
- package/Auth/AuthUtil.d.ts.map +1 -0
- package/Auth/AuthUtil.js +305 -0
- package/Auth/AuthUtil.js.map +1 -0
- package/Auth/context.d.ts +5 -0
- package/Auth/context.d.ts.map +1 -0
- package/Auth/context.js +10 -0
- package/Auth/context.js.map +1 -0
- package/Auth/errors.d.ts +15 -0
- package/Auth/errors.d.ts.map +1 -0
- package/Auth/errors.js +34 -0
- package/Auth/errors.js.map +1 -0
- package/Auth/flag.d.ts +2 -0
- package/Auth/flag.d.ts.map +1 -0
- package/Auth/flag.js +5 -0
- package/Auth/flag.js.map +1 -0
- package/Auth/index.d.ts +11 -0
- package/Auth/index.d.ts.map +1 -0
- package/Auth/index.js +128 -0
- package/Auth/index.js.map +1 -0
- package/Auth/store.d.ts +47 -0
- package/Auth/store.d.ts.map +1 -0
- package/Auth/store.js +151 -0
- package/Auth/store.js.map +1 -0
- package/Auth/token.d.ts +10 -0
- package/Auth/token.d.ts.map +1 -0
- package/Auth/token.js +74 -0
- package/Auth/token.js.map +1 -0
- package/Auth/types.d.ts +76 -0
- package/Auth/types.d.ts.map +1 -0
- package/Auth/types.js +3 -0
- package/Auth/types.js.map +1 -0
- package/Exception/decorators.d.ts +4 -0
- package/Exception/decorators.d.ts.map +1 -0
- package/Exception/decorators.js +40 -0
- package/Exception/decorators.js.map +1 -0
- package/Exception/handler.d.ts +3 -0
- package/Exception/handler.d.ts.map +1 -0
- package/Exception/handler.js +96 -0
- package/Exception/handler.js.map +1 -0
- package/Exception/index.d.ts +9 -0
- package/Exception/index.d.ts.map +1 -0
- package/Exception/index.js +34 -0
- package/Exception/index.js.map +1 -0
- package/Exception/registry.d.ts +6 -0
- package/Exception/registry.d.ts.map +1 -0
- package/Exception/registry.js +60 -0
- package/Exception/registry.js.map +1 -0
- package/Exception/types.d.ts +27 -0
- package/Exception/types.d.ts.map +1 -0
- package/Exception/types.js +15 -0
- package/Exception/types.js.map +1 -0
- package/Json/ObjectMapper.d.ts +13 -0
- package/Json/ObjectMapper.d.ts.map +1 -0
- package/Json/ObjectMapper.js +184 -0
- package/Json/ObjectMapper.js.map +1 -0
- package/Json/beanKeys.d.ts +3 -0
- package/Json/beanKeys.d.ts.map +1 -0
- package/Json/beanKeys.js +29 -0
- package/Json/beanKeys.js.map +1 -0
- package/Json/convert.d.ts +11 -0
- package/Json/convert.d.ts.map +1 -0
- package/Json/convert.js +89 -0
- package/Json/convert.js.map +1 -0
- package/Json/decorators.d.ts +15 -0
- package/Json/decorators.d.ts.map +1 -0
- package/Json/decorators.js +80 -0
- package/Json/decorators.js.map +1 -0
- package/Json/index.d.ts +13 -0
- package/Json/index.d.ts.map +1 -0
- package/Json/index.js +39 -0
- package/Json/index.js.map +1 -0
- package/Json/types.d.ts +27 -0
- package/Json/types.d.ts.map +1 -0
- package/Json/types.js +11 -0
- package/Json/types.js.map +1 -0
- package/Log/decorators.d.ts +3 -0
- package/Log/decorators.d.ts.map +1 -0
- package/Log/decorators.js +10 -0
- package/Log/decorators.js.map +1 -0
- package/Log/flag.d.ts +2 -0
- package/Log/flag.d.ts.map +1 -0
- package/Log/flag.js +5 -0
- package/Log/flag.js.map +1 -0
- package/Log/index.d.ts +9 -0
- package/Log/index.d.ts.map +1 -0
- package/Log/index.js +33 -0
- package/Log/index.js.map +1 -0
- package/Log/ip.d.ts +14 -0
- package/Log/ip.d.ts.map +1 -0
- package/Log/ip.js +125 -0
- package/Log/ip.js.map +1 -0
- package/Log/recorder.d.ts +18 -0
- package/Log/recorder.d.ts.map +1 -0
- package/Log/recorder.js +144 -0
- package/Log/recorder.js.map +1 -0
- package/Log/types.d.ts +53 -0
- package/Log/types.d.ts.map +1 -0
- package/Log/types.js +21 -0
- package/Log/types.js.map +1 -0
- package/Logger/index.d.ts +18 -0
- package/Logger/index.d.ts.map +1 -0
- package/Logger/index.js +150 -0
- package/Logger/index.js.map +1 -0
- package/Logger/types.d.ts +13 -0
- package/Logger/types.d.ts.map +1 -0
- package/Logger/types.js +3 -0
- package/Logger/types.js.map +1 -0
- package/ORM/BaseMapper.d.ts +54 -0
- package/ORM/BaseMapper.d.ts.map +1 -0
- package/ORM/BaseMapper.js +593 -0
- package/ORM/BaseMapper.js.map +1 -0
- package/ORM/DataSource.d.ts +47 -0
- package/ORM/DataSource.d.ts.map +1 -0
- package/ORM/DataSource.js +336 -0
- package/ORM/DataSource.js.map +1 -0
- package/ORM/Db.d.ts +43 -0
- package/ORM/Db.d.ts.map +1 -0
- package/ORM/Db.js +198 -0
- package/ORM/Db.js.map +1 -0
- package/ORM/IdType.d.ts +10 -0
- package/ORM/IdType.d.ts.map +1 -0
- package/ORM/IdType.js +22 -0
- package/ORM/IdType.js.map +1 -0
- package/ORM/QueryWrapper.d.ts +58 -0
- package/ORM/QueryWrapper.d.ts.map +1 -0
- package/ORM/QueryWrapper.js +289 -0
- package/ORM/QueryWrapper.js.map +1 -0
- package/ORM/config.d.ts +6 -0
- package/ORM/config.d.ts.map +1 -0
- package/ORM/config.js +70 -0
- package/ORM/config.js.map +1 -0
- package/ORM/dialect.d.ts +24 -0
- package/ORM/dialect.d.ts.map +1 -0
- package/ORM/dialect.js +169 -0
- package/ORM/dialect.js.map +1 -0
- package/ORM/entityDecorators.d.ts +39 -0
- package/ORM/entityDecorators.d.ts.map +1 -0
- package/ORM/entityDecorators.js +131 -0
- package/ORM/entityDecorators.js.map +1 -0
- package/ORM/errors.d.ts +9 -0
- package/ORM/errors.d.ts.map +1 -0
- package/ORM/errors.js +20 -0
- package/ORM/errors.js.map +1 -0
- package/ORM/fieldSelect.d.ts +25 -0
- package/ORM/fieldSelect.d.ts.map +1 -0
- package/ORM/fieldSelect.js +49 -0
- package/ORM/fieldSelect.js.map +1 -0
- package/ORM/fill.d.ts +6 -0
- package/ORM/fill.d.ts.map +1 -0
- package/ORM/fill.js +45 -0
- package/ORM/fill.js.map +1 -0
- package/ORM/hydrate.d.ts +12 -0
- package/ORM/hydrate.d.ts.map +1 -0
- package/ORM/hydrate.js +304 -0
- package/ORM/hydrate.js.map +1 -0
- package/ORM/identifier.d.ts +8 -0
- package/ORM/identifier.d.ts.map +1 -0
- package/ORM/identifier.js +47 -0
- package/ORM/identifier.js.map +1 -0
- package/ORM/index.d.ts +39 -0
- package/ORM/index.d.ts.map +1 -0
- package/ORM/index.js +113 -0
- package/ORM/index.js.map +1 -0
- package/ORM/relation.d.ts +53 -0
- package/ORM/relation.d.ts.map +1 -0
- package/ORM/relation.js +143 -0
- package/ORM/relation.js.map +1 -0
- package/ORM/resultMap.d.ts +3 -0
- package/ORM/resultMap.d.ts.map +1 -0
- package/ORM/resultMap.js +21 -0
- package/ORM/resultMap.js.map +1 -0
- package/ORM/security.d.ts +5 -0
- package/ORM/security.d.ts.map +1 -0
- package/ORM/security.js +39 -0
- package/ORM/security.js.map +1 -0
- package/ORM/sqlDecorators.d.ts +15 -0
- package/ORM/sqlDecorators.d.ts.map +1 -0
- package/ORM/sqlDecorators.js +106 -0
- package/ORM/sqlDecorators.js.map +1 -0
- package/ORM/sqlLog.d.ts +20 -0
- package/ORM/sqlLog.d.ts.map +1 -0
- package/ORM/sqlLog.js +172 -0
- package/ORM/sqlLog.js.map +1 -0
- package/ORM/sqlTemplate.d.ts +13 -0
- package/ORM/sqlTemplate.d.ts.map +1 -0
- package/ORM/sqlTemplate.js +89 -0
- package/ORM/sqlTemplate.js.map +1 -0
- package/ORM/table.d.ts +8 -0
- package/ORM/table.d.ts.map +1 -0
- package/ORM/table.js +45 -0
- package/ORM/table.js.map +1 -0
- package/ORM/tableSearch.d.ts +43 -0
- package/ORM/tableSearch.d.ts.map +1 -0
- package/ORM/tableSearch.js +205 -0
- package/ORM/tableSearch.js.map +1 -0
- package/ORM/transactional.d.ts +7 -0
- package/ORM/transactional.d.ts.map +1 -0
- package/ORM/transactional.js +43 -0
- package/ORM/transactional.js.map +1 -0
- package/ORM/types.d.ts +92 -0
- package/ORM/types.d.ts.map +1 -0
- package/ORM/types.js +3 -0
- package/ORM/types.js.map +1 -0
- package/ORM/xml/MapperXml.d.ts +10 -0
- package/ORM/xml/MapperXml.d.ts.map +1 -0
- package/ORM/xml/MapperXml.js +79 -0
- package/ORM/xml/MapperXml.js.map +1 -0
- package/ORM/xml/execute.d.ts +10 -0
- package/ORM/xml/execute.d.ts.map +1 -0
- package/ORM/xml/execute.js +53 -0
- package/ORM/xml/execute.js.map +1 -0
- package/ORM/xml/index.d.ts +11 -0
- package/ORM/xml/index.d.ts.map +1 -0
- package/ORM/xml/index.js +29 -0
- package/ORM/xml/index.js.map +1 -0
- package/ORM/xml/loadMappers.d.ts +10 -0
- package/ORM/xml/loadMappers.d.ts.map +1 -0
- package/ORM/xml/loadMappers.js +162 -0
- package/ORM/xml/loadMappers.js.map +1 -0
- package/ORM/xml/parseMapperXml.d.ts +3 -0
- package/ORM/xml/parseMapperXml.d.ts.map +1 -0
- package/ORM/xml/parseMapperXml.js +217 -0
- package/ORM/xml/parseMapperXml.js.map +1 -0
- package/ORM/xml/registry.d.ts +15 -0
- package/ORM/xml/registry.d.ts.map +1 -0
- package/ORM/xml/registry.js +57 -0
- package/ORM/xml/registry.js.map +1 -0
- package/ORM/xml/renderSql.d.ts +4 -0
- package/ORM/xml/renderSql.d.ts.map +1 -0
- package/ORM/xml/renderSql.js +178 -0
- package/ORM/xml/renderSql.js.map +1 -0
- package/ORM/xml/types.d.ts +50 -0
- package/ORM/xml/types.d.ts.map +1 -0
- package/ORM/xml/types.js +3 -0
- package/ORM/xml/types.js.map +1 -0
- package/ORM/xml/xmlMapper.d.ts +10 -0
- package/ORM/xml/xmlMapper.d.ts.map +1 -0
- package/ORM/xml/xmlMapper.js +44 -0
- package/ORM/xml/xmlMapper.js.map +1 -0
- package/README.md +41 -2
- package/Redis/Redis.d.ts +65 -0
- package/Redis/Redis.d.ts.map +1 -0
- package/Redis/Redis.js +622 -0
- package/Redis/Redis.js.map +1 -0
- package/Redis/cache.d.ts +4 -0
- package/Redis/cache.d.ts.map +1 -0
- package/Redis/cache.js +70 -0
- package/Redis/cache.js.map +1 -0
- package/Redis/decorators.d.ts +5 -0
- package/Redis/decorators.d.ts.map +1 -0
- package/Redis/decorators.js +20 -0
- package/Redis/decorators.js.map +1 -0
- package/Redis/errors.d.ts +9 -0
- package/Redis/errors.d.ts.map +1 -0
- package/Redis/errors.js +20 -0
- package/Redis/errors.js.map +1 -0
- package/Redis/index.d.ts +9 -0
- package/Redis/index.d.ts.map +1 -0
- package/Redis/index.js +36 -0
- package/Redis/index.js.map +1 -0
- package/Redis/rateLimit.d.ts +8 -0
- package/Redis/rateLimit.d.ts.map +1 -0
- package/Redis/rateLimit.js +82 -0
- package/Redis/rateLimit.js.map +1 -0
- package/Redis/redisson/RCountDownLatch.d.ts +12 -0
- package/Redis/redisson/RCountDownLatch.d.ts.map +1 -0
- package/Redis/redisson/RCountDownLatch.js +48 -0
- package/Redis/redisson/RCountDownLatch.js.map +1 -0
- package/Redis/redisson/RFairLock.d.ts +4 -0
- package/Redis/redisson/RFairLock.d.ts.map +1 -0
- package/Redis/redisson/RFairLock.js +29 -0
- package/Redis/redisson/RFairLock.js.map +1 -0
- package/Redis/redisson/RLock.d.ts +34 -0
- package/Redis/redisson/RLock.d.ts.map +1 -0
- package/Redis/redisson/RLock.js +146 -0
- package/Redis/redisson/RLock.js.map +1 -0
- package/Redis/redisson/RMultiLock.d.ts +15 -0
- package/Redis/redisson/RMultiLock.d.ts.map +1 -0
- package/Redis/redisson/RMultiLock.js +90 -0
- package/Redis/redisson/RMultiLock.js.map +1 -0
- package/Redis/redisson/RReadWriteLock.d.ts +9 -0
- package/Redis/redisson/RReadWriteLock.d.ts.map +1 -0
- package/Redis/redisson/RReadWriteLock.js +51 -0
- package/Redis/redisson/RReadWriteLock.js.map +1 -0
- package/Redis/redisson/RSemaphore.d.ts +13 -0
- package/Redis/redisson/RSemaphore.d.ts.map +1 -0
- package/Redis/redisson/RSemaphore.js +54 -0
- package/Redis/redisson/RSemaphore.js.map +1 -0
- package/Redis/redisson/Redisson.d.ts +30 -0
- package/Redis/redisson/Redisson.d.ts.map +1 -0
- package/Redis/redisson/Redisson.js +93 -0
- package/Redis/redisson/Redisson.js.map +1 -0
- package/Redis/redisson/index.d.ts +12 -0
- package/Redis/redisson/index.d.ts.map +1 -0
- package/Redis/redisson/index.js +32 -0
- package/Redis/redisson/index.js.map +1 -0
- package/Redis/redisson/objects.d.ts +116 -0
- package/Redis/redisson/objects.d.ts.map +1 -0
- package/Redis/redisson/objects.js +384 -0
- package/Redis/redisson/objects.js.map +1 -0
- package/Redis/redisson/scripts.d.ts +13 -0
- package/Redis/redisson/scripts.d.ts.map +1 -0
- package/Redis/redisson/scripts.js +187 -0
- package/Redis/redisson/scripts.js.map +1 -0
- package/Redis/redisson/types.d.ts +129 -0
- package/Redis/redisson/types.d.ts.map +1 -0
- package/Redis/redisson/types.js +8 -0
- package/Redis/redisson/types.js.map +1 -0
- package/Redis/redisson/utils.d.ts +9 -0
- package/Redis/redisson/utils.d.ts.map +1 -0
- package/Redis/redisson/utils.js +78 -0
- package/Redis/redisson/utils.js.map +1 -0
- package/Redis/types.d.ts +82 -0
- package/Redis/types.d.ts.map +1 -0
- package/Redis/types.js +23 -0
- package/Redis/types.js.map +1 -0
- package/Service/BaseService.d.ts +18 -0
- package/Service/BaseService.d.ts.map +1 -0
- package/Service/BaseService.js +46 -0
- package/Service/BaseService.js.map +1 -0
- package/Service/MapperType.d.ts +18 -0
- package/Service/MapperType.d.ts.map +1 -0
- package/Service/MapperType.js +46 -0
- package/Service/MapperType.js.map +1 -0
- package/Service/bean.d.ts +16 -0
- package/Service/bean.d.ts.map +1 -0
- package/Service/bean.js +72 -0
- package/Service/bean.js.map +1 -0
- package/Service/container.d.ts +18 -0
- package/Service/container.d.ts.map +1 -0
- package/Service/container.js +66 -0
- package/Service/container.js.map +1 -0
- package/Service/decorators.d.ts +12 -0
- package/Service/decorators.d.ts.map +1 -0
- package/Service/decorators.js +148 -0
- package/Service/decorators.js.map +1 -0
- package/Service/index.d.ts +11 -0
- package/Service/index.d.ts.map +1 -0
- package/Service/index.js +32 -0
- package/Service/index.js.map +1 -0
- package/Service/types.d.ts +19 -0
- package/Service/types.d.ts.map +1 -0
- package/Service/types.js +18 -0
- package/Service/types.js.map +1 -0
- package/Validate/decorators.d.ts +18 -0
- package/Validate/decorators.d.ts.map +1 -0
- package/Validate/decorators.js +77 -0
- package/Validate/decorators.js.map +1 -0
- package/Validate/engine.d.ts +5 -0
- package/Validate/engine.d.ts.map +1 -0
- package/Validate/engine.js +78 -0
- package/Validate/engine.js.map +1 -0
- package/Validate/index.d.ts +6 -0
- package/Validate/index.d.ts.map +1 -0
- package/Validate/index.js +28 -0
- package/Validate/index.js.map +1 -0
- package/Validate/rules.d.ts +11 -0
- package/Validate/rules.d.ts.map +1 -0
- package/Validate/rules.js +120 -0
- package/Validate/rules.js.map +1 -0
- package/Validate/types.d.ts +22 -0
- package/Validate/types.d.ts.map +1 -0
- package/Validate/types.js +17 -0
- package/Validate/types.js.map +1 -0
- package/config/index.d.ts +104 -0
- package/config/index.d.ts.map +1 -0
- package/config/index.js +330 -0
- package/config/index.js.map +1 -0
- package/encrypt/AESUtil.d.ts +5 -0
- package/encrypt/AESUtil.d.ts.map +1 -0
- package/encrypt/AESUtil.js +36 -0
- package/encrypt/AESUtil.js.map +1 -0
- package/encrypt/DynamicAesKeyManager.d.ts +9 -0
- package/encrypt/DynamicAesKeyManager.d.ts.map +1 -0
- package/encrypt/DynamicAesKeyManager.js +46 -0
- package/encrypt/DynamicAesKeyManager.js.map +1 -0
- package/encrypt/index.d.ts +3 -0
- package/encrypt/index.d.ts.map +1 -0
- package/encrypt/index.js +8 -0
- package/encrypt/index.js.map +1 -0
- package/index.d.ts +31 -0
- package/index.d.ts.map +1 -0
- package/index.js +252 -0
- package/index.js.map +1 -0
- package/langchain/decorators.d.ts +2 -0
- package/langchain/decorators.d.ts.map +1 -0
- package/langchain/decorators.js +6 -0
- package/langchain/decorators.js.map +1 -0
- package/langchain/index.d.ts +1 -0
- package/langchain/index.d.ts.map +1 -0
- package/langchain/index.js +2 -0
- package/langchain/index.js.map +1 -0
- package/package.json +110 -4
- package/schedule/ScheduleManager.d.ts +25 -0
- package/schedule/ScheduleManager.d.ts.map +1 -0
- package/schedule/ScheduleManager.js +125 -0
- package/schedule/ScheduleManager.js.map +1 -0
- package/types/enums.d.ts +11 -0
- package/types/enums.d.ts.map +1 -0
- package/types/enums.js +15 -0
- package/types/enums.js.map +1 -0
- package/utils/case.d.ts +6 -0
- package/utils/case.d.ts.map +1 -0
- package/utils/case.js +32 -0
- package/utils/case.js.map +1 -0
- package/utils/entity/PageResult/index.d.ts +20 -0
- package/utils/entity/PageResult/index.d.ts.map +1 -0
- package/utils/entity/PageResult/index.js +15 -0
- package/utils/entity/PageResult/index.js.map +1 -0
- package/utils/entity/ResponseData/index.d.ts +11 -0
- package/utils/entity/ResponseData/index.d.ts.map +1 -0
- package/utils/entity/ResponseData/index.js +25 -0
- package/utils/entity/ResponseData/index.js.map +1 -0
- package/utils/id.d.ts +2 -0
- package/utils/id.d.ts.map +1 -0
- package/utils/id.js +9 -0
- package/utils/id.js.map +1 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AESUtil = void 0;
|
|
7
|
+
const crypto_1 = __importDefault(require("crypto"));
|
|
8
|
+
exports.AESUtil = {
|
|
9
|
+
encrypt(plainText, key) {
|
|
10
|
+
const keyBuf = Buffer.from(key, "utf8");
|
|
11
|
+
if (keyBuf.length !== 16) {
|
|
12
|
+
throw new Error("AES 密钥长度必须为 16 字节");
|
|
13
|
+
}
|
|
14
|
+
const cipher = crypto_1.default.createCipheriv("aes-128-ecb", keyBuf, null);
|
|
15
|
+
cipher.setAutoPadding(true);
|
|
16
|
+
const encrypted = Buffer.concat([
|
|
17
|
+
cipher.update(Buffer.from(plainText, "utf8")),
|
|
18
|
+
cipher.final(),
|
|
19
|
+
]);
|
|
20
|
+
return encrypted.toString("base64");
|
|
21
|
+
},
|
|
22
|
+
decrypt(cipherText, key) {
|
|
23
|
+
const keyBuf = Buffer.from(key, "utf8");
|
|
24
|
+
if (keyBuf.length !== 16) {
|
|
25
|
+
throw new Error("AES 密钥长度必须为 16 字节");
|
|
26
|
+
}
|
|
27
|
+
const decipher = crypto_1.default.createDecipheriv("aes-128-ecb", keyBuf, null);
|
|
28
|
+
decipher.setAutoPadding(true);
|
|
29
|
+
const decrypted = Buffer.concat([
|
|
30
|
+
decipher.update(Buffer.from(cipherText, "base64")),
|
|
31
|
+
decipher.final(),
|
|
32
|
+
]);
|
|
33
|
+
return decrypted.toString("utf8");
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=AESUtil.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AESUtil.js","sourceRoot":"","sources":["../../../../src/framework/encrypt/AESUtil.ts"],"names":[],"mappings":";;;;;;AAAA,oDAA4B;AAMf,QAAA,OAAO,GAAG;IACrB,OAAO,CAAC,SAAiB,EAAE,GAAW;QACpC,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;QACxC,IAAI,MAAM,CAAC,MAAM,KAAK,EAAE,EAAE,CAAC;YACzB,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;QACvC,CAAC;QACD,MAAM,MAAM,GAAG,gBAAM,CAAC,cAAc,CAAC,aAAa,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;QAClE,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QAC5B,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC;YAC9B,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YAC7C,MAAM,CAAC,KAAK,EAAE;SACf,CAAC,CAAC;QACH,OAAO,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACtC,CAAC;IAED,OAAO,CAAC,UAAkB,EAAE,GAAW;QACrC,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;QACxC,IAAI,MAAM,CAAC,MAAM,KAAK,EAAE,EAAE,CAAC;YACzB,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;QACvC,CAAC;QACD,MAAM,QAAQ,GAAG,gBAAM,CAAC,gBAAgB,CAAC,aAAa,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;QACtE,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QAC9B,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC;YAC9B,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;YAClD,QAAQ,CAAC,KAAK,EAAE;SACjB,CAAC,CAAC;QACH,OAAO,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DynamicAesKeyManager.d.ts","sourceRoot":"","sources":["../../../../src/framework/encrypt/DynamicAesKeyManager.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,oBAAoB;0BACT;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE;oCAkB3B,MAAM,GAAG,MAAM;yBAW1B,MAAM,GAAG,IAAI;CAOnC,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DynamicAesKeyManager = void 0;
|
|
7
|
+
const crypto_1 = __importDefault(require("crypto"));
|
|
8
|
+
const KEY_EXPIRE_MS = 300000;
|
|
9
|
+
const AES_KEY_LENGTH = 16;
|
|
10
|
+
const keyMap = new Map();
|
|
11
|
+
exports.DynamicAesKeyManager = {
|
|
12
|
+
generateDynamicKey() {
|
|
13
|
+
const aesKey = crypto_1.default.randomUUID().replace(/-/g, "").slice(0, AES_KEY_LENGTH);
|
|
14
|
+
if (aesKey.length !== AES_KEY_LENGTH) {
|
|
15
|
+
throw new Error(`生成的AES密钥长度不符合要求:${aesKey.length}`);
|
|
16
|
+
}
|
|
17
|
+
const sessionId = crypto_1.default.randomUUID();
|
|
18
|
+
const timer = setTimeout(() => {
|
|
19
|
+
keyMap.delete(sessionId);
|
|
20
|
+
}, KEY_EXPIRE_MS);
|
|
21
|
+
timer.unref?.();
|
|
22
|
+
keyMap.set(sessionId, { key: aesKey, timer });
|
|
23
|
+
return {
|
|
24
|
+
sessionId,
|
|
25
|
+
aesKey: Buffer.from(aesKey, "utf8").toString("base64"),
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
getAesKeyBySessionId(sessionId) {
|
|
29
|
+
const entry = keyMap.get(sessionId);
|
|
30
|
+
if (!entry) {
|
|
31
|
+
throw new Error("密钥已过期或不存在");
|
|
32
|
+
}
|
|
33
|
+
if (entry.key.length !== AES_KEY_LENGTH) {
|
|
34
|
+
throw new Error("存储的AES密钥长度异常");
|
|
35
|
+
}
|
|
36
|
+
return entry.key;
|
|
37
|
+
},
|
|
38
|
+
removeKey(sessionId) {
|
|
39
|
+
const entry = keyMap.get(sessionId);
|
|
40
|
+
if (entry) {
|
|
41
|
+
clearTimeout(entry.timer);
|
|
42
|
+
keyMap.delete(sessionId);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=DynamicAesKeyManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DynamicAesKeyManager.js","sourceRoot":"","sources":["../../../../src/framework/encrypt/DynamicAesKeyManager.ts"],"names":[],"mappings":";;;;;;AAAA,oDAA4B;AAE5B,MAAM,aAAa,GAAG,MAAO,CAAC;AAC9B,MAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,MAAM,MAAM,GAAG,IAAI,GAAG,EAAkD,CAAC;AAK5D,QAAA,oBAAoB,GAAG;IAClC,kBAAkB;QAChB,MAAM,MAAM,GAAG,gBAAM,CAAC,UAAU,EAA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AC;YAC1B,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/framework/encrypt/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
|
package/encrypt/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DynamicAesKeyManager = exports.AESUtil = void 0;
|
|
4
|
+
var AESUtil_1 = require("./AESUtil");
|
|
5
|
+
Object.defineProperty(exports, "AESUtil", { enumerable: true, get: function () { return AESUtil_1.AESUtil; } });
|
|
6
|
+
var DynamicAesKeyManager_1 = require("./DynamicAesKeyManager");
|
|
7
|
+
Object.defineProperty(exports, "DynamicAesKeyManager", { enumerable: true, get: function () { return DynamicAesKeyManager_1.DynamicAesKeyManager; } });
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/framework/encrypt/index.ts"],"names":[],"mappings":";;;AAGA,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { default as Application, applicationStart, ParamType, Controller, GetMapping, PostMapping, PutMapping, DeleteMapping, AuthCheckLogin, AuthCheckRole, AuthCheckPermission, AuthIgnore, Log, Flux, RequestBody, RequestQuery, RequestPath, RequestHeader, RequestCookie, Value, BusinessType, OperType, RateLimiter, RepeatSubmit, RateLimiterType, Transactional, getLogger, logger, configureLogger, JsonFormat, JsonInclude, JsonIncludeType, JsonProperty, ObjectMapper, convert, copyProperties, pick, ControllerAdvice, ExceptionHandler, BizException, registerHandler, Validate, NotNull, Min, Max, Email, Phone, Custom, validateHandler, ValidationError, } from "./Application";
|
|
2
|
+
export type { RouteOption, ApplicationInit, ApplicationDestroy, } from "./Application";
|
|
3
|
+
export { default as Auth, matchesIgnore, isGloballyIgnored, AuthUtil, getAuthOptions, isSessionExpired, AUTH_MIDDLEWARE_FLAG, AuthError, NotLoginError, NotPermissionError, NotRoleError, createAuthToken, generateStyleToken, verifyAuthToken, } from "./Auth";
|
|
4
|
+
export type { AuthOptions, AuthSession, LoginId, LoginOptions, TokenStyle, AuthCheckMode, ResolvedAuthOptions, } from "./Auth";
|
|
5
|
+
export { default as Redis, RATE_LIMIT_KEY, REPEAT_SUBMIT_KEY, CACHE_KEY, LOCK_KEY, GuardError, LockError, applyRateLimit, applyRepeatSubmit, Cacheable, CacheEvict, Redisson, createRedisson, defaultRedissonConfig, } from "./Redis";
|
|
6
|
+
export type { RedisConfig, RedisTlsConfig, RedisMode, RedisClusterConfig, RedisSentinelConfig, RateLimitOption, RateLimitMode, RepeatSubmitOption, RateLimiterTypeValue, CacheableOption, CacheEvictOption, TryLockOption, WithLockOption, LockHandle, RedissonClient, RedissonConfig, RLock, RReadWriteLock, RSemaphore, RCountDownLatch, RAtomicLong, RBucket, RMap, RSet, RList, RScoredSortedSet, RTopic, RRateLimiter, RBitSet, RQueue, } from "./Redis";
|
|
7
|
+
export { default as Db, BaseMapper, table, useTable, clearTableCache, QueryWrapper, TableSearch, OperTypeEnum, getTableSearchMeta, getQueryWrapper, getQueryWrapperAndPage, assertIdent, assertSafeUint, escapeLike, assertSafeLastSql, configureOrm, getOrmConfig, setMetaObjectHandler, getMetaObjectHandler, configureSqlLog, getSqlLogRuntime, renderSqlLog, detectSqlType, DEFAULT_SQL_LOG_FORMAT, OrmError, OptimisticLockError, Select, Insert, Update, Delete, Param, MAPPER_ENTITY_KEY, registerFieldSelect, getFieldSelects, getFieldSelect, hydrateFieldSelects, hydrateRelations, buildRowParamContext, ManyToOne, OneToMany, ManyToMany, getRelations, getRelation, MapperXml, xmlMapper, loadXmlMappers, parseMapperXml, renderStatementSql, parseMybatisSql, buildParamContext, TableName, TableId, TableField, getTableName, getEntityFields, getEntityIdField, getEntityTableMeta, applyEntityFieldFills, IdType, resolveIdType, setIdentifierGenerator, getIdentifierGenerator, defaultIdentifierGenerator, DataSource, getDialect, } from "./ORM";
|
|
8
|
+
export type { FieldSelectOptions, FieldSelectMeta, HydrateFieldSelectOptions, HydrateRelationsOptions, RelationMeta, ManyToOneOptions, OneToManyOptions, ManyToManyOptions, ParsedSql, MysqlConfig, MapperOptions, MapperTableOptions, PageQuery, IPage, SqlFragment, ResolvedOrmConfig, MetaObjectHandler, SqlLogParts, SqlLogInfo, SqlLogFormatFn, FieldFillValue, TableFieldOptions, TableIdOptions, EntityFieldMeta, EntityTableMeta, TableSearchOptions, TableSearchMeta, QueryWrapperAndPage, SqlExecuteOptions, SelectOptions, SelectQueryOptions, TransactionalOptions, TransactionPropagation, XmlMapperApi, MapperXmlOptions, DbType, Dialect, DataSourceConfig, IdTypeValue, IdentifierGenerator, } from "./ORM";
|
|
9
|
+
export { default as LogModule, LOG_MIDDLEWARE_FLAG, configureLog, recordOperationLog, isLogRegistered, getLogOptions, getClientIp, resolveIpAddress, normalizeIp, isInternalIp, } from "./Log";
|
|
10
|
+
export type { LogModuleOptions, LogRecordOption, BusinessTypeValue, OperTypeValue, OperationLogRecord, } from "./Log";
|
|
11
|
+
export { default as Logger, ensureUtf8Console, getRootLogger, } from "./Logger";
|
|
12
|
+
export type { PinoLogger, LoggerOptions, LogLevel } from "./Logger";
|
|
13
|
+
export { default as Json, formatDate, shouldOmitByInclude, getJsonFieldFormats, getJsonFieldFormat, getGlobalFieldFormat, getGlobalFieldInclude, getClassJsonInclude, getJsonFieldIncludes, getJsonFieldInclude, addBeanKey, getBeanKeys, } from "./Json";
|
|
14
|
+
export type { ConvertOptions, JsonFormatOptions, JsonIncludeOptions, ObjectMapperOptions, JsonFieldFormatMeta, JsonFieldIncludeMeta, } from "./Json";
|
|
15
|
+
export { default as Exception, handleException, registerExceptionHandler, clearExceptionHandlers, getExceptionHandlers, resolveExceptionHandler, } from "./Exception";
|
|
16
|
+
export type { ExceptionContext, ExceptionHandlerFn, ExceptionHandlerResult, ExceptionHandlerMeta, } from "./Exception";
|
|
17
|
+
export { notNull, min, max, email, phone, custom, getClassRules, isMethodValidate, getMethodParamTypes, validateHandlerSync, validateMethodArgs, } from "./Validate";
|
|
18
|
+
export type { ValidateRule, RuleOptions, FieldError, ClassRuleMap, ValidatorParam, } from "./Validate";
|
|
19
|
+
export { Container, Component, Resource, Bean, Mapper, Service, Inject, BaseService, MapperType, MAPPER_DELEGATE_METHODS, } from "./Service";
|
|
20
|
+
export type { Ctor, IService, MapperDelegateMethod, BeanToken, BeanOptions, BeanMethodMeta, } from "./Service";
|
|
21
|
+
export { PORT, trustProxy, redisConfig, mysqlConfig, UPLOAD_PATH, UPLOAD_URL_PREFIX, ormEnvConfig, getConfig, getConfigValue, parseValueExpression, coerceConfigScalar, configProfile, configFiles, } from "./config";
|
|
22
|
+
export { AESUtil, DynamicAesKeyManager } from "./encrypt";
|
|
23
|
+
export { ScheduleManager, initScheduleJobs, configureSchedule, convertQuartzCron, validateCron, } from "./schedule/ScheduleManager";
|
|
24
|
+
export type { ScheduleJobEntity, ScheduleJobLoader, ScheduleModuleOptions, } from "./schedule/ScheduleManager";
|
|
25
|
+
export { default as ResponseData } from "./utils/entity/ResponseData";
|
|
26
|
+
export { toPageResult } from "./utils/entity/PageResult";
|
|
27
|
+
export type { PageResult, PageRequest } from "./utils/entity/PageResult";
|
|
28
|
+
export { snakeToCamel, rowToCamel, rowsToCamel, omitPassword, } from "./utils/case";
|
|
29
|
+
export { nextId } from "./utils/id";
|
|
30
|
+
export { ResponseCode } from "./types/enums";
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/framework/index.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,OAAO,IAAI,WAAW,EACtB,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,UAAU,EACV,WAAW,EACX,UAAU,EACV,aAAa,EACb,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,UAAU,EACV,GAAG,EACH,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,WAAW,EACX,aAAa,EACb,aAAa,EACb,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,eAAe,EACf,aAAa,EACb,SAAS,EACT,MAAM,EACN,eAAe,EACf,UAAU,EACV,WAAW,EACX,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,cAAc,EACd,IAAI,EACJ,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,OAAO,EACP,GAAG,EACH,GAAG,EACH,KAAK,EACL,KAAK,EACL,MAAM,EACN,eAAe,EACf,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,WAAW,EACX,eAAe,EACf,kBAAkB,GACnB,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,OAAO,IAAI,IAAI,EACf,aAAa,EACb,iBAAiB,EACjB,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,eAAe,GAChB,MAAM,QAAQ,CAAC;AAChB,YAAY,EACV,WAAW,EACX,WAAW,EACX,OAAO,EACP,YAAY,EACZ,UAAU,EACV,aAAa,EACb,mBAAmB,GACpB,MAAM,QAAQ,CAAC;AAGhB,OAAO,EACL,OAAO,IAAI,KAAK,EAChB,cAAc,EACd,iBAAiB,EACjB,SAAS,EACT,QAAQ,EACR,UAAU,EAC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,YAAY,GACb,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EACL,YAAY,EACZ,UAAU,EACV,WAAW,EACX,YAAY,GACb,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAGpC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC"}
|
package/index.js
ADDED
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ValidationError = exports.validateHandler = exports.Custom = exports.Phone = exports.Email = exports.Max = exports.Min = exports.NotNull = exports.Validate = exports.registerHandler = exports.BizException = exports.ExceptionHandler = exports.ControllerAdvice = exports.pick = exports.copyProperties = exports.convert = exports.ObjectMapper = exports.JsonProperty = exports.JsonIncludeType = exports.JsonInclude = exports.JsonFormat = exports.configureLogger = exports.logger = exports.getLogger = exports.Transactional = exports.RateLimiterType = exports.RepeatSubmit = exports.RateLimiter = exports.OperType = exports.BusinessType = exports.Value = exports.RequestCookie = exports.RequestHeader = exports.RequestPath = exports.RequestQuery = exports.RequestBody = exports.Flux = exports.Log = exports.AuthIgnore = exports.AuthCheckPermission = exports.AuthCheckRole = exports.AuthCheckLogin = exports.DeleteMapping = exports.PutMapping = exports.PostMapping = exports.GetMapping = exports.Controller = exports.ParamType = exports.applicationStart = exports.Application = void 0;
|
|
7
|
+
exports.renderSqlLog = exports.getSqlLogRuntime = exports.configureSqlLog = exports.getMetaObjectHandler = exports.setMetaObjectHandler = exports.getOrmConfig = exports.configureOrm = exports.assertSafeLastSql = exports.escapeLike = exports.assertSafeUint = exports.assertIdent = exports.getQueryWrapperAndPage = exports.getQueryWrapper = exports.getTableSearchMeta = exports.OperTypeEnum = exports.TableSearch = exports.QueryWrapper = exports.clearTableCache = exports.useTable = exports.table = exports.BaseMapper = exports.Db = exports.defaultRedissonConfig = exports.createRedisson = exports.Redisson = exports.CacheEvict = exports.Cacheable = exports.applyRepeatSubmit = exports.applyRateLimit = exports.LockError = exports.GuardError = exports.LOCK_KEY = exports.CACHE_KEY = exports.REPEAT_SUBMIT_KEY = exports.RATE_LIMIT_KEY = exports.Redis = exports.verifyAuthToken = exports.generateStyleToken = exports.createAuthToken = exports.NotRoleError = exports.NotPermissionError = exports.NotLoginError = exports.AuthError = exports.AUTH_MIDDLEWARE_FLAG = exports.isSessionExpired = exports.getAuthOptions = exports.AuthUtil = exports.isGloballyIgnored = exports.matchesIgnore = exports.Auth = void 0;
|
|
8
|
+
exports.getClientIp = exports.getLogOptions = exports.isLogRegistered = exports.recordOperationLog = exports.configureLog = exports.LOG_MIDDLEWARE_FLAG = exports.LogModule = exports.getDialect = exports.DataSource = exports.defaultIdentifierGenerator = exports.getIdentifierGenerator = exports.setIdentifierGenerator = exports.resolveIdType = exports.IdType = exports.applyEntityFieldFills = exports.getEntityTableMeta = exports.getEntityIdField = exports.getEntityFields = exports.getTableName = exports.TableField = exports.TableId = exports.TableName = exports.buildParamContext = exports.parseMybatisSql = exports.renderStatementSql = exports.parseMapperXml = exports.loadXmlMappers = exports.xmlMapper = exports.MapperXml = exports.getRelation = exports.getRelations = exports.ManyToMany = exports.OneToMany = exports.ManyToOne = exports.buildRowParamContext = exports.hydrateRelations = exports.hydrateFieldSelects = exports.getFieldSelect = exports.getFieldSelects = exports.registerFieldSelect = exports.MAPPER_ENTITY_KEY = exports.Param = exports.Delete = exports.Update = exports.Insert = exports.Select = exports.OptimisticLockError = exports.OrmError = exports.DEFAULT_SQL_LOG_FORMAT = exports.detectSqlType = void 0;
|
|
9
|
+
exports.UPLOAD_PATH = exports.mysqlConfig = exports.redisConfig = exports.trustProxy = exports.PORT = exports.MAPPER_DELEGATE_METHODS = exports.MapperType = exports.BaseService = exports.Inject = exports.Service = exports.Mapper = exports.Bean = exports.Resource = exports.Component = exports.Container = exports.validateMethodArgs = exports.validateHandlerSync = exports.getMethodParamTypes = exports.isMethodValidate = exports.getClassRules = exports.custom = exports.phone = exports.email = exports.max = exports.min = exports.notNull = exports.resolveExceptionHandler = exports.getExceptionHandlers = exports.clearExceptionHandlers = exports.registerExceptionHandler = exports.handleException = exports.Exception = exports.getBeanKeys = exports.addBeanKey = exports.getJsonFieldInclude = exports.getJsonFieldIncludes = exports.getClassJsonInclude = exports.getGlobalFieldInclude = exports.getGlobalFieldFormat = exports.getJsonFieldFormat = exports.getJsonFieldFormats = exports.shouldOmitByInclude = exports.formatDate = exports.Json = exports.getRootLogger = exports.ensureUtf8Console = exports.Logger = exports.isInternalIp = exports.normalizeIp = exports.resolveIpAddress = void 0;
|
|
10
|
+
exports.ResponseCode = exports.nextId = exports.omitPassword = exports.rowsToCamel = exports.rowToCamel = exports.snakeToCamel = exports.toPageResult = exports.ResponseData = exports.validateCron = exports.convertQuartzCron = exports.configureSchedule = exports.initScheduleJobs = exports.ScheduleManager = exports.DynamicAesKeyManager = exports.AESUtil = exports.configFiles = exports.configProfile = exports.coerceConfigScalar = exports.parseValueExpression = exports.getConfigValue = exports.getConfig = exports.ormEnvConfig = exports.UPLOAD_URL_PREFIX = void 0;
|
|
11
|
+
var Application_1 = require("./Application");
|
|
12
|
+
Object.defineProperty(exports, "Application", { enumerable: true, get: function () { return __importDefault(Application_1).default; } });
|
|
13
|
+
Object.defineProperty(exports, "applicationStart", { enumerable: true, get: function () { return Application_1.applicationStart; } });
|
|
14
|
+
Object.defineProperty(exports, "ParamType", { enumerable: true, get: function () { return Application_1.ParamType; } });
|
|
15
|
+
Object.defineProperty(exports, "Controller", { enumerable: true, get: function () { return Application_1.Controller; } });
|
|
16
|
+
Object.defineProperty(exports, "GetMapping", { enumerable: true, get: function () { return Application_1.GetMapping; } });
|
|
17
|
+
Object.defineProperty(exports, "PostMapping", { enumerable: true, get: function () { return Application_1.PostMapping; } });
|
|
18
|
+
Object.defineProperty(exports, "PutMapping", { enumerable: true, get: function () { return Application_1.PutMapping; } });
|
|
19
|
+
Object.defineProperty(exports, "DeleteMapping", { enumerable: true, get: function () { return Application_1.DeleteMapping; } });
|
|
20
|
+
Object.defineProperty(exports, "AuthCheckLogin", { enumerable: true, get: function () { return Application_1.AuthCheckLogin; } });
|
|
21
|
+
Object.defineProperty(exports, "AuthCheckRole", { enumerable: true, get: function () { return Application_1.AuthCheckRole; } });
|
|
22
|
+
Object.defineProperty(exports, "AuthCheckPermission", { enumerable: true, get: function () { return Application_1.AuthCheckPermission; } });
|
|
23
|
+
Object.defineProperty(exports, "AuthIgnore", { enumerable: true, get: function () { return Application_1.AuthIgnore; } });
|
|
24
|
+
Object.defineProperty(exports, "Log", { enumerable: true, get: function () { return Application_1.Log; } });
|
|
25
|
+
Object.defineProperty(exports, "Flux", { enumerable: true, get: function () { return Application_1.Flux; } });
|
|
26
|
+
Object.defineProperty(exports, "RequestBody", { enumerable: true, get: function () { return Application_1.RequestBody; } });
|
|
27
|
+
Object.defineProperty(exports, "RequestQuery", { enumerable: true, get: function () { return Application_1.RequestQuery; } });
|
|
28
|
+
Object.defineProperty(exports, "RequestPath", { enumerable: true, get: function () { return Application_1.RequestPath; } });
|
|
29
|
+
Object.defineProperty(exports, "RequestHeader", { enumerable: true, get: function () { return Application_1.RequestHeader; } });
|
|
30
|
+
Object.defineProperty(exports, "RequestCookie", { enumerable: true, get: function () { return Application_1.RequestCookie; } });
|
|
31
|
+
Object.defineProperty(exports, "Value", { enumerable: true, get: function () { return Application_1.Value; } });
|
|
32
|
+
Object.defineProperty(exports, "BusinessType", { enumerable: true, get: function () { return Application_1.BusinessType; } });
|
|
33
|
+
Object.defineProperty(exports, "OperType", { enumerable: true, get: function () { return Application_1.OperType; } });
|
|
34
|
+
Object.defineProperty(exports, "RateLimiter", { enumerable: true, get: function () { return Application_1.RateLimiter; } });
|
|
35
|
+
Object.defineProperty(exports, "RepeatSubmit", { enumerable: true, get: function () { return Application_1.RepeatSubmit; } });
|
|
36
|
+
Object.defineProperty(exports, "RateLimiterType", { enumerable: true, get: function () { return Application_1.RateLimiterType; } });
|
|
37
|
+
Object.defineProperty(exports, "Transactional", { enumerable: true, get: function () { return Application_1.Transactional; } });
|
|
38
|
+
Object.defineProperty(exports, "getLogger", { enumerable: true, get: function () { return Application_1.getLogger; } });
|
|
39
|
+
Object.defineProperty(exports, "logger", { enumerable: true, get: function () { return Application_1.logger; } });
|
|
40
|
+
Object.defineProperty(exports, "configureLogger", { enumerable: true, get: function () { return Application_1.configureLogger; } });
|
|
41
|
+
Object.defineProperty(exports, "JsonFormat", { enumerable: true, get: function () { return Application_1.JsonFormat; } });
|
|
42
|
+
Object.defineProperty(exports, "JsonInclude", { enumerable: true, get: function () { return Application_1.JsonInclude; } });
|
|
43
|
+
Object.defineProperty(exports, "JsonIncludeType", { enumerable: true, get: function () { return Application_1.JsonIncludeType; } });
|
|
44
|
+
Object.defineProperty(exports, "JsonProperty", { enumerable: true, get: function () { return Application_1.JsonProperty; } });
|
|
45
|
+
Object.defineProperty(exports, "ObjectMapper", { enumerable: true, get: function () { return Application_1.ObjectMapper; } });
|
|
46
|
+
Object.defineProperty(exports, "convert", { enumerable: true, get: function () { return Application_1.convert; } });
|
|
47
|
+
Object.defineProperty(exports, "copyProperties", { enumerable: true, get: function () { return Application_1.copyProperties; } });
|
|
48
|
+
Object.defineProperty(exports, "pick", { enumerable: true, get: function () { return Application_1.pick; } });
|
|
49
|
+
Object.defineProperty(exports, "ControllerAdvice", { enumerable: true, get: function () { return Application_1.ControllerAdvice; } });
|
|
50
|
+
Object.defineProperty(exports, "ExceptionHandler", { enumerable: true, get: function () { return Application_1.ExceptionHandler; } });
|
|
51
|
+
Object.defineProperty(exports, "BizException", { enumerable: true, get: function () { return Application_1.BizException; } });
|
|
52
|
+
Object.defineProperty(exports, "registerHandler", { enumerable: true, get: function () { return Application_1.registerHandler; } });
|
|
53
|
+
Object.defineProperty(exports, "Validate", { enumerable: true, get: function () { return Application_1.Validate; } });
|
|
54
|
+
Object.defineProperty(exports, "NotNull", { enumerable: true, get: function () { return Application_1.NotNull; } });
|
|
55
|
+
Object.defineProperty(exports, "Min", { enumerable: true, get: function () { return Application_1.Min; } });
|
|
56
|
+
Object.defineProperty(exports, "Max", { enumerable: true, get: function () { return Application_1.Max; } });
|
|
57
|
+
Object.defineProperty(exports, "Email", { enumerable: true, get: function () { return Application_1.Email; } });
|
|
58
|
+
Object.defineProperty(exports, "Phone", { enumerable: true, get: function () { return Application_1.Phone; } });
|
|
59
|
+
Object.defineProperty(exports, "Custom", { enumerable: true, get: function () { return Application_1.Custom; } });
|
|
60
|
+
Object.defineProperty(exports, "validateHandler", { enumerable: true, get: function () { return Application_1.validateHandler; } });
|
|
61
|
+
Object.defineProperty(exports, "ValidationError", { enumerable: true, get: function () { return Application_1.ValidationError; } });
|
|
62
|
+
var Auth_1 = require("./Auth");
|
|
63
|
+
Object.defineProperty(exports, "Auth", { enumerable: true, get: function () { return __importDefault(Auth_1).default; } });
|
|
64
|
+
Object.defineProperty(exports, "matchesIgnore", { enumerable: true, get: function () { return Auth_1.matchesIgnore; } });
|
|
65
|
+
Object.defineProperty(exports, "isGloballyIgnored", { enumerable: true, get: function () { return Auth_1.isGloballyIgnored; } });
|
|
66
|
+
Object.defineProperty(exports, "AuthUtil", { enumerable: true, get: function () { return Auth_1.AuthUtil; } });
|
|
67
|
+
Object.defineProperty(exports, "getAuthOptions", { enumerable: true, get: function () { return Auth_1.getAuthOptions; } });
|
|
68
|
+
Object.defineProperty(exports, "isSessionExpired", { enumerable: true, get: function () { return Auth_1.isSessionExpired; } });
|
|
69
|
+
Object.defineProperty(exports, "AUTH_MIDDLEWARE_FLAG", { enumerable: true, get: function () { return Auth_1.AUTH_MIDDLEWARE_FLAG; } });
|
|
70
|
+
Object.defineProperty(exports, "AuthError", { enumerable: true, get: function () { return Auth_1.AuthError; } });
|
|
71
|
+
Object.defineProperty(exports, "NotLoginError", { enumerable: true, get: function () { return Auth_1.NotLoginError; } });
|
|
72
|
+
Object.defineProperty(exports, "NotPermissionError", { enumerable: true, get: function () { return Auth_1.NotPermissionError; } });
|
|
73
|
+
Object.defineProperty(exports, "NotRoleError", { enumerable: true, get: function () { return Auth_1.NotRoleError; } });
|
|
74
|
+
Object.defineProperty(exports, "createAuthToken", { enumerable: true, get: function () { return Auth_1.createAuthToken; } });
|
|
75
|
+
Object.defineProperty(exports, "generateStyleToken", { enumerable: true, get: function () { return Auth_1.generateStyleToken; } });
|
|
76
|
+
Object.defineProperty(exports, "verifyAuthToken", { enumerable: true, get: function () { return Auth_1.verifyAuthToken; } });
|
|
77
|
+
var Redis_1 = require("./Redis");
|
|
78
|
+
Object.defineProperty(exports, "Redis", { enumerable: true, get: function () { return __importDefault(Redis_1).default; } });
|
|
79
|
+
Object.defineProperty(exports, "RATE_LIMIT_KEY", { enumerable: true, get: function () { return Redis_1.RATE_LIMIT_KEY; } });
|
|
80
|
+
Object.defineProperty(exports, "REPEAT_SUBMIT_KEY", { enumerable: true, get: function () { return Redis_1.REPEAT_SUBMIT_KEY; } });
|
|
81
|
+
Object.defineProperty(exports, "CACHE_KEY", { enumerable: true, get: function () { return Redis_1.CACHE_KEY; } });
|
|
82
|
+
Object.defineProperty(exports, "LOCK_KEY", { enumerable: true, get: function () { return Redis_1.LOCK_KEY; } });
|
|
83
|
+
Object.defineProperty(exports, "GuardError", { enumerable: true, get: function () { return Redis_1.GuardError; } });
|
|
84
|
+
Object.defineProperty(exports, "LockError", { enumerable: true, get: function () { return Redis_1.LockError; } });
|
|
85
|
+
Object.defineProperty(exports, "applyRateLimit", { enumerable: true, get: function () { return Redis_1.applyRateLimit; } });
|
|
86
|
+
Object.defineProperty(exports, "applyRepeatSubmit", { enumerable: true, get: function () { return Redis_1.applyRepeatSubmit; } });
|
|
87
|
+
Object.defineProperty(exports, "Cacheable", { enumerable: true, get: function () { return Redis_1.Cacheable; } });
|
|
88
|
+
Object.defineProperty(exports, "CacheEvict", { enumerable: true, get: function () { return Redis_1.CacheEvict; } });
|
|
89
|
+
Object.defineProperty(exports, "Redisson", { enumerable: true, get: function () { return Redis_1.Redisson; } });
|
|
90
|
+
Object.defineProperty(exports, "createRedisson", { enumerable: true, get: function () { return Redis_1.createRedisson; } });
|
|
91
|
+
Object.defineProperty(exports, "defaultRedissonConfig", { enumerable: true, get: function () { return Redis_1.defaultRedissonConfig; } });
|
|
92
|
+
var ORM_1 = require("./ORM");
|
|
93
|
+
Object.defineProperty(exports, "Db", { enumerable: true, get: function () { return __importDefault(ORM_1).default; } });
|
|
94
|
+
Object.defineProperty(exports, "BaseMapper", { enumerable: true, get: function () { return ORM_1.BaseMapper; } });
|
|
95
|
+
Object.defineProperty(exports, "table", { enumerable: true, get: function () { return ORM_1.table; } });
|
|
96
|
+
Object.defineProperty(exports, "useTable", { enumerable: true, get: function () { return ORM_1.useTable; } });
|
|
97
|
+
Object.defineProperty(exports, "clearTableCache", { enumerable: true, get: function () { return ORM_1.clearTableCache; } });
|
|
98
|
+
Object.defineProperty(exports, "QueryWrapper", { enumerable: true, get: function () { return ORM_1.QueryWrapper; } });
|
|
99
|
+
Object.defineProperty(exports, "TableSearch", { enumerable: true, get: function () { return ORM_1.TableSearch; } });
|
|
100
|
+
Object.defineProperty(exports, "OperTypeEnum", { enumerable: true, get: function () { return ORM_1.OperTypeEnum; } });
|
|
101
|
+
Object.defineProperty(exports, "getTableSearchMeta", { enumerable: true, get: function () { return ORM_1.getTableSearchMeta; } });
|
|
102
|
+
Object.defineProperty(exports, "getQueryWrapper", { enumerable: true, get: function () { return ORM_1.getQueryWrapper; } });
|
|
103
|
+
Object.defineProperty(exports, "getQueryWrapperAndPage", { enumerable: true, get: function () { return ORM_1.getQueryWrapperAndPage; } });
|
|
104
|
+
Object.defineProperty(exports, "assertIdent", { enumerable: true, get: function () { return ORM_1.assertIdent; } });
|
|
105
|
+
Object.defineProperty(exports, "assertSafeUint", { enumerable: true, get: function () { return ORM_1.assertSafeUint; } });
|
|
106
|
+
Object.defineProperty(exports, "escapeLike", { enumerable: true, get: function () { return ORM_1.escapeLike; } });
|
|
107
|
+
Object.defineProperty(exports, "assertSafeLastSql", { enumerable: true, get: function () { return ORM_1.assertSafeLastSql; } });
|
|
108
|
+
Object.defineProperty(exports, "configureOrm", { enumerable: true, get: function () { return ORM_1.configureOrm; } });
|
|
109
|
+
Object.defineProperty(exports, "getOrmConfig", { enumerable: true, get: function () { return ORM_1.getOrmConfig; } });
|
|
110
|
+
Object.defineProperty(exports, "setMetaObjectHandler", { enumerable: true, get: function () { return ORM_1.setMetaObjectHandler; } });
|
|
111
|
+
Object.defineProperty(exports, "getMetaObjectHandler", { enumerable: true, get: function () { return ORM_1.getMetaObjectHandler; } });
|
|
112
|
+
Object.defineProperty(exports, "configureSqlLog", { enumerable: true, get: function () { return ORM_1.configureSqlLog; } });
|
|
113
|
+
Object.defineProperty(exports, "getSqlLogRuntime", { enumerable: true, get: function () { return ORM_1.getSqlLogRuntime; } });
|
|
114
|
+
Object.defineProperty(exports, "renderSqlLog", { enumerable: true, get: function () { return ORM_1.renderSqlLog; } });
|
|
115
|
+
Object.defineProperty(exports, "detectSqlType", { enumerable: true, get: function () { return ORM_1.detectSqlType; } });
|
|
116
|
+
Object.defineProperty(exports, "DEFAULT_SQL_LOG_FORMAT", { enumerable: true, get: function () { return ORM_1.DEFAULT_SQL_LOG_FORMAT; } });
|
|
117
|
+
Object.defineProperty(exports, "OrmError", { enumerable: true, get: function () { return ORM_1.OrmError; } });
|
|
118
|
+
Object.defineProperty(exports, "OptimisticLockError", { enumerable: true, get: function () { return ORM_1.OptimisticLockError; } });
|
|
119
|
+
Object.defineProperty(exports, "Select", { enumerable: true, get: function () { return ORM_1.Select; } });
|
|
120
|
+
Object.defineProperty(exports, "Insert", { enumerable: true, get: function () { return ORM_1.Insert; } });
|
|
121
|
+
Object.defineProperty(exports, "Update", { enumerable: true, get: function () { return ORM_1.Update; } });
|
|
122
|
+
Object.defineProperty(exports, "Delete", { enumerable: true, get: function () { return ORM_1.Delete; } });
|
|
123
|
+
Object.defineProperty(exports, "Param", { enumerable: true, get: function () { return ORM_1.Param; } });
|
|
124
|
+
Object.defineProperty(exports, "MAPPER_ENTITY_KEY", { enumerable: true, get: function () { return ORM_1.MAPPER_ENTITY_KEY; } });
|
|
125
|
+
Object.defineProperty(exports, "registerFieldSelect", { enumerable: true, get: function () { return ORM_1.registerFieldSelect; } });
|
|
126
|
+
Object.defineProperty(exports, "getFieldSelects", { enumerable: true, get: function () { return ORM_1.getFieldSelects; } });
|
|
127
|
+
Object.defineProperty(exports, "getFieldSelect", { enumerable: true, get: function () { return ORM_1.getFieldSelect; } });
|
|
128
|
+
Object.defineProperty(exports, "hydrateFieldSelects", { enumerable: true, get: function () { return ORM_1.hydrateFieldSelects; } });
|
|
129
|
+
Object.defineProperty(exports, "hydrateRelations", { enumerable: true, get: function () { return ORM_1.hydrateRelations; } });
|
|
130
|
+
Object.defineProperty(exports, "buildRowParamContext", { enumerable: true, get: function () { return ORM_1.buildRowParamContext; } });
|
|
131
|
+
Object.defineProperty(exports, "ManyToOne", { enumerable: true, get: function () { return ORM_1.ManyToOne; } });
|
|
132
|
+
Object.defineProperty(exports, "OneToMany", { enumerable: true, get: function () { return ORM_1.OneToMany; } });
|
|
133
|
+
Object.defineProperty(exports, "ManyToMany", { enumerable: true, get: function () { return ORM_1.ManyToMany; } });
|
|
134
|
+
Object.defineProperty(exports, "getRelations", { enumerable: true, get: function () { return ORM_1.getRelations; } });
|
|
135
|
+
Object.defineProperty(exports, "getRelation", { enumerable: true, get: function () { return ORM_1.getRelation; } });
|
|
136
|
+
Object.defineProperty(exports, "MapperXml", { enumerable: true, get: function () { return ORM_1.MapperXml; } });
|
|
137
|
+
Object.defineProperty(exports, "xmlMapper", { enumerable: true, get: function () { return ORM_1.xmlMapper; } });
|
|
138
|
+
Object.defineProperty(exports, "loadXmlMappers", { enumerable: true, get: function () { return ORM_1.loadXmlMappers; } });
|
|
139
|
+
Object.defineProperty(exports, "parseMapperXml", { enumerable: true, get: function () { return ORM_1.parseMapperXml; } });
|
|
140
|
+
Object.defineProperty(exports, "renderStatementSql", { enumerable: true, get: function () { return ORM_1.renderStatementSql; } });
|
|
141
|
+
Object.defineProperty(exports, "parseMybatisSql", { enumerable: true, get: function () { return ORM_1.parseMybatisSql; } });
|
|
142
|
+
Object.defineProperty(exports, "buildParamContext", { enumerable: true, get: function () { return ORM_1.buildParamContext; } });
|
|
143
|
+
Object.defineProperty(exports, "TableName", { enumerable: true, get: function () { return ORM_1.TableName; } });
|
|
144
|
+
Object.defineProperty(exports, "TableId", { enumerable: true, get: function () { return ORM_1.TableId; } });
|
|
145
|
+
Object.defineProperty(exports, "TableField", { enumerable: true, get: function () { return ORM_1.TableField; } });
|
|
146
|
+
Object.defineProperty(exports, "getTableName", { enumerable: true, get: function () { return ORM_1.getTableName; } });
|
|
147
|
+
Object.defineProperty(exports, "getEntityFields", { enumerable: true, get: function () { return ORM_1.getEntityFields; } });
|
|
148
|
+
Object.defineProperty(exports, "getEntityIdField", { enumerable: true, get: function () { return ORM_1.getEntityIdField; } });
|
|
149
|
+
Object.defineProperty(exports, "getEntityTableMeta", { enumerable: true, get: function () { return ORM_1.getEntityTableMeta; } });
|
|
150
|
+
Object.defineProperty(exports, "applyEntityFieldFills", { enumerable: true, get: function () { return ORM_1.applyEntityFieldFills; } });
|
|
151
|
+
Object.defineProperty(exports, "IdType", { enumerable: true, get: function () { return ORM_1.IdType; } });
|
|
152
|
+
Object.defineProperty(exports, "resolveIdType", { enumerable: true, get: function () { return ORM_1.resolveIdType; } });
|
|
153
|
+
Object.defineProperty(exports, "setIdentifierGenerator", { enumerable: true, get: function () { return ORM_1.setIdentifierGenerator; } });
|
|
154
|
+
Object.defineProperty(exports, "getIdentifierGenerator", { enumerable: true, get: function () { return ORM_1.getIdentifierGenerator; } });
|
|
155
|
+
Object.defineProperty(exports, "defaultIdentifierGenerator", { enumerable: true, get: function () { return ORM_1.defaultIdentifierGenerator; } });
|
|
156
|
+
Object.defineProperty(exports, "DataSource", { enumerable: true, get: function () { return ORM_1.DataSource; } });
|
|
157
|
+
Object.defineProperty(exports, "getDialect", { enumerable: true, get: function () { return ORM_1.getDialect; } });
|
|
158
|
+
var Log_1 = require("./Log");
|
|
159
|
+
Object.defineProperty(exports, "LogModule", { enumerable: true, get: function () { return __importDefault(Log_1).default; } });
|
|
160
|
+
Object.defineProperty(exports, "LOG_MIDDLEWARE_FLAG", { enumerable: true, get: function () { return Log_1.LOG_MIDDLEWARE_FLAG; } });
|
|
161
|
+
Object.defineProperty(exports, "configureLog", { enumerable: true, get: function () { return Log_1.configureLog; } });
|
|
162
|
+
Object.defineProperty(exports, "recordOperationLog", { enumerable: true, get: function () { return Log_1.recordOperationLog; } });
|
|
163
|
+
Object.defineProperty(exports, "isLogRegistered", { enumerable: true, get: function () { return Log_1.isLogRegistered; } });
|
|
164
|
+
Object.defineProperty(exports, "getLogOptions", { enumerable: true, get: function () { return Log_1.getLogOptions; } });
|
|
165
|
+
Object.defineProperty(exports, "getClientIp", { enumerable: true, get: function () { return Log_1.getClientIp; } });
|
|
166
|
+
Object.defineProperty(exports, "resolveIpAddress", { enumerable: true, get: function () { return Log_1.resolveIpAddress; } });
|
|
167
|
+
Object.defineProperty(exports, "normalizeIp", { enumerable: true, get: function () { return Log_1.normalizeIp; } });
|
|
168
|
+
Object.defineProperty(exports, "isInternalIp", { enumerable: true, get: function () { return Log_1.isInternalIp; } });
|
|
169
|
+
var Logger_1 = require("./Logger");
|
|
170
|
+
Object.defineProperty(exports, "Logger", { enumerable: true, get: function () { return __importDefault(Logger_1).default; } });
|
|
171
|
+
Object.defineProperty(exports, "ensureUtf8Console", { enumerable: true, get: function () { return Logger_1.ensureUtf8Console; } });
|
|
172
|
+
Object.defineProperty(exports, "getRootLogger", { enumerable: true, get: function () { return Logger_1.getRootLogger; } });
|
|
173
|
+
var Json_1 = require("./Json");
|
|
174
|
+
Object.defineProperty(exports, "Json", { enumerable: true, get: function () { return __importDefault(Json_1).default; } });
|
|
175
|
+
Object.defineProperty(exports, "formatDate", { enumerable: true, get: function () { return Json_1.formatDate; } });
|
|
176
|
+
Object.defineProperty(exports, "shouldOmitByInclude", { enumerable: true, get: function () { return Json_1.shouldOmitByInclude; } });
|
|
177
|
+
Object.defineProperty(exports, "getJsonFieldFormats", { enumerable: true, get: function () { return Json_1.getJsonFieldFormats; } });
|
|
178
|
+
Object.defineProperty(exports, "getJsonFieldFormat", { enumerable: true, get: function () { return Json_1.getJsonFieldFormat; } });
|
|
179
|
+
Object.defineProperty(exports, "getGlobalFieldFormat", { enumerable: true, get: function () { return Json_1.getGlobalFieldFormat; } });
|
|
180
|
+
Object.defineProperty(exports, "getGlobalFieldInclude", { enumerable: true, get: function () { return Json_1.getGlobalFieldInclude; } });
|
|
181
|
+
Object.defineProperty(exports, "getClassJsonInclude", { enumerable: true, get: function () { return Json_1.getClassJsonInclude; } });
|
|
182
|
+
Object.defineProperty(exports, "getJsonFieldIncludes", { enumerable: true, get: function () { return Json_1.getJsonFieldIncludes; } });
|
|
183
|
+
Object.defineProperty(exports, "getJsonFieldInclude", { enumerable: true, get: function () { return Json_1.getJsonFieldInclude; } });
|
|
184
|
+
Object.defineProperty(exports, "addBeanKey", { enumerable: true, get: function () { return Json_1.addBeanKey; } });
|
|
185
|
+
Object.defineProperty(exports, "getBeanKeys", { enumerable: true, get: function () { return Json_1.getBeanKeys; } });
|
|
186
|
+
var Exception_1 = require("./Exception");
|
|
187
|
+
Object.defineProperty(exports, "Exception", { enumerable: true, get: function () { return __importDefault(Exception_1).default; } });
|
|
188
|
+
Object.defineProperty(exports, "handleException", { enumerable: true, get: function () { return Exception_1.handleException; } });
|
|
189
|
+
Object.defineProperty(exports, "registerExceptionHandler", { enumerable: true, get: function () { return Exception_1.registerExceptionHandler; } });
|
|
190
|
+
Object.defineProperty(exports, "clearExceptionHandlers", { enumerable: true, get: function () { return Exception_1.clearExceptionHandlers; } });
|
|
191
|
+
Object.defineProperty(exports, "getExceptionHandlers", { enumerable: true, get: function () { return Exception_1.getExceptionHandlers; } });
|
|
192
|
+
Object.defineProperty(exports, "resolveExceptionHandler", { enumerable: true, get: function () { return Exception_1.resolveExceptionHandler; } });
|
|
193
|
+
var Validate_1 = require("./Validate");
|
|
194
|
+
Object.defineProperty(exports, "notNull", { enumerable: true, get: function () { return Validate_1.notNull; } });
|
|
195
|
+
Object.defineProperty(exports, "min", { enumerable: true, get: function () { return Validate_1.min; } });
|
|
196
|
+
Object.defineProperty(exports, "max", { enumerable: true, get: function () { return Validate_1.max; } });
|
|
197
|
+
Object.defineProperty(exports, "email", { enumerable: true, get: function () { return Validate_1.email; } });
|
|
198
|
+
Object.defineProperty(exports, "phone", { enumerable: true, get: function () { return Validate_1.phone; } });
|
|
199
|
+
Object.defineProperty(exports, "custom", { enumerable: true, get: function () { return Validate_1.custom; } });
|
|
200
|
+
Object.defineProperty(exports, "getClassRules", { enumerable: true, get: function () { return Validate_1.getClassRules; } });
|
|
201
|
+
Object.defineProperty(exports, "isMethodValidate", { enumerable: true, get: function () { return Validate_1.isMethodValidate; } });
|
|
202
|
+
Object.defineProperty(exports, "getMethodParamTypes", { enumerable: true, get: function () { return Validate_1.getMethodParamTypes; } });
|
|
203
|
+
Object.defineProperty(exports, "validateHandlerSync", { enumerable: true, get: function () { return Validate_1.validateHandlerSync; } });
|
|
204
|
+
Object.defineProperty(exports, "validateMethodArgs", { enumerable: true, get: function () { return Validate_1.validateMethodArgs; } });
|
|
205
|
+
var Service_1 = require("./Service");
|
|
206
|
+
Object.defineProperty(exports, "Container", { enumerable: true, get: function () { return Service_1.Container; } });
|
|
207
|
+
Object.defineProperty(exports, "Component", { enumerable: true, get: function () { return Service_1.Component; } });
|
|
208
|
+
Object.defineProperty(exports, "Resource", { enumerable: true, get: function () { return Service_1.Resource; } });
|
|
209
|
+
Object.defineProperty(exports, "Bean", { enumerable: true, get: function () { return Service_1.Bean; } });
|
|
210
|
+
Object.defineProperty(exports, "Mapper", { enumerable: true, get: function () { return Service_1.Mapper; } });
|
|
211
|
+
Object.defineProperty(exports, "Service", { enumerable: true, get: function () { return Service_1.Service; } });
|
|
212
|
+
Object.defineProperty(exports, "Inject", { enumerable: true, get: function () { return Service_1.Inject; } });
|
|
213
|
+
Object.defineProperty(exports, "BaseService", { enumerable: true, get: function () { return Service_1.BaseService; } });
|
|
214
|
+
Object.defineProperty(exports, "MapperType", { enumerable: true, get: function () { return Service_1.MapperType; } });
|
|
215
|
+
Object.defineProperty(exports, "MAPPER_DELEGATE_METHODS", { enumerable: true, get: function () { return Service_1.MAPPER_DELEGATE_METHODS; } });
|
|
216
|
+
var config_1 = require("./config");
|
|
217
|
+
Object.defineProperty(exports, "PORT", { enumerable: true, get: function () { return config_1.PORT; } });
|
|
218
|
+
Object.defineProperty(exports, "trustProxy", { enumerable: true, get: function () { return config_1.trustProxy; } });
|
|
219
|
+
Object.defineProperty(exports, "redisConfig", { enumerable: true, get: function () { return config_1.redisConfig; } });
|
|
220
|
+
Object.defineProperty(exports, "mysqlConfig", { enumerable: true, get: function () { return config_1.mysqlConfig; } });
|
|
221
|
+
Object.defineProperty(exports, "UPLOAD_PATH", { enumerable: true, get: function () { return config_1.UPLOAD_PATH; } });
|
|
222
|
+
Object.defineProperty(exports, "UPLOAD_URL_PREFIX", { enumerable: true, get: function () { return config_1.UPLOAD_URL_PREFIX; } });
|
|
223
|
+
Object.defineProperty(exports, "ormEnvConfig", { enumerable: true, get: function () { return config_1.ormEnvConfig; } });
|
|
224
|
+
Object.defineProperty(exports, "getConfig", { enumerable: true, get: function () { return config_1.getConfig; } });
|
|
225
|
+
Object.defineProperty(exports, "getConfigValue", { enumerable: true, get: function () { return config_1.getConfigValue; } });
|
|
226
|
+
Object.defineProperty(exports, "parseValueExpression", { enumerable: true, get: function () { return config_1.parseValueExpression; } });
|
|
227
|
+
Object.defineProperty(exports, "coerceConfigScalar", { enumerable: true, get: function () { return config_1.coerceConfigScalar; } });
|
|
228
|
+
Object.defineProperty(exports, "configProfile", { enumerable: true, get: function () { return config_1.configProfile; } });
|
|
229
|
+
Object.defineProperty(exports, "configFiles", { enumerable: true, get: function () { return config_1.configFiles; } });
|
|
230
|
+
var encrypt_1 = require("./encrypt");
|
|
231
|
+
Object.defineProperty(exports, "AESUtil", { enumerable: true, get: function () { return encrypt_1.AESUtil; } });
|
|
232
|
+
Object.defineProperty(exports, "DynamicAesKeyManager", { enumerable: true, get: function () { return encrypt_1.DynamicAesKeyManager; } });
|
|
233
|
+
var ScheduleManager_1 = require("./schedule/ScheduleManager");
|
|
234
|
+
Object.defineProperty(exports, "ScheduleManager", { enumerable: true, get: function () { return ScheduleManager_1.ScheduleManager; } });
|
|
235
|
+
Object.defineProperty(exports, "initScheduleJobs", { enumerable: true, get: function () { return ScheduleManager_1.initScheduleJobs; } });
|
|
236
|
+
Object.defineProperty(exports, "configureSchedule", { enumerable: true, get: function () { return ScheduleManager_1.configureSchedule; } });
|
|
237
|
+
Object.defineProperty(exports, "convertQuartzCron", { enumerable: true, get: function () { return ScheduleManager_1.convertQuartzCron; } });
|
|
238
|
+
Object.defineProperty(exports, "validateCron", { enumerable: true, get: function () { return ScheduleManager_1.validateCron; } });
|
|
239
|
+
var ResponseData_1 = require("./utils/entity/ResponseData");
|
|
240
|
+
Object.defineProperty(exports, "ResponseData", { enumerable: true, get: function () { return __importDefault(ResponseData_1).default; } });
|
|
241
|
+
var PageResult_1 = require("./utils/entity/PageResult");
|
|
242
|
+
Object.defineProperty(exports, "toPageResult", { enumerable: true, get: function () { return PageResult_1.toPageResult; } });
|
|
243
|
+
var case_1 = require("./utils/case");
|
|
244
|
+
Object.defineProperty(exports, "snakeToCamel", { enumerable: true, get: function () { return case_1.snakeToCamel; } });
|
|
245
|
+
Object.defineProperty(exports, "rowToCamel", { enumerable: true, get: function () { return case_1.rowToCamel; } });
|
|
246
|
+
Object.defineProperty(exports, "rowsToCamel", { enumerable: true, get: function () { return case_1.rowsToCamel; } });
|
|
247
|
+
Object.defineProperty(exports, "omitPassword", { enumerable: true, get: function () { return case_1.omitPassword; } });
|
|
248
|
+
var id_1 = require("./utils/id");
|
|
249
|
+
Object.defineProperty(exports, "nextId", { enumerable: true, get: function () { return id_1.nextId; } });
|
|
250
|
+
var enums_1 = require("./types/enums");
|
|
251
|
+
Object.defineProperty(exports, "ResponseCode", { enumerable: true, get: function () { return enums_1.ResponseCode; } });
|
|
252
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/framework/index.ts"],"names":[],"mappings":";;;;;;;;;;AAQA,6CAmDuB;AAlDrB,2HAAA,OAAO,OAAe;AACtB,+GAAA,gBAAgB,OAAA;AAChB,wGAAA,SAAS,OAAA;AACT,yGAAA,UAAU,OAAA;AACV,yGAAA,UAAU,OAAA;AACV,0GAAA,WAAW,OAAA;AACX,yGAAA,UAAU,OAAA;AACV,4GAAA,aAAa,OAAA;AACb,6GAAA,cAAc,OAAA;AACd,4GAAA,aAAa,OAAA;AACb,kHAAA,mBAAmB,OAAA;AACnB,yGAAA,UAAU,OAAA;AACV,kGAAA,GAAG,OAAA;AACH,mGAAA,IAAI,OAAA;AACJ,0GAAA,WAAW,OAAA;AACX,2GAAA,YAAY,OAAA;AACZ,0GAAA,WAAW,OAAA;AACX,4GAAA,aAAa,OAAA;AACb,4GAAA,aAAa,OAAA;AACb,oGAAA,KAAK,OAAA;AACL,2GAAA,YAAY,OAAA;AACZ,uGAAA,QAAQ,OAAA;AACR,0GAAA,WAAW,OA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8DAMoC;AALlC,kHAAA,eAAe,OAAA;AACf,mHAAA,gBAAgB,OAAA;AAChB,oHAAA,iBAAiB,OAAA;AACjB,oHAAA,iBAAiB,OAAA;AACjB,+GAAA,YAAY,OAAA;AASd,4DAAsE;AAA7D,6HAAA,OAAO,OAAgB;AAChC,wDAAyD;AAAhD,0GAAA,YAAY,OAAA;AAErB,qCAKsB;AAJpB,oGAAA,YAAY,OAAA;AACZ,kGAAA,UAAU,OAAA;AACV,mGAAA,WAAW,OAAA;AACX,oGAAA,YAAY,OAAA;AAEd,iCAAoC;AAA3B,4FAAA,MAAM,OAAA;AAGf,uCAA6C;AAApC,qGAAA,YAAY,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../../../src/framework/langchain/decorators.ts"],"names":[],"mappings":"AAAA,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,QAEpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decorators.js","sourceRoot":"","sources":["../../../../src/framework/langchain/decorators.ts"],"names":[],"mappings":";;AAAA,0BAEC;AAFD,SAAgB,OAAO,CAAC,KAAa;AAErC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/framework/langchain/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/framework/langchain/index.ts"],"names":[],"mappings":""}
|