@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.
Files changed (470) hide show
  1. package/Application/callbackArgs.d.ts +5 -0
  2. package/Application/callbackArgs.d.ts.map +1 -0
  3. package/Application/callbackArgs.js +98 -0
  4. package/Application/callbackArgs.js.map +1 -0
  5. package/Application/decorators.d.ts +29 -0
  6. package/Application/decorators.d.ts.map +1 -0
  7. package/Application/decorators.js +181 -0
  8. package/Application/decorators.js.map +1 -0
  9. package/Application/index.d.ts +58 -0
  10. package/Application/index.d.ts.map +1 -0
  11. package/Application/index.js +573 -0
  12. package/Application/index.js.map +1 -0
  13. package/Application/interceptors.d.ts +27 -0
  14. package/Application/interceptors.d.ts.map +1 -0
  15. package/Application/interceptors.js +58 -0
  16. package/Application/interceptors.js.map +1 -0
  17. package/Application/lifecycle.d.ts +8 -0
  18. package/Application/lifecycle.d.ts.map +1 -0
  19. package/Application/lifecycle.js +96 -0
  20. package/Application/lifecycle.js.map +1 -0
  21. package/Application/metadata.d.ts +32 -0
  22. package/Application/metadata.d.ts.map +1 -0
  23. package/Application/metadata.js +230 -0
  24. package/Application/metadata.js.map +1 -0
  25. package/Application/processGuards.d.ts +2 -0
  26. package/Application/processGuards.d.ts.map +1 -0
  27. package/Application/processGuards.js +18 -0
  28. package/Application/processGuards.js.map +1 -0
  29. package/Application/types.d.ts +42 -0
  30. package/Application/types.d.ts.map +1 -0
  31. package/Application/types.js +13 -0
  32. package/Application/types.js.map +1 -0
  33. package/Application/warmup.d.ts +2 -0
  34. package/Application/warmup.d.ts.map +1 -0
  35. package/Application/warmup.js +78 -0
  36. package/Application/warmup.js.map +1 -0
  37. package/Auth/AuthUtil.d.ts +36 -0
  38. package/Auth/AuthUtil.d.ts.map +1 -0
  39. package/Auth/AuthUtil.js +305 -0
  40. package/Auth/AuthUtil.js.map +1 -0
  41. package/Auth/context.d.ts +5 -0
  42. package/Auth/context.d.ts.map +1 -0
  43. package/Auth/context.js +10 -0
  44. package/Auth/context.js.map +1 -0
  45. package/Auth/errors.d.ts +15 -0
  46. package/Auth/errors.d.ts.map +1 -0
  47. package/Auth/errors.js +34 -0
  48. package/Auth/errors.js.map +1 -0
  49. package/Auth/flag.d.ts +2 -0
  50. package/Auth/flag.d.ts.map +1 -0
  51. package/Auth/flag.js +5 -0
  52. package/Auth/flag.js.map +1 -0
  53. package/Auth/index.d.ts +11 -0
  54. package/Auth/index.d.ts.map +1 -0
  55. package/Auth/index.js +128 -0
  56. package/Auth/index.js.map +1 -0
  57. package/Auth/store.d.ts +47 -0
  58. package/Auth/store.d.ts.map +1 -0
  59. package/Auth/store.js +151 -0
  60. package/Auth/store.js.map +1 -0
  61. package/Auth/token.d.ts +10 -0
  62. package/Auth/token.d.ts.map +1 -0
  63. package/Auth/token.js +74 -0
  64. package/Auth/token.js.map +1 -0
  65. package/Auth/types.d.ts +76 -0
  66. package/Auth/types.d.ts.map +1 -0
  67. package/Auth/types.js +3 -0
  68. package/Auth/types.js.map +1 -0
  69. package/Exception/decorators.d.ts +4 -0
  70. package/Exception/decorators.d.ts.map +1 -0
  71. package/Exception/decorators.js +40 -0
  72. package/Exception/decorators.js.map +1 -0
  73. package/Exception/handler.d.ts +3 -0
  74. package/Exception/handler.d.ts.map +1 -0
  75. package/Exception/handler.js +96 -0
  76. package/Exception/handler.js.map +1 -0
  77. package/Exception/index.d.ts +9 -0
  78. package/Exception/index.d.ts.map +1 -0
  79. package/Exception/index.js +34 -0
  80. package/Exception/index.js.map +1 -0
  81. package/Exception/registry.d.ts +6 -0
  82. package/Exception/registry.d.ts.map +1 -0
  83. package/Exception/registry.js +60 -0
  84. package/Exception/registry.js.map +1 -0
  85. package/Exception/types.d.ts +27 -0
  86. package/Exception/types.d.ts.map +1 -0
  87. package/Exception/types.js +15 -0
  88. package/Exception/types.js.map +1 -0
  89. package/Json/ObjectMapper.d.ts +13 -0
  90. package/Json/ObjectMapper.d.ts.map +1 -0
  91. package/Json/ObjectMapper.js +184 -0
  92. package/Json/ObjectMapper.js.map +1 -0
  93. package/Json/beanKeys.d.ts +3 -0
  94. package/Json/beanKeys.d.ts.map +1 -0
  95. package/Json/beanKeys.js +29 -0
  96. package/Json/beanKeys.js.map +1 -0
  97. package/Json/convert.d.ts +11 -0
  98. package/Json/convert.d.ts.map +1 -0
  99. package/Json/convert.js +89 -0
  100. package/Json/convert.js.map +1 -0
  101. package/Json/decorators.d.ts +15 -0
  102. package/Json/decorators.d.ts.map +1 -0
  103. package/Json/decorators.js +80 -0
  104. package/Json/decorators.js.map +1 -0
  105. package/Json/index.d.ts +13 -0
  106. package/Json/index.d.ts.map +1 -0
  107. package/Json/index.js +39 -0
  108. package/Json/index.js.map +1 -0
  109. package/Json/types.d.ts +27 -0
  110. package/Json/types.d.ts.map +1 -0
  111. package/Json/types.js +11 -0
  112. package/Json/types.js.map +1 -0
  113. package/Log/decorators.d.ts +3 -0
  114. package/Log/decorators.d.ts.map +1 -0
  115. package/Log/decorators.js +10 -0
  116. package/Log/decorators.js.map +1 -0
  117. package/Log/flag.d.ts +2 -0
  118. package/Log/flag.d.ts.map +1 -0
  119. package/Log/flag.js +5 -0
  120. package/Log/flag.js.map +1 -0
  121. package/Log/index.d.ts +9 -0
  122. package/Log/index.d.ts.map +1 -0
  123. package/Log/index.js +33 -0
  124. package/Log/index.js.map +1 -0
  125. package/Log/ip.d.ts +14 -0
  126. package/Log/ip.d.ts.map +1 -0
  127. package/Log/ip.js +125 -0
  128. package/Log/ip.js.map +1 -0
  129. package/Log/recorder.d.ts +18 -0
  130. package/Log/recorder.d.ts.map +1 -0
  131. package/Log/recorder.js +144 -0
  132. package/Log/recorder.js.map +1 -0
  133. package/Log/types.d.ts +53 -0
  134. package/Log/types.d.ts.map +1 -0
  135. package/Log/types.js +21 -0
  136. package/Log/types.js.map +1 -0
  137. package/Logger/index.d.ts +18 -0
  138. package/Logger/index.d.ts.map +1 -0
  139. package/Logger/index.js +150 -0
  140. package/Logger/index.js.map +1 -0
  141. package/Logger/types.d.ts +13 -0
  142. package/Logger/types.d.ts.map +1 -0
  143. package/Logger/types.js +3 -0
  144. package/Logger/types.js.map +1 -0
  145. package/ORM/BaseMapper.d.ts +54 -0
  146. package/ORM/BaseMapper.d.ts.map +1 -0
  147. package/ORM/BaseMapper.js +593 -0
  148. package/ORM/BaseMapper.js.map +1 -0
  149. package/ORM/DataSource.d.ts +47 -0
  150. package/ORM/DataSource.d.ts.map +1 -0
  151. package/ORM/DataSource.js +336 -0
  152. package/ORM/DataSource.js.map +1 -0
  153. package/ORM/Db.d.ts +43 -0
  154. package/ORM/Db.d.ts.map +1 -0
  155. package/ORM/Db.js +198 -0
  156. package/ORM/Db.js.map +1 -0
  157. package/ORM/IdType.d.ts +10 -0
  158. package/ORM/IdType.d.ts.map +1 -0
  159. package/ORM/IdType.js +22 -0
  160. package/ORM/IdType.js.map +1 -0
  161. package/ORM/QueryWrapper.d.ts +58 -0
  162. package/ORM/QueryWrapper.d.ts.map +1 -0
  163. package/ORM/QueryWrapper.js +289 -0
  164. package/ORM/QueryWrapper.js.map +1 -0
  165. package/ORM/config.d.ts +6 -0
  166. package/ORM/config.d.ts.map +1 -0
  167. package/ORM/config.js +70 -0
  168. package/ORM/config.js.map +1 -0
  169. package/ORM/dialect.d.ts +24 -0
  170. package/ORM/dialect.d.ts.map +1 -0
  171. package/ORM/dialect.js +169 -0
  172. package/ORM/dialect.js.map +1 -0
  173. package/ORM/enable.d.ts +4 -0
  174. package/ORM/enable.d.ts.map +1 -0
  175. package/ORM/enable.js +23 -0
  176. package/ORM/enable.js.map +1 -0
  177. package/ORM/entityDecorators.d.ts +39 -0
  178. package/ORM/entityDecorators.d.ts.map +1 -0
  179. package/ORM/entityDecorators.js +131 -0
  180. package/ORM/entityDecorators.js.map +1 -0
  181. package/ORM/errors.d.ts +9 -0
  182. package/ORM/errors.d.ts.map +1 -0
  183. package/ORM/errors.js +20 -0
  184. package/ORM/errors.js.map +1 -0
  185. package/ORM/fieldSelect.d.ts +25 -0
  186. package/ORM/fieldSelect.d.ts.map +1 -0
  187. package/ORM/fieldSelect.js +49 -0
  188. package/ORM/fieldSelect.js.map +1 -0
  189. package/ORM/fill.d.ts +6 -0
  190. package/ORM/fill.d.ts.map +1 -0
  191. package/ORM/fill.js +45 -0
  192. package/ORM/fill.js.map +1 -0
  193. package/ORM/flag.d.ts +4 -0
  194. package/ORM/flag.d.ts.map +1 -0
  195. package/ORM/flag.js +14 -0
  196. package/ORM/flag.js.map +1 -0
  197. package/ORM/hydrate.d.ts +12 -0
  198. package/ORM/hydrate.d.ts.map +1 -0
  199. package/ORM/hydrate.js +304 -0
  200. package/ORM/hydrate.js.map +1 -0
  201. package/ORM/identifier.d.ts +8 -0
  202. package/ORM/identifier.d.ts.map +1 -0
  203. package/ORM/identifier.js +47 -0
  204. package/ORM/identifier.js.map +1 -0
  205. package/ORM/index.d.ts +41 -0
  206. package/ORM/index.d.ts.map +1 -0
  207. package/ORM/index.js +119 -0
  208. package/ORM/index.js.map +1 -0
  209. package/ORM/relation.d.ts +53 -0
  210. package/ORM/relation.d.ts.map +1 -0
  211. package/ORM/relation.js +143 -0
  212. package/ORM/relation.js.map +1 -0
  213. package/ORM/resultMap.d.ts +3 -0
  214. package/ORM/resultMap.d.ts.map +1 -0
  215. package/ORM/resultMap.js +21 -0
  216. package/ORM/resultMap.js.map +1 -0
  217. package/ORM/security.d.ts +5 -0
  218. package/ORM/security.d.ts.map +1 -0
  219. package/ORM/security.js +39 -0
  220. package/ORM/security.js.map +1 -0
  221. package/ORM/sqlDecorators.d.ts +15 -0
  222. package/ORM/sqlDecorators.d.ts.map +1 -0
  223. package/ORM/sqlDecorators.js +106 -0
  224. package/ORM/sqlDecorators.js.map +1 -0
  225. package/ORM/sqlLog.d.ts +20 -0
  226. package/ORM/sqlLog.d.ts.map +1 -0
  227. package/ORM/sqlLog.js +172 -0
  228. package/ORM/sqlLog.js.map +1 -0
  229. package/ORM/sqlTemplate.d.ts +13 -0
  230. package/ORM/sqlTemplate.d.ts.map +1 -0
  231. package/ORM/sqlTemplate.js +89 -0
  232. package/ORM/sqlTemplate.js.map +1 -0
  233. package/ORM/table.d.ts +8 -0
  234. package/ORM/table.d.ts.map +1 -0
  235. package/ORM/table.js +45 -0
  236. package/ORM/table.js.map +1 -0
  237. package/ORM/tableSearch.d.ts +43 -0
  238. package/ORM/tableSearch.d.ts.map +1 -0
  239. package/ORM/tableSearch.js +205 -0
  240. package/ORM/tableSearch.js.map +1 -0
  241. package/ORM/transactional.d.ts +7 -0
  242. package/ORM/transactional.d.ts.map +1 -0
  243. package/ORM/transactional.js +43 -0
  244. package/ORM/transactional.js.map +1 -0
  245. package/ORM/types.d.ts +92 -0
  246. package/ORM/types.d.ts.map +1 -0
  247. package/ORM/types.js +3 -0
  248. package/ORM/types.js.map +1 -0
  249. package/ORM/xml/MapperXml.d.ts +10 -0
  250. package/ORM/xml/MapperXml.d.ts.map +1 -0
  251. package/ORM/xml/MapperXml.js +79 -0
  252. package/ORM/xml/MapperXml.js.map +1 -0
  253. package/ORM/xml/execute.d.ts +10 -0
  254. package/ORM/xml/execute.d.ts.map +1 -0
  255. package/ORM/xml/execute.js +53 -0
  256. package/ORM/xml/execute.js.map +1 -0
  257. package/ORM/xml/index.d.ts +11 -0
  258. package/ORM/xml/index.d.ts.map +1 -0
  259. package/ORM/xml/index.js +29 -0
  260. package/ORM/xml/index.js.map +1 -0
  261. package/ORM/xml/loadMappers.d.ts +10 -0
  262. package/ORM/xml/loadMappers.d.ts.map +1 -0
  263. package/ORM/xml/loadMappers.js +162 -0
  264. package/ORM/xml/loadMappers.js.map +1 -0
  265. package/ORM/xml/parseMapperXml.d.ts +3 -0
  266. package/ORM/xml/parseMapperXml.d.ts.map +1 -0
  267. package/ORM/xml/parseMapperXml.js +217 -0
  268. package/ORM/xml/parseMapperXml.js.map +1 -0
  269. package/ORM/xml/registry.d.ts +15 -0
  270. package/ORM/xml/registry.d.ts.map +1 -0
  271. package/ORM/xml/registry.js +57 -0
  272. package/ORM/xml/registry.js.map +1 -0
  273. package/ORM/xml/renderSql.d.ts +4 -0
  274. package/ORM/xml/renderSql.d.ts.map +1 -0
  275. package/ORM/xml/renderSql.js +178 -0
  276. package/ORM/xml/renderSql.js.map +1 -0
  277. package/ORM/xml/types.d.ts +50 -0
  278. package/ORM/xml/types.d.ts.map +1 -0
  279. package/ORM/xml/types.js +3 -0
  280. package/ORM/xml/types.js.map +1 -0
  281. package/ORM/xml/xmlMapper.d.ts +10 -0
  282. package/ORM/xml/xmlMapper.d.ts.map +1 -0
  283. package/ORM/xml/xmlMapper.js +44 -0
  284. package/ORM/xml/xmlMapper.js.map +1 -0
  285. package/README.md +41 -2
  286. package/Redis/Redis.d.ts +65 -0
  287. package/Redis/Redis.d.ts.map +1 -0
  288. package/Redis/Redis.js +622 -0
  289. package/Redis/Redis.js.map +1 -0
  290. package/Redis/cache.d.ts +4 -0
  291. package/Redis/cache.d.ts.map +1 -0
  292. package/Redis/cache.js +70 -0
  293. package/Redis/cache.js.map +1 -0
  294. package/Redis/decorators.d.ts +5 -0
  295. package/Redis/decorators.d.ts.map +1 -0
  296. package/Redis/decorators.js +20 -0
  297. package/Redis/decorators.js.map +1 -0
  298. package/Redis/enable.d.ts +4 -0
  299. package/Redis/enable.d.ts.map +1 -0
  300. package/Redis/enable.js +22 -0
  301. package/Redis/enable.js.map +1 -0
  302. package/Redis/errors.d.ts +9 -0
  303. package/Redis/errors.d.ts.map +1 -0
  304. package/Redis/errors.js +20 -0
  305. package/Redis/errors.js.map +1 -0
  306. package/Redis/flag.d.ts +4 -0
  307. package/Redis/flag.d.ts.map +1 -0
  308. package/Redis/flag.js +14 -0
  309. package/Redis/flag.js.map +1 -0
  310. package/Redis/index.d.ts +11 -0
  311. package/Redis/index.d.ts.map +1 -0
  312. package/Redis/index.js +42 -0
  313. package/Redis/index.js.map +1 -0
  314. package/Redis/rateLimit.d.ts +8 -0
  315. package/Redis/rateLimit.d.ts.map +1 -0
  316. package/Redis/rateLimit.js +82 -0
  317. package/Redis/rateLimit.js.map +1 -0
  318. package/Redis/redisson/RCountDownLatch.d.ts +12 -0
  319. package/Redis/redisson/RCountDownLatch.d.ts.map +1 -0
  320. package/Redis/redisson/RCountDownLatch.js +48 -0
  321. package/Redis/redisson/RCountDownLatch.js.map +1 -0
  322. package/Redis/redisson/RFairLock.d.ts +4 -0
  323. package/Redis/redisson/RFairLock.d.ts.map +1 -0
  324. package/Redis/redisson/RFairLock.js +29 -0
  325. package/Redis/redisson/RFairLock.js.map +1 -0
  326. package/Redis/redisson/RLock.d.ts +34 -0
  327. package/Redis/redisson/RLock.d.ts.map +1 -0
  328. package/Redis/redisson/RLock.js +146 -0
  329. package/Redis/redisson/RLock.js.map +1 -0
  330. package/Redis/redisson/RMultiLock.d.ts +15 -0
  331. package/Redis/redisson/RMultiLock.d.ts.map +1 -0
  332. package/Redis/redisson/RMultiLock.js +90 -0
  333. package/Redis/redisson/RMultiLock.js.map +1 -0
  334. package/Redis/redisson/RReadWriteLock.d.ts +9 -0
  335. package/Redis/redisson/RReadWriteLock.d.ts.map +1 -0
  336. package/Redis/redisson/RReadWriteLock.js +51 -0
  337. package/Redis/redisson/RReadWriteLock.js.map +1 -0
  338. package/Redis/redisson/RSemaphore.d.ts +13 -0
  339. package/Redis/redisson/RSemaphore.d.ts.map +1 -0
  340. package/Redis/redisson/RSemaphore.js +54 -0
  341. package/Redis/redisson/RSemaphore.js.map +1 -0
  342. package/Redis/redisson/Redisson.d.ts +30 -0
  343. package/Redis/redisson/Redisson.d.ts.map +1 -0
  344. package/Redis/redisson/Redisson.js +93 -0
  345. package/Redis/redisson/Redisson.js.map +1 -0
  346. package/Redis/redisson/index.d.ts +12 -0
  347. package/Redis/redisson/index.d.ts.map +1 -0
  348. package/Redis/redisson/index.js +32 -0
  349. package/Redis/redisson/index.js.map +1 -0
  350. package/Redis/redisson/objects.d.ts +116 -0
  351. package/Redis/redisson/objects.d.ts.map +1 -0
  352. package/Redis/redisson/objects.js +384 -0
  353. package/Redis/redisson/objects.js.map +1 -0
  354. package/Redis/redisson/scripts.d.ts +13 -0
  355. package/Redis/redisson/scripts.d.ts.map +1 -0
  356. package/Redis/redisson/scripts.js +187 -0
  357. package/Redis/redisson/scripts.js.map +1 -0
  358. package/Redis/redisson/types.d.ts +129 -0
  359. package/Redis/redisson/types.d.ts.map +1 -0
  360. package/Redis/redisson/types.js +8 -0
  361. package/Redis/redisson/types.js.map +1 -0
  362. package/Redis/redisson/utils.d.ts +9 -0
  363. package/Redis/redisson/utils.d.ts.map +1 -0
  364. package/Redis/redisson/utils.js +78 -0
  365. package/Redis/redisson/utils.js.map +1 -0
  366. package/Redis/types.d.ts +82 -0
  367. package/Redis/types.d.ts.map +1 -0
  368. package/Redis/types.js +23 -0
  369. package/Redis/types.js.map +1 -0
  370. package/Service/BaseService.d.ts +18 -0
  371. package/Service/BaseService.d.ts.map +1 -0
  372. package/Service/BaseService.js +46 -0
  373. package/Service/BaseService.js.map +1 -0
  374. package/Service/MapperType.d.ts +18 -0
  375. package/Service/MapperType.d.ts.map +1 -0
  376. package/Service/MapperType.js +46 -0
  377. package/Service/MapperType.js.map +1 -0
  378. package/Service/bean.d.ts +16 -0
  379. package/Service/bean.d.ts.map +1 -0
  380. package/Service/bean.js +72 -0
  381. package/Service/bean.js.map +1 -0
  382. package/Service/container.d.ts +18 -0
  383. package/Service/container.d.ts.map +1 -0
  384. package/Service/container.js +66 -0
  385. package/Service/container.js.map +1 -0
  386. package/Service/decorators.d.ts +12 -0
  387. package/Service/decorators.d.ts.map +1 -0
  388. package/Service/decorators.js +148 -0
  389. package/Service/decorators.js.map +1 -0
  390. package/Service/index.d.ts +11 -0
  391. package/Service/index.d.ts.map +1 -0
  392. package/Service/index.js +32 -0
  393. package/Service/index.js.map +1 -0
  394. package/Service/types.d.ts +19 -0
  395. package/Service/types.d.ts.map +1 -0
  396. package/Service/types.js +18 -0
  397. package/Service/types.js.map +1 -0
  398. package/Validate/decorators.d.ts +18 -0
  399. package/Validate/decorators.d.ts.map +1 -0
  400. package/Validate/decorators.js +77 -0
  401. package/Validate/decorators.js.map +1 -0
  402. package/Validate/engine.d.ts +5 -0
  403. package/Validate/engine.d.ts.map +1 -0
  404. package/Validate/engine.js +78 -0
  405. package/Validate/engine.js.map +1 -0
  406. package/Validate/index.d.ts +6 -0
  407. package/Validate/index.d.ts.map +1 -0
  408. package/Validate/index.js +28 -0
  409. package/Validate/index.js.map +1 -0
  410. package/Validate/rules.d.ts +11 -0
  411. package/Validate/rules.d.ts.map +1 -0
  412. package/Validate/rules.js +120 -0
  413. package/Validate/rules.js.map +1 -0
  414. package/Validate/types.d.ts +22 -0
  415. package/Validate/types.d.ts.map +1 -0
  416. package/Validate/types.js +17 -0
  417. package/Validate/types.js.map +1 -0
  418. package/config/index.d.ts +104 -0
  419. package/config/index.d.ts.map +1 -0
  420. package/config/index.js +330 -0
  421. package/config/index.js.map +1 -0
  422. package/encrypt/AESUtil.d.ts +5 -0
  423. package/encrypt/AESUtil.d.ts.map +1 -0
  424. package/encrypt/AESUtil.js +36 -0
  425. package/encrypt/AESUtil.js.map +1 -0
  426. package/encrypt/DynamicAesKeyManager.d.ts +9 -0
  427. package/encrypt/DynamicAesKeyManager.d.ts.map +1 -0
  428. package/encrypt/DynamicAesKeyManager.js +46 -0
  429. package/encrypt/DynamicAesKeyManager.js.map +1 -0
  430. package/encrypt/index.d.ts +3 -0
  431. package/encrypt/index.d.ts.map +1 -0
  432. package/encrypt/index.js +8 -0
  433. package/encrypt/index.js.map +1 -0
  434. package/index.d.ts +31 -0
  435. package/index.d.ts.map +1 -0
  436. package/index.js +260 -0
  437. package/index.js.map +1 -0
  438. package/langchain/decorators.d.ts +2 -0
  439. package/langchain/decorators.d.ts.map +1 -0
  440. package/langchain/decorators.js +6 -0
  441. package/langchain/decorators.js.map +1 -0
  442. package/langchain/index.d.ts +1 -0
  443. package/langchain/index.d.ts.map +1 -0
  444. package/langchain/index.js +2 -0
  445. package/langchain/index.js.map +1 -0
  446. package/package.json +110 -4
  447. package/schedule/ScheduleManager.d.ts +25 -0
  448. package/schedule/ScheduleManager.d.ts.map +1 -0
  449. package/schedule/ScheduleManager.js +125 -0
  450. package/schedule/ScheduleManager.js.map +1 -0
  451. package/types/enums.d.ts +11 -0
  452. package/types/enums.d.ts.map +1 -0
  453. package/types/enums.js +15 -0
  454. package/types/enums.js.map +1 -0
  455. package/utils/case.d.ts +6 -0
  456. package/utils/case.d.ts.map +1 -0
  457. package/utils/case.js +32 -0
  458. package/utils/case.js.map +1 -0
  459. package/utils/entity/PageResult/index.d.ts +20 -0
  460. package/utils/entity/PageResult/index.d.ts.map +1 -0
  461. package/utils/entity/PageResult/index.js +15 -0
  462. package/utils/entity/PageResult/index.js.map +1 -0
  463. package/utils/entity/ResponseData/index.d.ts +11 -0
  464. package/utils/entity/ResponseData/index.d.ts.map +1 -0
  465. package/utils/entity/ResponseData/index.js +25 -0
  466. package/utils/entity/ResponseData/index.js.map +1 -0
  467. package/utils/id.d.ts +2 -0
  468. package/utils/id.d.ts.map +1 -0
  469. package/utils/id.js +9 -0
  470. 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;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A;AACN,kGAAA,OAAO,OAAA;AACP,iGAAA,MAAM,OAAA;AACN,sGAAA,WAAW,OAAA;AACX,qGAAA,UAAU,OAAA;AACV,kHAAA,uBAAuB,OAAA;AAYzB,mCAckB;AAbhB,8FAAA,IAAI,OAAA;AACJ,oGAAA,UAAU,OAAA;AACV,qGAAA,WAAW,OAAA;AACX,qGAAA,WAAW,OAAA;AACX,qGAAA,WAAW,OAAA;AACX,2GAAA,iBAAiB,OAAA;AACjB,sGAAA,YAAY,OAAA;AACZ,mGAAA,SAAS,OAAA;AACT,wGAAA,cAAc,OAAA;AACd,8GAAA,oBAAoB,OAAA;AACpB,4GAAA,kBAAkB,OAAA;AAClB,uGAAA,aAAa,OAAA;AACb,qGAAA,WAAW,OAAA;AAIb,qCAA0D;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,2 @@
1
+ export declare function AiModel(model: string): void;
2
+ //# sourceMappingURL=decorators.d.ts.map
@@ -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,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiModel = AiModel;
4
+ function AiModel(model) {
5
+ }
6
+ //# sourceMappingURL=decorators.js.map
@@ -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,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=index.js.map
@@ -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": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
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,MAAM,KAAK,GAAG,SAAS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I,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"}
@@ -0,0 +1,11 @@
1
+ export declare enum ResponseCode {
2
+ SUCCESS = 200,
3
+ ERROR = 500,
4
+ UNAUTHORIZED = 401,
5
+ FORBIDDEN = 403,
6
+ NOT_FOUND = 404,
7
+ BAD_REQUEST = 400,
8
+ CONFLICT = 409,
9
+ INTERNAL_SERVER_ERROR = 500
10
+ }
11
+ //# sourceMappingURL=enums.d.ts.map
@@ -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"}