@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
package/schema/schema.js CHANGED
@@ -1,39 +1,39 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.testWithFastError = exports.Schema = void 0;
4
- const json_path_1 = require("../json-path");
5
- const array_1 = require("../utils/array/array");
6
- const noop_1 = require("../utils/noop");
7
- const object_1 = require("../utils/object/object");
8
- const set_1 = require("../utils/set");
9
- const type_guards_1 = require("../utils/type-guards");
10
- const coercers_1 = require("./coercers");
11
- const schema_error_1 = require("./schema.error");
12
- const types_1 = require("./types");
13
- const utils_1 = require("./utils");
4
+ const index_js_1 = require("../json-path/index.js");
5
+ const array_js_1 = require("../utils/array/array.js");
6
+ const noop_js_1 = require("../utils/noop.js");
7
+ const object_js_1 = require("../utils/object/object.js");
8
+ const set_js_1 = require("../utils/set.js");
9
+ const type_guards_js_1 = require("../utils/type-guards.js");
10
+ const index_js_2 = require("./coercers/index.js");
11
+ const schema_error_js_1 = require("./schema.error.js");
12
+ const index_js_3 = require("./types/index.js");
13
+ const index_js_4 = require("./utils/index.js");
14
14
  const defaultCoercers = new Map();
15
15
  let initialize = () => {
16
- exports.Schema.registerDefaultCoercer(coercers_1.numberCoercer);
17
- exports.Schema.registerDefaultCoercer(coercers_1.booleanCoercer);
18
- exports.Schema.registerDefaultCoercer(coercers_1.stringCoercer);
19
- exports.Schema.registerDefaultCoercer(coercers_1.dateCoercer);
20
- exports.Schema.registerDefaultCoercer(coercers_1.regExpCoercer);
21
- exports.Schema.registerDefaultCoercer(coercers_1.uint8ArrayCoercer);
22
- initialize = noop_1.noop;
16
+ exports.Schema.registerDefaultCoercer(index_js_2.numberCoercer);
17
+ exports.Schema.registerDefaultCoercer(index_js_2.booleanCoercer);
18
+ exports.Schema.registerDefaultCoercer(index_js_2.stringCoercer);
19
+ exports.Schema.registerDefaultCoercer(index_js_2.dateCoercer);
20
+ exports.Schema.registerDefaultCoercer(index_js_2.regExpCoercer);
21
+ exports.Schema.registerDefaultCoercer(index_js_2.uint8ArrayCoercer);
22
+ initialize = noop_js_1.noop;
23
23
  };
24
24
  // eslint-disable-next-line @typescript-eslint/no-redeclare, @typescript-eslint/naming-convention
