lakutata 2.0.81 → 2.0.82

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 (369) hide show
  1. package/orm.cjs +731 -731
  2. package/orm.mjs +835 -835
  3. package/package.json +1 -1
  4. package/src/components/Database.cjs +2 -2
  5. package/src/components/Database.mjs +6 -6
  6. package/src/components/cacher/Cacher.cjs +129 -129
  7. package/src/components/cacher/Cacher.mjs +117 -117
  8. package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +94 -94
  9. package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +100 -100
  10. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +12 -12
  11. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +11 -11
  12. package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +16 -16
  13. package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +14 -14
  14. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +11 -11
  15. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +11 -11
  16. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +12 -12
  17. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +13 -13
  18. package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +2 -2
  19. package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +2 -2
  20. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +10 -10
  21. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +10 -10
  22. package/src/components/cacher/lib/IsDriverPackageInstalled.cjs +2 -2
  23. package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +5 -5
  24. package/src/components/docker/ConnectionOptionsBuilder.cjs +10 -10
  25. package/src/components/docker/ConnectionOptionsBuilder.mjs +6 -6
  26. package/src/components/docker/Docker.cjs +1687 -1687
  27. package/src/components/docker/Docker.mjs +1563 -1563
  28. package/src/components/docker/lib/ParseEnvToRecord.cjs +2 -2
  29. package/src/components/docker/lib/ParseEnvToRecord.mjs +12 -12
  30. package/src/components/docker/lib/ParseRepositoryTag.cjs +9 -9
  31. package/src/components/docker/lib/ParseRepositoryTag.mjs +11 -11
  32. package/src/components/entrypoint/Entrypoint.cjs +1789 -1789
  33. package/src/components/entrypoint/Entrypoint.mjs +1632 -1632
  34. package/src/components/monitor/AliveMonitor.cjs +2 -2
  35. package/src/components/monitor/AliveMonitor.mjs +2 -2
  36. package/src/components/monitor/MemoryMonitor.cjs +3 -3
  37. package/src/decorators/asst/After.cjs +3 -3
  38. package/src/decorators/asst/After.mjs +2 -2
  39. package/src/decorators/asst/Before.cjs +2 -2
  40. package/src/decorators/asst/Before.mjs +4 -4
  41. package/src/decorators/ctrl/CLIAction.cjs +2 -2
  42. package/src/decorators/ctrl/CLIAction.mjs +7 -7
  43. package/src/decorators/ctrl/HTTPAction.cjs +6 -6
  44. package/src/decorators/ctrl/HTTPAction.mjs +4 -4
  45. package/src/decorators/ctrl/ServiceAction.cjs +3 -3
  46. package/src/decorators/ctrl/ServiceAction.mjs +4 -4
  47. package/src/decorators/ctrl/http/DELETE.cjs +2 -2
  48. package/src/decorators/ctrl/http/DELETE.mjs +2 -2
  49. package/src/decorators/ctrl/http/GET.cjs +2 -2
  50. package/src/decorators/ctrl/http/GET.mjs +2 -2
  51. package/src/decorators/ctrl/http/HEAD.cjs +2 -2
  52. package/src/decorators/ctrl/http/HEAD.mjs +2 -2
  53. package/src/decorators/ctrl/http/OPTIONS.cjs +2 -2
  54. package/src/decorators/ctrl/http/OPTIONS.mjs +2 -2
  55. package/src/decorators/ctrl/http/PATCH.cjs +2 -2
  56. package/src/decorators/ctrl/http/PATCH.mjs +2 -2
  57. package/src/decorators/ctrl/http/POST.cjs +2 -2
  58. package/src/decorators/ctrl/http/POST.mjs +2 -2
  59. package/src/decorators/ctrl/http/PUT.cjs +2 -2
  60. package/src/decorators/ctrl/http/PUT.mjs +2 -2
  61. package/src/decorators/di/Autoload.cjs +2 -2
  62. package/src/decorators/di/Autoload.mjs +2 -2
  63. package/src/decorators/di/Configurable.cjs +3 -3
  64. package/src/decorators/di/Configurable.mjs +2 -2
  65. package/src/decorators/di/Inject.cjs +6 -6
  66. package/src/decorators/di/Inject.mjs +11 -11
  67. package/src/decorators/di/Lifetime.cjs +18 -18
  68. package/src/decorators/di/Lifetime.mjs +13 -13
  69. package/src/decorators/dto/Accept.cjs +3 -3
  70. package/src/decorators/dto/Accept.mjs +2 -2
  71. package/src/decorators/dto/Expect.cjs +2 -2
  72. package/src/decorators/dto/Expect.mjs +3 -3
  73. package/src/decorators/dto/IndexSignature.cjs +2 -2
  74. package/src/decorators/dto/IndexSignature.mjs +3 -3
  75. package/src/decorators/dto/Return.cjs +3 -3
  76. package/src/decorators/dto/Return.mjs +2 -2
  77. package/src/lib/base/EventEmitter.cjs +238 -238
  78. package/src/lib/base/EventEmitter.mjs +221 -221
  79. package/src/lib/base/async-constructor/Append.cjs +11 -11
  80. package/src/lib/base/async-constructor/Append.mjs +7 -7
  81. package/src/lib/base/internal/BasicInfo.cjs +10 -10
  82. package/src/lib/base/internal/BasicInfo.mjs +9 -9
  83. package/src/lib/base/internal/CamelCase.cjs +4 -4
  84. package/src/lib/base/internal/CamelCase.mjs +11 -11
  85. package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +19 -19
  86. package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +18 -18
  87. package/src/lib/base/internal/ConstructorSymbol.cjs +10 -10
  88. package/src/lib/base/internal/ConstructorSymbol.mjs +8 -8
  89. package/src/lib/base/internal/ControllerEntrypoint.cjs +65 -65
  90. package/src/lib/base/internal/ControllerEntrypoint.mjs +36 -36
  91. package/src/lib/base/internal/DataValidator.cjs +70 -70
  92. package/src/lib/base/internal/DataValidator.mjs +137 -137
  93. package/src/lib/base/internal/GetActionDTOAndOptions.cjs +9 -9
  94. package/src/lib/base/internal/GetActionDTOAndOptions.mjs +10 -10
  95. package/src/lib/base/internal/IEEE754.cjs +74 -74
  96. package/src/lib/base/internal/IEEE754.mjs +70 -70
  97. package/src/lib/base/internal/MethodAssistantFunction.cjs +28 -28
  98. package/src/lib/base/internal/MethodAssistantFunction.mjs +38 -38
  99. package/src/lib/base/internal/MethodValidation.cjs +25 -25
  100. package/src/lib/base/internal/MethodValidation.mjs +20 -20
  101. package/src/lib/base/internal/ObjectConfiguration.cjs +10 -10
  102. package/src/lib/base/internal/ObjectConfiguration.mjs +15 -15
  103. package/src/lib/base/internal/ObjectContainer.cjs +7 -7
  104. package/src/lib/base/internal/ObjectContainer.mjs +6 -6
  105. package/src/lib/base/internal/ObjectInjection.cjs +16 -16
  106. package/src/lib/base/internal/ObjectInjection.mjs +13 -13
  107. package/src/lib/base/internal/ObjectLifetime.cjs +10 -10
  108. package/src/lib/base/internal/ObjectLifetime.mjs +9 -9
  109. package/src/lib/base/internal/ObjectWeakRefs.cjs +11 -11
  110. package/src/lib/base/internal/ObjectWeakRefs.mjs +9 -9
  111. package/src/lib/base/internal/PatternManager.cjs +235 -235
  112. package/src/lib/base/internal/PatternManager.mjs +233 -233
  113. package/src/lib/base/internal/StringifyPattern.cjs +26 -26
  114. package/src/lib/base/internal/StringifyPattern.mjs +26 -26
  115. package/src/lib/base/internal/ThrowWarning.cjs +2 -2
  116. package/src/lib/base/internal/ThrowWarning.mjs +2 -2
  117. package/src/lib/core/Alias.cjs +5 -5
  118. package/src/lib/core/Application.cjs +57 -57
  119. package/src/lib/core/Application.mjs +63 -63
  120. package/src/lib/helpers/ArrayToSet.cjs +2 -2
  121. package/src/lib/helpers/ArrayToSet.mjs +3 -3
  122. package/src/lib/helpers/As.cjs +2 -2
  123. package/src/lib/helpers/As.mjs +2 -2
  124. package/src/lib/helpers/ConvertArrayLikeToIterable.cjs +3 -3
  125. package/src/lib/helpers/ConvertArrayLikeToIterable.mjs +3 -3
  126. package/src/lib/helpers/ConvertArrayLikeToStream.cjs +2 -2
  127. package/src/lib/helpers/ConvertArrayLikeToStream.mjs +2 -2
  128. package/src/lib/helpers/Delay.cjs +2 -2
  129. package/src/lib/helpers/Delay.mjs +2 -2
  130. package/src/lib/helpers/DevNull.cjs +2 -2
  131. package/src/lib/helpers/DevNull.mjs +2 -2
  132. package/src/lib/helpers/GetObjectNestingDepth.cjs +12 -12
  133. package/src/lib/helpers/GetObjectNestingDepth.mjs +11 -11
  134. package/src/lib/helpers/GetObjectPropertyPaths.cjs +7 -7
  135. package/src/lib/helpers/GetObjectPropertyPaths.mjs +9 -9
  136. package/src/lib/helpers/Glob.cjs +890 -890
  137. package/src/lib/helpers/Glob.mjs +889 -889
  138. package/src/lib/helpers/GraceExit.cjs +3 -3
  139. package/src/lib/helpers/GraceExit.mjs +7 -7
  140. package/src/lib/helpers/HexToIEEE754.cjs +4 -4
  141. package/src/lib/helpers/HexToIEEE754.mjs +2 -2
  142. package/src/lib/helpers/HexToSigned.cjs +5 -5
  143. package/src/lib/helpers/HexToSigned.mjs +4 -4
  144. package/src/lib/helpers/HexToUnsigned.cjs +2 -2
  145. package/src/lib/helpers/HexToUnsigned.mjs +2 -2
  146. package/src/lib/helpers/IEEE754ToHex.cjs +5 -5
  147. package/src/lib/helpers/IEEE754ToHex.mjs +5 -5
  148. package/src/lib/helpers/IsAbortError.cjs +2 -2
  149. package/src/lib/helpers/IsAbortError.mjs +3 -3
  150. package/src/lib/helpers/IsEmptyObject.cjs +3 -3
  151. package/src/lib/helpers/IsEmptyObject.mjs +3 -3
  152. package/src/lib/helpers/IsExists.cjs +5 -5
  153. package/src/lib/helpers/IsExists.mjs +4 -4
  154. package/src/lib/helpers/IsHtml.cjs +23 -7
  155. package/src/lib/helpers/IsHtml.mjs +23 -7
  156. package/src/lib/helpers/IsNativeFunction.cjs +2 -2
  157. package/src/lib/helpers/IsNativeFunction.mjs +2 -2
  158. package/src/lib/helpers/IsPath.cjs +2 -2
  159. package/src/lib/helpers/IsPath.mjs +5 -5
  160. package/src/lib/helpers/IsPromise.cjs +2 -2
  161. package/src/lib/helpers/IsPromise.mjs +2 -2
  162. package/src/lib/helpers/IsPromiseLike.cjs +5 -5
  163. package/src/lib/helpers/IsPromiseLike.mjs +6 -6
  164. package/src/lib/helpers/IsXML.cjs +1502 -1650
  165. package/src/lib/helpers/IsXML.mjs +1500 -1648
  166. package/src/lib/helpers/MD5.cjs +2 -2
  167. package/src/lib/helpers/MD5.mjs +2 -2
  168. package/src/lib/helpers/MergeArray.cjs +3 -3
  169. package/src/lib/helpers/MergeArray.mjs +3 -3
  170. package/src/lib/helpers/MergeMap.cjs +3 -3
  171. package/src/lib/helpers/MergeMap.mjs +3 -3
  172. package/src/lib/helpers/MergeSet.cjs +2 -2
  173. package/src/lib/helpers/MergeSet.mjs +3 -3
  174. package/src/lib/helpers/NoCase.cjs +27 -27
  175. package/src/lib/helpers/NoCase.mjs +24 -24
  176. package/src/lib/helpers/NonceStr.cjs +2 -2
  177. package/src/lib/helpers/NonceStr.mjs +2 -2
  178. package/src/lib/helpers/ObjectConstructor.cjs +2 -2
  179. package/src/lib/helpers/ObjectConstructor.mjs +4 -4
  180. package/src/lib/helpers/ObjectHash.cjs +234 -234
  181. package/src/lib/helpers/ObjectHash.mjs +227 -227
  182. package/src/lib/helpers/ObjectParentConstructor.cjs +2 -2
  183. package/src/lib/helpers/ObjectParentConstructor.mjs +5 -5
  184. package/src/lib/helpers/ObjectParentConstructors.cjs +6 -6
  185. package/src/lib/helpers/ObjectParentConstructors.mjs +2 -2
  186. package/src/lib/helpers/ObjectPrototype.cjs +2 -2
  187. package/src/lib/helpers/ObjectPrototype.mjs +2 -2
  188. package/src/lib/helpers/ObjectToMap.cjs +2 -2
  189. package/src/lib/helpers/ObjectToMap.mjs +3 -3
  190. package/src/lib/helpers/Paginator.cjs +2 -2
  191. package/src/lib/helpers/Paginator.mjs +6 -6
  192. package/src/lib/helpers/RandomString.cjs +82 -82
  193. package/src/lib/helpers/RandomString.mjs +67 -67
  194. package/src/lib/helpers/SHA1.cjs +2 -2
  195. package/src/lib/helpers/SHA1.mjs +2 -2
  196. package/src/lib/helpers/SHA256.cjs +2 -2
  197. package/src/lib/helpers/SHA256.mjs +2 -2
  198. package/src/lib/helpers/SetToArray.cjs +2 -2
  199. package/src/lib/helpers/SetToArray.mjs +2 -2
  200. package/src/lib/helpers/SignedToHex.cjs +4 -4
  201. package/src/lib/helpers/SignedToHex.mjs +4 -4
  202. package/src/lib/helpers/SortArray.cjs +16 -16
  203. package/src/lib/helpers/SortArray.mjs +15 -15
  204. package/src/lib/helpers/SortKeys.cjs +41 -41
  205. package/src/lib/helpers/SortKeys.mjs +41 -41
  206. package/src/lib/helpers/SortObject.cjs +2 -2
  207. package/src/lib/helpers/SortObject.mjs +2 -2
  208. package/src/lib/helpers/Templating.cjs +25 -25
  209. package/src/lib/helpers/Templating.mjs +25 -25
  210. package/src/lib/helpers/URLBuilder.cjs +234 -234
  211. package/src/lib/helpers/URLBuilder.mjs +231 -231
  212. package/src/lib/helpers/UniqueArray.cjs +3 -3
  213. package/src/lib/helpers/UniqueArray.mjs +2 -2
  214. package/src/lib/helpers/UnsignedToHex.cjs +3 -3
  215. package/src/lib/helpers/UnsignedToHex.mjs +3 -3
  216. package/src/lib/ioc/DependencyInjectionContainer.cjs +106 -106
  217. package/src/lib/ioc/DependencyInjectionContainer.mjs +122 -122
  218. package/src/lib/ioc/FunctionTokenizer.cjs +115 -115
  219. package/src/lib/ioc/FunctionTokenizer.mjs +102 -102
  220. package/src/lib/ioc/Lifetime.cjs +5 -5
  221. package/src/lib/ioc/Lifetime.mjs +5 -5
  222. package/src/lib/ioc/ListModules.cjs +3359 -3359
  223. package/src/lib/ioc/ListModules.mjs +2274 -2274
  224. package/src/lib/ioc/LoadModules.cjs +56 -56
  225. package/src/lib/ioc/LoadModules.mjs +69 -69
  226. package/src/lib/ioc/ParamParser.cjs +30 -30
  227. package/src/lib/ioc/ParamParser.mjs +41 -41
  228. package/src/lib/ioc/Resolvers.cjs +87 -87
  229. package/src/lib/ioc/Resolvers.mjs +109 -109
  230. package/src/lib/ioc/Utils.cjs +12 -12
  231. package/src/lib/ioc/Utils.mjs +18 -18
  232. package/src/lib/validation/VLD.cjs +1124 -1124
  233. package/src/lib/validation/VLD.mjs +1113 -1113
  234. package/src/providers/Database.cjs +2 -2
  235. package/src/providers/Database.mjs +7 -7
  236. package/src/providers/PasswordHash.cjs +330 -330
  237. package/src/providers/PasswordHash.mjs +397 -397
  238. package/vendor/Package.1.cjs +256 -256
  239. package/vendor/Package.1.mjs +254 -254
  240. package/vendor/Package.112.cjs +32208 -32208
  241. package/vendor/Package.112.mjs +32111 -32111
  242. package/vendor/Package.13.cjs +36 -36
  243. package/vendor/Package.13.mjs +24 -24
  244. package/vendor/Package.16.cjs +10312 -10312
  245. package/vendor/Package.16.mjs +10309 -10309
  246. package/vendor/Package.17.cjs +924 -924
  247. package/vendor/Package.17.mjs +943 -943
  248. package/vendor/Package.18.cjs +19 -19
  249. package/vendor/Package.18.mjs +21 -21
  250. package/vendor/Package.19.cjs +19 -19
  251. package/vendor/Package.19.mjs +20 -20
  252. package/vendor/Package.2.cjs +3913 -3913
  253. package/vendor/Package.2.mjs +3931 -3931
  254. package/vendor/Package.20.cjs +16 -16
  255. package/vendor/Package.20.mjs +12 -12
  256. package/vendor/Package.21.cjs +19 -19
  257. package/vendor/Package.21.mjs +17 -17
  258. package/vendor/Package.22.cjs +11 -11
  259. package/vendor/Package.22.mjs +12 -12
  260. package/vendor/Package.23.cjs +8 -8
  261. package/vendor/Package.23.mjs +12 -12
  262. package/vendor/Package.24.cjs +16 -16
  263. package/vendor/Package.24.mjs +14 -14
  264. package/vendor/Package.25.cjs +11 -11
  265. package/vendor/Package.25.mjs +12 -12
  266. package/vendor/Package.26.cjs +19 -19
  267. package/vendor/Package.26.mjs +12 -12
  268. package/vendor/Package.27.cjs +16 -16
  269. package/vendor/Package.27.mjs +6 -6
  270. package/vendor/Package.28.cjs +19 -19
  271. package/vendor/Package.28.mjs +17 -17
  272. package/vendor/Package.29.cjs +15 -15
  273. package/vendor/Package.29.mjs +13 -13
  274. package/vendor/Package.3.cjs +60 -60
  275. package/vendor/Package.3.mjs +85 -85
  276. package/vendor/Package.30.cjs +9 -9
  277. package/vendor/Package.30.mjs +9 -9
  278. package/vendor/Package.31.cjs +14 -14
  279. package/vendor/Package.31.mjs +27 -27
  280. package/vendor/Package.32.cjs +11 -11
  281. package/vendor/Package.32.mjs +11 -11
  282. package/vendor/Package.33.cjs +4 -4
  283. package/vendor/Package.33.mjs +6 -6
  284. package/vendor/Package.34.cjs +10 -10
  285. package/vendor/Package.34.mjs +23 -23
  286. package/vendor/Package.35.cjs +6 -6
  287. package/vendor/Package.35.mjs +16 -16
  288. package/vendor/Package.36.cjs +17 -17
  289. package/vendor/Package.36.mjs +21 -21
  290. package/vendor/Package.37.cjs +15 -15
  291. package/vendor/Package.37.mjs +17 -17
  292. package/vendor/Package.38.cjs +12 -12
  293. package/vendor/Package.38.mjs +16 -16
  294. package/vendor/Package.39.cjs +17 -17
  295. package/vendor/Package.39.mjs +13 -13
  296. package/vendor/Package.4.cjs +412 -412
  297. package/vendor/Package.4.mjs +537 -537
  298. package/vendor/Package.40.cjs +5 -5
  299. package/vendor/Package.40.mjs +6 -6
  300. package/vendor/Package.41.cjs +18 -18
  301. package/vendor/Package.41.mjs +17 -17
  302. package/vendor/Package.42.cjs +24 -24
  303. package/vendor/Package.42.mjs +17 -17
  304. package/vendor/Package.43.cjs +5 -5
  305. package/vendor/Package.43.mjs +19 -19
  306. package/vendor/Package.44.cjs +16 -16
  307. package/vendor/Package.44.mjs +13 -13
  308. package/vendor/Package.45.cjs +21 -21
  309. package/vendor/Package.45.mjs +22 -22
  310. package/vendor/Package.46.cjs +6 -6
  311. package/vendor/Package.46.mjs +22 -22
  312. package/vendor/Package.47.cjs +16 -16
  313. package/vendor/Package.47.mjs +29 -29
  314. package/vendor/Package.48.cjs +8 -8
  315. package/vendor/Package.48.mjs +16 -16
  316. package/vendor/Package.49.cjs +6 -6
  317. package/vendor/Package.49.mjs +20 -20
  318. package/vendor/Package.5.cjs +10 -10
  319. package/vendor/Package.5.mjs +9 -9
  320. package/vendor/Package.50.cjs +13 -13
  321. package/vendor/Package.50.mjs +14 -14
  322. package/vendor/Package.51.cjs +18 -18
  323. package/vendor/Package.51.mjs +23 -23
  324. package/vendor/Package.52.cjs +4 -4
  325. package/vendor/Package.52.mjs +5 -5
  326. package/vendor/Package.53.cjs +6 -6
  327. package/vendor/Package.53.mjs +8 -8
  328. package/vendor/Package.54.cjs +30 -30
  329. package/vendor/Package.54.mjs +29 -29
  330. package/vendor/Package.55.cjs +16 -16
  331. package/vendor/Package.55.mjs +20 -20
  332. package/vendor/Package.56.cjs +14 -14
  333. package/vendor/Package.56.mjs +18 -18
  334. package/vendor/Package.57.cjs +6 -6
  335. package/vendor/Package.57.mjs +17 -17
  336. package/vendor/Package.58.cjs +22 -22
  337. package/vendor/Package.58.mjs +19 -19
  338. package/vendor/Package.59.cjs +18 -18
  339. package/vendor/Package.59.mjs +13 -13
  340. package/vendor/Package.6.cjs +1739 -1739
  341. package/vendor/Package.6.mjs +1739 -1739
  342. package/vendor/Package.60.cjs +13553 -13553
  343. package/vendor/Package.60.mjs +13562 -13562
  344. package/vendor/Package.610.cjs +9 -9
  345. package/vendor/Package.611.cjs +39 -39
  346. package/vendor/Package.611.mjs +22 -22
  347. package/vendor/Package.612.cjs +33 -33
  348. package/vendor/Package.612.mjs +17 -17
  349. package/vendor/Package.613.cjs +62 -62
  350. package/vendor/Package.613.mjs +29 -29
  351. package/vendor/Package.62.cjs +292 -292
  352. package/vendor/Package.62.mjs +312 -312
  353. package/vendor/Package.63.cjs +354 -354
  354. package/vendor/Package.63.mjs +229 -229
  355. package/vendor/Package.64.cjs +74 -74
  356. package/vendor/Package.64.mjs +74 -74
  357. package/vendor/Package.65.cjs +1833 -1833
  358. package/vendor/Package.65.mjs +1656 -1656
  359. package/vendor/Package.66.cjs +16 -16
  360. package/vendor/Package.66.mjs +16 -16
  361. package/vendor/Package.67.cjs +87 -87
  362. package/vendor/Package.67.mjs +85 -85
  363. package/vendor/Package.68.cjs +115 -256
  364. package/vendor/Package.68.mjs +134 -268
  365. package/vendor/Package.69.cjs +8 -8
  366. package/vendor/Package.7.cjs +3 -3
  367. package/vendor/Package.7.mjs +3 -3
  368. package/vendor/Package.9.cjs +45 -45
  369. package/vendor/Package.9.mjs +79 -79
