@pangza/express 0.0.0-stage → 1.0.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/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 +58 -0
- package/Application/index.d.ts.map +1 -0
- package/Application/index.js +573 -0
- package/Application/index.js.map +1 -0
- package/Application/interceptors.d.ts +27 -0
- package/Application/interceptors.d.ts.map +1 -0
- package/Application/interceptors.js +58 -0
- package/Application/interceptors.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 +78 -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/enable.d.ts +4 -0
- package/ORM/enable.d.ts.map +1 -0
- package/ORM/enable.js +23 -0
- package/ORM/enable.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/flag.d.ts +4 -0
- package/ORM/flag.d.ts.map +1 -0
- package/ORM/flag.js +14 -0
- package/ORM/flag.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 +41 -0
- package/ORM/index.d.ts.map +1 -0
- package/ORM/index.js +119 -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/enable.d.ts +4 -0
- package/Redis/enable.d.ts.map +1 -0
- package/Redis/enable.js +22 -0
- package/Redis/enable.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/flag.d.ts +4 -0
- package/Redis/flag.d.ts.map +1 -0
- package/Redis/flag.js +14 -0
- package/Redis/flag.js.map +1 -0
- package/Redis/index.d.ts +11 -0
- package/Redis/index.d.ts.map +1 -0
- package/Redis/index.js +42 -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 +260 -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
package/index.js
ADDED
|
@@ -0,0 +1,260 @@
|
|
|
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.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.markOrmEnabled = exports.isOrmEnabled = exports.ORM_MODULE_FLAG = exports.EnableOrm = 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.markRedisEnabled = exports.isRedisEnabled = exports.REDIS_MODULE_FLAG = exports.EnableRedis = 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.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 = exports.renderSqlLog = exports.getSqlLogRuntime = exports.configureSqlLog = exports.getMetaObjectHandler = exports.setMetaObjectHandler = exports.getOrmConfig = exports.configureOrm = exports.assertSafeLastSql = void 0;
|
|
9
|
+
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 = exports.getClientIp = exports.getLogOptions = exports.isLogRegistered = exports.recordOperationLog = exports.configureLog = exports.LOG_MIDDLEWARE_FLAG = exports.LogModule = exports.getDialect = 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 = exports.UPLOAD_PATH = exports.mysqlConfig = exports.redisConfig = exports.trustProxy = exports.PORT = exports.MAPPER_DELEGATE_METHODS = exports.MapperType = exports.BaseService = 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, "EnableRedis", { enumerable: true, get: function () { return Redis_1.EnableRedis; } });
|
|
80
|
+
Object.defineProperty(exports, "REDIS_MODULE_FLAG", { enumerable: true, get: function () { return Redis_1.REDIS_MODULE_FLAG; } });
|
|
81
|
+
Object.defineProperty(exports, "isRedisEnabled", { enumerable: true, get: function () { return Redis_1.isRedisEnabled; } });
|
|
82
|
+
Object.defineProperty(exports, "markRedisEnabled", { enumerable: true, get: function () { return Redis_1.markRedisEnabled; } });
|
|
83
|
+
Object.defineProperty(exports, "RATE_LIMIT_KEY", { enumerable: true, get: function () { return Redis_1.RATE_LIMIT_KEY; } });
|
|
84
|
+
Object.defineProperty(exports, "REPEAT_SUBMIT_KEY", { enumerable: true, get: function () { return Redis_1.REPEAT_SUBMIT_KEY; } });
|
|
85
|
+
Object.defineProperty(exports, "CACHE_KEY", { enumerable: true, get: function () { return Redis_1.CACHE_KEY; } });
|
|
86
|
+
Object.defineProperty(exports, "LOCK_KEY", { enumerable: true, get: function () { return Redis_1.LOCK_KEY; } });
|
|
87
|
+
Object.defineProperty(exports, "GuardError", { enumerable: true, get: function () { return Redis_1.GuardError; } });
|
|
88
|
+
Object.defineProperty(exports, "LockError", { enumerable: true, get: function () { return Redis_1.LockError; } });
|
|
89
|
+
Object.defineProperty(exports, "applyRateLimit", { enumerable: true, get: function () { return Redis_1.applyRateLimit; } });
|
|
90
|
+
Object.defineProperty(exports, "applyRepeatSubmit", { enumerable: true, get: function () { return Redis_1.applyRepeatSubmit; } });
|
|
91
|
+
Object.defineProperty(exports, "Cacheable", { enumerable: true, get: function () { return Redis_1.Cacheable; } });
|
|
92
|
+
Object.defineProperty(exports, "CacheEvict", { enumerable: true, get: function () { return Redis_1.CacheEvict; } });
|
|
93
|
+
Object.defineProperty(exports, "Redisson", { enumerable: true, get: function () { return Redis_1.Redisson; } });
|
|
94
|
+
Object.defineProperty(exports, "createRedisson", { enumerable: true, get: function () { return Redis_1.createRedisson; } });
|
|
95
|
+
Object.defineProperty(exports, "defaultRedissonConfig", { enumerable: true, get: function () { return Redis_1.defaultRedissonConfig; } });
|
|
96
|
+
var ORM_1 = require("./ORM");
|
|
97
|
+
Object.defineProperty(exports, "Db", { enumerable: true, get: function () { return __importDefault(ORM_1).default; } });
|
|
98
|
+
Object.defineProperty(exports, "EnableOrm", { enumerable: true, get: function () { return ORM_1.EnableOrm; } });
|
|
99
|
+
Object.defineProperty(exports, "ORM_MODULE_FLAG", { enumerable: true, get: function () { return ORM_1.ORM_MODULE_FLAG; } });
|
|
100
|
+
Object.defineProperty(exports, "isOrmEnabled", { enumerable: true, get: function () { return ORM_1.isOrmEnabled; } });
|
|
101
|
+
Object.defineProperty(exports, "markOrmEnabled", { enumerable: true, get: function () { return ORM_1.markOrmEnabled; } });
|
|
102
|
+
Object.defineProperty(exports, "BaseMapper", { enumerable: true, get: function () { return ORM_1.BaseMapper; } });
|
|
103
|
+
Object.defineProperty(exports, "table", { enumerable: true, get: function () { return ORM_1.table; } });
|
|
104
|
+
Object.defineProperty(exports, "useTable", { enumerable: true, get: function () { return ORM_1.useTable; } });
|
|
105
|
+
Object.defineProperty(exports, "clearTableCache", { enumerable: true, get: function () { return ORM_1.clearTableCache; } });
|
|
106
|
+
Object.defineProperty(exports, "QueryWrapper", { enumerable: true, get: function () { return ORM_1.QueryWrapper; } });
|
|
107
|
+
Object.defineProperty(exports, "TableSearch", { enumerable: true, get: function () { return ORM_1.TableSearch; } });
|
|
108
|
+
Object.defineProperty(exports, "OperTypeEnum", { enumerable: true, get: function () { return ORM_1.OperTypeEnum; } });
|
|
109
|
+
Object.defineProperty(exports, "getTableSearchMeta", { enumerable: true, get: function () { return ORM_1.getTableSearchMeta; } });
|
|
110
|
+
Object.defineProperty(exports, "getQueryWrapper", { enumerable: true, get: function () { return ORM_1.getQueryWrapper; } });
|
|
111
|
+
Object.defineProperty(exports, "getQueryWrapperAndPage", { enumerable: true, get: function () { return ORM_1.getQueryWrapperAndPage; } });
|
|
112
|
+
Object.defineProperty(exports, "assertIdent", { enumerable: true, get: function () { return ORM_1.assertIdent; } });
|
|
113
|
+
Object.defineProperty(exports, "assertSafeUint", { enumerable: true, get: function () { return ORM_1.assertSafeUint; } });
|
|
114
|
+
Object.defineProperty(exports, "escapeLike", { enumerable: true, get: function () { return ORM_1.escapeLike; } });
|
|
115
|
+
Object.defineProperty(exports, "assertSafeLastSql", { enumerable: true, get: function () { return ORM_1.assertSafeLastSql; } });
|
|
116
|
+
Object.defineProperty(exports, "configureOrm", { enumerable: true, get: function () { return ORM_1.configureOrm; } });
|
|
117
|
+
Object.defineProperty(exports, "getOrmConfig", { enumerable: true, get: function () { return ORM_1.getOrmConfig; } });
|
|
118
|
+
Object.defineProperty(exports, "setMetaObjectHandler", { enumerable: true, get: function () { return ORM_1.setMetaObjectHandler; } });
|
|
119
|
+
Object.defineProperty(exports, "getMetaObjectHandler", { enumerable: true, get: function () { return ORM_1.getMetaObjectHandler; } });
|
|
120
|
+
Object.defineProperty(exports, "configureSqlLog", { enumerable: true, get: function () { return ORM_1.configureSqlLog; } });
|
|
121
|
+
Object.defineProperty(exports, "getSqlLogRuntime", { enumerable: true, get: function () { return ORM_1.getSqlLogRuntime; } });
|
|
122
|
+
Object.defineProperty(exports, "renderSqlLog", { enumerable: true, get: function () { return ORM_1.renderSqlLog; } });
|
|
123
|
+
Object.defineProperty(exports, "detectSqlType", { enumerable: true, get: function () { return ORM_1.detectSqlType; } });
|
|
124
|
+
Object.defineProperty(exports, "DEFAULT_SQL_LOG_FORMAT", { enumerable: true, get: function () { return ORM_1.DEFAULT_SQL_LOG_FORMAT; } });
|
|
125
|
+
Object.defineProperty(exports, "OrmError", { enumerable: true, get: function () { return ORM_1.OrmError; } });
|
|
126
|
+
Object.defineProperty(exports, "OptimisticLockError", { enumerable: true, get: function () { return ORM_1.OptimisticLockError; } });
|
|
127
|
+
Object.defineProperty(exports, "Select", { enumerable: true, get: function () { return ORM_1.Select; } });
|
|
128
|
+
Object.defineProperty(exports, "Insert", { enumerable: true, get: function () { return ORM_1.Insert; } });
|
|
129
|
+
Object.defineProperty(exports, "Update", { enumerable: true, get: function () { return ORM_1.Update; } });
|
|
130
|
+
Object.defineProperty(exports, "Delete", { enumerable: true, get: function () { return ORM_1.Delete; } });
|
|
131
|
+
Object.defineProperty(exports, "Param", { enumerable: true, get: function () { return ORM_1.Param; } });
|
|
132
|
+
Object.defineProperty(exports, "MAPPER_ENTITY_KEY", { enumerable: true, get: function () { return ORM_1.MAPPER_ENTITY_KEY; } });
|
|
133
|
+
Object.defineProperty(exports, "registerFieldSelect", { enumerable: true, get: function () { return ORM_1.registerFieldSelect; } });
|
|
134
|
+
Object.defineProperty(exports, "getFieldSelects", { enumerable: true, get: function () { return ORM_1.getFieldSelects; } });
|
|
135
|
+
Object.defineProperty(exports, "getFieldSelect", { enumerable: true, get: function () { return ORM_1.getFieldSelect; } });
|
|
136
|
+
Object.defineProperty(exports, "hydrateFieldSelects", { enumerable: true, get: function () { return ORM_1.hydrateFieldSelects; } });
|
|
137
|
+
Object.defineProperty(exports, "hydrateRelations", { enumerable: true, get: function () { return ORM_1.hydrateRelations; } });
|
|
138
|
+
Object.defineProperty(exports, "buildRowParamContext", { enumerable: true, get: function () { return ORM_1.buildRowParamContext; } });
|
|
139
|
+
Object.defineProperty(exports, "ManyToOne", { enumerable: true, get: function () { return ORM_1.ManyToOne; } });
|
|
140
|
+
Object.defineProperty(exports, "OneToMany", { enumerable: true, get: function () { return ORM_1.OneToMany; } });
|
|
141
|
+
Object.defineProperty(exports, "ManyToMany", { enumerable: true, get: function () { return ORM_1.ManyToMany; } });
|
|
142
|
+
Object.defineProperty(exports, "getRelations", { enumerable: true, get: function () { return ORM_1.getRelations; } });
|
|
143
|
+
Object.defineProperty(exports, "getRelation", { enumerable: true, get: function () { return ORM_1.getRelation; } });
|
|
144
|
+
Object.defineProperty(exports, "MapperXml", { enumerable: true, get: function () { return ORM_1.MapperXml; } });
|
|
145
|
+
Object.defineProperty(exports, "xmlMapper", { enumerable: true, get: function () { return ORM_1.xmlMapper; } });
|
|
146
|
+
Object.defineProperty(exports, "loadXmlMappers", { enumerable: true, get: function () { return ORM_1.loadXmlMappers; } });
|
|
147
|
+
Object.defineProperty(exports, "parseMapperXml", { enumerable: true, get: function () { return ORM_1.parseMapperXml; } });
|
|
148
|
+
Object.defineProperty(exports, "renderStatementSql", { enumerable: true, get: function () { return ORM_1.renderStatementSql; } });
|
|
149
|
+
Object.defineProperty(exports, "parseMybatisSql", { enumerable: true, get: function () { return ORM_1.parseMybatisSql; } });
|
|
150
|
+
Object.defineProperty(exports, "buildParamContext", { enumerable: true, get: function () { return ORM_1.buildParamContext; } });
|
|
151
|
+
Object.defineProperty(exports, "TableName", { enumerable: true, get: function () { return ORM_1.TableName; } });
|
|
152
|
+
Object.defineProperty(exports, "TableId", { enumerable: true, get: function () { return ORM_1.TableId; } });
|
|
153
|
+
Object.defineProperty(exports, "TableField", { enumerable: true, get: function () { return ORM_1.TableField; } });
|
|
154
|
+
Object.defineProperty(exports, "getTableName", { enumerable: true, get: function () { return ORM_1.getTableName; } });
|
|
155
|
+
Object.defineProperty(exports, "getEntityFields", { enumerable: true, get: function () { return ORM_1.getEntityFields; } });
|
|
156
|
+
Object.defineProperty(exports, "getEntityIdField", { enumerable: true, get: function () { return ORM_1.getEntityIdField; } });
|
|
157
|
+
Object.defineProperty(exports, "getEntityTableMeta", { enumerable: true, get: function () { return ORM_1.getEntityTableMeta; } });
|
|
158
|
+
Object.defineProperty(exports, "applyEntityFieldFills", { enumerable: true, get: function () { return ORM_1.applyEntityFieldFills; } });
|
|
159
|
+
Object.defineProperty(exports, "IdType", { enumerable: true, get: function () { return ORM_1.IdType; } });
|
|
160
|
+
Object.defineProperty(exports, "resolveIdType", { enumerable: true, get: function () { return ORM_1.resolveIdType; } });
|
|
161
|
+
Object.defineProperty(exports, "setIdentifierGenerator", { enumerable: true, get: function () { return ORM_1.setIdentifierGenerator; } });
|
|
162
|
+
Object.defineProperty(exports, "getIdentifierGenerator", { enumerable: true, get: function () { return ORM_1.getIdentifierGenerator; } });
|
|
163
|
+
Object.defineProperty(exports, "defaultIdentifierGenerator", { enumerable: true, get: function () { return ORM_1.defaultIdentifierGenerator; } });
|
|
164
|
+
Object.defineProperty(exports, "DataSource", { enumerable: true, get: function () { return ORM_1.DataSource; } });
|
|
165
|
+
Object.defineProperty(exports, "getDialect", { enumerable: true, get: function () { return ORM_1.getDialect; } });
|
|
166
|
+
var Log_1 = require("./Log");
|
|
167
|
+
Object.defineProperty(exports, "LogModule", { enumerable: true, get: function () { return __importDefault(Log_1).default; } });
|
|
168
|
+
Object.defineProperty(exports, "LOG_MIDDLEWARE_FLAG", { enumerable: true, get: function () { return Log_1.LOG_MIDDLEWARE_FLAG; } });
|
|
169
|
+
Object.defineProperty(exports, "configureLog", { enumerable: true, get: function () { return Log_1.configureLog; } });
|
|
170
|
+
Object.defineProperty(exports, "recordOperationLog", { enumerable: true, get: function () { return Log_1.recordOperationLog; } });
|
|
171
|
+
Object.defineProperty(exports, "isLogRegistered", { enumerable: true, get: function () { return Log_1.isLogRegistered; } });
|
|
172
|
+
Object.defineProperty(exports, "getLogOptions", { enumerable: true, get: function () { return Log_1.getLogOptions; } });
|
|
173
|
+
Object.defineProperty(exports, "getClientIp", { enumerable: true, get: function () { return Log_1.getClientIp; } });
|
|
174
|
+
Object.defineProperty(exports, "resolveIpAddress", { enumerable: true, get: function () { return Log_1.resolveIpAddress; } });
|
|
175
|
+
Object.defineProperty(exports, "normalizeIp", { enumerable: true, get: function () { return Log_1.normalizeIp; } });
|
|
176
|
+
Object.defineProperty(exports, "isInternalIp", { enumerable: true, get: function () { return Log_1.isInternalIp; } });
|
|
177
|
+
var Logger_1 = require("./Logger");
|
|
178
|
+
Object.defineProperty(exports, "Logger", { enumerable: true, get: function () { return __importDefault(Logger_1).default; } });
|
|
179
|
+
Object.defineProperty(exports, "ensureUtf8Console", { enumerable: true, get: function () { return Logger_1.ensureUtf8Console; } });
|
|
180
|
+
Object.defineProperty(exports, "getRootLogger", { enumerable: true, get: function () { return Logger_1.getRootLogger; } });
|
|
181
|
+
var Json_1 = require("./Json");
|
|
182
|
+
Object.defineProperty(exports, "Json", { enumerable: true, get: function () { return __importDefault(Json_1).default; } });
|
|
183
|
+
Object.defineProperty(exports, "formatDate", { enumerable: true, get: function () { return Json_1.formatDate; } });
|
|
184
|
+
Object.defineProperty(exports, "shouldOmitByInclude", { enumerable: true, get: function () { return Json_1.shouldOmitByInclude; } });
|
|
185
|
+
Object.defineProperty(exports, "getJsonFieldFormats", { enumerable: true, get: function () { return Json_1.getJsonFieldFormats; } });
|
|
186
|
+
Object.defineProperty(exports, "getJsonFieldFormat", { enumerable: true, get: function () { return Json_1.getJsonFieldFormat; } });
|
|
187
|
+
Object.defineProperty(exports, "getGlobalFieldFormat", { enumerable: true, get: function () { return Json_1.getGlobalFieldFormat; } });
|
|
188
|
+
Object.defineProperty(exports, "getGlobalFieldInclude", { enumerable: true, get: function () { return Json_1.getGlobalFieldInclude; } });
|
|
189
|
+
Object.defineProperty(exports, "getClassJsonInclude", { enumerable: true, get: function () { return Json_1.getClassJsonInclude; } });
|
|
190
|
+
Object.defineProperty(exports, "getJsonFieldIncludes", { enumerable: true, get: function () { return Json_1.getJsonFieldIncludes; } });
|
|
191
|
+
Object.defineProperty(exports, "getJsonFieldInclude", { enumerable: true, get: function () { return Json_1.getJsonFieldInclude; } });
|
|
192
|
+
Object.defineProperty(exports, "addBeanKey", { enumerable: true, get: function () { return Json_1.addBeanKey; } });
|
|
193
|
+
Object.defineProperty(exports, "getBeanKeys", { enumerable: true, get: function () { return Json_1.getBeanKeys; } });
|
|
194
|
+
var Exception_1 = require("./Exception");
|
|
195
|
+
Object.defineProperty(exports, "Exception", { enumerable: true, get: function () { return __importDefault(Exception_1).default; } });
|
|
196
|
+
Object.defineProperty(exports, "handleException", { enumerable: true, get: function () { return Exception_1.handleException; } });
|
|
197
|
+
Object.defineProperty(exports, "registerExceptionHandler", { enumerable: true, get: function () { return Exception_1.registerExceptionHandler; } });
|
|
198
|
+
Object.defineProperty(exports, "clearExceptionHandlers", { enumerable: true, get: function () { return Exception_1.clearExceptionHandlers; } });
|
|
199
|
+
Object.defineProperty(exports, "getExceptionHandlers", { enumerable: true, get: function () { return Exception_1.getExceptionHandlers; } });
|
|
200
|
+
Object.defineProperty(exports, "resolveExceptionHandler", { enumerable: true, get: function () { return Exception_1.resolveExceptionHandler; } });
|
|
201
|
+
var Validate_1 = require("./Validate");
|
|
202
|
+
Object.defineProperty(exports, "notNull", { enumerable: true, get: function () { return Validate_1.notNull; } });
|
|
203
|
+
Object.defineProperty(exports, "min", { enumerable: true, get: function () { return Validate_1.min; } });
|
|
204
|
+
Object.defineProperty(exports, "max", { enumerable: true, get: function () { return Validate_1.max; } });
|
|
205
|
+
Object.defineProperty(exports, "email", { enumerable: true, get: function () { return Validate_1.email; } });
|
|
206
|
+
Object.defineProperty(exports, "phone", { enumerable: true, get: function () { return Validate_1.phone; } });
|
|
207
|
+
Object.defineProperty(exports, "custom", { enumerable: true, get: function () { return Validate_1.custom; } });
|
|
208
|
+
Object.defineProperty(exports, "getClassRules", { enumerable: true, get: function () { return Validate_1.getClassRules; } });
|
|
209
|
+
Object.defineProperty(exports, "isMethodValidate", { enumerable: true, get: function () { return Validate_1.isMethodValidate; } });
|
|
210
|
+
Object.defineProperty(exports, "getMethodParamTypes", { enumerable: true, get: function () { return Validate_1.getMethodParamTypes; } });
|
|
211
|
+
Object.defineProperty(exports, "validateHandlerSync", { enumerable: true, get: function () { return Validate_1.validateHandlerSync; } });
|
|
212
|
+
Object.defineProperty(exports, "validateMethodArgs", { enumerable: true, get: function () { return Validate_1.validateMethodArgs; } });
|
|
213
|
+
var Service_1 = require("./Service");
|
|
214
|
+
Object.defineProperty(exports, "Container", { enumerable: true, get: function () { return Service_1.Container; } });
|
|
215
|
+
Object.defineProperty(exports, "Component", { enumerable: true, get: function () { return Service_1.Component; } });
|
|
216
|
+
Object.defineProperty(exports, "Resource", { enumerable: true, get: function () { return Service_1.Resource; } });
|
|
217
|
+
Object.defineProperty(exports, "Bean", { enumerable: true, get: function () { return Service_1.Bean; } });
|
|
218
|
+
Object.defineProperty(exports, "Mapper", { enumerable: true, get: function () { return Service_1.Mapper; } });
|
|
219
|
+
Object.defineProperty(exports, "Service", { enumerable: true, get: function () { return Service_1.Service; } });
|
|
220
|
+
Object.defineProperty(exports, "Inject", { enumerable: true, get: function () { return Service_1.Inject; } });
|
|
221
|
+
Object.defineProperty(exports, "BaseService", { enumerable: true, get: function () { return Service_1.BaseService; } });
|
|
222
|
+
Object.defineProperty(exports, "MapperType", { enumerable: true, get: function () { return Service_1.MapperType; } });
|
|
223
|
+
Object.defineProperty(exports, "MAPPER_DELEGATE_METHODS", { enumerable: true, get: function () { return Service_1.MAPPER_DELEGATE_METHODS; } });
|
|
224
|
+
var config_1 = require("./config");
|
|
225
|
+
Object.defineProperty(exports, "PORT", { enumerable: true, get: function () { return config_1.PORT; } });
|
|
226
|
+
Object.defineProperty(exports, "trustProxy", { enumerable: true, get: function () { return config_1.trustProxy; } });
|
|
227
|
+
Object.defineProperty(exports, "redisConfig", { enumerable: true, get: function () { return config_1.redisConfig; } });
|
|
228
|
+
Object.defineProperty(exports, "mysqlConfig", { enumerable: true, get: function () { return config_1.mysqlConfig; } });
|
|
229
|
+
Object.defineProperty(exports, "UPLOAD_PATH", { enumerable: true, get: function () { return config_1.UPLOAD_PATH; } });
|
|
230
|
+
Object.defineProperty(exports, "UPLOAD_URL_PREFIX", { enumerable: true, get: function () { return config_1.UPLOAD_URL_PREFIX; } });
|
|
231
|
+
Object.defineProperty(exports, "ormEnvConfig", { enumerable: true, get: function () { return config_1.ormEnvConfig; } });
|
|
232
|
+
Object.defineProperty(exports, "getConfig", { enumerable: true, get: function () { return config_1.getConfig; } });
|
|
233
|
+
Object.defineProperty(exports, "getConfigValue", { enumerable: true, get: function () { return config_1.getConfigValue; } });
|
|
234
|
+
Object.defineProperty(exports, "parseValueExpression", { enumerable: true, get: function () { return config_1.parseValueExpression; } });
|
|
235
|
+
Object.defineProperty(exports, "coerceConfigScalar", { enumerable: true, get: function () { return config_1.coerceConfigScalar; } });
|
|
236
|
+
Object.defineProperty(exports, "configProfile", { enumerable: true, get: function () { return config_1.configProfile; } });
|
|
237
|
+
Object.defineProperty(exports, "configFiles", { enumerable: true, get: function () { return config_1.configFiles; } });
|
|
238
|
+
var encrypt_1 = require("./encrypt");
|
|
239
|
+
Object.defineProperty(exports, "AESUtil", { enumerable: true, get: function () { return encrypt_1.AESUtil; } });
|
|
240
|
+
Object.defineProperty(exports, "DynamicAesKeyManager", { enumerable: true, get: function () { return encrypt_1.DynamicAesKeyManager; } });
|
|
241
|
+
var ScheduleManager_1 = require("./schedule/ScheduleManager");
|
|
242
|
+
Object.defineProperty(exports, "ScheduleManager", { enumerable: true, get: function () { return ScheduleManager_1.ScheduleManager; } });
|
|
243
|
+
Object.defineProperty(exports, "initScheduleJobs", { enumerable: true, get: function () { return ScheduleManager_1.initScheduleJobs; } });
|
|
244
|
+
Object.defineProperty(exports, "configureSchedule", { enumerable: true, get: function () { return ScheduleManager_1.configureSchedule; } });
|
|
245
|
+
Object.defineProperty(exports, "convertQuartzCron", { enumerable: true, get: function () { return ScheduleManager_1.convertQuartzCron; } });
|
|
246
|
+
Object.defineProperty(exports, "validateCron", { enumerable: true, get: function () { return ScheduleManager_1.validateCron; } });
|
|
247
|
+
var ResponseData_1 = require("./utils/entity/ResponseData");
|
|
248
|
+
Object.defineProperty(exports, "ResponseData", { enumerable: true, get: function () { return __importDefault(ResponseData_1).default; } });
|
|
249
|
+
var PageResult_1 = require("./utils/entity/PageResult");
|
|
250
|
+
Object.defineProperty(exports, "toPageResult", { enumerable: true, get: function () { return PageResult_1.toPageResult; } });
|
|
251
|
+
var case_1 = require("./utils/case");
|
|
252
|
+
Object.defineProperty(exports, "snakeToCamel", { enumerable: true, get: function () { return case_1.snakeToCamel; } });
|
|
253
|
+
Object.defineProperty(exports, "rowToCamel", { enumerable: true, get: function () { return case_1.rowToCamel; } });
|
|
254
|
+
Object.defineProperty(exports, "rowsToCamel", { enumerable: true, get: function () { return case_1.rowsToCamel; } });
|
|
255
|
+
Object.defineProperty(exports, "omitPassword", { enumerable: true, get: function () { return case_1.omitPassword; } });
|
|
256
|
+
var id_1 = require("./utils/id");
|
|
257
|
+
Object.defineProperty(exports, "nextId", { enumerable: true, get: function () { return id_1.nextId; } });
|
|
258
|
+
var enums_1 = require("./types/enums");
|
|
259
|
+
Object.defineProperty(exports, "ResponseCode", { enumerable: true, get: function () { return enums_1.ResponseCode; } });
|
|
260
|
+
//# 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,OAAA;AACX,2GAAA,YAAY,OAAA;AACZ,8GAAA,eAAe,OAAA;AACf,4GAAA,aAAa,OAAA;AACb,wGAAA,SAAS,OAAA;AACT,qGAAA,MAAM,OAAA;AACN,8GAAA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A0D;AAAjD,kGAAA,OAAO,OAAA;AAAE,+GAAA,oBAAoB,OAAA;AAGtC,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":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,112 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pangza/express",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "TypeScript + Express 装饰器框架(IoC / ORM / Auth / Redis),对齐 Spring + MyBatis-Plus 风格",
|
|
5
|
+
"main": "./index.js",
|
|
6
|
+
"types": "./index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./index.d.ts",
|
|
10
|
+
"require": "./index.js",
|
|
11
|
+
"default": "./index.js"
|
|
12
|
+
},
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"**/*.js",
|
|
17
|
+
"**/*.d.ts",
|
|
18
|
+
"**/*.d.ts.map",
|
|
19
|
+
"**/*.js.map",
|
|
20
|
+
"README.md"
|
|
21
|
+
],
|
|
22
|
+
"keywords": [
|
|
23
|
+
"express",
|
|
24
|
+
"typescript",
|
|
25
|
+
"decorators",
|
|
26
|
+
"orm",
|
|
27
|
+
"ioc",
|
|
28
|
+
"mybatis-plus",
|
|
29
|
+
"spring"
|
|
30
|
+
],
|
|
31
|
+
"author": "",
|
|
32
|
+
"license": "ISC",
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "git+https://github.com/lx-ayan/pangza-admin-express.git"
|
|
36
|
+
},
|
|
37
|
+
"bugs": {
|
|
38
|
+
"url": "https://github.com/lx-ayan/pangza-admin-express/issues"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://github.com/lx-ayan/pangza-admin-express#readme",
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=18"
|
|
43
|
+
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"express": "^4.18.0 || ^5.0.0",
|
|
46
|
+
"inversify": "^6.0.0 || ^8.0.0",
|
|
47
|
+
"reflect-metadata": "^0.1.13 || ^0.2.0"
|
|
48
|
+
},
|
|
49
|
+
"peerDependenciesMeta": {
|
|
50
|
+
"mysql2": {
|
|
51
|
+
"optional": true
|
|
52
|
+
},
|
|
53
|
+
"pg": {
|
|
54
|
+
"optional": true
|
|
55
|
+
},
|
|
56
|
+
"mssql": {
|
|
57
|
+
"optional": true
|
|
58
|
+
},
|
|
59
|
+
"redis": {
|
|
60
|
+
"optional": true
|
|
61
|
+
},
|
|
62
|
+
"jsonwebtoken": {
|
|
63
|
+
"optional": true
|
|
64
|
+
},
|
|
65
|
+
"pino": {
|
|
66
|
+
"optional": true
|
|
67
|
+
},
|
|
68
|
+
"pino-pretty": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"cors": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"multer": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"node-cron": {
|
|
78
|
+
"optional": true
|
|
79
|
+
},
|
|
80
|
+
"bcryptjs": {
|
|
81
|
+
"optional": true
|
|
82
|
+
},
|
|
83
|
+
"validator": {
|
|
84
|
+
"optional": true
|
|
85
|
+
},
|
|
86
|
+
"js-yaml": {
|
|
87
|
+
"optional": true
|
|
88
|
+
},
|
|
89
|
+
"ip2region": {
|
|
90
|
+
"optional": true
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"dependencies": {
|
|
94
|
+
"bcryptjs": "^3.0.3",
|
|
95
|
+
"cors": "^2.8.6",
|
|
96
|
+
"ip2region": "^2.3.0",
|
|
97
|
+
"js-yaml": "^5.5.0",
|
|
98
|
+
"jsonwebtoken": "^9.0.3",
|
|
99
|
+
"mssql": "^12.7.9",
|
|
100
|
+
"multer": "^2.4.0",
|
|
101
|
+
"mysql2": "^3.24.4",
|
|
102
|
+
"node-cron": "^4.6.0",
|
|
103
|
+
"pg": "^8.23.1",
|
|
104
|
+
"pino": "^10.3.1",
|
|
105
|
+
"pino-pretty": "^13.1.3",
|
|
106
|
+
"redis": "^6.2.1",
|
|
107
|
+
"validator": "^13.15.35"
|
|
108
|
+
},
|
|
109
|
+
"publishConfig": {
|
|
110
|
+
"access": "public"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface ScheduleJobEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
cron: string;
|
|
5
|
+
beanName: string;
|
|
6
|
+
status?: number | null;
|
|
7
|
+
}
|
|
8
|
+
export type ScheduleJobLoader = () => ScheduleJobEntity[] | Promise<ScheduleJobEntity[]>;
|
|
9
|
+
export interface ScheduleModuleOptions {
|
|
10
|
+
loadJobs?: ScheduleJobLoader;
|
|
11
|
+
}
|
|
12
|
+
export declare function configureSchedule(options?: ScheduleModuleOptions): void;
|
|
13
|
+
export declare function convertQuartzCron(cronExpr: string): string;
|
|
14
|
+
export declare function validateCron(cronExpr: string): string;
|
|
15
|
+
declare class ScheduleManagerImpl {
|
|
16
|
+
private readonly jobs;
|
|
17
|
+
scheduleJob(entity: ScheduleJobEntity): void;
|
|
18
|
+
unschedule(id: string): void;
|
|
19
|
+
runOnce(beanName: string): Promise<void>;
|
|
20
|
+
loadEnabled(): Promise<void>;
|
|
21
|
+
}
|
|
22
|
+
export declare const ScheduleManager: ScheduleManagerImpl;
|
|
23
|
+
export declare function initScheduleJobs(options?: ScheduleModuleOptions): Promise<void>;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=ScheduleManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduleManager.d.ts","sourceRoot":"","sources":["../../../../src/framework/schedule/ScheduleManager.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAGD,MAAM,MAAM,iBAAiB,GAAG,MAC5B,iBAAiB,EAAE,GACnB,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;AAEjC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B;AAID,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,qBAA0B,GAAG,IAAI,CAI3E;AAOD,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAS1D;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAMrD;AAyBD,cAAM,mBAAmB;IACvB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoC;IAEzD,WAAW,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI;IAkC5C,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAQtB,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxC,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;CA0BnC;AAED,eAAO,MAAM,eAAe,qBAA4B,CAAC;AAGzD,wBAAsB,gBAAgB,CACpC,OAAO,GAAE,qBAA0B,GAClC,OAAO,CAAC,IAAI,CAAC,CAKf"}
|
|
@@ -0,0 +1,125 @@
|
|
|
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.ScheduleManager = void 0;
|
|
7
|
+
exports.configureSchedule = configureSchedule;
|
|
8
|
+
exports.convertQuartzCron = convertQuartzCron;
|
|
9
|
+
exports.validateCron = validateCron;
|
|
10
|
+
exports.initScheduleJobs = initScheduleJobs;
|
|
11
|
+
const node_cron_1 = __importDefault(require("node-cron"));
|
|
12
|
+
const Service_1 = require("../Service");
|
|
13
|
+
const ORM_1 = require("../ORM");
|
|
14
|
+
let jobLoader = null;
|
|
15
|
+
function configureSchedule(options = {}) {
|
|
16
|
+
if (options.loadJobs) {
|
|
17
|
+
jobLoader = options.loadJobs;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function convertQuartzCron(cronExpr) {
|
|
21
|
+
const raw = String(cronExpr ?? "").trim();
|
|
22
|
+
if (!raw)
|
|
23
|
+
throw new ORM_1.OrmError("Cron 表达式不能为空");
|
|
24
|
+
const converted = raw.replace(/\?/g, "*");
|
|
25
|
+
const parts = converted.split(/\s+/).filter(Boolean);
|
|
26
|
+
if (parts.length !== 5 && parts.length !== 6) {
|
|
27
|
+
throw new ORM_1.OrmError(`Cron 表达式不合法:${cronExpr}`);
|
|
28
|
+
}
|
|
29
|
+
return parts.join(" ");
|
|
30
|
+
}
|
|
31
|
+
function validateCron(cronExpr) {
|
|
32
|
+
const expr = convertQuartzCron(cronExpr);
|
|
33
|
+
if (!node_cron_1.default.validate(expr)) {
|
|
34
|
+
throw new ORM_1.OrmError(`Cron 表达式不合法:${cronExpr}`);
|
|
35
|
+
}
|
|
36
|
+
return expr;
|
|
37
|
+
}
|
|
38
|
+
async function invokeBean(beanName) {
|
|
39
|
+
if (!beanName?.trim()) {
|
|
40
|
+
throw new ORM_1.OrmError("执行类(Bean 名称)不能为空");
|
|
41
|
+
}
|
|
42
|
+
if (!Service_1.Container.has(beanName)) {
|
|
43
|
+
throw new ORM_1.OrmError(`未找到 Bean:${beanName}`);
|
|
44
|
+
}
|
|
45
|
+
const bean = Service_1.Container.get(beanName);
|
|
46
|
+
if (typeof bean?.execute === "function") {
|
|
47
|
+
await bean.execute();
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
if (typeof bean?.run === "function") {
|
|
51
|
+
await bean.run();
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
throw new ORM_1.OrmError(`Bean [${beanName}] 需实现 execute() 或 run()`);
|
|
55
|
+
}
|
|
56
|
+
class ScheduleManagerImpl {
|
|
57
|
+
constructor() {
|
|
58
|
+
this.jobs = new Map();
|
|
59
|
+
}
|
|
60
|
+
scheduleJob(entity) {
|
|
61
|
+
const id = String(entity.id);
|
|
62
|
+
this.unschedule(id);
|
|
63
|
+
if (entity.status == null || Number(entity.status) === 0) {
|
|
64
|
+
console.log(`[Schedule] 任务已停用,已从调度器移除 id=${id}`);
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
const expr = validateCron(entity.cron);
|
|
68
|
+
const beanName = entity.beanName;
|
|
69
|
+
if (!Service_1.Container.has(beanName)) {
|
|
70
|
+
throw new ORM_1.OrmError(`未找到 Bean:${beanName}`);
|
|
71
|
+
}
|
|
72
|
+
const task = node_cron_1.default.schedule(expr, () => {
|
|
73
|
+
void (async () => {
|
|
74
|
+
try {
|
|
75
|
+
console.log(`[Schedule] 触发任务 id=${id}, title=${entity.title ?? ""}, bean=${beanName}`);
|
|
76
|
+
await invokeBean(beanName);
|
|
77
|
+
}
|
|
78
|
+
catch (e) {
|
|
79
|
+
console.error(`[Schedule] 任务执行失败 id=${id}:`, e instanceof Error ? e.message : e);
|
|
80
|
+
}
|
|
81
|
+
})();
|
|
82
|
+
});
|
|
83
|
+
this.jobs.set(id, task);
|
|
84
|
+
console.log(`[Schedule] 已注册任务 id=${id}, cron=${expr}`);
|
|
85
|
+
}
|
|
86
|
+
unschedule(id) {
|
|
87
|
+
const task = this.jobs.get(String(id));
|
|
88
|
+
if (task) {
|
|
89
|
+
task.stop();
|
|
90
|
+
this.jobs.delete(String(id));
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
async runOnce(beanName) {
|
|
94
|
+
await invokeBean(beanName);
|
|
95
|
+
}
|
|
96
|
+
async loadEnabled() {
|
|
97
|
+
if (!jobLoader) {
|
|
98
|
+
console.warn("[Schedule] 未配置 loadJobs,跳过初始化");
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
try {
|
|
102
|
+
const list = await jobLoader();
|
|
103
|
+
for (const row of list) {
|
|
104
|
+
try {
|
|
105
|
+
this.scheduleJob(row);
|
|
106
|
+
}
|
|
107
|
+
catch (e) {
|
|
108
|
+
console.error(`[Schedule] 启动加载失败 id=${row.id}:`, e instanceof Error ? e.message : e);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
console.log(`[Schedule] 初始化完成,已加载 ${list.length} 个启用任务`);
|
|
112
|
+
}
|
|
113
|
+
catch (e) {
|
|
114
|
+
console.warn("[Schedule] 初始化跳过:", e instanceof Error ? e.message : e);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
exports.ScheduleManager = new ScheduleManagerImpl();
|
|
119
|
+
async function initScheduleJobs(options = {}) {
|
|
120
|
+
if (options.loadJobs) {
|
|
121
|
+
configureSchedule(options);
|
|
122
|
+
}
|
|
123
|
+
await exports.ScheduleManager.loadEnabled();
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=ScheduleManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduleManager.js","sourceRoot":"","sources":["../../../../src/framework/schedule/ScheduleManager.ts"],"names":[],"mappings":";;;;;;AAuBA,8CAIC;AAOD,8CASC;AAED,oCAMC;AAyGD,4CAOC;AAnKD,0DAAqD;AACrD,iDAAgD;AAChD,yCAA2C;AAmB3C,IAAI,SAAS,GAA6B,IAAI,CAAC;AAE/C,SAAgB,iBAAiB,CAAC,UAAiC,EAAE;IACnE,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;QACrB,SAAS,GAAG,OAAO,CAAC,QAAQ,CAAC;IAC/B,CAAC;AACH,CAAC;AAOD,SAAgB,iBAAiB,CAAC,QAAgB;IAChD,MAAM,GAAG,GAAG,MAAM,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IAC1C,IAAI,CAAC,GAAG;QAAE,MAAM,IAAI,cAAQ,CAAC,cAAc,CAAC,CAAC;IAC7C,MAAM,SAAS,GAAG,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAC1C,M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;YACX,OAAO,CAAC,IAAI,CACV,mBAAmB,EACnB,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CACnC,CAAC;QACJ,CAAC;IACH,CAAC;CACF;AAEY,QAAA,eAAe,GAAG,IAAI,mBAAmB,EAAE,CAAC;AAGlD,KAAK,UAAU,gBAAgB,CACpC,UAAiC,EAAE;IAEnC,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;QACrB,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAC7B,CAAC;IACD,MAAM,uBAAe,CAAC,WAAW,EAAE,CAAC;AACtC,CAAC"}
|
package/types/enums.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/framework/types/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACpB,OAAO,MAAM;IACb,KAAK,MAAM;IACX,YAAY,MAAM;IAClB,SAAS,MAAM;IACf,SAAS,MAAM;IACf,WAAW,MAAM;IACjB,QAAQ,MAAM;IACd,qBAAqB,MAAM;CAC9B"}
|