@tstdl/base 0.82.41 → 0.82.42

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 (1556) hide show
  1. package/api/client/client.d.ts +4 -4
  2. package/api/client/client.js +25 -25
  3. package/api/client/client.js.map +1 -1
  4. package/api/client/index.d.ts +1 -1
  5. package/api/client/index.js +1 -1
  6. package/api/client/index.js.map +1 -1
  7. package/api/default-error-handlers.d.ts +1 -1
  8. package/api/default-error-handlers.js +2 -2
  9. package/api/default-error-handlers.js.map +1 -1
  10. package/api/index.d.ts +3 -3
  11. package/api/index.js +3 -3
  12. package/api/index.js.map +1 -1
  13. package/api/response.d.ts +2 -2
  14. package/api/response.js +21 -21
  15. package/api/response.js.map +1 -1
  16. package/api/server/api-controller.d.ts +3 -3
  17. package/api/server/api-controller.js +6 -6
  18. package/api/server/api-controller.js.map +1 -1
  19. package/api/server/api-request-token.provider.d.ts +1 -1
  20. package/api/server/api-request-token.provider.js +2 -2
  21. package/api/server/api-request-token.provider.js.map +1 -1
  22. package/api/server/error-handler.d.ts +3 -3
  23. package/api/server/error-handler.js +10 -10
  24. package/api/server/error-handler.js.map +1 -1
  25. package/api/server/gateway.d.ts +11 -11
  26. package/api/server/gateway.js +53 -53
  27. package/api/server/gateway.js.map +1 -1
  28. package/api/server/index.d.ts +5 -5
  29. package/api/server/index.js +5 -5
  30. package/api/server/index.js.map +1 -1
  31. package/api/server/middlewares/allowed-methods.middleware.d.ts +4 -4
  32. package/api/server/middlewares/allowed-methods.middleware.js +6 -6
  33. package/api/server/middlewares/allowed-methods.middleware.js.map +1 -1
  34. package/api/server/middlewares/catch-error.middleware.d.ts +3 -3
  35. package/api/server/middlewares/catch-error.middleware.js +2 -2
  36. package/api/server/middlewares/catch-error.middleware.js.map +1 -1
  37. package/api/server/middlewares/cors.middleware.d.ts +2 -2
  38. package/api/server/middlewares/cors.middleware.js +17 -17
  39. package/api/server/middlewares/cors.middleware.js.map +1 -1
  40. package/api/server/middlewares/index.d.ts +4 -4
  41. package/api/server/middlewares/index.js +4 -4
  42. package/api/server/middlewares/index.js.map +1 -1
  43. package/api/server/middlewares/response-time.middleware.d.ts +2 -2
  44. package/api/server/middlewares/response-time.middleware.js +4 -4
  45. package/api/server/middlewares/response-time.middleware.js.map +1 -1
  46. package/api/server/module.d.ts +3 -3
  47. package/api/server/module.js +10 -10
  48. package/api/server/module.js.map +1 -1
  49. package/api/server/tokens.d.ts +2 -2
  50. package/api/server/tokens.js +2 -2
  51. package/api/server/tokens.js.map +1 -1
  52. package/api/types.d.ts +5 -5
  53. package/api/types.js +4 -4
  54. package/api/types.js.map +1 -1
  55. package/api/utils.d.ts +1 -1
  56. package/api/utils.js +10 -10
  57. package/api/utils.js.map +1 -1
  58. package/application/application.d.ts +5 -5
  59. package/application/application.js +26 -26
  60. package/application/application.js.map +1 -1
  61. package/application/index.d.ts +1 -1
  62. package/application/index.js +1 -1
  63. package/application/index.js.map +1 -1
  64. package/authentication/authentication.api.d.ts +23 -23
  65. package/authentication/authentication.api.js +17 -17
  66. package/authentication/authentication.api.js.map +1 -1
  67. package/authentication/client/api.client.d.ts +4 -4
  68. package/authentication/client/api.client.js +12 -12
  69. package/authentication/client/api.client.js.map +1 -1
  70. package/authentication/client/authentication.service.d.ts +11 -11
  71. package/authentication/client/authentication.service.js +47 -47
  72. package/authentication/client/authentication.service.js.map +1 -1
  73. package/authentication/client/http-client.middleware.d.ts +2 -2
  74. package/authentication/client/http-client.middleware.js +9 -9
  75. package/authentication/client/http-client.middleware.js.map +1 -1
  76. package/authentication/client/index.d.ts +5 -5
  77. package/authentication/client/index.js +5 -5
  78. package/authentication/client/index.js.map +1 -1
  79. package/authentication/client/module.d.ts +3 -3
  80. package/authentication/client/module.js +11 -11
  81. package/authentication/client/module.js.map +1 -1
  82. package/authentication/client/tokens.d.ts +4 -4
  83. package/authentication/client/tokens.js +5 -5
  84. package/authentication/client/tokens.js.map +1 -1
  85. package/authentication/index.d.ts +2 -2
  86. package/authentication/index.js +2 -2
  87. package/authentication/index.js.map +1 -1
  88. package/authentication/models/authentication-credentials.model.js +10 -10
  89. package/authentication/models/authentication-credentials.model.js.map +1 -1
  90. package/authentication/models/authentication-session.model.js +14 -14
  91. package/authentication/models/authentication-session.model.js.map +1 -1
  92. package/authentication/models/index.d.ts +4 -4
  93. package/authentication/models/index.js +4 -4
  94. package/authentication/models/index.js.map +1 -1
  95. package/authentication/models/token-payload-base.model.js +7 -7
  96. package/authentication/models/token-payload-base.model.js.map +1 -1
  97. package/authentication/models/token.model.d.ts +3 -3
  98. package/authentication/server/authentication-api-request-token.provider.d.ts +3 -3
  99. package/authentication/server/authentication-api-request-token.provider.js +8 -8
  100. package/authentication/server/authentication-api-request-token.provider.js.map +1 -1
  101. package/authentication/server/authentication-credentials.repository.d.ts +1 -1
  102. package/authentication/server/authentication-credentials.repository.js +2 -2
  103. package/authentication/server/authentication-credentials.repository.js.map +1 -1
  104. package/authentication/server/authentication-session.repository.d.ts +2 -2
  105. package/authentication/server/authentication-subject.resolver.js +2 -2
  106. package/authentication/server/authentication-subject.resolver.js.map +1 -1
  107. package/authentication/server/authentication-token-payload.provider.d.ts +1 -1
  108. package/authentication/server/authentication-token-payload.provider.js +2 -2
  109. package/authentication/server/authentication-token-payload.provider.js.map +1 -1
  110. package/authentication/server/authentication.api-controller.d.ts +4 -4
  111. package/authentication/server/authentication.api-controller.js +15 -15
  112. package/authentication/server/authentication.api-controller.js.map +1 -1
  113. package/authentication/server/authentication.service.d.ts +8 -8
  114. package/authentication/server/authentication.service.js +53 -53
  115. package/authentication/server/authentication.service.js.map +1 -1
  116. package/authentication/server/helper.d.ts +3 -3
  117. package/authentication/server/helper.js +22 -22
  118. package/authentication/server/helper.js.map +1 -1
  119. package/authentication/server/index.d.ts +9 -9
  120. package/authentication/server/index.js +9 -9
  121. package/authentication/server/index.js.map +1 -1
  122. package/authentication/server/module.d.ts +6 -6
  123. package/authentication/server/module.js +16 -16
  124. package/authentication/server/module.js.map +1 -1
  125. package/authentication/server/mongo/index.d.ts +2 -2
  126. package/authentication/server/mongo/index.js +2 -2
  127. package/authentication/server/mongo/index.js.map +1 -1
  128. package/authentication/server/mongo/mongo-authentication-credentials.repository.d.ts +8 -8
  129. package/authentication/server/mongo/mongo-authentication-credentials.repository.js +16 -16
  130. package/authentication/server/mongo/mongo-authentication-credentials.repository.js.map +1 -1
  131. package/authentication/server/mongo/mongo-authentication-session.repository.d.ts +8 -8
  132. package/authentication/server/mongo/mongo-authentication-session.repository.js +12 -12
  133. package/authentication/server/mongo/mongo-authentication-session.repository.js.map +1 -1
  134. package/collections/awaitable/awaitable-map.js +8 -8
  135. package/collections/awaitable/awaitable-map.js.map +1 -1
  136. package/collections/awaitable/awaitable-set.js +4 -4
  137. package/collections/awaitable/awaitable-set.js.map +1 -1
  138. package/collections/awaitable/index.d.ts +3 -3
  139. package/collections/awaitable/index.js +3 -3
  140. package/collections/awaitable/index.js.map +1 -1
  141. package/collections/index.d.ts +6 -6
  142. package/collections/index.js +6 -6
  143. package/collections/index.js.map +1 -1
  144. package/collections/keyed-set.js +2 -2
  145. package/collections/keyed-set.js.map +1 -1
  146. package/collections/list.d.ts +1 -1
  147. package/collections/observable/index.d.ts +8 -8
  148. package/collections/observable/index.js +8 -8
  149. package/collections/observable/index.js.map +1 -1
  150. package/collections/observable/observable-array.d.ts +2 -2
  151. package/collections/observable/observable-array.js +2 -2
  152. package/collections/observable/observable-array.js.map +1 -1
  153. package/collections/observable/observable-collection-base.d.ts +1 -1
  154. package/collections/observable/observable-collection.d.ts +1 -1
  155. package/collections/observable/observable-list-base.d.ts +3 -3
  156. package/collections/observable/observable-list-base.js +2 -2
  157. package/collections/observable/observable-list-base.js.map +1 -1
  158. package/collections/observable/observable-list.d.ts +3 -3
  159. package/collections/observable/observable-set.d.ts +2 -2
  160. package/collections/observable/observable-set.js +2 -2
  161. package/collections/observable/observable-set.js.map +1 -1
  162. package/collections/observable/observable-sorted-array-list.d.ts +3 -3
  163. package/collections/observable/observable-sorted-array-list.js +21 -21
  164. package/collections/observable/observable-sorted-array-list.js.map +1 -1
  165. package/collections/sorted-array-list.d.ts +2 -2
  166. package/collections/sorted-array-list.js +16 -16
  167. package/collections/sorted-array-list.js.map +1 -1
  168. package/collections/sorted-list.d.ts +1 -1
  169. package/collections/sorted-map.d.ts +2 -2
  170. package/collections/sorted-map.js +7 -9
  171. package/collections/sorted-map.js.map +1 -1
  172. package/container/container.d.ts +5 -5
  173. package/container/container.js +110 -104
  174. package/container/container.js.map +1 -1
  175. package/container/decorators.d.ts +6 -6
  176. package/container/decorators.js +20 -20
  177. package/container/decorators.js.map +1 -1
  178. package/container/index.d.ts +10 -10
  179. package/container/index.js +10 -10
  180. package/container/index.js.map +1 -1
  181. package/container/provider.d.ts +7 -7
  182. package/container/provider.js +5 -5
  183. package/container/provider.js.map +1 -1
  184. package/container/resolve-chain.d.ts +2 -2
  185. package/container/resolve-chain.js +7 -7
  186. package/container/resolve-chain.js.map +1 -1
  187. package/container/resolve.error.d.ts +2 -2
  188. package/container/resolve.error.js +4 -4
  189. package/container/resolve.error.js.map +1 -1
  190. package/container/token.d.ts +1 -1
  191. package/container/token.js +3 -3
  192. package/container/token.js.map +1 -1
  193. package/container/type-info.d.ts +2 -2
  194. package/container/types.d.ts +3 -3
  195. package/container/utils.d.ts +1 -1
  196. package/container/utils.js +4 -4
  197. package/container/utils.js.map +1 -1
  198. package/cookie/cookie.js +13 -13
  199. package/cookie/cookie.js.map +1 -1
  200. package/cookie/index.d.ts +1 -1
  201. package/cookie/index.js +1 -1
  202. package/cookie/index.js.map +1 -1
  203. package/core.d.ts +6 -6
  204. package/core.js +19 -18
  205. package/core.js.map +1 -1
  206. package/data-structures/array-list.d.ts +2 -2
  207. package/data-structures/array-list.js +2 -2
  208. package/data-structures/array-list.js.map +1 -1
  209. package/data-structures/circular-buffer.d.ts +2 -2
  210. package/data-structures/circular-buffer.js +8 -8
  211. package/data-structures/circular-buffer.js.map +1 -1
  212. package/data-structures/collection.d.ts +1 -1
  213. package/data-structures/index-out-of-bounds.error.d.ts +1 -1
  214. package/data-structures/index-out-of-bounds.error.js +5 -5
  215. package/data-structures/index-out-of-bounds.error.js.map +1 -1
  216. package/data-structures/index.d.ts +12 -12
  217. package/data-structures/index.js +12 -12
  218. package/data-structures/index.js.map +1 -1
  219. package/data-structures/iterable-weak-map.d.ts +1 -1
  220. package/data-structures/iterable-weak-map.js +13 -13
  221. package/data-structures/iterable-weak-map.js.map +1 -1
  222. package/data-structures/linked-list.d.ts +4 -4
  223. package/data-structures/linked-list.js +24 -24
  224. package/data-structures/linked-list.js.map +1 -1
  225. package/data-structures/list.d.ts +2 -2
  226. package/data-structures/list.js +10 -10
  227. package/data-structures/list.js.map +1 -1
  228. package/data-structures/map.d.ts +1 -1
  229. package/data-structures/map.js +2 -2
  230. package/data-structures/map.js.map +1 -1
  231. package/data-structures/multi-key-map.d.ts +1 -1
  232. package/data-structures/multi-key-map.js +12 -12
  233. package/data-structures/multi-key-map.js.map +1 -1
  234. package/data-structures/set.d.ts +1 -1
  235. package/data-structures/set.js +2 -2
  236. package/data-structures/set.js.map +1 -1
  237. package/data-structures/sorted-array-list.d.ts +5 -5
  238. package/data-structures/sorted-array-list.js +19 -19
  239. package/data-structures/sorted-array-list.js.map +1 -1
  240. package/data-structures/weak-ref-map.d.ts +1 -1
  241. package/data-structures/weak-ref-map.js +11 -11
  242. package/data-structures/weak-ref-map.js.map +1 -1
  243. package/database/entity-repository.d.ts +2 -2
  244. package/database/id.js +3 -3
  245. package/database/id.js.map +1 -1
  246. package/database/index.d.ts +6 -6
  247. package/database/index.js +6 -6
  248. package/database/index.js.map +1 -1
  249. package/database/module.js +2 -2
  250. package/database/module.js.map +1 -1
  251. package/database/mongo/classes.d.ts +5 -5
  252. package/database/mongo/classes.js +7 -7
  253. package/database/mongo/classes.js.map +1 -1
  254. package/database/mongo/index.d.ts +10 -10
  255. package/database/mongo/index.js +10 -10
  256. package/database/mongo/index.js.map +1 -1
  257. package/database/mongo/model/document.d.ts +3 -3
  258. package/database/mongo/model/document.js +4 -4
  259. package/database/mongo/model/document.js.map +1 -1
  260. package/database/mongo/model/index.d.ts +1 -1
  261. package/database/mongo/model/index.js +1 -1
  262. package/database/mongo/model/index.js.map +1 -1
  263. package/database/mongo/module.d.ts +1 -1
  264. package/database/mongo/module.js +18 -18
  265. package/database/mongo/module.js.map +1 -1
  266. package/database/mongo/mongo-base.repository.d.ts +5 -5
  267. package/database/mongo/mongo-base.repository.js +38 -41
  268. package/database/mongo/mongo-base.repository.js.map +1 -1
  269. package/database/mongo/mongo-bulk.d.ts +4 -4
  270. package/database/mongo/mongo-bulk.js +16 -16
  271. package/database/mongo/mongo-bulk.js.map +1 -1
  272. package/database/mongo/mongo-entity-repository.d.ts +8 -8
  273. package/database/mongo/mongo-entity-repository.js +23 -23
  274. package/database/mongo/mongo-entity-repository.js.map +1 -1
  275. package/database/mongo/operations.d.ts +4 -4
  276. package/database/mongo/query-converter.d.ts +4 -4
  277. package/database/mongo/query-converter.js +13 -13
  278. package/database/mongo/query-converter.js.map +1 -1
  279. package/database/mongo/simple-entity-repository.d.ts +4 -4
  280. package/database/mongo/simple-entity-repository.js +3 -3
  281. package/database/mongo/simple-entity-repository.js.map +1 -1
  282. package/database/mongo/types.d.ts +3 -3
  283. package/database/query.d.ts +2 -2
  284. package/database/utils.d.ts +1 -1
  285. package/disposable/async-disposer.d.ts +4 -4
  286. package/disposable/async-disposer.js +20 -20
  287. package/disposable/async-disposer.js.map +1 -1
  288. package/disposable/disposable.js +3 -3
  289. package/disposable/disposable.js.map +1 -1
  290. package/disposable/index.d.ts +3 -3
  291. package/disposable/index.js +3 -3
  292. package/disposable/index.js.map +1 -1
  293. package/disposable/using.d.ts +1 -1
  294. package/disposable/using.js +3 -3
  295. package/disposable/using.js.map +1 -1
  296. package/distributed-loop/distributed-loop.d.ts +5 -5
  297. package/distributed-loop/distributed-loop.js +15 -15
  298. package/distributed-loop/distributed-loop.js.map +1 -1
  299. package/distributed-loop/index.d.ts +3 -3
  300. package/distributed-loop/index.js +3 -3
  301. package/distributed-loop/index.js.map +1 -1
  302. package/distributed-loop/provider.d.ts +2 -2
  303. package/distributed-loop/provider.js +6 -6
  304. package/distributed-loop/provider.js.map +1 -1
  305. package/enumerable/async-enumerable.d.ts +7 -7
  306. package/enumerable/async-enumerable.js +67 -67
  307. package/enumerable/async-enumerable.js.map +1 -1
  308. package/enumerable/enumerable.d.ts +6 -6
  309. package/enumerable/enumerable.js +45 -45
  310. package/enumerable/enumerable.js.map +1 -1
  311. package/enumerable/index.d.ts +2 -2
  312. package/enumerable/index.js +2 -2
  313. package/enumerable/index.js.map +1 -1
  314. package/error/api.error.d.ts +2 -2
  315. package/error/api.error.js +2 -2
  316. package/error/api.error.js.map +1 -1
  317. package/error/assertion.error.d.ts +1 -1
  318. package/error/assertion.error.js +2 -2
  319. package/error/assertion.error.js.map +1 -1
  320. package/error/bad-request.error.d.ts +1 -1
  321. package/error/bad-request.error.js +2 -2
  322. package/error/bad-request.error.js.map +1 -1
  323. package/error/details.error.d.ts +1 -1
  324. package/error/details.error.js +2 -2
  325. package/error/details.error.js.map +1 -1
  326. package/error/forbidden.error.d.ts +1 -1
  327. package/error/forbidden.error.js +2 -2
  328. package/error/forbidden.error.js.map +1 -1
  329. package/error/index.d.ts +15 -15
  330. package/error/index.js +15 -15
  331. package/error/index.js.map +1 -1
  332. package/error/invalid-token.error.d.ts +1 -1
  333. package/error/invalid-token.error.js +2 -2
  334. package/error/invalid-token.error.js.map +1 -1
  335. package/error/max-bytes-exceeded.error.d.ts +1 -1
  336. package/error/max-bytes-exceeded.error.js +2 -2
  337. package/error/max-bytes-exceeded.error.js.map +1 -1
  338. package/error/method-not-allowed.error.d.ts +1 -1
  339. package/error/method-not-allowed.error.js +2 -2
  340. package/error/method-not-allowed.error.js.map +1 -1
  341. package/error/multi.error.d.ts +1 -1
  342. package/error/multi.error.js +2 -2
  343. package/error/multi.error.js.map +1 -1
  344. package/error/not-found.error.d.ts +1 -1
  345. package/error/not-found.error.js +2 -2
  346. package/error/not-found.error.js.map +1 -1
  347. package/error/not-implemented.error.d.ts +1 -1
  348. package/error/not-implemented.error.js +2 -2
  349. package/error/not-implemented.error.js.map +1 -1
  350. package/error/not-supported.error.d.ts +2 -2
  351. package/error/not-supported.error.js +4 -4
  352. package/error/not-supported.error.js.map +1 -1
  353. package/error/unauthorized.error.d.ts +1 -1
  354. package/error/unauthorized.error.js +2 -2
  355. package/error/unauthorized.error.js.map +1 -1
  356. package/error/unsupported-media-type.error.d.ts +1 -1
  357. package/error/unsupported-media-type.error.js +2 -2
  358. package/error/unsupported-media-type.error.js.map +1 -1
  359. package/examples/api/authentication.js +31 -32
  360. package/examples/api/authentication.js.map +1 -1
  361. package/examples/api/basic-overview.js +32 -31
  362. package/examples/api/basic-overview.js.map +1 -1
  363. package/examples/api/custom-authentication.js +38 -38
  364. package/examples/api/custom-authentication.js.map +1 -1
  365. package/examples/api/streaming.js +38 -37
  366. package/examples/api/streaming.js.map +1 -1
  367. package/examples/http/client.js +5 -5
  368. package/examples/http/client.js.map +1 -1
  369. package/examples/mail/basic.js +25 -25
  370. package/examples/mail/basic.js.map +1 -1
  371. package/examples/mail/templates/hello-name.d.ts +1 -1
  372. package/examples/mail/templates/hello-name.js +7 -7
  373. package/examples/mail/templates/hello-name.js.map +1 -1
  374. package/examples/pdf/basic.js +19 -19
  375. package/examples/pdf/basic.js.map +1 -1
  376. package/examples/pdf/templates/hello-name.d.ts +1 -1
  377. package/examples/pdf/templates/hello-name.js +10 -10
  378. package/examples/pdf/templates/hello-name.js.map +1 -1
  379. package/examples/reflection/basic.d.ts +1 -1
  380. package/examples/reflection/basic.js +14 -14
  381. package/examples/reflection/basic.js.map +1 -1
  382. package/examples/template/basic.js +19 -19
  383. package/examples/template/basic.js.map +1 -1
  384. package/examples/template/templates/hello-jsx.d.ts +1 -1
  385. package/examples/template/templates/hello-jsx.js +3 -3
  386. package/examples/template/templates/hello-jsx.js.map +1 -1
  387. package/examples/template/templates/hello-name.d.ts +1 -1
  388. package/examples/template/templates/hello-name.js +6 -6
  389. package/examples/template/templates/hello-name.js.map +1 -1
  390. package/http/client/adapters/undici-http-client.adapter.d.ts +3 -3
  391. package/http/client/adapters/undici-http-client.adapter.js +27 -26
  392. package/http/client/adapters/undici-http-client.adapter.js.map +1 -1
  393. package/http/client/http-client-options.d.ts +1 -1
  394. package/http/client/http-client-request.d.ts +13 -13
  395. package/http/client/http-client-request.js +23 -23
  396. package/http/client/http-client-request.js.map +1 -1
  397. package/http/client/http-client-response.d.ts +6 -6
  398. package/http/client/http-client-response.js +4 -4
  399. package/http/client/http-client-response.js.map +1 -1
  400. package/http/client/http-client.adapter.d.ts +2 -2
  401. package/http/client/http-client.d.ts +10 -10
  402. package/http/client/http-client.js +61 -61
  403. package/http/client/http-client.js.map +1 -1
  404. package/http/client/index.d.ts +6 -6
  405. package/http/client/index.js +6 -6
  406. package/http/client/index.js.map +1 -1
  407. package/http/client/module.d.ts +3 -3
  408. package/http/client/module.js +7 -7
  409. package/http/client/module.js.map +1 -1
  410. package/http/cookie-parser.d.ts +1 -1
  411. package/http/cookie-parser.js +6 -6
  412. package/http/cookie-parser.js.map +1 -1
  413. package/http/http-body.d.ts +4 -4
  414. package/http/http-body.js +11 -11
  415. package/http/http-body.js.map +1 -1
  416. package/http/http-form.d.ts +3 -3
  417. package/http/http-form.js +2 -2
  418. package/http/http-form.js.map +1 -1
  419. package/http/http-headers.d.ts +3 -3
  420. package/http/http-headers.js +15 -15
  421. package/http/http-headers.js.map +1 -1
  422. package/http/http-query.d.ts +3 -3
  423. package/http/http-query.js +2 -2
  424. package/http/http-query.js.map +1 -1
  425. package/http/http-url-parameters.d.ts +3 -3
  426. package/http/http-url-parameters.js +2 -2
  427. package/http/http-url-parameters.js.map +1 -1
  428. package/http/http-value-map.d.ts +2 -2
  429. package/http/http-value-map.js +19 -19
  430. package/http/http-value-map.js.map +1 -1
  431. package/http/http.error.d.ts +4 -4
  432. package/http/http.error.js +11 -11
  433. package/http/http.error.js.map +1 -1
  434. package/http/index.d.ts +11 -11
  435. package/http/index.js +11 -11
  436. package/http/index.js.map +1 -1
  437. package/http/server/http-server-request.d.ts +7 -7
  438. package/http/server/http-server-request.js +4 -4
  439. package/http/server/http-server-request.js.map +1 -1
  440. package/http/server/http-server-response.d.ts +5 -5
  441. package/http/server/http-server-response.js +8 -8
  442. package/http/server/http-server-response.js.map +1 -1
  443. package/http/server/http-server.d.ts +3 -3
  444. package/http/server/http-server.js +1 -1
  445. package/http/server/http-server.js.map +1 -1
  446. package/http/server/index.d.ts +3 -3
  447. package/http/server/index.js +3 -3
  448. package/http/server/index.js.map +1 -1
  449. package/http/server/node/index.d.ts +2 -2
  450. package/http/server/node/index.js +2 -2
  451. package/http/server/node/index.js.map +1 -1
  452. package/http/server/node/module.js +4 -4
  453. package/http/server/node/module.js.map +1 -1
  454. package/http/server/node/node-http-server.d.ts +8 -8
  455. package/http/server/node/node-http-server.js +47 -47
  456. package/http/server/node/node-http-server.js.map +1 -1
  457. package/http/types.d.ts +1 -1
  458. package/http/types.js +4 -4
  459. package/http/types.js.map +1 -1
  460. package/http/utils.d.ts +3 -3
  461. package/http/utils.js +32 -32
  462. package/http/utils.js.map +1 -1
  463. package/image-service/image-service.js +13 -13
  464. package/image-service/image-service.js.map +1 -1
  465. package/image-service/imgproxy/imgproxy-image-service.d.ts +5 -5
  466. package/image-service/imgproxy/imgproxy-image-service.js +29 -29
  467. package/image-service/imgproxy/imgproxy-image-service.js.map +1 -1
  468. package/image-service/imgproxy/index.d.ts +1 -1
  469. package/image-service/imgproxy/index.js +1 -1
  470. package/image-service/imgproxy/index.js.map +1 -1
  471. package/image-service/index.d.ts +1 -1
  472. package/image-service/index.js +1 -1
  473. package/image-service/index.js.map +1 -1
  474. package/index.d.ts +1 -1
  475. package/index.js +1 -1
  476. package/index.js.map +1 -1
  477. package/json-path/index.d.ts +1 -1
  478. package/json-path/index.js +1 -1
  479. package/json-path/index.js.map +1 -1
  480. package/json-path/json-path.js +15 -15
  481. package/json-path/json-path.js.map +1 -1
  482. package/key-value-store/index.d.ts +2 -2
  483. package/key-value-store/index.js +2 -2
  484. package/key-value-store/index.js.map +1 -1
  485. package/key-value-store/key-value-store.provider.d.ts +2 -2
  486. package/key-value-store/key-value.store.d.ts +3 -3
  487. package/key-value-store/key-value.store.js +2 -2
  488. package/key-value-store/key-value.store.js.map +1 -1
  489. package/key-value-store/mongo/index.d.ts +5 -5
  490. package/key-value-store/mongo/index.js +5 -5
  491. package/key-value-store/mongo/index.js.map +1 -1
  492. package/key-value-store/mongo/module.d.ts +2 -2
  493. package/key-value-store/mongo/module.js +7 -7
  494. package/key-value-store/mongo/module.js.map +1 -1
  495. package/key-value-store/mongo/mongo-key-value-store.provider.d.ts +3 -3
  496. package/key-value-store/mongo/mongo-key-value-store.provider.js +6 -6
  497. package/key-value-store/mongo/mongo-key-value-store.provider.js.map +1 -1
  498. package/key-value-store/mongo/mongo-key-value.model.d.ts +1 -1
  499. package/key-value-store/mongo/mongo-key-value.repository.d.ts +6 -6
  500. package/key-value-store/mongo/mongo-key-value.repository.js +11 -11
  501. package/key-value-store/mongo/mongo-key-value.repository.js.map +1 -1
  502. package/key-value-store/mongo/mongo-key-value.store.d.ts +3 -3
  503. package/key-value-store/mongo/mongo-key-value.store.js +17 -17
  504. package/key-value-store/mongo/mongo-key-value.store.js.map +1 -1
  505. package/lock/index.d.ts +2 -2
  506. package/lock/index.js +2 -2
  507. package/lock/index.js.map +1 -1
  508. package/lock/lock.d.ts +2 -2
  509. package/lock/lock.js +2 -2
  510. package/lock/lock.js.map +1 -1
  511. package/lock/mongo/index.d.ts +5 -5
  512. package/lock/mongo/index.js +5 -5
  513. package/lock/mongo/index.js.map +1 -1
  514. package/lock/mongo/lock.d.ts +4 -4
  515. package/lock/mongo/lock.js +28 -28
  516. package/lock/mongo/lock.js.map +1 -1
  517. package/lock/mongo/model.d.ts +1 -1
  518. package/lock/mongo/module.d.ts +2 -2
  519. package/lock/mongo/module.js +7 -7
  520. package/lock/mongo/module.js.map +1 -1
  521. package/lock/mongo/mongo-lock-repository.d.ts +6 -6
  522. package/lock/mongo/mongo-lock-repository.js +14 -14
  523. package/lock/mongo/mongo-lock-repository.js.map +1 -1
  524. package/lock/mongo/provider.d.ts +4 -4
  525. package/lock/mongo/provider.js +15 -15
  526. package/lock/mongo/provider.js.map +1 -1
  527. package/lock/provider.d.ts +3 -3
  528. package/lock/provider.js +2 -2
  529. package/lock/provider.js.map +1 -1
  530. package/lock/web/index.d.ts +3 -3
  531. package/lock/web/index.js +3 -3
  532. package/lock/web/index.js.map +1 -1
  533. package/lock/web/module.js +7 -7
  534. package/lock/web/module.js.map +1 -1
  535. package/lock/web/web-lock.d.ts +2 -2
  536. package/lock/web/web-lock.js +17 -17
  537. package/lock/web/web-lock.js.map +1 -1
  538. package/lock/web/web-lock.provider.d.ts +2 -2
  539. package/lock/web/web-lock.provider.js +7 -7
  540. package/lock/web/web-lock.provider.js.map +1 -1
  541. package/logger/console/index.d.ts +1 -1
  542. package/logger/console/index.js +1 -1
  543. package/logger/console/index.js.map +1 -1
  544. package/logger/console/logger.d.ts +3 -3
  545. package/logger/console/logger.js +18 -18
  546. package/logger/console/logger.js.map +1 -1
  547. package/logger/index.d.ts +2 -2
  548. package/logger/index.js +2 -2
  549. package/logger/index.js.map +1 -1
  550. package/logger/logger.d.ts +3 -3
  551. package/logger/logger.js +13 -13
  552. package/logger/logger.js.map +1 -1
  553. package/logger/noop/index.d.ts +1 -1
  554. package/logger/noop/index.js +1 -1
  555. package/logger/noop/index.js.map +1 -1
  556. package/logger/noop/logger.d.ts +1 -1
  557. package/logger/noop/logger.js +4 -4
  558. package/logger/noop/logger.js.map +1 -1
  559. package/mail/clients/nodemailer.mail-client.d.ts +2 -2
  560. package/mail/clients/nodemailer.mail-client.js +9 -9
  561. package/mail/clients/nodemailer.mail-client.js.map +1 -1
  562. package/mail/index.d.ts +5 -5
  563. package/mail/index.js +5 -5
  564. package/mail/index.js.map +1 -1
  565. package/mail/mail-log.repository.d.ts +2 -2
  566. package/mail/mail-log.repository.js +2 -2
  567. package/mail/mail-log.repository.js.map +1 -1
  568. package/mail/mail.client.d.ts +3 -3
  569. package/mail/mail.client.js +11 -11
  570. package/mail/mail.client.js.map +1 -1
  571. package/mail/mail.service.d.ts +7 -7
  572. package/mail/mail.service.js +22 -22
  573. package/mail/mail.service.js.map +1 -1
  574. package/mail/models/index.d.ts +6 -6
  575. package/mail/models/index.js +6 -6
  576. package/mail/models/index.js.map +1 -1
  577. package/mail/models/mail-data.model.d.ts +3 -3
  578. package/mail/models/mail-log.model.d.ts +3 -3
  579. package/mail/models/mail-send-result.model.d.ts +1 -1
  580. package/mail/models/mail-template.model.d.ts +1 -1
  581. package/mail/module.d.ts +4 -4
  582. package/mail/module.js +13 -13
  583. package/mail/module.js.map +1 -1
  584. package/mail/repositories/mongo-mail-log.repository.d.ts +6 -6
  585. package/mail/repositories/mongo-mail-log.repository.js +9 -9
  586. package/mail/repositories/mongo-mail-log.repository.js.map +1 -1
  587. package/mail/tokens.d.ts +1 -1
  588. package/mail/tokens.js +2 -2
  589. package/mail/tokens.js.map +1 -1
  590. package/memory/index.d.ts +1 -1
  591. package/memory/index.js +1 -1
  592. package/memory/index.js.map +1 -1
  593. package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.d.ts +3 -3
  594. package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.js +7 -7
  595. package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.js.map +1 -1
  596. package/message-bus/broadcast-channel/broadcast-channel-message-bus.d.ts +3 -3
  597. package/message-bus/broadcast-channel/broadcast-channel-message-bus.js +11 -11
  598. package/message-bus/broadcast-channel/broadcast-channel-message-bus.js.map +1 -1
  599. package/message-bus/broadcast-channel/index.d.ts +3 -3
  600. package/message-bus/broadcast-channel/index.js +3 -3
  601. package/message-bus/broadcast-channel/index.js.map +1 -1
  602. package/message-bus/broadcast-channel/module.js +7 -7
  603. package/message-bus/broadcast-channel/module.js.map +1 -1
  604. package/message-bus/index.d.ts +3 -3
  605. package/message-bus/index.js +3 -3
  606. package/message-bus/index.js.map +1 -1
  607. package/message-bus/local/index.d.ts +3 -3
  608. package/message-bus/local/index.js +3 -3
  609. package/message-bus/local/index.js.map +1 -1
  610. package/message-bus/local/local-message-bus-provider.d.ts +3 -3
  611. package/message-bus/local/local-message-bus-provider.js +14 -14
  612. package/message-bus/local/local-message-bus-provider.js.map +1 -1
  613. package/message-bus/local/local-message-bus.d.ts +4 -4
  614. package/message-bus/local/local-message-bus.js +10 -10
  615. package/message-bus/local/local-message-bus.js.map +1 -1
  616. package/message-bus/local/module.js +7 -7
  617. package/message-bus/local/module.js.map +1 -1
  618. package/message-bus/message-bus-base.d.ts +4 -4
  619. package/message-bus/message-bus-base.js +6 -6
  620. package/message-bus/message-bus-base.js.map +1 -1
  621. package/message-bus/message-bus-provider.d.ts +1 -1
  622. package/message-bus/message-bus.d.ts +4 -4
  623. package/message-bus/message-bus.js +4 -4
  624. package/message-bus/message-bus.js.map +1 -1
  625. package/migration/index.d.ts +3 -3
  626. package/migration/index.js +3 -3
  627. package/migration/index.js.map +1 -1
  628. package/migration/migration-state-repository.d.ts +2 -2
  629. package/migration/migration-state-repository.js +2 -2
  630. package/migration/migration-state-repository.js.map +1 -1
  631. package/migration/migration-state.d.ts +1 -1
  632. package/migration/migrator.d.ts +3 -3
  633. package/migration/migrator.js +22 -22
  634. package/migration/migrator.js.map +1 -1
  635. package/migration/mongo/index.d.ts +2 -2
  636. package/migration/mongo/index.js +2 -2
  637. package/migration/mongo/index.js.map +1 -1
  638. package/migration/mongo/migration-state-repository.d.ts +7 -7
  639. package/migration/mongo/migration-state-repository.js +12 -12
  640. package/migration/mongo/migration-state-repository.js.map +1 -1
  641. package/migration/mongo/module.d.ts +2 -2
  642. package/migration/mongo/module.js +4 -4
  643. package/migration/mongo/module.js.map +1 -1
  644. package/module/index.d.ts +4 -4
  645. package/module/index.js +4 -4
  646. package/module/index.js.map +1 -1
  647. package/module/module-base.d.ts +5 -5
  648. package/module/module-base.js +9 -9
  649. package/module/module-base.js.map +1 -1
  650. package/module/module-metric-reporter.d.ts +4 -4
  651. package/module/module-metric-reporter.js +10 -11
  652. package/module/module-metric-reporter.js.map +1 -1
  653. package/module/module.d.ts +1 -1
  654. package/module/modules/function.module.d.ts +3 -3
  655. package/module/modules/function.module.js +2 -2
  656. package/module/modules/function.module.js.map +1 -1
  657. package/module/modules/index.d.ts +2 -2
  658. package/module/modules/index.js +2 -2
  659. package/module/modules/index.js.map +1 -1
  660. package/module/modules/web-server.module.d.ts +9 -9
  661. package/module/modules/web-server.module.js +17 -17
  662. package/module/modules/web-server.module.js.map +1 -1
  663. package/module/utils.d.ts +2 -2
  664. package/notification/api.d.ts +3 -3
  665. package/notification/api.js +9 -9
  666. package/notification/api.js.map +1 -1
  667. package/notification/models/index.d.ts +2 -2
  668. package/notification/models/index.js +2 -2
  669. package/notification/models/index.js.map +1 -1
  670. package/notification/models/notification.model.js +13 -13
  671. package/notification/models/notification.model.js.map +1 -1
  672. package/notification/notification-channel.service.d.ts +1 -1
  673. package/notification/notification.repository.d.ts +1 -1
  674. package/notification/notification.service.d.ts +2 -2
  675. package/notification/notification.service.js +6 -6
  676. package/notification/notification.service.js.map +1 -1
  677. package/object-storage/index.d.ts +3 -3
  678. package/object-storage/index.js +3 -3
  679. package/object-storage/index.js.map +1 -1
  680. package/object-storage/object-storage-provider.d.ts +1 -1
  681. package/object-storage/object-storage.d.ts +3 -3
  682. package/object-storage/object-storage.js +2 -2
  683. package/object-storage/object-storage.js.map +1 -1
  684. package/object-storage/object.d.ts +1 -1
  685. package/object-storage/s3/index.d.ts +3 -3
  686. package/object-storage/s3/index.js +3 -3
  687. package/object-storage/s3/index.js.map +1 -1
  688. package/object-storage/s3/s3.object-storage-provider.d.ts +3 -3
  689. package/object-storage/s3/s3.object-storage-provider.js +15 -15
  690. package/object-storage/s3/s3.object-storage-provider.js.map +1 -1
  691. package/object-storage/s3/s3.object-storage.d.ts +4 -4
  692. package/object-storage/s3/s3.object-storage.js +23 -26
  693. package/object-storage/s3/s3.object-storage.js.map +1 -1
  694. package/object-storage/s3/s3.object.d.ts +3 -3
  695. package/object-storage/s3/s3.object.js +5 -5
  696. package/object-storage/s3/s3.object.js.map +1 -1
  697. package/openid-connect/cached-oidc-configuration.service.d.ts +3 -3
  698. package/openid-connect/cached-oidc-configuration.service.js +13 -13
  699. package/openid-connect/cached-oidc-configuration.service.js.map +1 -1
  700. package/openid-connect/index.d.ts +7 -7
  701. package/openid-connect/index.js +11 -11
  702. package/openid-connect/index.js.map +1 -1
  703. package/openid-connect/mongo-oidc-state.repository.d.ts +8 -8
  704. package/openid-connect/mongo-oidc-state.repository.js +12 -12
  705. package/openid-connect/mongo-oidc-state.repository.js.map +1 -1
  706. package/openid-connect/oidc-configuration.service.d.ts +1 -1
  707. package/openid-connect/oidc-configuration.service.js +12 -12
  708. package/openid-connect/oidc-configuration.service.js.map +1 -1
  709. package/openid-connect/oidc-state.model.d.ts +1 -1
  710. package/openid-connect/oidc-state.repository.d.ts +2 -2
  711. package/openid-connect/oidc-state.repository.js +2 -2
  712. package/openid-connect/oidc-state.repository.js.map +1 -1
  713. package/openid-connect/oidc.service.d.ts +6 -6
  714. package/openid-connect/oidc.service.js +34 -34
  715. package/openid-connect/oidc.service.js.map +1 -1
  716. package/package.json +5 -5
  717. package/pdf/index.d.ts +1 -1
  718. package/pdf/index.js +1 -1
  719. package/pdf/index.js.map +1 -1
  720. package/pdf/pdf.service.d.ts +7 -7
  721. package/pdf/pdf.service.js +53 -53
  722. package/pdf/pdf.service.js.map +1 -1
  723. package/pool/index.d.ts +1 -1
  724. package/pool/index.js +1 -1
  725. package/pool/index.js.map +1 -1
  726. package/pool/pool.d.ts +3 -3
  727. package/pool/pool.js +10 -10
  728. package/pool/pool.js.map +1 -1
  729. package/process-shutdown.d.ts +2 -2
  730. package/process-shutdown.js +7 -7
  731. package/process-shutdown.js.map +1 -1
  732. package/promise/index.d.ts +3 -3
  733. package/promise/index.js +3 -3
  734. package/promise/index.js.map +1 -1
  735. package/promise/lazy-promise.js +4 -4
  736. package/promise/lazy-promise.js.map +1 -1
  737. package/queue/enqueue-batch.d.ts +1 -1
  738. package/queue/index.d.ts +3 -3
  739. package/queue/index.js +3 -3
  740. package/queue/index.js.map +1 -1
  741. package/queue/mongo/index.d.ts +4 -4
  742. package/queue/mongo/index.js +4 -4
  743. package/queue/mongo/index.js.map +1 -1
  744. package/queue/mongo/job.d.ts +3 -3
  745. package/queue/mongo/mongo-job.repository.d.ts +7 -7
  746. package/queue/mongo/mongo-job.repository.js +18 -18
  747. package/queue/mongo/mongo-job.repository.js.map +1 -1
  748. package/queue/mongo/queue.d.ts +6 -6
  749. package/queue/mongo/queue.js +47 -47
  750. package/queue/mongo/queue.js.map +1 -1
  751. package/queue/mongo/queue.provider.d.ts +10 -10
  752. package/queue/mongo/queue.provider.js +15 -15
  753. package/queue/mongo/queue.provider.js.map +1 -1
  754. package/queue/provider.d.ts +1 -1
  755. package/queue/queue.d.ts +4 -4
  756. package/queue/queue.js +6 -6
  757. package/queue/queue.js.map +1 -1
  758. package/random/index.d.ts +1 -1
  759. package/random/index.js +1 -1
  760. package/random/index.js.map +1 -1
  761. package/random/number/index.d.ts +3 -3
  762. package/random/number/index.js +3 -3
  763. package/random/number/index.js.map +1 -1
  764. package/random/number/mulberry32.d.ts +1 -1
  765. package/random/number/mulberry32.js +2 -2
  766. package/random/number/mulberry32.js.map +1 -1
  767. package/random/number/sfc32.d.ts +1 -1
  768. package/random/number/sfc32.js +2 -2
  769. package/random/number/sfc32.js.map +1 -1
  770. package/reflection/decorator-data.d.ts +1 -1
  771. package/reflection/decorator-data.js +11 -11
  772. package/reflection/decorator-data.js.map +1 -1
  773. package/reflection/decorators.d.ts +2 -2
  774. package/reflection/decorators.js +12 -12
  775. package/reflection/decorators.js.map +1 -1
  776. package/reflection/index.d.ts +5 -5
  777. package/reflection/index.js +5 -5
  778. package/reflection/index.js.map +1 -1
  779. package/reflection/reflection-data-map.d.ts +1 -1
  780. package/reflection/reflection-data-map.js +6 -6
  781. package/reflection/reflection-data-map.js.map +1 -1
  782. package/reflection/registry.d.ts +3 -3
  783. package/reflection/registry.js +27 -27
  784. package/reflection/registry.js.map +1 -1
  785. package/reflection/types.d.ts +2 -2
  786. package/reflection/utils.d.ts +2 -2
  787. package/reflection/utils.js +18 -18
  788. package/reflection/utils.js.map +1 -1
  789. package/rpc/endpoints/message-port.rpc-endpoint.d.ts +2 -2
  790. package/rpc/endpoints/message-port.rpc-endpoint.js +5 -5
  791. package/rpc/endpoints/message-port.rpc-endpoint.js.map +1 -1
  792. package/rpc/index.d.ts +4 -4
  793. package/rpc/index.js +4 -4
  794. package/rpc/index.js.map +1 -1
  795. package/rpc/model.d.ts +2 -2
  796. package/rpc/model.js +2 -2
  797. package/rpc/model.js.map +1 -1
  798. package/rpc/rpc-endpoint.d.ts +1 -1
  799. package/rpc/rpc-error.d.ts +1 -1
  800. package/rpc/rpc-error.js +8 -8
  801. package/rpc/rpc-error.js.map +1 -1
  802. package/rpc/rpc.d.ts +4 -4
  803. package/rpc/rpc.js +32 -32
  804. package/rpc/rpc.js.map +1 -1
  805. package/rxjs/index.d.ts +12 -12
  806. package/rxjs/index.js +12 -12
  807. package/rxjs/index.js.map +1 -1
  808. package/rxjs/intersection-observer.js +6 -6
  809. package/rxjs/intersection-observer.js.map +1 -1
  810. package/rxjs/mutation-observer.js +6 -6
  811. package/rxjs/mutation-observer.js.map +1 -1
  812. package/rxjs/performance-observer.js +6 -6
  813. package/rxjs/performance-observer.js.map +1 -1
  814. package/rxjs/resize-observer.js +6 -6
  815. package/rxjs/resize-observer.js.map +1 -1
  816. package/rxjs/retry-backoff.d.ts +1 -1
  817. package/rxjs/retry-backoff.js +3 -3
  818. package/rxjs/retry-backoff.js.map +1 -1
  819. package/schema/array-constraints/index.d.ts +2 -2
  820. package/schema/array-constraints/index.js +2 -2
  821. package/schema/array-constraints/index.js.map +1 -1
  822. package/schema/array-constraints/maximum-length.d.ts +4 -4
  823. package/schema/array-constraints/maximum-length.js +6 -6
  824. package/schema/array-constraints/maximum-length.js.map +1 -1
  825. package/schema/array-constraints/minimum-length.d.ts +4 -4
  826. package/schema/array-constraints/minimum-length.js +6 -6
  827. package/schema/array-constraints/minimum-length.js.map +1 -1
  828. package/schema/coercers/boolean.coercer.d.ts +3 -3
  829. package/schema/coercers/boolean.coercer.js +6 -6
  830. package/schema/coercers/boolean.coercer.js.map +1 -1
  831. package/schema/coercers/date.coercer.d.ts +3 -3
  832. package/schema/coercers/date.coercer.js +6 -6
  833. package/schema/coercers/date.coercer.js.map +1 -1
  834. package/schema/coercers/index.d.ts +6 -6
  835. package/schema/coercers/index.js +6 -6
  836. package/schema/coercers/index.js.map +1 -1
  837. package/schema/coercers/number.coercer.d.ts +3 -3
  838. package/schema/coercers/number.coercer.js +4 -4
  839. package/schema/coercers/number.coercer.js.map +1 -1
  840. package/schema/coercers/regexp.coercer.d.ts +3 -3
  841. package/schema/coercers/regexp.coercer.js +4 -4
  842. package/schema/coercers/regexp.coercer.js.map +1 -1
  843. package/schema/coercers/string.coercer.d.ts +3 -3
  844. package/schema/coercers/string.coercer.js +6 -6
  845. package/schema/coercers/string.coercer.js.map +1 -1
  846. package/schema/coercers/uint8-array.coercer.d.ts +3 -3
  847. package/schema/coercers/uint8-array.coercer.js +9 -9
  848. package/schema/coercers/uint8-array.coercer.js.map +1 -1
  849. package/schema/constraints/enumeration.d.ts +4 -4
  850. package/schema/constraints/enumeration.js +11 -11
  851. package/schema/constraints/enumeration.js.map +1 -1
  852. package/schema/constraints/generic.d.ts +5 -5
  853. package/schema/constraints/generic.js +6 -6
  854. package/schema/constraints/generic.js.map +1 -1
  855. package/schema/constraints/index.d.ts +12 -12
  856. package/schema/constraints/index.js +12 -12
  857. package/schema/constraints/index.js.map +1 -1
  858. package/schema/constraints/integer.d.ts +4 -4
  859. package/schema/constraints/integer.js +7 -7
  860. package/schema/constraints/integer.js.map +1 -1
  861. package/schema/constraints/length.d.ts +1 -1
  862. package/schema/constraints/length.js +9 -9
  863. package/schema/constraints/length.js.map +1 -1
  864. package/schema/constraints/literal.d.ts +3 -3
  865. package/schema/constraints/literal.js +9 -9
  866. package/schema/constraints/literal.js.map +1 -1
  867. package/schema/constraints/maximum-date.d.ts +4 -4
  868. package/schema/constraints/maximum-date.js +10 -10
  869. package/schema/constraints/maximum-date.js.map +1 -1
  870. package/schema/constraints/maximum-length.d.ts +4 -4
  871. package/schema/constraints/maximum-length.js +8 -8
  872. package/schema/constraints/maximum-length.js.map +1 -1
  873. package/schema/constraints/maximum.d.ts +4 -4
  874. package/schema/constraints/maximum.js +7 -7
  875. package/schema/constraints/maximum.js.map +1 -1
  876. package/schema/constraints/minimum-date.d.ts +4 -4
  877. package/schema/constraints/minimum-date.js +10 -10
  878. package/schema/constraints/minimum-date.js.map +1 -1
  879. package/schema/constraints/minimum-length.d.ts +4 -4
  880. package/schema/constraints/minimum-length.js +8 -8
  881. package/schema/constraints/minimum-length.js.map +1 -1
  882. package/schema/constraints/minimum.d.ts +4 -4
  883. package/schema/constraints/minimum.js +7 -7
  884. package/schema/constraints/minimum.js.map +1 -1
  885. package/schema/constraints/pattern.d.ts +4 -4
  886. package/schema/constraints/pattern.js +7 -7
  887. package/schema/constraints/pattern.js.map +1 -1
  888. package/schema/decorators/class.d.ts +2 -2
  889. package/schema/decorators/class.js +2 -2
  890. package/schema/decorators/class.js.map +1 -1
  891. package/schema/decorators/coerce.d.ts +1 -1
  892. package/schema/decorators/coerce.js +2 -2
  893. package/schema/decorators/coerce.js.map +1 -1
  894. package/schema/decorators/constraint.d.ts +3 -3
  895. package/schema/decorators/constraint.js +4 -4
  896. package/schema/decorators/constraint.js.map +1 -1
  897. package/schema/decorators/index.d.ts +6 -6
  898. package/schema/decorators/index.js +6 -6
  899. package/schema/decorators/index.js.map +1 -1
  900. package/schema/decorators/property.d.ts +4 -4
  901. package/schema/decorators/property.js +11 -11
  902. package/schema/decorators/property.js.map +1 -1
  903. package/schema/decorators/types.d.ts +3 -3
  904. package/schema/decorators/utils.d.ts +8 -8
  905. package/schema/decorators/utils.js +14 -14
  906. package/schema/decorators/utils.js.map +1 -1
  907. package/schema/index.d.ts +10 -10
  908. package/schema/index.js +10 -10
  909. package/schema/index.js.map +1 -1
  910. package/schema/schema.d.ts +2 -2
  911. package/schema/schema.error.d.ts +6 -6
  912. package/schema/schema.error.js +18 -18
  913. package/schema/schema.error.js.map +1 -1
  914. package/schema/schema.js +63 -63
  915. package/schema/schema.js.map +1 -1
  916. package/schema/schemas/any.d.ts +2 -2
  917. package/schema/schemas/any.js +4 -4
  918. package/schema/schemas/any.js.map +1 -1
  919. package/schema/schemas/array.d.ts +4 -4
  920. package/schema/schemas/array.js +12 -12
  921. package/schema/schemas/array.js.map +1 -1
  922. package/schema/schemas/assign.d.ts +1 -1
  923. package/schema/schemas/assign.js +6 -6
  924. package/schema/schemas/assign.js.map +1 -1
  925. package/schema/schemas/boolean.d.ts +2 -2
  926. package/schema/schemas/boolean.js +4 -4
  927. package/schema/schemas/boolean.js.map +1 -1
  928. package/schema/schemas/constraint.d.ts +4 -4
  929. package/schema/schemas/constraint.js +4 -4
  930. package/schema/schemas/constraint.js.map +1 -1
  931. package/schema/schemas/date.d.ts +2 -2
  932. package/schema/schemas/date.js +12 -12
  933. package/schema/schemas/date.js.map +1 -1
  934. package/schema/schemas/defaulted.d.ts +4 -4
  935. package/schema/schemas/defaulted.js +5 -5
  936. package/schema/schemas/defaulted.js.map +1 -1
  937. package/schema/schemas/enumeration.d.ts +3 -3
  938. package/schema/schemas/enumeration.js +8 -8
  939. package/schema/schemas/enumeration.js.map +1 -1
  940. package/schema/schemas/index.d.ts +26 -26
  941. package/schema/schemas/index.js +26 -26
  942. package/schema/schemas/index.js.map +1 -1
  943. package/schema/schemas/instance.d.ts +1 -1
  944. package/schema/schemas/instance.js +2 -2
  945. package/schema/schemas/instance.js.map +1 -1
  946. package/schema/schemas/literal.d.ts +2 -2
  947. package/schema/schemas/literal.js +9 -9
  948. package/schema/schemas/literal.js.map +1 -1
  949. package/schema/schemas/nullable.d.ts +3 -3
  950. package/schema/schemas/nullable.js +4 -4
  951. package/schema/schemas/nullable.js.map +1 -1
  952. package/schema/schemas/number.d.ts +2 -2
  953. package/schema/schemas/number.js +15 -15
  954. package/schema/schemas/number.js.map +1 -1
  955. package/schema/schemas/object.d.ts +2 -2
  956. package/schema/schemas/object.js +2 -2
  957. package/schema/schemas/object.js.map +1 -1
  958. package/schema/schemas/omit.d.ts +2 -2
  959. package/schema/schemas/omit.js +8 -8
  960. package/schema/schemas/omit.js.map +1 -1
  961. package/schema/schemas/one-or-many.d.ts +5 -5
  962. package/schema/schemas/one-or-many.js +8 -8
  963. package/schema/schemas/one-or-many.js.map +1 -1
  964. package/schema/schemas/optional.d.ts +4 -4
  965. package/schema/schemas/optional.js +4 -4
  966. package/schema/schemas/optional.js.map +1 -1
  967. package/schema/schemas/partial.d.ts +2 -2
  968. package/schema/schemas/partial.js +11 -11
  969. package/schema/schemas/partial.js.map +1 -1
  970. package/schema/schemas/pick.d.ts +2 -2
  971. package/schema/schemas/pick.js +8 -8
  972. package/schema/schemas/pick.js.map +1 -1
  973. package/schema/schemas/readable-stream.d.ts +3 -3
  974. package/schema/schemas/readable-stream.js +4 -4
  975. package/schema/schemas/readable-stream.js.map +1 -1
  976. package/schema/schemas/record.d.ts +3 -3
  977. package/schema/schemas/record.js +2 -2
  978. package/schema/schemas/record.js.map +1 -1
  979. package/schema/schemas/regexp.d.ts +3 -3
  980. package/schema/schemas/regexp.js +4 -4
  981. package/schema/schemas/regexp.js.map +1 -1
  982. package/schema/schemas/string.d.ts +2 -2
  983. package/schema/schemas/string.js +22 -22
  984. package/schema/schemas/string.js.map +1 -1
  985. package/schema/schemas/transform.d.ts +4 -4
  986. package/schema/schemas/transform.js +4 -4
  987. package/schema/schemas/transform.js.map +1 -1
  988. package/schema/schemas/uint8-array.d.ts +2 -2
  989. package/schema/schemas/uint8-array.js +16 -16
  990. package/schema/schemas/uint8-array.js.map +1 -1
  991. package/schema/schemas/union.d.ts +3 -3
  992. package/schema/schemas/union.js +8 -8
  993. package/schema/schemas/union.js.map +1 -1
  994. package/schema/schemas/unknown.d.ts +2 -2
  995. package/schema/schemas/unknown.js +4 -4
  996. package/schema/schemas/unknown.js.map +1 -1
  997. package/schema/transformers/generic.d.ts +4 -4
  998. package/schema/transformers/generic.js +4 -4
  999. package/schema/transformers/generic.js.map +1 -1
  1000. package/schema/transformers/index.d.ts +4 -4
  1001. package/schema/transformers/index.js +4 -4
  1002. package/schema/transformers/index.js.map +1 -1
  1003. package/schema/transformers/lowercase.d.ts +3 -3
  1004. package/schema/transformers/lowercase.js +4 -4
  1005. package/schema/transformers/lowercase.js.map +1 -1
  1006. package/schema/transformers/trim.d.ts +3 -3
  1007. package/schema/transformers/trim.js +4 -4
  1008. package/schema/transformers/trim.js.map +1 -1
  1009. package/schema/transformers/uppercase.d.ts +3 -3
  1010. package/schema/transformers/uppercase.js +4 -4
  1011. package/schema/transformers/uppercase.js.map +1 -1
  1012. package/schema/types/index.d.ts +5 -5
  1013. package/schema/types/index.js +5 -5
  1014. package/schema/types/index.js.map +1 -1
  1015. package/schema/types/schema-array-constraint.d.ts +2 -2
  1016. package/schema/types/schema-value-coercer.d.ts +3 -3
  1017. package/schema/types/schema-value-constraint.d.ts +3 -3
  1018. package/schema/types/schema-value-transformer.d.ts +3 -3
  1019. package/schema/types/types.d.ts +7 -7
  1020. package/schema/types/types.js +24 -24
  1021. package/schema/types/types.js.map +1 -1
  1022. package/schema/utils/index.d.ts +2 -2
  1023. package/schema/utils/index.js +2 -2
  1024. package/schema/utils/index.js.map +1 -1
  1025. package/schema/utils/schema.d.ts +3 -3
  1026. package/schema/utils/schema.js +40 -40
  1027. package/schema/utils/schema.js.map +1 -1
  1028. package/schema/utils/value-type.d.ts +3 -3
  1029. package/schema/utils/value-type.js +22 -22
  1030. package/schema/utils/value-type.js.map +1 -1
  1031. package/search-index/elastic/config.d.ts +3 -3
  1032. package/search-index/elastic/config.js +6 -6
  1033. package/search-index/elastic/config.js.map +1 -1
  1034. package/search-index/elastic/index.d.ts +6 -6
  1035. package/search-index/elastic/index.js +6 -6
  1036. package/search-index/elastic/index.js.map +1 -1
  1037. package/search-index/elastic/model/elastic-query.d.ts +1 -1
  1038. package/search-index/elastic/model/index-mapping.d.ts +3 -3
  1039. package/search-index/elastic/model/index-mapping.js +2 -2
  1040. package/search-index/elastic/model/index-mapping.js.map +1 -1
  1041. package/search-index/elastic/model/index.d.ts +3 -3
  1042. package/search-index/elastic/model/index.js +3 -3
  1043. package/search-index/elastic/model/index.js.map +1 -1
  1044. package/search-index/elastic/model/sort.d.ts +3 -3
  1045. package/search-index/elastic/module.d.ts +4 -4
  1046. package/search-index/elastic/module.js +17 -17
  1047. package/search-index/elastic/module.js.map +1 -1
  1048. package/search-index/elastic/query-builder/boolean-query-builder.d.ts +1 -1
  1049. package/search-index/elastic/query-builder/index.d.ts +1 -1
  1050. package/search-index/elastic/query-builder/index.js +1 -1
  1051. package/search-index/elastic/query-builder/index.js.map +1 -1
  1052. package/search-index/elastic/query-converter.d.ts +4 -4
  1053. package/search-index/elastic/query-converter.js +26 -26
  1054. package/search-index/elastic/query-converter.js.map +1 -1
  1055. package/search-index/elastic/search-index.d.ts +10 -10
  1056. package/search-index/elastic/search-index.js +33 -33
  1057. package/search-index/elastic/search-index.js.map +1 -1
  1058. package/search-index/elastic/sort-converter.d.ts +3 -3
  1059. package/search-index/elastic/types.d.ts +1 -1
  1060. package/search-index/error.d.ts +1 -1
  1061. package/search-index/error.js +4 -4
  1062. package/search-index/error.js.map +1 -1
  1063. package/search-index/index.d.ts +3 -3
  1064. package/search-index/index.js +3 -3
  1065. package/search-index/index.js.map +1 -1
  1066. package/search-index/memory/index.d.ts +1 -1
  1067. package/search-index/memory/index.js +1 -1
  1068. package/search-index/memory/index.js.map +1 -1
  1069. package/search-index/memory/memory-search-index.d.ts +3 -3
  1070. package/search-index/memory/memory-search-index.js +26 -26
  1071. package/search-index/memory/memory-search-index.js.map +1 -1
  1072. package/search-index/search-index.d.ts +3 -3
  1073. package/search-index/search-index.js +3 -3
  1074. package/search-index/search-index.js.map +1 -1
  1075. package/search-index/search-result.d.ts +1 -1
  1076. package/serializer/handlers/binary.d.ts +1 -1
  1077. package/serializer/handlers/binary.js +7 -7
  1078. package/serializer/handlers/binary.js.map +1 -1
  1079. package/serializer/handlers/index.d.ts +7 -7
  1080. package/serializer/handlers/index.js +7 -7
  1081. package/serializer/handlers/index.js.map +1 -1
  1082. package/serializer/handlers/map.d.ts +1 -1
  1083. package/serializer/handlers/register.d.ts +1 -1
  1084. package/serializer/handlers/register.js +18 -18
  1085. package/serializer/handlers/register.js.map +1 -1
  1086. package/serializer/handlers/set.d.ts +2 -2
  1087. package/serializer/index.d.ts +4 -4
  1088. package/serializer/index.js +7 -7
  1089. package/serializer/index.js.map +1 -1
  1090. package/serializer/serializable.d.ts +1 -1
  1091. package/serializer/serializable.js +5 -5
  1092. package/serializer/serializable.js.map +1 -1
  1093. package/serializer/serializer.d.ts +2 -2
  1094. package/serializer/serializer.js +35 -35
  1095. package/serializer/serializer.js.map +1 -1
  1096. package/serializer/types.d.ts +1 -1
  1097. package/sse/index.d.ts +1 -1
  1098. package/sse/index.js +1 -1
  1099. package/sse/index.js.map +1 -1
  1100. package/sse/server-sent-events.js +5 -5
  1101. package/sse/server-sent-events.js.map +1 -1
  1102. package/tailwind/index.d.ts +1 -1
  1103. package/tailwind/index.js +1 -1
  1104. package/tailwind/index.js.map +1 -1
  1105. package/tailwind/theme-adapter.d.ts +1 -1
  1106. package/tailwind/theme-adapter.js +4 -4
  1107. package/tailwind/theme-adapter.js.map +1 -1
  1108. package/templates/index.d.ts +9 -9
  1109. package/templates/index.js +9 -9
  1110. package/templates/index.js.map +1 -1
  1111. package/templates/module.d.ts +4 -4
  1112. package/templates/module.js +12 -12
  1113. package/templates/module.js.map +1 -1
  1114. package/templates/providers/file.template-provider.d.ts +4 -4
  1115. package/templates/providers/file.template-provider.js +13 -13
  1116. package/templates/providers/file.template-provider.js.map +1 -1
  1117. package/templates/providers/memory.template-provider.d.ts +2 -2
  1118. package/templates/providers/memory.template-provider.js +6 -6
  1119. package/templates/providers/memory.template-provider.js.map +1 -1
  1120. package/templates/renderers/handlebars.template-renderer.d.ts +5 -5
  1121. package/templates/renderers/handlebars.template-renderer.js +19 -19
  1122. package/templates/renderers/handlebars.template-renderer.js.map +1 -1
  1123. package/templates/renderers/jsx.template-renderer.d.ts +6 -6
  1124. package/templates/renderers/jsx.template-renderer.js +8 -8
  1125. package/templates/renderers/jsx.template-renderer.js.map +1 -1
  1126. package/templates/renderers/mjml.template-renderer.d.ts +3 -3
  1127. package/templates/renderers/mjml.template-renderer.js +7 -7
  1128. package/templates/renderers/mjml.template-renderer.js.map +1 -1
  1129. package/templates/renderers/string.template-renderer.d.ts +2 -2
  1130. package/templates/renderers/string.template-renderer.js +4 -4
  1131. package/templates/renderers/string.template-renderer.js.map +1 -1
  1132. package/templates/resolvers/file.template-resolver.d.ts +6 -6
  1133. package/templates/resolvers/file.template-resolver.js +13 -13
  1134. package/templates/resolvers/file.template-resolver.js.map +1 -1
  1135. package/templates/resolvers/jsx.template-resolver.d.ts +4 -4
  1136. package/templates/resolvers/jsx.template-resolver.js +8 -8
  1137. package/templates/resolvers/jsx.template-resolver.js.map +1 -1
  1138. package/templates/resolvers/string.template-resolver.d.ts +4 -4
  1139. package/templates/resolvers/string.template-resolver.js +8 -8
  1140. package/templates/resolvers/string.template-resolver.js.map +1 -1
  1141. package/templates/template-renderer.provider.d.ts +1 -1
  1142. package/templates/template-renderer.provider.js +4 -4
  1143. package/templates/template-renderer.provider.js.map +1 -1
  1144. package/templates/template-resolver.provider.d.ts +1 -1
  1145. package/templates/template-resolver.provider.js +4 -4
  1146. package/templates/template-resolver.provider.js.map +1 -1
  1147. package/templates/template.model.d.ts +1 -1
  1148. package/templates/template.model.js +10 -10
  1149. package/templates/template.model.js.map +1 -1
  1150. package/templates/template.provider.d.ts +1 -1
  1151. package/templates/template.renderer.d.ts +2 -2
  1152. package/templates/template.renderer.js +4 -4
  1153. package/templates/template.renderer.js.map +1 -1
  1154. package/templates/template.resolver.d.ts +1 -1
  1155. package/templates/template.service.d.ts +5 -5
  1156. package/templates/template.service.js +15 -15
  1157. package/templates/template.service.js.map +1 -1
  1158. package/templates/tokens.d.ts +4 -4
  1159. package/templates/tokens.js +3 -3
  1160. package/templates/tokens.js.map +1 -1
  1161. package/text/dynamic-text.model.d.ts +3 -3
  1162. package/text/dynamic-text.model.js +7 -7
  1163. package/text/dynamic-text.model.js.map +1 -1
  1164. package/text/index.d.ts +3 -3
  1165. package/text/index.js +3 -3
  1166. package/text/index.js.map +1 -1
  1167. package/text/localizable-text.model.d.ts +1 -1
  1168. package/text/localization.service.d.ts +7 -4
  1169. package/text/localization.service.js +50 -35
  1170. package/text/localization.service.js.map +1 -1
  1171. package/theme/adapters/css-adapter.d.ts +1 -1
  1172. package/theme/adapters/css-adapter.js +19 -19
  1173. package/theme/adapters/css-adapter.js.map +1 -1
  1174. package/theme/index.d.ts +1 -1
  1175. package/theme/index.js +1 -1
  1176. package/theme/index.js.map +1 -1
  1177. package/theme/theme-service.d.ts +2 -2
  1178. package/theme/theme-service.js +19 -19
  1179. package/theme/theme-service.js.map +1 -1
  1180. package/threading/index.d.ts +2 -2
  1181. package/threading/index.js +2 -2
  1182. package/threading/index.js.map +1 -1
  1183. package/threading/thread-pool.d.ts +4 -4
  1184. package/threading/thread-pool.js +11 -11
  1185. package/threading/thread-pool.js.map +1 -1
  1186. package/threading/thread-worker.d.ts +1 -1
  1187. package/threading/thread-worker.js +2 -2
  1188. package/threading/thread-worker.js.map +1 -1
  1189. package/tokens.d.ts +1 -1
  1190. package/tokens.js +2 -2
  1191. package/tokens.js.map +1 -1
  1192. package/types/geo-json.d.ts +1 -1
  1193. package/utils/any-iterable-iterator.js +3 -3
  1194. package/utils/any-iterable-iterator.js.map +1 -1
  1195. package/utils/array/array-backtracker.js +5 -5
  1196. package/utils/array/array-backtracker.js.map +1 -1
  1197. package/utils/array/array.js +11 -11
  1198. package/utils/array/array.js.map +1 -1
  1199. package/utils/array/index.d.ts +2 -2
  1200. package/utils/array/index.js +2 -2
  1201. package/utils/array/index.js.map +1 -1
  1202. package/utils/async-iterable-helpers/all.d.ts +2 -2
  1203. package/utils/async-iterable-helpers/all.js +2 -2
  1204. package/utils/async-iterable-helpers/all.js.map +1 -1
  1205. package/utils/async-iterable-helpers/any.d.ts +2 -2
  1206. package/utils/async-iterable-helpers/any.js +2 -2
  1207. package/utils/async-iterable-helpers/any.js.map +1 -1
  1208. package/utils/async-iterable-helpers/assert.d.ts +2 -2
  1209. package/utils/async-iterable-helpers/assert.js +5 -5
  1210. package/utils/async-iterable-helpers/assert.js.map +1 -1
  1211. package/utils/async-iterable-helpers/batch.d.ts +1 -1
  1212. package/utils/async-iterable-helpers/batch.js +2 -2
  1213. package/utils/async-iterable-helpers/batch.js.map +1 -1
  1214. package/utils/async-iterable-helpers/buffer.d.ts +1 -1
  1215. package/utils/async-iterable-helpers/buffer.js +8 -8
  1216. package/utils/async-iterable-helpers/buffer.js.map +1 -1
  1217. package/utils/async-iterable-helpers/concat.d.ts +1 -1
  1218. package/utils/async-iterable-helpers/default-if-empty.d.ts +1 -1
  1219. package/utils/async-iterable-helpers/deferred.d.ts +1 -1
  1220. package/utils/async-iterable-helpers/difference.d.ts +2 -2
  1221. package/utils/async-iterable-helpers/difference.js +8 -8
  1222. package/utils/async-iterable-helpers/difference.js.map +1 -1
  1223. package/utils/async-iterable-helpers/distinct.d.ts +2 -2
  1224. package/utils/async-iterable-helpers/distinct.js +2 -2
  1225. package/utils/async-iterable-helpers/distinct.js.map +1 -1
  1226. package/utils/async-iterable-helpers/drain.d.ts +1 -1
  1227. package/utils/async-iterable-helpers/filter.d.ts +2 -2
  1228. package/utils/async-iterable-helpers/filter.js +2 -2
  1229. package/utils/async-iterable-helpers/filter.js.map +1 -1
  1230. package/utils/async-iterable-helpers/first-or-default.d.ts +3 -3
  1231. package/utils/async-iterable-helpers/first-or-default.js +2 -2
  1232. package/utils/async-iterable-helpers/first-or-default.js.map +1 -1
  1233. package/utils/async-iterable-helpers/first.d.ts +3 -3
  1234. package/utils/async-iterable-helpers/first.js +2 -2
  1235. package/utils/async-iterable-helpers/first.js.map +1 -1
  1236. package/utils/async-iterable-helpers/for-each.d.ts +2 -2
  1237. package/utils/async-iterable-helpers/for-each.js +2 -2
  1238. package/utils/async-iterable-helpers/for-each.js.map +1 -1
  1239. package/utils/async-iterable-helpers/group-single.d.ts +2 -2
  1240. package/utils/async-iterable-helpers/group-single.js +2 -2
  1241. package/utils/async-iterable-helpers/group-single.js.map +1 -1
  1242. package/utils/async-iterable-helpers/group-to-map.d.ts +2 -2
  1243. package/utils/async-iterable-helpers/group-to-map.js +5 -5
  1244. package/utils/async-iterable-helpers/group-to-map.js.map +1 -1
  1245. package/utils/async-iterable-helpers/group-to-single-map.d.ts +2 -2
  1246. package/utils/async-iterable-helpers/group-to-single-map.js +2 -2
  1247. package/utils/async-iterable-helpers/group-to-single-map.js.map +1 -1
  1248. package/utils/async-iterable-helpers/group.d.ts +2 -2
  1249. package/utils/async-iterable-helpers/group.js +2 -2
  1250. package/utils/async-iterable-helpers/group.js.map +1 -1
  1251. package/utils/async-iterable-helpers/includes.d.ts +1 -1
  1252. package/utils/async-iterable-helpers/includes.js +6 -6
  1253. package/utils/async-iterable-helpers/includes.js.map +1 -1
  1254. package/utils/async-iterable-helpers/index.d.ts +48 -48
  1255. package/utils/async-iterable-helpers/index.js +48 -48
  1256. package/utils/async-iterable-helpers/index.js.map +1 -1
  1257. package/utils/async-iterable-helpers/interrupt.d.ts +1 -1
  1258. package/utils/async-iterable-helpers/interrupt.js +5 -5
  1259. package/utils/async-iterable-helpers/interrupt.js.map +1 -1
  1260. package/utils/async-iterable-helpers/is-async-iterable.d.ts +1 -1
  1261. package/utils/async-iterable-helpers/is-async-iterable.js +3 -3
  1262. package/utils/async-iterable-helpers/is-async-iterable.js.map +1 -1
  1263. package/utils/async-iterable-helpers/last-or-default.d.ts +3 -3
  1264. package/utils/async-iterable-helpers/last-or-default.js +2 -2
  1265. package/utils/async-iterable-helpers/last-or-default.js.map +1 -1
  1266. package/utils/async-iterable-helpers/last.d.ts +3 -3
  1267. package/utils/async-iterable-helpers/last.js +2 -2
  1268. package/utils/async-iterable-helpers/last.js.map +1 -1
  1269. package/utils/async-iterable-helpers/map-many.d.ts +2 -2
  1270. package/utils/async-iterable-helpers/map-many.js +2 -2
  1271. package/utils/async-iterable-helpers/map-many.js.map +1 -1
  1272. package/utils/async-iterable-helpers/map.d.ts +2 -2
  1273. package/utils/async-iterable-helpers/map.js +2 -2
  1274. package/utils/async-iterable-helpers/map.js.map +1 -1
  1275. package/utils/async-iterable-helpers/materialize.d.ts +1 -1
  1276. package/utils/async-iterable-helpers/materialize.js +4 -4
  1277. package/utils/async-iterable-helpers/materialize.js.map +1 -1
  1278. package/utils/async-iterable-helpers/metadata.d.ts +2 -2
  1279. package/utils/async-iterable-helpers/metadata.js +2 -2
  1280. package/utils/async-iterable-helpers/metadata.js.map +1 -1
  1281. package/utils/async-iterable-helpers/multiplex.d.ts +1 -1
  1282. package/utils/async-iterable-helpers/multiplex.js +3 -3
  1283. package/utils/async-iterable-helpers/multiplex.js.map +1 -1
  1284. package/utils/async-iterable-helpers/observable-iterable.js +5 -5
  1285. package/utils/async-iterable-helpers/observable-iterable.js.map +1 -1
  1286. package/utils/async-iterable-helpers/pairwise.d.ts +1 -1
  1287. package/utils/async-iterable-helpers/pairwise.js +2 -2
  1288. package/utils/async-iterable-helpers/pairwise.js.map +1 -1
  1289. package/utils/async-iterable-helpers/parallel/feed.d.ts +2 -2
  1290. package/utils/async-iterable-helpers/parallel/feed.js +6 -6
  1291. package/utils/async-iterable-helpers/parallel/feed.js.map +1 -1
  1292. package/utils/async-iterable-helpers/parallel/filter.d.ts +2 -2
  1293. package/utils/async-iterable-helpers/parallel/filter.js +2 -2
  1294. package/utils/async-iterable-helpers/parallel/filter.js.map +1 -1
  1295. package/utils/async-iterable-helpers/parallel/for-each.d.ts +2 -2
  1296. package/utils/async-iterable-helpers/parallel/for-each.js +4 -4
  1297. package/utils/async-iterable-helpers/parallel/for-each.js.map +1 -1
  1298. package/utils/async-iterable-helpers/parallel/group.d.ts +2 -2
  1299. package/utils/async-iterable-helpers/parallel/group.js +4 -4
  1300. package/utils/async-iterable-helpers/parallel/group.js.map +1 -1
  1301. package/utils/async-iterable-helpers/parallel/index.d.ts +7 -7
  1302. package/utils/async-iterable-helpers/parallel/index.js +7 -7
  1303. package/utils/async-iterable-helpers/parallel/index.js.map +1 -1
  1304. package/utils/async-iterable-helpers/parallel/map.d.ts +2 -2
  1305. package/utils/async-iterable-helpers/parallel/map.js +2 -2
  1306. package/utils/async-iterable-helpers/parallel/map.js.map +1 -1
  1307. package/utils/async-iterable-helpers/parallel/tap.d.ts +2 -2
  1308. package/utils/async-iterable-helpers/parallel/tap.js +2 -2
  1309. package/utils/async-iterable-helpers/parallel/tap.js.map +1 -1
  1310. package/utils/async-iterable-helpers/reduce.d.ts +2 -2
  1311. package/utils/async-iterable-helpers/reduce.js +2 -2
  1312. package/utils/async-iterable-helpers/reduce.js.map +1 -1
  1313. package/utils/async-iterable-helpers/retry.d.ts +2 -2
  1314. package/utils/async-iterable-helpers/retry.js +2 -2
  1315. package/utils/async-iterable-helpers/retry.js.map +1 -1
  1316. package/utils/async-iterable-helpers/single-or-default.d.ts +3 -3
  1317. package/utils/async-iterable-helpers/single.d.ts +3 -3
  1318. package/utils/async-iterable-helpers/skip.d.ts +1 -1
  1319. package/utils/async-iterable-helpers/skip.js +2 -2
  1320. package/utils/async-iterable-helpers/skip.js.map +1 -1
  1321. package/utils/async-iterable-helpers/sort.d.ts +2 -2
  1322. package/utils/async-iterable-helpers/sort.js +4 -4
  1323. package/utils/async-iterable-helpers/sort.js.map +1 -1
  1324. package/utils/async-iterable-helpers/take-until.d.ts +2 -2
  1325. package/utils/async-iterable-helpers/take-until.js +2 -2
  1326. package/utils/async-iterable-helpers/take-until.js.map +1 -1
  1327. package/utils/async-iterable-helpers/take-while.d.ts +2 -2
  1328. package/utils/async-iterable-helpers/take-while.js +2 -2
  1329. package/utils/async-iterable-helpers/take-while.js.map +1 -1
  1330. package/utils/async-iterable-helpers/take.d.ts +1 -1
  1331. package/utils/async-iterable-helpers/tap.d.ts +2 -2
  1332. package/utils/async-iterable-helpers/tap.js +2 -2
  1333. package/utils/async-iterable-helpers/tap.js.map +1 -1
  1334. package/utils/async-iterable-helpers/throttle.d.ts +2 -2
  1335. package/utils/async-iterable-helpers/throttle.js +2 -2
  1336. package/utils/async-iterable-helpers/throttle.js.map +1 -1
  1337. package/utils/async-iterable-helpers/to-array.d.ts +1 -1
  1338. package/utils/async-iterable-helpers/to-array.js +2 -2
  1339. package/utils/async-iterable-helpers/to-array.js.map +1 -1
  1340. package/utils/async-iterable-helpers/to-async-iterable-iterator.d.ts +1 -1
  1341. package/utils/async-iterable-helpers/to-async-iterator.d.ts +1 -1
  1342. package/utils/async-iterable-helpers/to-async-iterator.js +7 -7
  1343. package/utils/async-iterable-helpers/to-async-iterator.js.map +1 -1
  1344. package/utils/async-iterable-helpers/to-set.d.ts +1 -1
  1345. package/utils/async-iterable-helpers/to-set.js +2 -2
  1346. package/utils/async-iterable-helpers/to-set.js.map +1 -1
  1347. package/utils/async-iterable-helpers/to-sync-iterable.d.ts +1 -1
  1348. package/utils/async-iterable-helpers/to-sync-iterable.js +4 -4
  1349. package/utils/async-iterable-helpers/to-sync-iterable.js.map +1 -1
  1350. package/utils/async-iterable-helpers/types.d.ts +1 -1
  1351. package/utils/async-iterable-helpers/while.d.ts +2 -2
  1352. package/utils/async-iterable-helpers/while.js +2 -2
  1353. package/utils/async-iterable-helpers/while.js.map +1 -1
  1354. package/utils/async-iterator-iterable-iterator.js +3 -3
  1355. package/utils/async-iterator-iterable-iterator.js.map +1 -1
  1356. package/utils/backoff.d.ts +2 -2
  1357. package/utils/backoff.js +9 -9
  1358. package/utils/backoff.js.map +1 -1
  1359. package/utils/base64.d.ts +1 -1
  1360. package/utils/base64.js +8 -8
  1361. package/utils/base64.js.map +1 -1
  1362. package/utils/benchmark.d.ts +2 -2
  1363. package/utils/benchmark.js +12 -12
  1364. package/utils/benchmark.js.map +1 -1
  1365. package/utils/binary-search.d.ts +1 -1
  1366. package/utils/binary-search.js +8 -8
  1367. package/utils/binary-search.js.map +1 -1
  1368. package/utils/binary.d.ts +1 -1
  1369. package/utils/binary.js +6 -6
  1370. package/utils/binary.js.map +1 -1
  1371. package/utils/cancellation-token.js +8 -8
  1372. package/utils/cancellation-token.js.map +1 -1
  1373. package/utils/clone.js +15 -15
  1374. package/utils/clone.js.map +1 -1
  1375. package/utils/compression.d.ts +1 -1
  1376. package/utils/compression.js +26 -26
  1377. package/utils/compression.js.map +1 -1
  1378. package/utils/config-parser.js +3 -3
  1379. package/utils/config-parser.js.map +1 -1
  1380. package/utils/cryptography.d.ts +1 -1
  1381. package/utils/cryptography.js +33 -33
  1382. package/utils/cryptography.js.map +1 -1
  1383. package/utils/date-time.js +11 -11
  1384. package/utils/date-time.js.map +1 -1
  1385. package/utils/encoding.d.ts +1 -1
  1386. package/utils/encoding.js +8 -8
  1387. package/utils/encoding.js.map +1 -1
  1388. package/utils/enum.d.ts +1 -1
  1389. package/utils/enum.js +10 -10
  1390. package/utils/enum.js.map +1 -1
  1391. package/utils/equals.d.ts +2 -2
  1392. package/utils/equals.js +14 -14
  1393. package/utils/equals.js.map +1 -1
  1394. package/utils/event-loop.d.ts +2 -2
  1395. package/utils/event-loop.js +7 -7
  1396. package/utils/event-loop.js.map +1 -1
  1397. package/utils/feedable-async-iterable.js +4 -4
  1398. package/utils/feedable-async-iterable.js.map +1 -1
  1399. package/utils/file-reader.js +2 -2
  1400. package/utils/file-reader.js.map +1 -1
  1401. package/utils/format-error.d.ts +1 -1
  1402. package/utils/format-error.js +10 -10
  1403. package/utils/format-error.js.map +1 -1
  1404. package/utils/function/index.d.ts +2 -2
  1405. package/utils/function/index.js +2 -2
  1406. package/utils/function/index.js.map +1 -1
  1407. package/utils/function/memoize.js +4 -4
  1408. package/utils/function/memoize.js.map +1 -1
  1409. package/utils/function/throttle.js +2 -2
  1410. package/utils/function/throttle.js.map +1 -1
  1411. package/utils/helpers.d.ts +1 -1
  1412. package/utils/helpers.js +8 -8
  1413. package/utils/helpers.js.map +1 -1
  1414. package/utils/image.js +9 -9
  1415. package/utils/image.js.map +1 -1
  1416. package/utils/index.d.ts +47 -47
  1417. package/utils/index.js +47 -47
  1418. package/utils/index.js.map +1 -1
  1419. package/utils/iterable-helpers/all.d.ts +1 -1
  1420. package/utils/iterable-helpers/any.d.ts +1 -1
  1421. package/utils/iterable-helpers/assert.d.ts +1 -1
  1422. package/utils/iterable-helpers/assert.js +2 -2
  1423. package/utils/iterable-helpers/assert.js.map +1 -1
  1424. package/utils/iterable-helpers/difference.d.ts +1 -1
  1425. package/utils/iterable-helpers/difference.js +5 -5
  1426. package/utils/iterable-helpers/difference.js.map +1 -1
  1427. package/utils/iterable-helpers/distinct.d.ts +1 -1
  1428. package/utils/iterable-helpers/filter.d.ts +1 -1
  1429. package/utils/iterable-helpers/first-or-default.d.ts +1 -1
  1430. package/utils/iterable-helpers/first-or-default.js +2 -2
  1431. package/utils/iterable-helpers/first-or-default.js.map +1 -1
  1432. package/utils/iterable-helpers/first.d.ts +1 -1
  1433. package/utils/iterable-helpers/first.js +2 -2
  1434. package/utils/iterable-helpers/first.js.map +1 -1
  1435. package/utils/iterable-helpers/for-each.d.ts +1 -1
  1436. package/utils/iterable-helpers/group-single.d.ts +1 -1
  1437. package/utils/iterable-helpers/group-single.js +2 -2
  1438. package/utils/iterable-helpers/group-single.js.map +1 -1
  1439. package/utils/iterable-helpers/group-to-map.d.ts +1 -1
  1440. package/utils/iterable-helpers/group-to-map.js +2 -2
  1441. package/utils/iterable-helpers/group-to-map.js.map +1 -1
  1442. package/utils/iterable-helpers/group-to-single-map.d.ts +1 -1
  1443. package/utils/iterable-helpers/group.d.ts +1 -1
  1444. package/utils/iterable-helpers/group.js +2 -2
  1445. package/utils/iterable-helpers/group.js.map +1 -1
  1446. package/utils/iterable-helpers/includes.js +2 -2
  1447. package/utils/iterable-helpers/includes.js.map +1 -1
  1448. package/utils/iterable-helpers/index.d.ts +39 -39
  1449. package/utils/iterable-helpers/index.js +39 -39
  1450. package/utils/iterable-helpers/index.js.map +1 -1
  1451. package/utils/iterable-helpers/is-iterable.d.ts +1 -1
  1452. package/utils/iterable-helpers/is-iterable.js +3 -3
  1453. package/utils/iterable-helpers/is-iterable.js.map +1 -1
  1454. package/utils/iterable-helpers/last-or-default.d.ts +1 -1
  1455. package/utils/iterable-helpers/last-or-default.js +2 -2
  1456. package/utils/iterable-helpers/last-or-default.js.map +1 -1
  1457. package/utils/iterable-helpers/last.d.ts +1 -1
  1458. package/utils/iterable-helpers/last.js +2 -2
  1459. package/utils/iterable-helpers/last.js.map +1 -1
  1460. package/utils/iterable-helpers/map-many.d.ts +1 -1
  1461. package/utils/iterable-helpers/map.d.ts +1 -1
  1462. package/utils/iterable-helpers/metadata.d.ts +1 -1
  1463. package/utils/iterable-helpers/reduce.d.ts +1 -1
  1464. package/utils/iterable-helpers/single-or-default.d.ts +1 -1
  1465. package/utils/iterable-helpers/single.d.ts +1 -1
  1466. package/utils/iterable-helpers/sort.d.ts +1 -1
  1467. package/utils/iterable-helpers/sort.js +2 -2
  1468. package/utils/iterable-helpers/sort.js.map +1 -1
  1469. package/utils/iterable-helpers/take-until.d.ts +1 -1
  1470. package/utils/iterable-helpers/take-while.d.ts +1 -1
  1471. package/utils/iterable-helpers/tap.d.ts +1 -1
  1472. package/utils/iterable-helpers/while.d.ts +1 -1
  1473. package/utils/jwt.d.ts +2 -2
  1474. package/utils/jwt.js +26 -26
  1475. package/utils/jwt.js.map +1 -1
  1476. package/utils/map.js +2 -2
  1477. package/utils/map.js.map +1 -1
  1478. package/utils/math.js +3 -3
  1479. package/utils/math.js.map +1 -1
  1480. package/utils/merge.d.ts +1 -1
  1481. package/utils/merge.js +11 -11
  1482. package/utils/merge.js.map +1 -1
  1483. package/utils/moving-metric.js +2 -2
  1484. package/utils/moving-metric.js.map +1 -1
  1485. package/utils/object/decycle.d.ts +1 -1
  1486. package/utils/object/decycle.js +20 -20
  1487. package/utils/object/decycle.js.map +1 -1
  1488. package/utils/object/dereference.d.ts +1 -1
  1489. package/utils/object/dereference.js +4 -4
  1490. package/utils/object/dereference.js.map +1 -1
  1491. package/utils/object/forward-ref.js +14 -14
  1492. package/utils/object/forward-ref.js.map +1 -1
  1493. package/utils/object/index.d.ts +7 -7
  1494. package/utils/object/index.js +7 -7
  1495. package/utils/object/index.js.map +1 -1
  1496. package/utils/object/lazy-property.d.ts +1 -1
  1497. package/utils/object/lazy-property.js +11 -11
  1498. package/utils/object/lazy-property.js.map +1 -1
  1499. package/utils/object/merge.js +12 -12
  1500. package/utils/object/merge.js.map +1 -1
  1501. package/utils/object/object.d.ts +1 -1
  1502. package/utils/object/object.js +9 -9
  1503. package/utils/object/object.js.map +1 -1
  1504. package/utils/object/property-name.d.ts +2 -2
  1505. package/utils/object/property-name.js +7 -7
  1506. package/utils/object/property-name.js.map +1 -1
  1507. package/utils/ordered-feedable-async-iterable.d.ts +1 -1
  1508. package/utils/ordered-feedable-async-iterable.js +2 -2
  1509. package/utils/ordered-feedable-async-iterable.js.map +1 -1
  1510. package/utils/patch-worker.d.ts +1 -1
  1511. package/utils/patch-worker.js +10 -10
  1512. package/utils/patch-worker.js.map +1 -1
  1513. package/utils/periodic-reporter.js +6 -6
  1514. package/utils/periodic-reporter.js.map +1 -1
  1515. package/utils/periodic-sampler.js +8 -8
  1516. package/utils/periodic-sampler.js.map +1 -1
  1517. package/utils/provider-function-iterable.js +2 -2
  1518. package/utils/provider-function-iterable.js.map +1 -1
  1519. package/utils/proxy.js +2 -2
  1520. package/utils/proxy.js.map +1 -1
  1521. package/utils/random.js +2 -2
  1522. package/utils/random.js.map +1 -1
  1523. package/utils/reflection.d.ts +1 -1
  1524. package/utils/set.js +2 -2
  1525. package/utils/set.js.map +1 -1
  1526. package/utils/singleton.js +2 -2
  1527. package/utils/singleton.js.map +1 -1
  1528. package/utils/sort.js +3 -3
  1529. package/utils/sort.js.map +1 -1
  1530. package/utils/stream/index.d.ts +6 -6
  1531. package/utils/stream/index.js +6 -6
  1532. package/utils/stream/index.js.map +1 -1
  1533. package/utils/stream/readable-stream-adapter.d.ts +1 -1
  1534. package/utils/stream/readable-stream-adapter.js +2 -2
  1535. package/utils/stream/readable-stream-adapter.js.map +1 -1
  1536. package/utils/stream/size-limited-stream.d.ts +1 -1
  1537. package/utils/stream/size-limited-stream.js +2 -2
  1538. package/utils/stream/size-limited-stream.js.map +1 -1
  1539. package/utils/stream/stream-reader.d.ts +1 -1
  1540. package/utils/stream/stream-reader.js +10 -10
  1541. package/utils/stream/stream-reader.js.map +1 -1
  1542. package/utils/string/index.d.ts +2 -2
  1543. package/utils/string/index.js +2 -2
  1544. package/utils/string/index.js.map +1 -1
  1545. package/utils/timing.d.ts +1 -1
  1546. package/utils/type-guards.d.ts +1 -1
  1547. package/utils/type-guards.js +6 -6
  1548. package/utils/type-guards.js.map +1 -1
  1549. package/utils/type-of.js +2 -2
  1550. package/utils/type-of.js.map +1 -1
  1551. package/utils/url-builder.d.ts +1 -1
  1552. package/utils/url-builder.js +9 -9
  1553. package/utils/url-builder.js.map +1 -1
  1554. package/utils/z-base32.d.ts +1 -1
  1555. package/utils/z-base32.js +4 -4
  1556. package/utils/z-base32.js.map +1 -1
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable @typescript-eslint/naming-convention */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Uppercase = exports.UppercaseTransformer = void 0;
5
- const decorators_1 = require("../decorators");
6
- const types_1 = require("../types");
7
- class UppercaseTransformer extends types_1.SchemaValueTransformer {
5
+ const index_js_1 = require("../decorators/index.js");
6
+ const index_js_2 = require("../types/index.js");
7
+ class UppercaseTransformer extends index_js_2.SchemaValueTransformer {
8
8
  sourceType = String;
9
9
  transform(value) {
10
10
  return value.toUpperCase();
@@ -12,7 +12,7 @@ class UppercaseTransformer extends types_1.SchemaValueTransformer {
12
12
  }
13
13
  exports.UppercaseTransformer = UppercaseTransformer;
14
14
  function Uppercase() {
15
- return (0, decorators_1.createSchemaValueTransformerDecorator)(new UppercaseTransformer(), { schema: (0, types_1.typeSchema)(String) });
15
+ return (0, index_js_1.createSchemaValueTransformerDecorator)(new UppercaseTransformer(), { schema: (0, index_js_2.typeSchema)(String) });
16
16
  }
17
17
  exports.Uppercase = Uppercase;
18
18
  //# sourceMappingURL=uppercase.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"uppercase.js","sourceRoot":"","sources":["../../../source/schema/transformers/uppercase.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAGzD,8CAAsE;AAEtE,oCAA8D;AAE9D,MAAa,oBAAqB,SAAQ,8BAAsC;IACrE,UAAU,GAAG,MAAM,CAAC;IAE7B,SAAS,CAAC,KAAa;QACrB,OAAO,KAAK,CAAC,WAAW,EAAE,CAAC;IAC7B,CAAC;CACF;AAND,oDAMC;AAED,SAAgB,SAAS;IACvB,OAAO,IAAA,kDAAqC,EAAC,IAAI,oBAAoB,EAAE,EAAE,EAAE,MAAM,EAAE,IAAA,kBAAU,EAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAC3G,CAAC;AAFD,8BAEC"}
1
+ {"version":3,"file":"uppercase.js","sourceRoot":"","sources":["../../../source/schema/transformers/uppercase.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAGzD,qDAA+E;AAE/E,gDAAuE;AAEvE,MAAa,oBAAqB,SAAQ,iCAAsC;IACrE,UAAU,GAAG,MAAM,CAAC;IAE7B,SAAS,CAAC,KAAa;QACrB,OAAO,KAAK,CAAC,WAAW,EAAE,CAAC;IAC7B,CAAC;CACF;AAND,oDAMC;AAED,SAAgB,SAAS;IACvB,OAAO,IAAA,gDAAqC,EAAC,IAAI,oBAAoB,EAAE,EAAE,EAAE,MAAM,EAAE,IAAA,qBAAU,EAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAC3G,CAAC;AAFD,8BAEC"}
@@ -1,5 +1,5 @@
1
- export * from './schema-array-constraint';
2
- export * from './schema-value-coercer';
3
- export * from './schema-value-constraint';
4
- export * from './schema-value-transformer';
5
- export * from './types';
1
+ export * from './schema-array-constraint.js';
2
+ export * from './schema-value-coercer.js';
3
+ export * from './schema-value-constraint.js';
4
+ export * from './schema-value-transformer.js';
5
+ export * from './types.js';
@@ -14,9 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./schema-array-constraint"), exports);
18
- __exportStar(require("./schema-value-coercer"), exports);
19
- __exportStar(require("./schema-value-constraint"), exports);
20
- __exportStar(require("./schema-value-transformer"), exports);
21
- __exportStar(require("./types"), exports);
17
+ __exportStar(require("./schema-array-constraint.js"), exports);
18
+ __exportStar(require("./schema-value-coercer.js"), exports);
19
+ __exportStar(require("./schema-value-constraint.js"), exports);
20
+ __exportStar(require("./schema-value-transformer.js"), exports);
21
+ __exportStar(require("./types.js"), exports);
22
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/schema/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,yDAAuC;AACvC,4DAA0C;AAC1C,6DAA2C;AAC3C,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/schema/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,4DAA0C;AAC1C,+DAA6C;AAC7C,gEAA8C;AAC9C,6CAA2B"}
@@ -1,5 +1,5 @@
1
- import type { JsonPath } from "../../json-path/json-path";
2
- import type { ConstraintContext, ConstraintResult } from './types';
1
+ import type { JsonPath } from "../../json-path/json-path.js";
2
+ import type { ConstraintContext, ConstraintResult } from './types.js';
3
3
  export declare abstract class SchemaArrayConstraint {
4
4
  abstract validate(value: readonly unknown[], path: JsonPath, context: ConstraintContext): ConstraintResult;
5
5
  }
@@ -1,6 +1,6 @@
1
- import type { JsonPath } from "../../json-path/json-path";
2
- import type { OneOrMany } from "../../types";
3
- import type { CoercerContext, CoerceResult, ValueType } from './types';
1
+ import type { JsonPath } from "../../json-path/json-path.js";
2
+ import type { OneOrMany } from "../../types.js";
3
+ import type { CoercerContext, CoerceResult, ValueType } from './types.js';
4
4
  export declare abstract class SchemaValueCoercer {
5
5
  abstract readonly sourceType: OneOrMany<ValueType>;
6
6
  abstract readonly targetType: ValueType;
@@ -1,6 +1,6 @@
1
- import type { JsonPath } from "../../json-path/json-path";
2
- import type { OneOrMany } from "../../types";
3
- import type { ConstraintContext, ConstraintResult, ValueType } from './types';
1
+ import type { JsonPath } from "../../json-path/json-path.js";
2
+ import type { OneOrMany } from "../../types.js";
3
+ import type { ConstraintContext, ConstraintResult, ValueType } from './types.js';
4
4
  export declare abstract class SchemaValueConstraint {
5
5
  abstract readonly suitableTypes: OneOrMany<ValueType>;
6
6
  abstract readonly expects: OneOrMany<string>;
@@ -1,6 +1,6 @@
1
- import type { JsonPath } from "../../json-path/json-path";
2
- import type { OneOrMany } from "../../types";
3
- import type { TransformerContext, TransformResult, ValueType } from './types';
1
+ import type { JsonPath } from "../../json-path/json-path.js";
2
+ import type { OneOrMany } from "../../types.js";
3
+ import type { TransformerContext, TransformResult, ValueType } from './types.js';
4
4
  export declare abstract class SchemaValueTransformer<T = any, O = any> {
5
5
  abstract readonly sourceType?: OneOrMany<ValueType<T>>;
6
6
  abstract transform(value: T, path: JsonPath, context: TransformerContext): TransformResult<O>;
@@ -1,10 +1,10 @@
1
- import type { AbstractConstructor, OneOrMany, Record, Type, TypedOmit } from "../../types";
2
- import type { NormalizedSchema, Schema, SchemaTestable } from '../schema';
3
- import type { SchemaError } from '../schema.error';
4
- import type { SchemaArrayConstraint } from './schema-array-constraint';
5
- import type { SchemaValueCoercer } from './schema-value-coercer';
6
- import type { SchemaValueConstraint } from './schema-value-constraint';
7
- import type { SchemaValueTransformer } from './schema-value-transformer';
1
+ import type { AbstractConstructor, OneOrMany, Record, Type, TypedOmit } from "../../types.js";
2
+ import type { NormalizedSchema, Schema, SchemaTestable } from '../schema.js';
3
+ import type { SchemaError } from '../schema.error.js';
4
+ import type { SchemaArrayConstraint } from './schema-array-constraint.js';
5
+ import type { SchemaValueCoercer } from './schema-value-coercer.js';
6
+ import type { SchemaValueConstraint } from './schema-value-constraint.js';
7
+ import type { SchemaValueTransformer } from './schema-value-transformer.js';
8
8
  declare const schemaOutputTypeSymbol: unique symbol;
9
9
  export type SchemaFactoryFunction<T> = (data: T) => T;
10
10
  export type SchemaFactory<T> = {
@@ -2,8 +2,8 @@
2
2
  /* eslint-disable @typescript-eslint/ban-types */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.optimizeSchema = exports.optimizeValueSchema = exports.optimizeObjectSchemaProperties = exports.optimizeObjectSchema = exports.schemaTestableToSchema = exports.valueTypesOrSchemasToSchemas = exports.resolveValueType = exports.resolveValueTypes = exports.isDeferredValueType = exports.isTypeSchema = exports.isValueSchema = exports.isObjectSchema = exports.isSchema = exports.typeSchema = exports.valueSchema = exports.objectSchema = exports.objectSchemaProperties = exports.isTransformErrorResult = exports.transformErrorResult = exports.transformErrorResultSymbol = exports.primitiveConstructorSet = exports.primitiveConstructors = void 0;
5
- const object_1 = require("../../utils/object/object");
6
- const type_guards_1 = require("../../utils/type-guards");
5
+ const object_js_1 = require("../../utils/object/object.js");
6
+ const type_guards_js_1 = require("../../utils/type-guards.js");
7
7
  exports.primitiveConstructors = [String, Number, Boolean, Symbol, BigInt, Function, 'undefined', 'null'];
8
8
  exports.primitiveConstructorSet = new Set(exports.primitiveConstructors);
9
9
  exports.transformErrorResultSymbol = Symbol('Transform error');
@@ -12,7 +12,7 @@ function transformErrorResult(error) {
12
12
  }
13
13
  exports.transformErrorResult = transformErrorResult;
14
14
  function isTransformErrorResult(value) {
15
- return (0, type_guards_1.isObject)(value) && (0, object_1.hasOwnProperty)(value, exports.transformErrorResultSymbol);
15
+ return (0, type_guards_js_1.isObject)(value) && (0, object_js_1.hasOwnProperty)(value, exports.transformErrorResultSymbol);
16
16
  }
17
17
  exports.isTransformErrorResult = isTransformErrorResult;
18
18
  function objectSchemaProperties(properties) {
@@ -36,32 +36,32 @@ function isSchema(value) {
36
36
  }
37
37
  exports.isSchema = isSchema;
38
38
  function isObjectSchema(schema) {
39
- return (0, type_guards_1.isObject)(schema?.properties);
39
+ return (0, type_guards_js_1.isObject)(schema?.properties);
40
40
  }
41
41
  exports.isObjectSchema = isObjectSchema;
42
42
  function isValueSchema(schema) {
43
- return (0, type_guards_1.isObject)(schema) && (0, type_guards_1.isDefined)(schema?.schema);
43
+ return (0, type_guards_js_1.isObject)(schema) && (0, type_guards_js_1.isDefined)(schema?.schema);
44
44
  }
45
45
  exports.isValueSchema = isValueSchema;
46
46
  function isTypeSchema(schema) {
47
- if (!(0, type_guards_1.isObject)(schema)) {
47
+ if (!(0, type_guards_js_1.isObject)(schema)) {
48
48
  return false;
49
49
  }
50
50
  const type = schema.type;
51
- return (0, type_guards_1.isObject)(schema)
52
- && ((0, type_guards_1.isFunction)(type)
53
- || ((0, type_guards_1.isObject)(type) && (0, type_guards_1.isFunction)(type.deferred))
51
+ return (0, type_guards_js_1.isObject)(schema)
52
+ && ((0, type_guards_js_1.isFunction)(type)
53
+ || ((0, type_guards_js_1.isObject)(type) && (0, type_guards_js_1.isFunction)(type.deferred))
54
54
  || (type == 'undefined')
55
55
  || (type == 'null')
56
56
  || (type == 'any'));
57
57
  }
58
58
  exports.isTypeSchema = isTypeSchema;
59
59
  function isDeferredValueType(value) {
60
- return (0, type_guards_1.isObject)(value) && (0, type_guards_1.isFunction)(value.deferred);
60
+ return (0, type_guards_js_1.isObject)(value) && (0, type_guards_js_1.isFunction)(value.deferred);
61
61
  }
62
62
  exports.isDeferredValueType = isDeferredValueType;
63
63
  function resolveValueTypes(valueTypes) {
64
- if ((0, type_guards_1.isArray)(valueTypes)) {
64
+ if ((0, type_guards_js_1.isArray)(valueTypes)) {
65
65
  return valueTypes.map(resolveValueType);
66
66
  }
67
67
  return resolveValueType(valueTypes);
@@ -74,7 +74,7 @@ function resolveValueType(valueType) {
74
74
  }
75
75
  exports.resolveValueType = resolveValueType;
76
76
  function valueTypesOrSchemasToSchemas(valueTypesOrSchemas) {
77
- if ((0, type_guards_1.isArray)(valueTypesOrSchemas)) {
77
+ if ((0, type_guards_js_1.isArray)(valueTypesOrSchemas)) {
78
78
  return valueTypesOrSchemas.map(schemaTestableToSchema);
79
79
  }
80
80
  return schemaTestableToSchema(valueTypesOrSchemas);
@@ -89,13 +89,13 @@ function schemaTestableToSchema(valueTypeOrSchema) {
89
89
  exports.schemaTestableToSchema = schemaTestableToSchema;
90
90
  function optimizeObjectSchema(schema) {
91
91
  return {
92
- ...(0, object_1.filterObject)(schema, type_guards_1.isDefined),
92
+ ...(0, object_js_1.filterObject)(schema, type_guards_js_1.isDefined),
93
93
  properties: optimizeObjectSchemaProperties(schema.properties)
94
94
  };
95
95
  }
96
96
  exports.optimizeObjectSchema = optimizeObjectSchema;
97
97
  function optimizeObjectSchemaProperties(properties) {
98
- const entries = (0, object_1.objectEntries)(properties)
98
+ const entries = (0, object_js_1.objectEntries)(properties)
99
99
  .map(([property, innerSchema]) => [property, optimizeSchema(innerSchema)]);
100
100
  return Object.fromEntries(entries);
101
101
  }
@@ -106,22 +106,22 @@ function optimizeValueSchema(schema) {
106
106
  }
107
107
  exports.optimizeValueSchema = optimizeValueSchema;
108
108
  function optimizeSchema(schema) {
109
- if ((0, type_guards_1.isArray)(schema)) {
109
+ if ((0, type_guards_js_1.isArray)(schema)) {
110
110
  if (schema.length == 1) {
111
111
  return optimizeSchema(schema[0]);
112
112
  }
113
113
  return schema.flatMap(optimizeSchema);
114
114
  }
115
- if ((0, type_guards_1.isFunction)(schema) || (0, type_guards_1.isString)(schema) || isDeferredValueType(schema)) {
115
+ if ((0, type_guards_js_1.isFunction)(schema) || (0, type_guards_js_1.isString)(schema) || isDeferredValueType(schema)) {
116
116
  return schema;
117
117
  }
118
118
  if (isTypeSchema(schema)) {
119
119
  return schema.type;
120
120
  }
121
121
  if (isValueSchema(schema)) {
122
- const entries = (0, object_1.objectEntries)(schema).filter(([, value]) => (0, type_guards_1.isDefined)(value));
122
+ const entries = (0, object_js_1.objectEntries)(schema).filter(([, value]) => (0, type_guards_js_1.isDefined)(value));
123
123
  if (entries.length == 1) {
124
- if (!(0, type_guards_1.isArray)(schema.schema)) {
124
+ if (!(0, type_guards_js_1.isArray)(schema.schema)) {
125
125
  return optimizeSchema(schema.schema);
126
126
  }
127
127
  else if (schema.schema.length == 1) {
@@ -130,7 +130,7 @@ function optimizeSchema(schema) {
130
130
  return schema.schema.map(optimizeSchema);
131
131
  }
132
132
  if (isValueSchema(schema.schema)) {
133
- const combinedProperties = new Set([...(0, object_1.objectKeys)(schema), ...(0, object_1.objectKeys)(schema.schema)]);
133
+ const combinedProperties = new Set([...(0, object_js_1.objectKeys)(schema), ...(0, object_js_1.objectKeys)(schema.schema)]);
134
134
  if (isValueSchema(schema.schema)
135
135
  && !combinedProperties.has('array')
136
136
  && !combinedProperties.has('coerce')
@@ -140,15 +140,15 @@ function optimizeSchema(schema) {
140
140
  && !combinedProperties.has('valueConstraints')) {
141
141
  return {
142
142
  schema: optimizeSchema(schema.schema.schema),
143
- ...(0, object_1.filterObject)({
143
+ ...(0, object_js_1.filterObject)({
144
144
  optional: ((schema.optional ?? false) || (schema.schema.optional ?? false)) ? true : undefined,
145
145
  nullable: ((schema.nullable ?? false) || (schema.schema.nullable ?? false)) ? true : undefined
146
- }, type_guards_1.isDefined)
146
+ }, type_guards_js_1.isDefined)
147
147
  };
148
148
  }
149
149
  }
150
150
  const { schema: innerSchema, optional, nullable, coercers, transformers, arrayConstraints, valueConstraints, ...rest } = schema;
151
- return (0, object_1.filterObject)({
151
+ return (0, object_js_1.filterObject)({
152
152
  schema: optimizeSchema(innerSchema),
153
153
  optional: (optional ?? false) ? true : undefined,
154
154
  nullable: (nullable ?? false) ? true : undefined,
@@ -157,13 +157,13 @@ function optimizeSchema(schema) {
157
157
  arrayConstraints: optimizeOneOrMany(arrayConstraints),
158
158
  valueConstraints: optimizeOneOrMany(valueConstraints),
159
159
  ...rest
160
- }, type_guards_1.isDefined);
160
+ }, type_guards_js_1.isDefined);
161
161
  }
162
162
  return optimizeObjectSchema(schema);
163
163
  }
164
164
  exports.optimizeSchema = optimizeSchema;
165
165
  function optimizeOneOrMany(values) {
166
- if ((0, type_guards_1.isArray)(values)) {
166
+ if ((0, type_guards_js_1.isArray)(values)) {
167
167
  if (values.length == 0) {
168
168
  return undefined;
169
169
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../source/schema/types/types.ts"],"names":[],"mappings":";AAAA,iDAAiD;;;AAGjD,sDAAgG;AAChG,yDAAyF;AAyH5E,QAAA,qBAAqB,GAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAwC,EAAE,MAAwC,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC;AAClL,QAAA,uBAAuB,GAAG,IAAI,GAAG,CAAC,6BAAqB,CAAC,CAAC;AAoCzD,QAAA,0BAA0B,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAKpE,SAAgB,oBAAoB,CAAC,KAAkB;IACrD,OAAO,EAAE,CAAC,kCAA0B,CAAC,EAAE,KAAK,EAAE,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from './schema';
2
- export * from './value-type';
1
+ export * from './schema.js';
2
+ export * from './value-type.js';
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./schema"), exports);
18
- __exportStar(require("./value-type"), exports);
17
+ __exportStar(require("./schema.js"), exports);
18
+ __exportStar(require("./value-type.js"), exports);
19
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/schema/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/schema/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,kDAAgC"}
@@ -1,6 +1,6 @@
1
- import type { AbstractConstructor } from "../../types";
2
- import type { NormalizedSchema, Schema } from '../schema';
3
- import type { NormalizedObjectSchema, NormalizedTypeSchema, NormalizedValueSchema, ObjectSchema, ObjectSchemaOrType, TypeSchema, ValueSchema } from '../types';
1
+ import type { AbstractConstructor } from "../../types.js";
2
+ import type { NormalizedSchema, Schema } from '../schema.js';
3
+ import type { NormalizedObjectSchema, NormalizedTypeSchema, NormalizedValueSchema, ObjectSchema, ObjectSchemaOrType, TypeSchema, ValueSchema } from '../types/index.js';
4
4
  export declare const normalizeSchema: typeof _normalizeSchema;
5
5
  export declare const normalizeObjectSchema: typeof _normalizeObjectSchema;
6
6
  export declare const normalizeValueSchema: typeof _normalizeValueSchema;
@@ -1,33 +1,33 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getObjectSchemaFromReflection = exports.getObjectSchema = exports.tryGetObjectSchemaFromReflection = exports.getArrayItemSchema = exports.normalizeTypeSchema = exports.normalizeValueSchema = exports.normalizeObjectSchema = exports.normalizeSchema = void 0;
4
- const registry_1 = require("../../reflection/registry");
5
- const array_1 = require("../../utils/array/array");
6
- const memoize_1 = require("../../utils/function/memoize");
7
- const object_1 = require("../../utils/object/object");
8
- const type_guards_1 = require("../../utils/type-guards");
9
- const assign_1 = require("../schemas/assign");
10
- const types_1 = require("../types");
11
- exports.normalizeSchema = (0, memoize_1.memoizeSingle)(_normalizeSchema, { weak: true });
12
- exports.normalizeObjectSchema = (0, memoize_1.memoizeSingle)(_normalizeObjectSchema, { weak: true });
13
- exports.normalizeValueSchema = (0, memoize_1.memoizeSingle)(_normalizeValueSchema, { weak: true });
14
- exports.normalizeTypeSchema = (0, memoize_1.memoizeSingle)(_normalizeTypeSchema, { weak: true });
15
- exports.getArrayItemSchema = (0, memoize_1.memoizeSingle)(_getArrayItemSchema, { weak: true });
16
- exports.tryGetObjectSchemaFromReflection = (0, memoize_1.memoizeSingle)(_tryGetObjectSchemaFromReflection, { weak: true });
4
+ const registry_js_1 = require("../../reflection/registry.js");
5
+ const array_js_1 = require("../../utils/array/array.js");
6
+ const memoize_js_1 = require("../../utils/function/memoize.js");
7
+ const object_js_1 = require("../../utils/object/object.js");
8
+ const type_guards_js_1 = require("../../utils/type-guards.js");
9
+ const assign_js_1 = require("../schemas/assign.js");
10
+ const index_js_1 = require("../types/index.js");
11
+ exports.normalizeSchema = (0, memoize_js_1.memoizeSingle)(_normalizeSchema, { weak: true });
12
+ exports.normalizeObjectSchema = (0, memoize_js_1.memoizeSingle)(_normalizeObjectSchema, { weak: true });
13
+ exports.normalizeValueSchema = (0, memoize_js_1.memoizeSingle)(_normalizeValueSchema, { weak: true });
14
+ exports.normalizeTypeSchema = (0, memoize_js_1.memoizeSingle)(_normalizeTypeSchema, { weak: true });
15
+ exports.getArrayItemSchema = (0, memoize_js_1.memoizeSingle)(_getArrayItemSchema, { weak: true });
16
+ exports.tryGetObjectSchemaFromReflection = (0, memoize_js_1.memoizeSingle)(_tryGetObjectSchemaFromReflection, { weak: true });
17
17
  function getObjectSchema(schemaOrType) {
18
- return (0, type_guards_1.isFunction)(schemaOrType)
18
+ return (0, type_guards_js_1.isFunction)(schemaOrType)
19
19
  ? getObjectSchemaFromReflection(schemaOrType)
20
20
  : schemaOrType;
21
21
  }
22
22
  exports.getObjectSchema = getObjectSchema;
23
23
  function _normalizeSchema(schema) {
24
- if ((0, types_1.isObjectSchema)(schema)) {
24
+ if ((0, index_js_1.isObjectSchema)(schema)) {
25
25
  return (0, exports.normalizeObjectSchema)(schema);
26
26
  }
27
- if ((0, types_1.isValueSchema)(schema)) {
27
+ if ((0, index_js_1.isValueSchema)(schema)) {
28
28
  return (0, exports.normalizeValueSchema)(schema);
29
29
  }
30
- if ((0, types_1.isTypeSchema)(schema)) {
30
+ if ((0, index_js_1.isTypeSchema)(schema)) {
31
31
  return (0, exports.normalizeTypeSchema)(schema);
32
32
  }
33
33
  throw new Error('Unsupported schema.');
@@ -35,26 +35,26 @@ function _normalizeSchema(schema) {
35
35
  function _normalizeObjectSchema(schema) {
36
36
  const normalizedSchema = {
37
37
  factory: schema.factory,
38
- properties: (0, object_1.mapObjectValues)(schema.properties, (propertyValueType) => (0, types_1.valueTypesOrSchemasToSchemas)(propertyValueType)),
38
+ properties: (0, object_js_1.mapObjectValues)(schema.properties, (propertyValueType) => (0, index_js_1.valueTypesOrSchemasToSchemas)(propertyValueType)),
39
39
  mask: schema.mask,
40
- allowUnknownProperties: new Set((0, array_1.toArray)(schema.allowUnknownProperties ?? []).map(types_1.schemaTestableToSchema))
40
+ allowUnknownProperties: new Set((0, array_js_1.toArray)(schema.allowUnknownProperties ?? []).map(index_js_1.schemaTestableToSchema))
41
41
  };
42
42
  return normalizedSchema;
43
43
  }
44
44
  function _normalizeValueSchema(schema) {
45
45
  const normalizedValueSchema = {
46
- schema: new Set((0, array_1.toArray)(schema.schema).map(types_1.schemaTestableToSchema)),
46
+ schema: new Set((0, array_js_1.toArray)(schema.schema).map(index_js_1.schemaTestableToSchema)),
47
47
  array: schema.array ?? false,
48
48
  optional: schema.optional ?? false,
49
49
  nullable: schema.nullable ?? false,
50
50
  coerce: schema.coerce ?? false,
51
51
  coercers: new Map(),
52
- transformers: (0, array_1.toArray)(schema.transformers ?? []),
53
- arrayConstraints: (0, array_1.toArray)(schema.arrayConstraints ?? []),
54
- valueConstraints: (0, array_1.toArray)(schema.valueConstraints ?? [])
52
+ transformers: (0, array_js_1.toArray)(schema.transformers ?? []),
53
+ arrayConstraints: (0, array_js_1.toArray)(schema.arrayConstraints ?? []),
54
+ valueConstraints: (0, array_js_1.toArray)(schema.valueConstraints ?? [])
55
55
  };
56
- for (const coercer of (0, array_1.toArray)(schema.coercers ?? [])) {
57
- for (const sourceType of (0, array_1.toArray)(coercer.sourceType)) {
56
+ for (const coercer of (0, array_js_1.toArray)(schema.coercers ?? [])) {
57
+ for (const sourceType of (0, array_js_1.toArray)(coercer.sourceType)) {
58
58
  if (!normalizedValueSchema.coercers.has(sourceType)) {
59
59
  normalizedValueSchema.coercers.set(sourceType, []);
60
60
  }
@@ -65,7 +65,7 @@ function _normalizeValueSchema(schema) {
65
65
  }
66
66
  function _normalizeTypeSchema(schema) {
67
67
  const normalizedSchema = {
68
- foo: (0, types_1.resolveValueType)(schema.type)
68
+ foo: (0, index_js_1.resolveValueType)(schema.type)
69
69
  };
70
70
  return normalizedSchema;
71
71
  }
@@ -79,37 +79,37 @@ function _getArrayItemSchema(schema) {
79
79
  }
80
80
  function getObjectSchemaFromReflection(type) {
81
81
  const schema = (0, exports.tryGetObjectSchemaFromReflection)(type);
82
- if ((0, type_guards_1.isNull)(schema)) {
82
+ if ((0, type_guards_js_1.isNull)(schema)) {
83
83
  throw new Error(`Could not get schema for ${type.name} from reflection data.`);
84
84
  }
85
85
  return schema;
86
86
  }
87
87
  exports.getObjectSchemaFromReflection = getObjectSchemaFromReflection;
88
88
  function _tryGetObjectSchemaFromReflection(type) {
89
- const metadata = registry_1.reflectionRegistry.getMetadata(type);
90
- if ((0, type_guards_1.isUndefined)(metadata)) {
89
+ const metadata = registry_js_1.reflectionRegistry.getMetadata(type);
90
+ if ((0, type_guards_js_1.isUndefined)(metadata)) {
91
91
  return null;
92
92
  }
93
93
  const typeData = metadata.data.tryGet('schema') ?? {};
94
- const dataSchema = (0, types_1.isTypeSchema)(typeData.schema)
94
+ const dataSchema = (0, index_js_1.isTypeSchema)(typeData.schema)
95
95
  ? getObjectSchema(typeData.schema.type)
96
- : (0, types_1.isObjectSchema)(typeData.schema)
96
+ : (0, index_js_1.isObjectSchema)(typeData.schema)
97
97
  ? typeData.schema
98
- : (0, type_guards_1.isFunction)(typeData.schema)
98
+ : (0, type_guards_js_1.isFunction)(typeData.schema)
99
99
  ? getObjectSchema(typeData.schema)
100
100
  : undefined;
101
- const schema = (0, types_1.objectSchema)({
101
+ const schema = (0, index_js_1.objectSchema)({
102
102
  sourceType: type,
103
- factory: (0, type_guards_1.isDefined)(typeData.factory) ? { builder: typeData.factory } : { type: type },
103
+ factory: (0, type_guards_js_1.isDefined)(typeData.factory) ? { builder: typeData.factory } : { type: type },
104
104
  properties: dataSchema?.properties ?? getObjectSchemaPropertiesFromReflection(metadata, type),
105
105
  mask: typeData.mask ?? dataSchema?.mask,
106
- allowUnknownProperties: (((0, type_guards_1.isUndefined)(typeData.allowUnknownProperties) || ((0, type_guards_1.isArray)(typeData.allowUnknownProperties) && (typeData.allowUnknownProperties.length == 0))) ? undefined : typeData.allowUnknownProperties) ?? dataSchema?.allowUnknownProperties
106
+ allowUnknownProperties: (((0, type_guards_js_1.isUndefined)(typeData.allowUnknownProperties) || ((0, type_guards_js_1.isArray)(typeData.allowUnknownProperties) && (typeData.allowUnknownProperties.length == 0))) ? undefined : typeData.allowUnknownProperties) ?? dataSchema?.allowUnknownProperties
107
107
  });
108
- if ((0, type_guards_1.isUndefined)(dataSchema)) {
108
+ if ((0, type_guards_js_1.isUndefined)(dataSchema)) {
109
109
  const prototype = Reflect.getPrototypeOf(type);
110
- if ((0, type_guards_1.isNotNull)(prototype) && registry_1.reflectionRegistry.hasType(prototype)) {
110
+ if ((0, type_guards_js_1.isNotNull)(prototype) && registry_js_1.reflectionRegistry.hasType(prototype)) {
111
111
  const parentSchema = getObjectSchemaFromReflection(prototype);
112
- return (0, assign_1.assign)(parentSchema, schema);
112
+ return (0, assign_js_1.assign)(parentSchema, schema);
113
113
  }
114
114
  }
115
115
  return schema;
@@ -120,10 +120,10 @@ function getObjectSchemaPropertiesFromReflection(metadata, type) {
120
120
  const reflectionData = propertyMetadata.data.tryGet('schema');
121
121
  const itemType = reflectionData?.schema;
122
122
  const array = (reflectionData?.array == true) ? true : undefined;
123
- if (array && ((0, type_guards_1.isUndefined)(itemType) || ((0, type_guards_1.isArray)(itemType) && (itemType.length == 0)))) {
123
+ if (array && ((0, type_guards_js_1.isUndefined)(itemType) || ((0, type_guards_js_1.isArray)(itemType) && (itemType.length == 0)))) {
124
124
  throw new Error(`Item type missing on type ${type.name} at property "${String(key)}"`);
125
125
  }
126
- properties[key] = (0, types_1.valueSchema)((0, types_1.valueTypesOrSchemasToSchemas)(itemType ?? propertyMetadata.type), {
126
+ properties[key] = (0, index_js_1.valueSchema)((0, index_js_1.valueTypesOrSchemasToSchemas)(itemType ?? propertyMetadata.type), {
127
127
  array,
128
128
  optional: reflectionData?.optional,
129
129
  nullable: reflectionData?.nullable,
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../source/schema/utils/schema.ts"],"names":[],"mappings":";;;AACA,wDAA2D;AAE3D,mDAA8C;AAC9C,0DAAyD;AACzD,sDAAwD;AACxD,yDAAqG;AAGrG,8CAA2C;AAE3C,oCAA0K;AAE7J,QAAA,eAAe,GAAG,IAAA,uBAAa,EAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;AAClE,QAAA,qBAAqB,GAAG,IAAA,uBAAa,EAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,I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G,CAAC,CAAC;SACxF;QAED,UAAU,CAAC,GAAc,CAAC,GAAG,IAAA,sBAAW,EAAC,IAAA,uCAA4B,EAAC,QAAQ,IAAI,gBAAgB,CAAC,IAAI,CAAC,EAAE;YACxG,KAAK;YACL,QAAQ,EAAE,cAAc,EAAE,QAAQ;YAClC,QAAQ,EAAE,cAAc,EAAE,QAAQ;YAClC,MAAM,EAAE,cAAc,EAAE,MAAM;YAC9B,QAAQ,EAAE,cAAc,EAAE,QAAQ;YAClC,YAAY,EAAE,cAAc,EAAE,YAAY;YAC1C,gBAAgB,EAAE,cAAc,EAAE,gBAAgB;YAClD,gBAAgB,EAAE,cAAc,EAAE,gBAAgB;SACnD,CAAC,CAAC;KACJ;IAED,OAAO,UAAU,CAAC;AACpB,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { OneOrMany } from "../../types";
2
- import type { SchemaTestable } from '../schema';
3
- import type { ResolvedValueType, ValueType } from '../types/types';
1
+ import type { OneOrMany } from "../../types.js";
2
+ import type { SchemaTestable } from '../schema.js';
3
+ import type { ResolvedValueType, ValueType } from '../types/types.js';
4
4
  export declare function getValueType(value: unknown): ResolvedValueType;
5
5
  export declare function includesValueType(valueType: ValueType, valueTypes: OneOrMany<ValueType>): boolean;
6
6
  export declare function getValueTypeName(valueType: ValueType): string;