@@ -14,25 +14,25 @@ import { GetConfigurableRecords as a, SetIdToInstance as c, SetConfigurableRecor
14
14
 
15
15
  import { GetObjectConfigurableProperties as p } from "../src/lib/base/internal/ObjectConfiguration.mjs";
16
16
 
17
- import { GetObjectIsAutoload as u, GetObjectInjectItemsByPrototype as f } from "../src/lib/base/internal/ObjectInjection.mjs";
17
+ import { GetObjectIsAutoload as f, GetObjectInjectItemsByPrototype as u } from "../src/lib/base/internal/ObjectInjection.mjs";
18
18
 
19
19
  import { SetObjectContainerGetter as b } from "../src/lib/base/internal/ObjectContainer.mjs";
20
20
 
21
- import { D as y, I as g } from "./Package.2.mjs";
21
+ import { D as y, I as j } from "./Package.2.mjs";
22
22
 
23
- import { ObjectConstructor as j } from "../src/lib/helpers/ObjectConstructor.mjs";
23
+ import { ObjectConstructor as O } from "../src/lib/helpers/ObjectConstructor.mjs";
24
24
 
25
- import { As as w } from "../src/lib/helpers/As.mjs";
25
+ import { As as g } from "../src/lib/helpers/As.mjs";
26
26
 
27
- import { DevNull as O } from "../src/lib/helpers/DevNull.mjs";
27
+ import { DevNull as w } from "../src/lib/helpers/DevNull.mjs";
28
28
 
29
29
  import { ObjectParentConstructors as P } from "../src/lib/helpers/ObjectParentConstructors.mjs";
30
30
 
31
- import { DependencyInjectionException as C } from "../src/exceptions/di/DependencyInjectionException.mjs";
31
+ import { DependencyInjectionException as S } from "../src/exceptions/di/DependencyInjectionException.mjs";
32
32
 
33
- import { ConstructorSymbol as R } from "../src/lib/base/internal/ConstructorSymbol.mjs";
33
+ import { ConstructorSymbol as C } from "../src/lib/base/internal/ConstructorSymbol.mjs";
34
34
 
35
- import { Expect as S } from "../src/decorators/dto/Expect.mjs";
35
+ import { Expect as R } from "../src/decorators/dto/Expect.mjs";
36
36
 
37
37
  import { IndexSignature as N } from "../src/decorators/dto/IndexSignature.mjs";
38
38
 
@@ -40,35 +40,35 @@ import { asValue as v, asClass as I } from "../src/lib/ioc/Resolvers.mjs";
40
40
 
41
41
  import { GetObjectLifetime as E } from "../src/lib/base/internal/ObjectLifetime.mjs";
42
42
 
43
- import { Accept as M } from "../src/decorators/dto/Accept.mjs";
43
+ import { Accept as T } from "../src/decorators/dto/Accept.mjs";
44
44
 
45
- import { listModules as A } from "../src/lib/ioc/ListModules.mjs";
45
+ import { listModules as M } from "../src/lib/ioc/ListModules.mjs";
46
46
 
47
- import { pathToFileURL as T } from "url";
47
+ import { pathToFileURL as A } from "url";
48
48
 
49
- import { isClass as L } from "../src/lib/ioc/Utils.mjs";
49
+ import { isClass as D } from "../src/lib/ioc/Utils.mjs";
50
50
 
51
- import { IsEmptyObject as k } from "../src/lib/helpers/IsEmptyObject.mjs";
51
+ import { IsEmptyObject as L } from "../src/lib/helpers/IsEmptyObject.mjs";
52
52
 
53
- import { AppendObjectWeakRefs as D, GetObjectWeakRefs as U, ClearObjectWeakRefs as x } from "../src/lib/base/internal/ObjectWeakRefs.mjs";
53
+ import { AppendObjectWeakRefs as k, GetObjectWeakRefs as G, ClearObjectWeakRefs as U } from "../src/lib/base/internal/ObjectWeakRefs.mjs";
54
54
 
55
- var B;
55
+ var x;
56
56
 
57
- const _ = Symbol("OBJECT_ID");
57
+ const B = Symbol("OBJECT_ID");
58
58
 
59
- let F = class LoadObjectOptions extends y {
59
+ let _ = class LoadObjectOptions extends y {
60
60
  static {
61
- B = _;
61
+ x = B;
62
62
  }
63
63
  };
64
64
 
65
- t([ S(y.Alternatives(y.String(), y.Symbol()).optional()), e("design:type", Object) ], F.prototype, B, void 0);
65
+ t([ R(y.Alternatives(y.String(), y.Symbol()).optional()), e("design:type", Object) ], _.prototype, x, void 0);
66
66
 
67
- t([ S(y.Class((() => tt)).required()), e("design:type", Object) ], F.prototype, "class", void 0);
67
+ t([ R(y.Class((() => H)).required()), e("design:type", Object) ], _.prototype, "class", void 0);
68
68
 
69
- F = t([ N(y.Any()) ], F);
69
+ _ = t([ N(y.Any()) ], _);
70
70
 
71
- const G = Symbol("LAKUTATA.DI.CONTAINER.SYMBOL");
71
+ const F = Symbol("LAKUTATA.DI.CONTAINER.SYMBOL");
72
72
 
73
73
  const Y = Symbol("LAKUTATA.DI.OWNER.SYMBOL");
74
74
 
@@ -86,14 +86,14 @@ class Container {
86
86
  strict: false
87
87
  });
88
88
  if (this.parent) this.parent.#e.add(this);
89
- this.#t.register(G, v(this));
89
+ this.#t.register(F, v(this));
90
90
  if (e) this.#t.register(Y, v(new WeakRef(e)));
91
91
  }