25
25
  exports.Schema = {
26
26
  registerDefaultCoercer(coercer) {
27
- for (const sourceType of (0, array_1.toArray)(coercer.sourceType)) {
27
+ for (const sourceType of (0, array_js_1.toArray)(coercer.sourceType)) {
28
28
  if (!defaultCoercers.has(sourceType)) {
29
29
  defaultCoercers.set(sourceType, []);
30
30
  }
31
31
  defaultCoercers.get(sourceType).push(coercer);
32
32
  }
33
33
  },
34
- test(schemaOrValueType, value, options, path = json_path_1.JsonPath.ROOT) {
34
+ test(schemaOrValueType, value, options, path = index_js_1.JsonPath.ROOT) {
35
35
  const normalizedOptions = { fastErrors: true, ...options };
36
- const schema = (0, types_1.schemaTestableToSchema)(schemaOrValueType);
36
+ const schema = (0, index_js_3.schemaTestableToSchema)(schemaOrValueType);
37
37
  const result = testWithFastError(schema, value, normalizedOptions, path);
38
38
  if (result.valid) {
39
39
  return result;
@@ -41,15 +41,15 @@ exports.Schema = {
41
41
  if (options?.fastErrors == false) {
42
42
  return result;
43
43
  }
44
- return { valid: false, error: new schema_error_1.SchemaError(result.error.message, { ...result.error }) };
44
+ return { valid: false, error: new schema_error_js_1.SchemaError(result.error.message, { ...result.error }) };
45
45
  },
46
46
  validate(schemaOrValueType, value, options) {
47
- const schema = (0, types_1.schemaTestableToSchema)(schemaOrValueType);
47
+ const schema = (0, index_js_3.schemaTestableToSchema)(schemaOrValueType);
48
48
  const result = this.test(schema, value, options);
49
49
  return result.valid;
50
50
  },
51
51
  parse(schemaOrValueType, value, options) {
52
- const schema = (0, types_1.schemaTestableToSchema)(schemaOrValueType);
52
+ const schema = (0, index_js_3.schemaTestableToSchema)(schemaOrValueType);
53
53
  const result = this.test(schema, value, options);
54
54
  if (result.valid) {
55
55
  return result.value;
@@ -87,52 +87,52 @@ function getFunctionParametersSchema(argumentSchemas) {
87
87
  argumentSchemas.forEach((arg, index) => (schema.properties[index] = arg));
88
88
  return schema;
89
89
  }
90
- function testWithFastError(schema, value, options, path = json_path_1.JsonPath.ROOT) {
90
+ function testWithFastError(schema, value, options, path = index_js_1.JsonPath.ROOT) {
91
91
  initialize();
92
- if ((0, types_1.isValueSchema)(schema)) {
92
+ if ((0, index_js_3.isValueSchema)(schema)) {
93
93
  return testValue(schema, value, options, path);
94
94
  }
95
- if ((0, types_1.isTypeSchema)(schema)) {
95
+ if ((0, index_js_3.isTypeSchema)(schema)) {
96
96
  return testType(schema, value, options, path);
97
97
  }
98
- if ((0, types_1.isObjectSchema)(schema)) {
98
+ if ((0, index_js_3.isObjectSchema)(schema)) {
99
99
  return testObject(schema, value, options, path);
100
100
  }
101
101
  throw new Error('Unsupported schema');
102
102
  }
103
103
  exports.testWithFastError = testWithFastError;
104
- function testType(schema, value, options = {}, path = json_path_1.JsonPath.ROOT) {
105
- const resolvedValueType = (0, types_1.resolveValueType)(schema.type);
104
+ function testType(schema, value, options = {}, path = index_js_1.JsonPath.ROOT) {
105
+ const resolvedValueType = (0, index_js_3.resolveValueType)(schema.type);
106
106
  if (resolvedValueType == 'any') {
107
107
  return { valid: true, value: value };
108
108
  }
109
- else if ((0, type_guards_1.isFunction)(resolvedValueType)) {
110
- if ((value instanceof resolvedValueType) || ((0, utils_1.getValueType)(value) == resolvedValueType)) {
109
+ else if ((0, type_guards_js_1.isFunction)(resolvedValueType)) {
110
+ if ((value instanceof resolvedValueType) || ((0, index_js_4.getValueType)(value) == resolvedValueType)) {
111
111
  return { valid: true, value: value };
112
112
  }
113
- const objectSchema = (0, utils_1.tryGetObjectSchemaFromReflection)(resolvedValueType);
114
- if ((0, type_guards_1.isNotNull)(objectSchema)) {
113
+ const objectSchema = (0, index_js_4.tryGetObjectSchemaFromReflection)(resolvedValueType);
114
+ if ((0, type_guards_js_1.isNotNull)(objectSchema)) {
115
115
  return testObject(objectSchema, value, options, path);
116
116
  }
117
117
  }
118
- else if ((resolvedValueType == 'null' && (0, type_guards_1.isNull)(value)) || (resolvedValueType == 'undefined' && (0, type_guards_1.isUndefined)(value)) || (resolvedValueType == 'any')) {
118
+ else if ((resolvedValueType == 'null' && (0, type_guards_js_1.isNull)(value)) || (resolvedValueType == 'undefined' && (0, type_guards_js_1.isUndefined)(value)) || (resolvedValueType == 'any')) {
119
119
  return { valid: true, value: value };
120
120
  }
121
- return { valid: false, error: schema_error_1.SchemaError.expectedButGot(resolvedValueType, (0, utils_1.getValueType)(value), path, { fast: options.fastErrors }) };
121
+ return { valid: false, error: schema_error_js_1.SchemaError.expectedButGot(resolvedValueType, (0, index_js_4.getValueType)(value), path, { fast: options.fastErrors }) };
122
122
  }
123
123
  // eslint-disable-next-line complexity
124
- function testObject(objectSchema, value, options = {}, path = json_path_1.JsonPath.ROOT) {
124
+ function testObject(objectSchema, value, options = {}, path = index_js_1.JsonPath.ROOT) {
125
125
  if (!(value instanceof Object)) {
126
- return { valid: false, error: schema_error_1.SchemaError.expectedButGot(objectSchema.sourceType ?? 'object', (0, utils_1.getValueType)(value), path, { fast: options.fastErrors }) };
126
+ return { valid: false, error: schema_error_js_1.SchemaError.expectedButGot(objectSchema.sourceType ?? 'object', (0, index_js_4.getValueType)(value), path, { fast: options.fastErrors }) };
127
127
  }
128
- const schema = (0, utils_1.normalizeObjectSchema)(objectSchema);
128
+ const schema = (0, index_js_4.normalizeObjectSchema)(objectSchema);
129
129
  const mask = schema.mask ?? options.mask ?? false;
130
- const resultValue = (0, type_guards_1.isDefined)(schema.factory?.type) ? new schema.factory.type() : {};
131
- const schemaPropertyKeys = (0, object_1.objectKeys)(schema.properties);
132
- const valuePropertyKeys = (0, object_1.objectKeys)(value);
133
- const unknownValuePropertyKeys = (0, set_1.differenceSets)(new Set(valuePropertyKeys), new Set(schemaPropertyKeys));
130
+ const resultValue = (0, type_guards_js_1.isDefined)(schema.factory?.type) ? new schema.factory.type() : {};
131
+ const schemaPropertyKeys = (0, object_js_1.objectKeys)(schema.properties);
132
+ const valuePropertyKeys = (0, object_js_1.objectKeys)(value);
133
+ const unknownValuePropertyKeys = (0, set_js_1.differenceSets)(new Set(valuePropertyKeys), new Set(schemaPropertyKeys));
134
134
  if ((unknownValuePropertyKeys.length > 0) && !(mask || (schema.allowUnknownProperties.size > 0))) {
135
- return { valid: false, error: new schema_error_1.SchemaError('Unknown property', { path: path.add(unknownValuePropertyKeys[0]), fast: options.fastErrors }) };
135
+ return { valid: false, error: new schema_error_js_1.SchemaError('Unknown property', { path: path.add(unknownValuePropertyKeys[0]), fast: options.fastErrors }) };
136
136
  }
137
137
  for (const key of schemaPropertyKeys) {
138
138
  const propertyResult = testWithFastError(schema.properties[key], value[key], options, path.add(key));
@@ -143,23 +143,23 @@ function testObject(objectSchema, value, options = {}, path = json_path_1.JsonPa
143
143
  }
144
144
  if (schema.allowUnknownProperties.size > 0) {
145
145
  for (const key of unknownValuePropertyKeys) {
146
- const propertyResult = testWithFastError((0, types_1.valueSchema)([...schema.allowUnknownProperties]), value[key], options, path.add(key));
146
+ const propertyResult = testWithFastError((0, index_js_3.valueSchema)([...schema.allowUnknownProperties]), value[key], options, path.add(key));
147
147
  if (!propertyResult.valid && !mask) {
148
148
  return propertyResult;
149
149
  }
150
150
  resultValue[key] = propertyResult.value;
151
151
  }
152
152
  }
153
- const testResultValue = (0, type_guards_1.isUndefined)(schema.factory) ? resultValue : (0, type_guards_1.isDefined)(schema.factory.type) ? resultValue : schema.factory.builder(resultValue);
153
+ const testResultValue = (0, type_guards_js_1.isUndefined)(schema.factory) ? resultValue : (0, type_guards_js_1.isDefined)(schema.factory.type) ? resultValue : schema.factory.builder(resultValue);
154
154
  return { valid: true, value: testResultValue };
155
155
  }
156
156
  // eslint-disable-next-line max-lines-per-function, max-statements, complexity
157
- function testValue(schema, value, options = {}, path = json_path_1.JsonPath.ROOT) {
158
- const normalizedValueSchema = (0, utils_1.normalizeValueSchema)(schema);
159
- if (normalizedValueSchema.optional && (0, type_guards_1.isUndefined)(value)) {
157
+ function testValue(schema, value, options = {}, path = index_js_1.JsonPath.ROOT) {
158
+ const normalizedValueSchema = (0, index_js_4.normalizeValueSchema)(schema);
159
+ if (normalizedValueSchema.optional && (0, type_guards_js_1.isUndefined)(value)) {
160
160
  return { valid: true, value: value };
161
161
  }
162
- if (normalizedValueSchema.nullable && (0, type_guards_1.isNull)(value)) {
162
+ if (normalizedValueSchema.nullable && (0, type_guards_js_1.isNull)(value)) {
163
163
  return { valid: true, value: value };
164
164
  }
165
165
  const context = {
@@ -168,11 +168,11 @@ function testValue(schema, value, options = {}, path = json_path_1.JsonPath.ROOT
168
168
  };
169
169
  /** handle arrays */
170
170
  if (normalizedValueSchema.array) {
171
- if (!(0, type_guards_1.isArray)(value)) {
171
+ if (!(0, type_guards_js_1.isArray)(value)) {
172
172
  if (normalizedValueSchema.coerce) {
173
173
  return testValue(schema, [value], options, path);
174
174
  }
175
- return { valid: false, error: schema_error_1.SchemaError.expectedButGot(Array, (0, utils_1.getValueType)(value), path, { fast: options.fastErrors }) };
175
+ return { valid: false, error: schema_error_js_1.SchemaError.expectedButGot(Array, (0, index_js_4.getValueType)(value), path, { fast: options.fastErrors }) };
176
176
  }
177
177
  for (const arrayConstraint of normalizedValueSchema.arrayConstraints) {
178
178
  const result = arrayConstraint.validate(value, path, context);
@@ -180,7 +180,7 @@ function testValue(schema, value, options = {}, path = json_path_1.JsonPath.ROOT
180
180
  return { valid: false, error: result.error };
181
181
  }
182
182
  }
183
- const itemSchema = (0, utils_1.getArrayItemSchema)(schema);
183
+ const itemSchema = (0, index_js_4.getArrayItemSchema)(schema);
184
184
  const validatedItems = [];
185
185
  for (let i = 0; i < value.length; i++) {
186
186
  const result = testValue(itemSchema, value[i], options, path.add(i));
@@ -197,17 +197,17 @@ function testValue(schema, value, options = {}, path = json_path_1.JsonPath.ROOT
197
197
  function updateCurrentState(newValue) {
198
198
  valueTestResult = isValidValue(normalizedValueSchema.schema, newValue, options, path);
199
199
  resultValue = valueTestResult.valid ? valueTestResult.value : newValue;
200
- valueType = (0, utils_1.getValueType)(resultValue);
200
+ valueType = (0, index_js_4.getValueType)(resultValue);
201
201
  }
202
202
  updateCurrentState(value);
203
203
  /** try to coerce */
204
204
  if (!valueTestResult.valid) {
205
- const targetTypes = (0, utils_1.getSchemaValueTypes)(schema);
205
+ const targetTypes = (0, index_js_4.getSchemaValueTypes)(schema);
206
206
  const coercers = [
207
207
  ...(normalizedValueSchema.coercers.get(valueType) ?? []),
208
208
  ...((normalizedValueSchema.coerce || options.coerce == true) ? (defaultCoercers.get(valueType) ?? []) : [])
209
209
  ]
210
- .filter((coercer) => (0, utils_1.includesValueType)(coercer.targetType, targetTypes));
210
+ .filter((coercer) => (0, index_js_4.includesValueType)(coercer.targetType, targetTypes));
211
211
  const errors = [];
212
212
  let success = false;
213
213
  for (const coercer of coercers) {
@@ -221,7 +221,7 @@ function testValue(schema, value, options = {}, path = json_path_1.JsonPath.ROOT
221
221
  break;
222
222
  }
223
223
  if (!success && (errors.length > 0)) {
224
- return { valid: false, error: (errors.length == 1) ? errors[0] : new schema_error_1.SchemaError('Value could not be coerced.', { inner: errors, path, fast: options.fastErrors }) };
224
+ return { valid: false, error: (errors.length == 1) ? errors[0] : new schema_error_js_1.SchemaError('Value could not be coerced.', { inner: errors, path, fast: options.fastErrors }) };
225
225
  }
226
226
  }
227
227
  if (!valueTestResult.valid) {
@@ -236,17 +236,17 @@ function testValue(schema, value, options = {}, path = json_path_1.JsonPath.ROOT
236
236
  }
237
237
  }
238
238
  if (errors.length > 0) {
239
- return { valid: false, error: (errors.length == 1) ? errors[0] : new schema_error_1.SchemaError('Value did not match schema.', { path, inner: errors, fast: options.fastErrors }) };
239
+ return { valid: false, error: (errors.length == 1) ? errors[0] : new schema_error_js_1.SchemaError('Value did not match schema.', { path, inner: errors, fast: options.fastErrors }) };
240
240
  }
241
241
  }
242
242
  if (normalizedValueSchema.transformers.length > 0) {
243
243
  for (const transformer of normalizedValueSchema.transformers) {
244
- if ((0, type_guards_1.isDefined)(transformer.sourceType) && !(0, utils_1.includesValueType)(valueType, (0, types_1.resolveValueTypes)(transformer.sourceType))) {
244
+ if ((0, type_guards_js_1.isDefined)(transformer.sourceType) && !(0, index_js_4.includesValueType)(valueType, (0, index_js_3.resolveValueTypes)(transformer.sourceType))) {
245
245
  continue;
246
246
  }
247
247
  const transformResult = transformer.transform(resultValue, path, context);
248
- if ((0, types_1.isTransformErrorResult)(transformResult)) {
249
- return { valid: false, error: transformResult[types_1.transformErrorResultSymbol] };
248
+ if ((0, index_js_3.isTransformErrorResult)(transformResult)) {
249
+ return { valid: false, error: transformResult[index_js_3.transformErrorResultSymbol] };
250
250
  }
251
251
  return { valid: true, value: transformResult };
252
252
  }
@@ -271,14 +271,14 @@ function isValidValue(validSchemas, value, options, path) {
271
271
  getExpectString(schema);
272
272
  }
273
273
  const expectString = expectStrings.join('\n');
274
- return { valid: false, error: schema_error_1.SchemaError.expectedButGot(expectString, (0, utils_1.getValueType)(value), path, { inner: errors, fast: options.fastErrors }) };
274
+ return { valid: false, error: schema_error_js_1.SchemaError.expectedButGot(expectString, (0, index_js_4.getValueType)(value), path, { inner: errors, fast: options.fastErrors }) };
275
275
  }
276
276
  function getExpectString(schema) {
277
- const expectedNames = (0, utils_1.getSchemaTypeNames)(schema);
277
+ const expectedNames = (0, index_js_4.getSchemaTypeNames)(schema);
278
278
  const expectedTypeString = (expectedNames.length == 1)
279
279
  ? expectedNames[0]
280
280
  : `[${expectedNames.join(', ')}]`;
281
- const expects = (0, types_1.isValueSchema)(schema) ? (0, array_1.toArray)(schema.valueConstraints ?? []).map((constraint) => constraint.expects) : [];
281
+ const expects = (0, index_js_3.isValueSchema)(schema) ? (0, array_js_1.toArray)(schema.valueConstraints ?? []).map((constraint) => constraint.expects) : [];
282
282
  const expectsString = (expects.length > 0) ? ` (${expects.join(', ')})` : '';
283
283
  return `${expectedTypeString}${expectsString}`;
284
284
  }
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../source/schema/schema.ts"],"names":[],"mappings":";;;AAAA,4CAAuC;AAEvC,gDAA8C;AAC9C,wCAAoC;AACpC,mDAAmD;AACnD,sCAA6C;AAC7C,sDAAqG;AACrG,yCAAyH;AACzH,iDAA6C;AAE7C,mCAAoM;AACpM,mCAAsM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Aa,CAAC,MAAM,IAAI,CAAC,CAAC;QACpD,CAAC,CAAC,aAAa,CAAC,CAAC,CAAE;QACnB,CAAC,CAAC,IAAI,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;IAEpC,MAAM,OAAO,GAAG,IAAA,wBAAa,EAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAA,kBAAO,EAAC,MAAM,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC5H,MAAM,aAAa,GAAG,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAE7E,OAAO,GAAG,kBAAkB,GAAG,aAAa,EAAE,CAAC;AACjD,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { Decorator } from "../../reflection";
2
- import type { ValueSchema, ValueSchemaOptions } from '../types';
1
+ import type { Decorator } from "../../reflection/index.js";
2
+ import type { ValueSchema, ValueSchemaOptions } from '../types/index.js';
3
3
  export type AnyOptions = ValueSchemaOptions;
4
4
  export declare function any(options?: AnyOptions): ValueSchema<any>;
5
5
  export declare function Any(options?: AnyOptions): Decorator<'property' | 'accessor'>;
@@ -2,14 +2,14 @@
2
2
  /* eslint-disable @typescript-eslint/naming-convention */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Any = exports.any = void 0;
5
- const decorators_1 = require("../decorators");
6
- const types_1 = require("../types");
5
+ const index_js_1 = require("../decorators/index.js");
6
+ const index_js_2 = require("../types/index.js");
7
7
  function any(options) {
8
- return (0, types_1.valueSchema)('any', options);
8
+ return (0, index_js_2.valueSchema)('any', options);
9
9
  }
10
10
  exports.any = any;
11
11
  function Any(options) {
12
- return (0, decorators_1.createSchemaPropertyDecoratorFromSchema)(any(options));
12
+ return (0, index_js_1.createSchemaPropertyDecoratorFromSchema)(any(options));
13
13
  }
14
14
  exports.Any = Any;
15
15
  //# sourceMappingURL=any.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"any.js","sourceRoot":"","sources":["../../../source/schema/schemas/any.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAGzD,8CAAwE;AAExE,oCAAuC;AAIvC,SAAgB,GAAG,CAAC,OAAoB;IACtC,OAAO,IAAA,mBAAW,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACrC,CAAC;AAFD,kBAEC;AAED,SAAgB,GAAG,CAAC,OAAoB;IACtC,OAAO,IAAA,oDAAuC,EAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D,CAAC;AAFD,kBAEC"}
1
+ {"version":3,"file":"any.js","sourceRoot":"","sources":["../../../source/schema/schemas/any.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAGzD,qDAAiF;AAEjF,gDAAgD;AAIhD,SAAgB,GAAG,CAAC,OAAoB;IACtC,OAAO,IAAA,sBAAW,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACrC,CAAC;AAFD,kBAEC;AAED,SAAgB,GAAG,CAAC,OAAoB;IACtC,OAAO,IAAA,kDAAuC,EAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D,CAAC;AAFD,kBAEC"}
@@ -1,7 +1,7 @@
1
- import type { Decorator } from "../../reflection";
2
- import type { OneOrMany } from "../../types";
3
- import type { SchemaTestable } from '../schema';
4
- import type { ValueSchema, ValueSchemaOptions } from '../types/types';
1
+ import type { Decorator } from "../../reflection/index.js";
2
+ import type { OneOrMany } from "../../types.js";
3
+ import type { SchemaTestable } from '../schema.js';
4
+ import type { ValueSchema, ValueSchemaOptions } from '../types/types.js';
5
5
  export type ArrayOptions = ValueSchemaOptions & {
6
6
  /** minimum array length */
7
7
  minimumLength?: number;
@@ -2,20 +2,20 @@
2
2
  /* eslint-disable @typescript-eslint/naming-convention */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Array = exports.array = void 0;
5
- const array_1 = require("../../utils/array/array");
6
- const type_guards_1 = require("../../utils/type-guards");
7
- const array_constraints_1 = require("../array-constraints");
8
- const utils_1 = require("../decorators/utils");
9
- const types_1 = require("../types/types");
5
+ const array_js_1 = require("../../utils/array/array.js");
6
+ const type_guards_js_1 = require("../../utils/type-guards.js");
7
+ const maximum_length_js_1 = require("../array-constraints/maximum-length.js");
8
+ const utils_js_1 = require("../decorators/utils.js");
9
+ const types_js_1 = require("../types/types.js");
10
10
  function array(innerValues, options = {}) {
11
- const arrayConstraints = (0, array_1.toArrayCopy)(options.arrayConstraints ?? []);
12
- if ((0, type_guards_1.isDefined)(options.minimumLength)) {
13
- arrayConstraints.push(new array_constraints_1.ArrayMaximumLengthConstraint(options.minimumLength));
11
+ const arrayConstraints = (0, array_js_1.toArrayCopy)(options.arrayConstraints ?? []);
12
+ if ((0, type_guards_js_1.isDefined)(options.minimumLength)) {
13
+ arrayConstraints.push(new maximum_length_js_1.ArrayMaximumLengthConstraint(options.minimumLength));
14
14
  }
15
- if ((0, type_guards_1.isDefined)(options.maximumLength)) {
16
- arrayConstraints.push(new array_constraints_1.ArrayMaximumLengthConstraint(options.maximumLength));
15
+ if ((0, type_guards_js_1.isDefined)(options.maximumLength)) {
16
+ arrayConstraints.push(new maximum_length_js_1.ArrayMaximumLengthConstraint(options.maximumLength));
17
17
  }
18
- return (0, types_1.valueSchema)(innerValues, {
18
+ return (0, types_js_1.valueSchema)(innerValues, {
19
19
  ...options,
20
20
  array: true,
21
21
  arrayConstraints
@@ -23,7 +23,7 @@ function array(innerValues, options = {}) {
23
23
  }
24
24
  exports.array = array;
25
25
  function Array(innerValues, options) {
26
- return (0, utils_1.createSchemaPropertyDecoratorFromSchema)(array(innerValues, options));
26
+ return (0, utils_js_1.createSchemaPropertyDecoratorFromSchema)(array(innerValues, options));
27
27
  }
28
28
  exports.Array = Array;
29
29
  //# sourceMappingURL=array.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"array.js","sourceRoot":"","sources":["../../../source/schema/schemas/array.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAIzD,mDAAkD;AAClD,yDAAgD;AAChD,4DAAoE;AACpE,+CAA8E;AAI9E,0CAA6C;AAU7C,SAAgB,KAAK,CAAI,WAAyC,EAAE,UAAwB,EAAE;IAC5F,MAAM,gBAAgB,GAA4B,IAAA,mBAAW,EAAC,OAAO,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC;IAE9F,IAAI,IAAA,uBAAS,EAAC,OAAO,CAAC,aAAa,CAAC,EAAE;QACpC,gBAAgB,CAAC,IAAI,CAAC,IAAI,gDAA4B,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;KAChF;IAED,IAAI,IAAA,uBAAS,EAAC,OAAO,CAAC,aAAa,CAAC,EAAE;QACpC,gBAAgB,CAAC,IAAI,CAAC,IAAI,gDAA4B,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;KAChF;IAED,OAAO,IAAA,mBAAW,EAAM,WAAW,EAAE;QACnC,GAAG,OAAO;QACV,KAAK,EAAE,IAAI;QACX,gBAAgB;KACjB,CAAC,CAAC;AACL,CAAC;AAhBD,sBAgBC;AAED,SAAgB,KAAK,CAAC,WAAsC,EAAE,OAAsB;IAClF,OAAO,IAAA,+CAAuC,EAAC,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC;AAC9E,CAAC;AAFD,sBAEC"}
1
+ {"version":3,"file":"array.js","sourceRoot":"","sources":["../../../source/schema/schemas/array.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAIzD,yDAAqD;AACrD,+DAAmD;AACnD,8EAAsF;AACtF,qDAAiF;AAIjF,gDAAgD;AAUhD,SAAgB,KAAK,CAAI,WAAyC,EAAE,UAAwB,EAAE;IAC5F,MAAM,gBAAgB,GAA4B,IAAA,sBAAW,EAAC,OAAO,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC;IAE9F,IAAI,IAAA,0BAAS,EAAC,OAAO,CAAC,aAAa,CAAC,EAAE;QACpC,gBAAgB,CAAC,IAAI,CAAC,IAAI,gDAA4B,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;KAChF;IAED,IAAI,IAAA,0BAAS,EAAC,OAAO,CAAC,aAAa,CAAC,EAAE;QACpC,gBAAgB,CAAC,IAAI,CAAC,IAAI,gDAA4B,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;KAChF;IAED,OAAO,IAAA,sBAAW,EAAM,WAAW,EAAE;QACnC,GAAG,OAAO;QACV,KAAK,EAAE,IAAI;QACX,gBAAgB;KACjB,CAAC,CAAC;AACL,CAAC;AAhBD,sBAgBC;AAED,SAAgB,KAAK,CAAC,WAAsC,EAAE,OAAsB;IAClF,OAAO,IAAA,kDAAuC,EAAC,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC;AAC9E,CAAC;AAFD,sBAEC"}
@@ -1,5 +1,5 @@
1
1
  import type { Merge } from 'type-fest';
2
- import type { ObjectSchema, ObjectSchemaOrType } from '../types';
2
+ import type { ObjectSchema, ObjectSchemaOrType } from '../types/index.js';
3
3
  export declare function assign<T1, T2>(schema1: ObjectSchemaOrType<T1>, schema2: ObjectSchemaOrType<T2>): ObjectSchema<Merge<T1, T2>>;
4
4
  export declare function assign<T1, T2, T3>(schema1: ObjectSchemaOrType<T1>, schema2: ObjectSchemaOrType<T2>, schema3: ObjectSchemaOrType<T3>): ObjectSchema<Merge<Merge<T1, T2>, T3>>;
5
5
  export declare function assign<T1, T2, T3, T4>(schema1: ObjectSchemaOrType<T1>, schema2: ObjectSchemaOrType<T2>, schema3: ObjectSchemaOrType<T3>, schema4: ObjectSchemaOrType<T4>): ObjectSchema<Merge<Merge<T1, T2>, Merge<T3, T4>>>;
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assign = void 0;
4
- const array_1 = require("../../utils/array/array");
5
- const type_guards_1 = require("../../utils/type-guards");
6
- const utils_1 = require("../utils");
4
+ const array_js_1 = require("../../utils/array/array.js");
5
+ const type_guards_js_1 = require("../../utils/type-guards.js");
6
+ const index_js_1 = require("../utils/index.js");
7
7
  function assign(...inputs) {
8
- const schemas = inputs.map(utils_1.getObjectSchema);
9
- (0, type_guards_1.assert)(schemas.length >= 2, 'Assign requires at least 2 schemas.');
8
+ const schemas = inputs.map(index_js_1.getObjectSchema);
9
+ (0, type_guards_js_1.assert)(schemas.length >= 2, 'Assign requires at least 2 schemas.');
10
10
  let result = schemas[0];
11
11
  for (let i = 1; i < schemas.length; i++) {
12
12
  result = {
@@ -16,7 +16,7 @@ function assign(...inputs) {
16
16
  ...result.properties,
17
17
  ...schemas[i].properties
18
18
  },
19
- allowUnknownProperties: [...(0, array_1.toArray)(result.allowUnknownProperties ?? []), ...(0, array_1.toArray)(schemas[i].allowUnknownProperties ?? [])]
19
+ allowUnknownProperties: [...(0, array_js_1.toArray)(result.allowUnknownProperties ?? []), ...(0, array_js_1.toArray)(schemas[i].allowUnknownProperties ?? [])]
20
20
  };
21
21
  }
22
22
  if (result.allowUnknownProperties.length == 0) {
@@ -1 +1 @@
1
- {"version":3,"file":"assign.js","sourceRoot":"","sources":["../../../source/schema/schemas/assign.ts"],"names":[],"mappings":";;;AAAA,mDAA8C;AAC9C,yDAA6C;AAG7C,oCAA2C;AAO3C,SAAgB,MAAM,CAAC,GAAG,MAA4B;IACpD,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,uBAAe,CAAC,CAAC;IAC5C,IAAA,oBAAM,EAAC,OAAO,CAAC,MAAM,IAAI,CAAC,EAAE,qCAAqC,CAAC,CAAC;IAEnE,IAAI,MAAM,GAAG,OAAO,CAAC,CAAC,CAAE,CAAC;IAEzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC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O,CAAC,CAAC,CAAE;YACd,UAAU,EAAE;gBACV,GAAG,MAAM,CAAC,UAAU;gBACpB,GAAG,OAAO,CAAC,CAAC,CAAE,CAAC,UAAU;aAC1B;YACD,sBAAsB,EAAE,CAAC,GAAG,IAAA,kBAAO,EAAC,MAAM,CAAC,sBAAsB,IAAI,EAAE,CAAC,EAAE,GAAG,IAAA,kBAAO,EAAC,OAAO,CAAC,CAAC,CAAE,CAAC,sBAAsB,IAAI,EAAE,CAAC,CAAC;SAChI,CAAC;KACH;IAED,IAAK,MAAM,CAAC,sBAAgC,CAAC,MAAM,IAAI,CAAC,EAAE;QACxD,MAAM,EAAE,sBAAsB,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtD,MAAM,GAAG,IAAI,CAAC;KACf;IAED,MAAM,CAAC,UAAU,GAAG,SAAS,CAAC;IAC9B,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;IAE3B,OAAO,MAAM,CAAC;AAChB,CAAC;AA3BD,wBA2BC"}
@@ -1,5 +1,5 @@
1
- import type { Decorator } from "../../reflection";
2
- import type { ValueSchema, ValueSchemaOptions } from '../types';
1
+ import type { Decorator } from "../../reflection/index.js";
2
+ import type { ValueSchema, ValueSchemaOptions } from '../types/index.js';
3
3
  export type BooleanOptions = ValueSchemaOptions;
4
4
  export declare function boolean(options?: BooleanOptions): ValueSchema<boolean>;
5
5
  export declare function BooleanProperty(options?: BooleanOptions): Decorator<'property' | 'accessor'>;
@@ -2,14 +2,14 @@
2
2
  /* eslint-disable @typescript-eslint/naming-convention */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.BooleanProperty = exports.boolean = void 0;
5
- const decorators_1 = require("../decorators");
6
- const types_1 = require("../types");
5
+ const index_js_1 = require("../decorators/index.js");
6
+ const index_js_2 = require("../types/index.js");
7
7
  function boolean(options = {}) {
8
- return (0, types_1.valueSchema)(Boolean, options);
8
+ return (0, index_js_2.valueSchema)(Boolean, options);
9
9
  }
10
10
  exports.boolean = boolean;
11
11
  function BooleanProperty(options) {
12
- return (0, decorators_1.createSchemaPropertyDecoratorFromSchema)(boolean(options));
12
+ return (0, index_js_1.createSchemaPropertyDecoratorFromSchema)(boolean(options));
13
13
  }
14
14
  exports.BooleanProperty = BooleanProperty;
15
15
  //# sourceMappingURL=boolean.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"boolean.js","sourceRoot":"","sources":["../../../source/schema/schemas/boolean.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAGzD,8CAAwE;AAExE,oCAAuC;AAIvC,SAAgB,OAAO,CAAC,UAA0B,EAAE;IAClD,OAAO,IAAA,mBAAW,EAAU,OAAO,EAAE,OAAO,CAAC,CAAC;AAChD,CAAC;AAFD,0BAEC;AAED,SAAgB,eAAe,CAAC,OAAwB;IACtD,OAAO,IAAA,oDAAuC,EAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AACnE,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"boolean.js","sourceRoot":"","sources":["../../../source/schema/schemas/boolean.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAGzD,qDAAiF;AAEjF,gDAAgD;AAIhD,SAAgB,OAAO,CAAC,UAA0B,EAAE;IAClD,OAAO,IAAA,sBAAW,EAAU,OAAO,EAAE,OAAO,CAAC,CAAC;AAChD,CAAC;AAFD,0BAEC;AAED,SAAgB,eAAe,CAAC,OAAwB;IACtD,OAAO,IAAA,kDAAuC,EAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AACnE,CAAC;AAFD,0CAEC"}
@@ -1,5 +1,5 @@
1
- import type { OneOrMany } from "../../types";
2
- import type { GenericConstraintFunction } from '../constraints/generic';
3
- import type { SchemaTestable } from '../schema';
4
- import type { ValueSchema } from '../types';
1
+ import type { OneOrMany } from "../../types.js";
2
+ import type { GenericConstraintFunction } from '../constraints/generic.js';
3
+ import type { SchemaTestable } from '../schema.js';
4
+ import type { ValueSchema } from '../types/index.js';
5
5
  export declare function constraint<T>(schema: SchemaTestable<T>, constraintFunction: GenericConstraintFunction<T>, expects?: OneOrMany<string>): ValueSchema<T>;
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.constraint = void 0;
4
- const generic_1 = require("../constraints/generic");
5
- const types_1 = require("../types");
4
+ const generic_js_1 = require("../constraints/generic.js");
5
+ const index_js_1 = require("../types/index.js");
6
6
  function constraint(schema, constraintFunction, expects) {
7
- return (0, types_1.valueSchema)(schema, {
8
- valueConstraints: new generic_1.GenericConstraint(constraintFunction, expects)
7
+ return (0, index_js_1.valueSchema)(schema, {
8
+ valueConstraints: new generic_js_1.GenericConstraint(constraintFunction, expects)
9
9
  });
10
10
  }
11
11
  exports.constraint = constraint;
@@ -1 +1 @@
1
- {"version":3,"file":"constraint.js","sourceRoot":"","sources":["../../../source/schema/schemas/constraint.ts"],"names":[],"mappings":";;;AAEA,oDAA2D;AAG3D,oCAAuC;AAEvC,SAAgB,UAAU,CAAI,MAAyB,EAAE,kBAAgD,EAAE,OAA2B;IACpI,OAAO,IAAA,mBAAW,EAAC,MAAM,EAAE;QACzB,gBAAgB,EAAE,IAAI,2BAAiB,CAAC,kBAAkB,EAAE,OAAO,CAAC;KACrE,CAAC,CAAC;AACL,CAAC;AAJD,gCAIC"}
1
+ {"version":3,"file":"constraint.js","sourceRoot":"","sources":["../../../source/schema/schemas/constraint.ts"],"names":[],"mappings":";;;AAEA,0DAA8D;AAG9D,gDAAgD;AAEhD,SAAgB,UAAU,CAAI,MAAyB,EAAE,kBAAgD,EAAE,OAA2B;IACpI,OAAO,IAAA,sBAAW,EAAC,MAAM,EAAE;QACzB,gBAAgB,EAAE,IAAI,8BAAiB,CAAC,kBAAkB,EAAE,OAAO,CAAC;KACrE,CAAC,CAAC;AACL,CAAC;AAJD,gCAIC"}
@@ -1,5 +1,5 @@
1
- import type { Decorator } from "../../reflection";
2
- import type { ValueSchema, ValueSchemaOptions } from '../types/types';
1
+ import type { Decorator } from "../../reflection/index.js";
2
+ import type { ValueSchema, ValueSchemaOptions } from '../types/types.js';
3
3
  export type DateOptions = ValueSchemaOptions & {
4
4
  minimum?: Date | number;
5
5
  maximum?: Date | number;
@@ -2,27 +2,27 @@
2
2
  /* eslint-disable @typescript-eslint/naming-convention */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.DateProperty = exports.date = void 0;
5
- const array_1 = require("../../utils/array/array");
6
- const type_guards_1 = require("../../utils/type-guards");
7
- const constraints_1 = require("../constraints");
8
- const decorators_1 = require("../decorators");
9
- const types_1 = require("../types/types");
5
+ const array_js_1 = require("../../utils/array/array.js");
6
+ const type_guards_js_1 = require("../../utils/type-guards.js");
7
+ const index_js_1 = require("../constraints/index.js");
8
+ const index_js_2 = require("../decorators/index.js");
9
+ const types_js_1 = require("../types/types.js");
10
10
  function date(options = {}) {
11
- const constraints = (0, array_1.toArrayCopy)(options.valueConstraints ?? []);
12
- if ((0, type_guards_1.isDefined)(options.minimum)) {
13
- constraints.push(new constraints_1.MinimumDateConstraint(options.minimum));
11
+ const constraints = (0, array_js_1.toArrayCopy)(options.valueConstraints ?? []);
12
+ if ((0, type_guards_js_1.isDefined)(options.minimum)) {
13
+ constraints.push(new index_js_1.MinimumDateConstraint(options.minimum));
14
14
  }
15
- if ((0, type_guards_1.isDefined)(options.maximum)) {
16
- constraints.push(new constraints_1.MaximumDateConstraint(options.maximum));
15
+ if ((0, type_guards_js_1.isDefined)(options.maximum)) {
16
+ constraints.push(new index_js_1.MaximumDateConstraint(options.maximum));
17
17
  }
18
- return (0, types_1.valueSchema)(Date, {
18
+ return (0, types_js_1.valueSchema)(Date, {
19
19
  ...options,
20
20
  valueConstraints: constraints
21
21
  });
22
22
  }
23
23
  exports.date = date;
24
24
  function DateProperty(options) {
25
- return (0, decorators_1.createSchemaPropertyDecoratorFromSchema)(date(options));
25
+ return (0, index_js_2.createSchemaPropertyDecoratorFromSchema)(date(options));
26
26
  }
27
27
  exports.DateProperty = DateProperty;
28
28
  //# sourceMappingURL=date.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"date.js","sourceRoot":"","sources":["../../../source/schema/schemas/date.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAGzD,mDAAkD;AAClD,yDAAgD;AAChD,gDAA8E;AAC9E,8CAAwE;AAGxE,0CAA6C;AAO7C,SAAgB,IAAI,CAAC,UAAuB,EAAE;IAC5C,MAAM,WAAW,GAA4B,IAAA,mBAAW,EAAC,OAAO,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC;IAEzF,IAAI,IAAA,uBAAS,EAAC,OAAO,CAAC,OAAO,CAAC,EAAE;QAC9B,WAAW,CAAC,IAAI,CAAC,IAAI,mCAAqB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;KAC9D;IAED,IAAI,IAAA,uBAAS,EAAC,OAAO,CAAC,OAAO,CAAC,EAAE;QAC9B,WAAW,CAAC,IAAI,CAAC,IAAI,mCAAqB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;KAC9D;IAED,OAAO,IAAA,mBAAW,EAAC,IAAI,EAAE;QACvB,GAAG,OAAO;QACV,gBAAgB,EAAE,WAAW;KAC9B,CAAC,CAAC;AACL,CAAC;AAfD,oBAeC;AAED,SAAgB,YAAY,CAAC,OAAqB;IAChD,OAAO,IAAA,oDAAuC,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AAChE,CAAC;AAFD,oCAEC"}
1
+ {"version":3,"file":"date.js","sourceRoot":"","sources":["../../../source/schema/schemas/date.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAGzD,yDAAqD;AACrD,+DAAmD;AACnD,sDAAuF;AACvF,qDAAiF;AAGjF,gDAAgD;AAOhD,SAAgB,IAAI,CAAC,UAAuB,EAAE;IAC5C,MAAM,WAAW,GAA4B,IAAA,sBAAW,EAAC,OAAO,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC;IAEz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