92
92
  async disposer(t) {
93
93
  try {
94
- await t.getMethod(H, false)();
94
+ await t.getMethod(W, false)();
95
95
  } catch (t) {
96
- O(t);
96
+ w(t);
97
97
  }
98
98
  }
99
99
  buildResolverOptions(t) {
@@ -104,11 +104,11 @@ class Container {
104
104
  };
105
105
  }
106
106
  async processResolved(t, e, s = {}) {
107
- const i = a(w(t.constructor), e);
108
- const r = y.isValid(t.constructor, y.Class(tt));
107
+ const i = a(g(t.constructor), e);
108
+ const r = y.isValid(t.constructor, y.Class(H));
109
109
  if (r) {
110
- c(w(t), e);
111
- l(w(t), {
110
+ c(g(t), e);
111
+ l(g(t), {
112
112
  ...i,
113
113
  ...s
114
114
  });
@@ -117,7 +117,7 @@ class Container {
117
117
  }
118
118
  buildNameAndRegistrationPairFromOptions(t) {
119
119
  const e = {};
120
- const s = t[_] ? t[_] : R(t.class);
120
+ const s = t[B] ? t[B] : C(t.class);
121
121
  const i = {
122
122
  ...t,
123
123
  class: void 0
@@ -130,15 +130,15 @@ class Container {
130
130
  }
131
131
  async buildNameAndRegistrationPairFromGlob(t) {
132
132
  const e = [];
133
- A(t).forEach((t => {
133
+ M(t).forEach((t => {
134
134
  e.push(new Promise((e => {
135
- import(T(t.path).toString()).then((t => {
135
+ import(A(t.path).toString()).then((t => {
136
136
  Object.keys(t).forEach((s => {
137
137
  const i = t[s];
138
- if (L(i) && y.isValid(i, y.Class(tt))) {
138
+ if (D(i) && y.isValid(i, y.Class(H))) {
139
139
  const t = i;
140
140
  const s = {};
141
- s[R(t)] = I(t, this.buildResolverOptions(t));
141
+ s[C(t)] = I(t, this.buildResolverOptions(t));
142
142
  return e(s);
143
143
  } else {
144
144
  return e({});
@@ -169,16 +169,16 @@ class Container {
169
169
  t.forEach((t => {
170
170
  if (typeof t === "string") {
171
171
  s.push(new Promise(((e, s) => this.buildNameAndRegistrationPairFromGlob(t).then(e).catch(s))));
172
- } else if (L(w(t))) {
172
+ } else if (D(g(t))) {
173
173
  const s = {
174
- class: w(t)
174
+ class: g(t)
175
175
  };
176
176
  e = {
177
177
  ...e,
178
178
  ...this.buildNameAndRegistrationPairFromOptions(s)
179
179
  };
180
180
  } else {
181
- const s = w(t);
181
+ const s = g(t);
182
182
  e = {
183
183
  ...e,
184
184
  ...this.buildNameAndRegistrationPairFromOptions(s)
@@ -194,24 +194,24 @@ class Container {
194
194
  };
195
195
  }));
196
196
  }
197
- if (!k(e)) {
197
+ if (!L(e)) {
198
198
  Object.getOwnPropertyNames(e).forEach((t => this.injectionNames.add(t)));
199
199
  Object.getOwnPropertySymbols(e).forEach((t => this.injectionNames.add(t)));
200
200
  this.#t.register(e);
201
201
  }
202
202
  }
203
203
  async get(t, e = {}) {
204
- const s = typeof t === "function" ? R(t) : t;
205
- if (!this.#t.hasRegistration(s) && typeof t === "function" && u(w(t))) {
204
+ const s = typeof t === "function" ? C(t) : t;
205
+ if (!this.#t.hasRegistration(s) && typeof t === "function" && f(g(t))) {
206
206
  await this.load([ {
207
207
  id: s,
208
- class: w(t)
208
+ class: g(t)
209
209
  } ]);
210
210
  }
211
211
  return (this.#t.getRegistration(s)?.lifetime === "SINGLETON" || this.#t.getRegistration(s)?.lifetime === "MODULE_SINGLETON") && !this.injectionNames.has(s) && this.parent ? await this.parent.get(s, e) : await this.processResolved(this.#t.resolve(s), s, e);
212
212
  }
213
213
  has(t) {
214
- if (typeof t === "function") return this.#t.hasRegistration(R(t));
214
+ if (typeof t === "function") return this.#t.hasRegistration(C(t));
215
215
  return this.#t.hasRegistration(t);
216
216
  }
217
217
  async set(t, e = {}) {
@@ -225,7 +225,7 @@ class Container {
225
225
  await this.load([ {
226
226
  ...s,
227
227
  class: e,
228
- [_]: t
228
+ [B]: t
229
229
  } ]);
230
230
  return await this.get(t);
231
231
  }
@@ -239,12 +239,12 @@ class Container {
239
239
  await this.load([ {
240
240
  ...s,
241
241
  class: e,
242
- [_]: t
242
+ [B]: t
243
243
  } ]);
244
244
  }
245
245
  async build(t, e = {}) {
246
- const s = await this.processResolved(this.#t.build(t, this.buildResolverOptions(t)), R(t), e);
247
- D(this.#t, s);
246
+ const s = await this.processResolved(this.#t.build(t, this.buildResolverOptions(t)), C(t), e);
247
+ k(this.#t, s);
248
248
  return s;
249
249
  }
250
250
  createScope() {
@@ -259,18 +259,18 @@ class Container {
259
259
  await Promise.all(t);
260
260
  await this.#t.dispose();
261
261
  const e = [];
262
- U(this.#t).forEach((t => {
262
+ G(this.#t).forEach((t => {
263
263
  let s = t.deref();
264
264
  if (!s) return;
265
- if (s[H]) {
266
- e.push(new Promise((t => s ? Promise.resolve(s[H]()).then((() => {
265
+ if (s[W]) {
266
+ e.push(new Promise((t => s ? Promise.resolve(s[W]()).then((() => {
267
267
  s = undefined;
268
268
  return t();
269
- })).catch(O) : t())));
269
+ })).catch(w) : t())));
270
270
  }
271
271
  }));
272
272
  await Promise.all(e);
273
- x(this.#t);
273
+ U(this.#t);
274
274
  }
275
275
  async destroy() {
276
276
  if (this.#s) return;
@@ -280,7 +280,7 @@ class Container {
280
280
  }
281
281
  }
282
282
 
283
- t([ M(y.Array(y.Alternatives(F.Schema(), y.Class((() => tt)), y.Glob()))), e("design:type", Function), e("design:paramtypes", [ Array ]), e("design:returntype", Promise) ], Container.prototype, "load", null);
283
+ t([ T(y.Array(y.Alternatives(_.Schema(), y.Class((() => H)), y.Glob()))), e("design:type", Function), e("design:paramtypes", [ Array ]), e("design:returntype", Promise) ], Container.prototype, "load", null);
284
284
 
285
285
  const $ = Symbol("OBJECT.TYPE");
286
286
 
@@ -295,16 +295,16 @@ var q;
295
295
  t["Module"] = "Module";
296
296
  })(q || (q = {}));
297
297
 
298
- function z(t) {
299
- return e => J(e, t);
298
+ function DefineObjectType(t) {
299
+ return e => SetObjectType(e, t);
300
300
  }
301
301
 
302
- function J(t, e) {
303
- Reflect.defineMetadata($, y.isValid(t, y.Class(tt)) ? e : q.Unknown, t);
302
+ function SetObjectType(t, e) {
303
+ Reflect.defineMetadata($, y.isValid(t, y.Class(H)) ? e : q.Unknown, t);
304
304
  return t;
305
305
  }
306
306
 
307
- function V(t) {
307
+ function GetObjectType(t) {
308
308
  if (Reflect.hasOwnMetadata($, t)) return Reflect.getOwnMetadata($, t);
309
309
  let e = q.Unknown;
310
310
  for (const s of P(t)) {
@@ -313,23 +313,23 @@ function V(t) {
313
313
  break;
314
314
  }
315
315
  }
316
- J(t, e);
317
- return V(t);
316
+ SetObjectType(t, e);
317
+ return GetObjectType(t);
318
318
  }
319
319
 
320
- var W;
320
+ var z;
321
321
 
322
- var K;
322
+ var J;
323
323
 
324
- const X = Symbol("__init");
324
+ const V = Symbol("__init");
325
325
 
326
- const H = Symbol("__destroy");
326
+ const W = Symbol("__destroy");
327
327
 
328
- const Q = Symbol("anonymous");
328
+ const K = Symbol("anonymous");
329
329
 
330
- const Z = Symbol("OBJECT.SYMBOL.PROPERTY");
330
+ const X = Symbol("OBJECT.SYMBOL.PROPERTY");
331
331
 
332
- let tt = K = class BaseObject extends s {
332
+ let H = J = class BaseObject extends s {
333
333
  #i;
334
334
  #r;
335
335
  #o=n();
@@ -338,9 +338,9 @@ let tt = K = class BaseObject extends s {
338
338
  const t = d(this);
339
339
  const e = [];
340
340
  p(this).forEach(((s, i) => {
341
- if (g(i)) return;
341
+ if (j(i)) return;
342
342
  e.push(new Promise(((e, r) => {
343
- y.validateAsync(t[w(i)], s.schema, {
343
+ y.validateAsync(t[g(i)], s.schema, {
344
344
  targetName: i
345
345
  }).then((t => Promise.resolve(s.fn.bind(this)(t)).then((t => {
346
346
  this[i] = t;
@@ -351,7 +351,7 @@ let tt = K = class BaseObject extends s {
351
351
  await Promise.all(e);
352
352
  }
353
353
  async #c() {
354
- const t = f(this);
354
+ const t = u(this);
355
355
  const e = [];
356
356
  t.forEach(((t, s) => {
357
357
  const i = t.name;
@@ -361,14 +361,14 @@ let tt = K = class BaseObject extends s {
361
361
  Reflect.set(this, s, t);
362
362
  return e();
363
363
  })).catch(r);
364
- })).catch((t => r(new C("Unable to inject value for property {0} of {1} because: {2}", [ s, this.className, t.message ]))));
364
+ })).catch((t => r(new S("Unable to inject value for property {0} of {1} because: {2}", [ s, this.className, t.message ]))));
365
365
  })));
366
366
  }));
367
367
  await Promise.all(e);
368
368
  }
369
369
  #l() {
370
370
  const t = m(this);
371
- this.#r = t ? t : Q;
371
+ this.#r = t ? t : K;
372
372
  }
373
373
  constructor(t) {
374
374
  super((async () => {
@@ -377,18 +377,18 @@ let tt = K = class BaseObject extends s {
377
377
  if (t) Object.defineProperty(this, "then", {
378
378
  enumerable: false
379
379
  });
380
- await this[X]();
380
+ await this[V]();
381
381
  }));
382
- this.#i = new Container(t[G], this);
382
+ this.#i = new Container(t[F], this);
383
383
  b(this, this.#i);
384
384
  }
385
385
  static get className() {
386
386
  return this.name;
387
387
  }
388
388
  get className() {
389
- return j(this).name;
389
+ return O(this).name;
390
390
  }
391
- async [X](...t) {
391
+ async [V](...t) {
392
392
  this.#i.registerContainerToItsParent();
393
393
  if (!this.#n) {
394
394
  await this.#c();
@@ -398,7 +398,7 @@ let tt = K = class BaseObject extends s {
398
398
  for (const e of t) await e();
399
399
  await this.init();
400
400
  }
401
- async [H](...t) {
401
+ async [W](...t) {
402
402
  await this.#i.destroy();
403
403
  for (const e of t) await e();
404
404
  await this.destroy();
@@ -416,10 +416,10 @@ let tt = K = class BaseObject extends s {
416
416
  }
417
417
  getModule() {
418
418
  let t = this.getParent();
419
- while (t && V(w(j(t))) !== q.Module) {
419
+ while (t && GetObjectType(g(O(t))) !== q.Module) {
420
420
  t = this.getParent();
421
421
  }
422
- return w(t);
422
+ return g(t);
423
423
  }
424
424
  get $uuid() {
425
425
  return this.#o;
@@ -428,16 +428,16 @@ let tt = K = class BaseObject extends s {
428
428
  return this.#r;
429
429
  }
430
430
  get $symbol() {
431
- if (Reflect.hasOwnMetadata(Z, this)) return Reflect.getOwnMetadata(Z, this);
432
- Reflect.defineMetadata(Z, Symbol(this.$uuid), this);
431
+ if (Reflect.hasOwnMetadata(X, this)) return Reflect.getOwnMetadata(X, this);
432
+ Reflect.defineMetadata(X, Symbol(this.$uuid), this);
433
433
  return this.$symbol;
434
434
  }
435
435
  setProperty(t, e) {
436
436
  this[t] = e;
437
437
  }
438
438
  getProperty(t, e) {
439
- if (this.hasProperty(t)) return w(this[t]);
440
- return w(e);
439
+ if (this.hasProperty(t)) return g(this[t]);
440
+ return g(e);
441
441
  }
442
442
  hasProperty(t) {
443
443
  return typeof t === "string" ? this.propertyNames().includes(t) : this.propertySymbols().includes(t);
@@ -462,7 +462,7 @@ let tt = K = class BaseObject extends s {
462
462
  className: this.constructor.name
463
463
  });
464
464
  } else {
465
- return (...t) => O(...t);
465
+ return (...t) => w(...t);
466
466
  }
467
467
  }
468
468
  async dispose() {
@@ -470,6 +470,6 @@ let tt = K = class BaseObject extends s {
470
470
  }
471
471
  };
472
472
 
473
- tt = K = t([ i(), z(q.Object), e("design:paramtypes", [ Object ]) ], tt);
473
+ H = J = t([ i(), DefineObjectType(q.Object), e("design:paramtypes", [ Object ]) ], H);
474
474
 
475
- export { tt as B, Container as C, z as D, V as G, F as L, q as O, J as S, X as _, H as a, _ as b, G as c, Q as d, Y as o };
475
+ export { H as B, Container as C, DefineObjectType as D, GetObjectType as G, _ as L, q as O, SetObjectType as S, V as _, W as a, B as b, F as c, K as d, Y as o };
@@ -6,18 +6,18 @@ const e = require("./Package.112.cjs");
6
6
 
7
7
  var r = {};
8
8
 
9
- var a;
9
+ var i;
10
10
 
11
- function s() {
12
- if (a) return r;
13
- a = 1;
11
+ function requireChildEntity() {
12
+ if (i) return r;
13
+ i = 1;
14
14
  "use strict";
15
15
  Object.defineProperty(r, "__esModule", {
16
16
  value: true
17
17
  });
18
- r.ChildEntity = s;
18
+ r.ChildEntity = ChildEntity;
19
19
  const t = e.requireGlobals();
20
- function s(e) {
20
+ function ChildEntity(e) {
21
21
  return function(r) {
22
22
  (0, t.getMetadataArgsStorage)().tables.push({
23
23
  target: r,
@@ -34,8 +34,8 @@ function s() {
34
34
  return r;
35
35
  }
36
36
 
37
- var i = s();
37
+ var a = requireChildEntity();
38
38
 
39
- const n = t.getDefaultExportFromCjs(i);
39
+ const n = t.getDefaultExportFromCjs(a);
40
40
 
41
- exports.ChildEntityExports = i;
41
+ exports.ChildEntityExports = a;
@@ -4,18 +4,18 @@ import { h as e } from "./Package.112.mjs";
4
4
 
5
5
  var r = {};
6
6
 
7
- var a;
7
+ var i;
8
8
 
9
- function i() {
10
- if (a) return r;
11
- a = 1;
9
+ function requireChildEntity() {
10
+ if (i) return r;
11
+ i = 1;
12
12
  "use strict";
13
13
  Object.defineProperty(r, "__esModule", {
14
14
  value: true
15
15
  });
16
- r.ChildEntity = i;
16
+ r.ChildEntity = ChildEntity;
17
17
  const t = e();
18
- function i(e) {
18
+ function ChildEntity(e) {
19
19
  return function(r) {
20
20
  (0, t.getMetadataArgsStorage)().tables.push({
21
21
  target: r,
@@ -32,8 +32,8 @@ function i() {
32
32
  return r;
33
33
  }
34
34
 
35
- var n = i();
35
+ var a = requireChildEntity();
36
36
 
37
- const s = t(n);
37
+ const n = t(a);
38
38
 
39
- export { n as C };
39
+ export { a as C };
@@ -8,35 +8,35 @@ var r = {};
8
8
 
9
9
  var n;
10
10
 
11
- function o() {
11
+ function requireColumn() {
12
12
  if (n) return r;
13
13
  n = 1;
14
14
  "use strict";
15
15
  Object.defineProperty(r, "__esModule", {
16
16
  value: true
17
17
  });
18
- r.Column = a;
18
+ r.Column = Column;
19
19
  const e = t.requireGlobals();
20
20
  const o = t.requireColumnTypeUndefinedError();
21
- function a(t, r) {
21
+ function Column(t, r) {
22
22
  return function(n, a) {
23
- let s;
23
+ let u;
24
24
  if (typeof t === "string" || typeof t === "function") {
25
- s = t;
25
+ u = t;
26
26
  } else if (t) {
27
27
  r = t;
28
- s = t.type;
28
+ u = t.type;
29
29
  }
30
30
  if (!r) r = {};
31
- const u = Reflect && Reflect.getMetadata ? Reflect.getMetadata("design:type", n, a) : undefined;
32
- if (!s && u) s = u;
33
- if (!r.type && s) r.type = s;
34
- if (r.type === "hstore" && !r.hstoreType) r.hstoreType = u === Object ? "object" : "string";
31
+ const s = Reflect && Reflect.getMetadata ? Reflect.getMetadata("design:type", n, a) : undefined;
32
+ if (!u && s) u = s;
33
+ if (!r.type && u) r.type = u;
34
+ if (r.type === "hstore" && !r.hstoreType) r.hstoreType = s === Object ? "object" : "string";
35
35
  if (typeof t === "function") {
36
36
  (0, e.getMetadataArgsStorage)().embeddeds.push({
37
37
  target: n.constructor,
38
38
  propertyName: a,
39
- isArray: u === Array || r.array === true,
39
+ isArray: s === Array || r.array === true,
40
40
  prefix: r.prefix !== undefined ? r.prefix : undefined,
41
41
  type: t
42
42
  });
@@ -65,8 +65,8 @@ function o() {
65
65
  return r;
66
66
  }
67
67
 
68
- var a = o();
68
+ var o = requireColumn();
69
69
 
70
- const s = e.getDefaultExportFromCjs(a);
70
+ const a = e.getDefaultExportFromCjs(o);
71
71
 
72
- exports.ColumnExports = a;
72
+ exports.ColumnExports = o;
@@ -2,22 +2,22 @@ import { g as e } from "./Package.5.mjs";
2
2
 
3
3
  import { h as t, j as r } from "./Package.112.mjs";
4
4
 
5
- var a = {};
5
+ var n = {};
6
6
 
7
- var n;
7
+ var o;
8
8
 
9
- function o() {
10
- if (n) return a;
11
- n = 1;
9
+ function requireColumn() {
10
+ if (o) return n;
11
+ o = 1;
12
12
  "use strict";
13
- Object.defineProperty(a, "__esModule", {
13
+ Object.defineProperty(n, "__esModule", {
14
14
  value: true
15
15
  });
16
- a.Column = s;
16
+ n.Column = Column;
17
17
  const e = t();
18
- const o = r();
19
- function s(t, r) {
20
- return function(a, n) {
18
+ const a = r();
19
+ function Column(t, r) {
20
+ return function(n, o) {
21
21
  let s;
22
22
  if (typeof t === "string" || typeof t === "function") {
23
23
  s = t;
@@ -26,45 +26,45 @@ function o() {
26
26
  s = t.type;
27
27
  }
28
28
  if (!r) r = {};
29
- const i = Reflect && Reflect.getMetadata ? Reflect.getMetadata("design:type", a, n) : undefined;
30
- if (!s && i) s = i;
29
+ const u = Reflect && Reflect.getMetadata ? Reflect.getMetadata("design:type", n, o) : undefined;
30
+ if (!s && u) s = u;
31
31
  if (!r.type && s) r.type = s;
32
- if (r.type === "hstore" && !r.hstoreType) r.hstoreType = i === Object ? "object" : "string";
32
+ if (r.type === "hstore" && !r.hstoreType) r.hstoreType = u === Object ? "object" : "string";
33
33
  if (typeof t === "function") {
34
34
  (0, e.getMetadataArgsStorage)().embeddeds.push({
35
- target: a.constructor,
36
- propertyName: n,
37
- isArray: i === Array || r.array === true,
35
+ target: n.constructor,
36
+ propertyName: o,
37
+ isArray: u === Array || r.array === true,
38
38
  prefix: r.prefix !== undefined ? r.prefix : undefined,
39
39
  type: t
40
40
  });
41
41
  } else {
42
- if (!r.type) throw new o.ColumnTypeUndefinedError(a, n);
42
+ if (!r.type) throw new a.ColumnTypeUndefinedError(n, o);
43
43
  if (r.unique === true) (0, e.getMetadataArgsStorage)().uniques.push({
44
- target: a.constructor,
45
- columns: [ n ]
44
+ target: n.constructor,
45
+ columns: [ o ]
46
46
  });
47
47
  (0, e.getMetadataArgsStorage)().columns.push({
48
- target: a.constructor,
49
- propertyName: n,
48
+ target: n.constructor,
49
+ propertyName: o,
50
50
  mode: "regular",
51
51
  options: r
52
52
  });
53
53
  if (r.generated) {
54
54
  (0, e.getMetadataArgsStorage)().generations.push({
55
- target: a.constructor,
56
- propertyName: n,
55
+ target: n.constructor,
56
+ propertyName: o,
57
57
  strategy: typeof r.generated === "string" ? r.generated : "increment"
58
58
  });
59
59
  }
60
60
  }
61
61
  };
62
62
  }
63
- return a;
63
+ return n;
64
64
  }
65
65
 
66
- var s = o();
66
+ var a = requireColumn();
67
67
 
68
- const i = e(s);
68
+ const s = e(a);
69
69
 
70
- export { s as C };
70
+ export { a as C };