@tstdl/base 0.72.0-beta1 → 0.78.0-beta3

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 (1675) hide show
  1. package/.eslintrc.js +11 -8
  2. package/api/client/client.d.ts +4 -3
  3. package/api/client/client.js +29 -35
  4. package/api/client/client.js.map +1 -1
  5. package/api/client/index.d.ts +1 -1
  6. package/api/client/index.js +17 -1
  7. package/api/client/index.js.map +1 -1
  8. package/api/default-error-handlers.d.ts +2 -6
  9. package/api/default-error-handlers.js +15 -12
  10. package/api/default-error-handlers.js.map +1 -1
  11. package/api/index.d.ts +3 -3
  12. package/api/index.js +19 -3
  13. package/api/index.js.map +1 -1
  14. package/api/response.d.ts +2 -2
  15. package/api/response.js +44 -41
  16. package/api/response.js.map +1 -1
  17. package/api/server/api-controller.d.ts +3 -3
  18. package/api/server/api-controller.js +16 -9
  19. package/api/server/api-controller.js.map +1 -1
  20. package/api/server/error-handler.d.ts +3 -3
  21. package/api/server/error-handler.js +15 -12
  22. package/api/server/error-handler.js.map +1 -1
  23. package/api/server/gateway.d.ts +13 -8
  24. package/api/server/gateway.js +66 -67
  25. package/api/server/gateway.js.map +1 -1
  26. package/api/server/index.d.ts +4 -3
  27. package/api/server/index.js +20 -3
  28. package/api/server/index.js.map +1 -1
  29. package/api/server/middlewares/allowed-methods.middleware.d.ts +4 -4
  30. package/api/server/middlewares/allowed-methods.middleware.js +11 -7
  31. package/api/server/middlewares/allowed-methods.middleware.js.map +1 -1
  32. package/api/server/middlewares/catch-error.middleware.d.ts +3 -3
  33. package/api/server/middlewares/catch-error.middleware.js +7 -3
  34. package/api/server/middlewares/catch-error.middleware.js.map +1 -1
  35. package/api/server/middlewares/cors.middleware.d.ts +3 -3
  36. package/api/server/middlewares/cors.middleware.js +18 -14
  37. package/api/server/middlewares/cors.middleware.js.map +1 -1
  38. package/api/server/middlewares/index.d.ts +4 -4
  39. package/api/server/middlewares/index.js +20 -4
  40. package/api/server/middlewares/index.js.map +1 -1
  41. package/api/server/middlewares/response-time.middleware.d.ts +2 -2
  42. package/api/server/middlewares/response-time.middleware.js +9 -5
  43. package/api/server/middlewares/response-time.middleware.js.map +1 -1
  44. package/api/server/module.d.ts +8 -5
  45. package/api/server/module.js +19 -9
  46. package/api/server/module.js.map +1 -1
  47. package/api/server/tokens.d.ts +2 -0
  48. package/api/server/tokens.js +6 -0
  49. package/api/server/tokens.js.map +1 -0
  50. package/api/types.d.ts +12 -40
  51. package/api/types.js +15 -8
  52. package/api/types.js.map +1 -1
  53. package/application/application.d.ts +6 -5
  54. package/application/application.js +43 -30
  55. package/application/application.js.map +1 -1
  56. package/application/index.d.ts +1 -1
  57. package/application/index.js +17 -1
  58. package/application/index.js.map +1 -1
  59. package/async-iterator-symbol.js +5 -1
  60. package/async-iterator-symbol.js.map +1 -1
  61. package/collections/awaitable/awaitable-list.d.ts +1 -1
  62. package/collections/awaitable/awaitable-list.js +13 -8
  63. package/collections/awaitable/awaitable-list.js.map +1 -1
  64. package/collections/awaitable/awaitable-map.js +13 -9
  65. package/collections/awaitable/awaitable-map.js.map +1 -1
  66. package/collections/awaitable/awaitable-set.js +9 -5
  67. package/collections/awaitable/awaitable-set.js.map +1 -1
  68. package/collections/awaitable/index.d.ts +3 -3
  69. package/collections/awaitable/index.js +19 -3
  70. package/collections/awaitable/index.js.map +1 -1
  71. package/collections/collection.js +2 -1
  72. package/collections/index.d.ts +6 -6
  73. package/collections/index.js +22 -6
  74. package/collections/index.js.map +1 -1
  75. package/collections/keyed-set.js +9 -5
  76. package/collections/keyed-set.js.map +1 -1
  77. package/collections/list.d.ts +1 -1
  78. package/collections/list.js +2 -1
  79. package/collections/observable/index.d.ts +8 -8
  80. package/collections/observable/index.js +24 -8
  81. package/collections/observable/index.js.map +1 -1
  82. package/collections/observable/observable-array.d.ts +2 -2
  83. package/collections/observable/observable-array.js +6 -2
  84. package/collections/observable/observable-array.js.map +1 -1
  85. package/collections/observable/observable-collection-base.d.ts +2 -2
  86. package/collections/observable/observable-collection-base.js +23 -18
  87. package/collections/observable/observable-collection-base.js.map +1 -1
  88. package/collections/observable/observable-collection.d.ts +1 -1
  89. package/collections/observable/observable-collection.js +2 -1
  90. package/collections/observable/observable-list-base.d.ts +3 -3
  91. package/collections/observable/observable-list-base.js +15 -11
  92. package/collections/observable/observable-list-base.js.map +1 -1
  93. package/collections/observable/observable-list.d.ts +3 -3
  94. package/collections/observable/observable-list.js +2 -1
  95. package/collections/observable/observable-map.js +7 -3
  96. package/collections/observable/observable-map.js.map +1 -1
  97. package/collections/observable/observable-set.d.ts +2 -2
  98. package/collections/observable/observable-set.js +6 -2
  99. package/collections/observable/observable-set.js.map +1 -1
  100. package/collections/observable/observable-sorted-array-list.d.ts +3 -3
  101. package/collections/observable/observable-sorted-array-list.js +25 -21
  102. package/collections/observable/observable-sorted-array-list.js.map +1 -1
  103. package/collections/sorted-array-list.d.ts +2 -2
  104. package/collections/sorted-array-list.js +21 -17
  105. package/collections/sorted-array-list.js.map +1 -1
  106. package/collections/sorted-list.d.ts +1 -1
  107. package/collections/sorted-list.js +2 -1
  108. package/collections/sorted-map.d.ts +2 -2
  109. package/collections/sorted-map.js +12 -8
  110. package/collections/sorted-map.js.map +1 -1
  111. package/container/container.d.ts +6 -5
  112. package/container/container.js +147 -133
  113. package/container/container.js.map +1 -1
  114. package/container/decorators.d.ts +16 -13
  115. package/container/decorators.js +77 -84
  116. package/container/decorators.js.map +1 -1
  117. package/container/index.d.ts +10 -10
  118. package/container/index.js +26 -10
  119. package/container/index.js.map +1 -1
  120. package/container/interfaces.js +4 -2
  121. package/container/interfaces.js.map +1 -1
  122. package/container/provider.d.ts +4 -4
  123. package/container/provider.js +24 -13
  124. package/container/provider.js.map +1 -1
  125. package/container/resolve-chain.d.ts +6 -6
  126. package/container/resolve-chain.js +12 -7
  127. package/container/resolve-chain.js.map +1 -1
  128. package/container/resolve.error.d.ts +2 -2
  129. package/container/resolve.error.js +8 -4
  130. package/container/resolve.error.js.map +1 -1
  131. package/container/token.d.ts +1 -1
  132. package/container/token.js +10 -5
  133. package/container/token.js.map +1 -1
  134. package/container/type-info.d.ts +3 -23
  135. package/container/type-info.js +2 -36
  136. package/container/type-info.js.map +1 -1
  137. package/container/types.d.ts +2 -2
  138. package/container/types.js +2 -1
  139. package/container/utils.d.ts +2 -2
  140. package/container/utils.js +23 -30
  141. package/container/utils.js.map +1 -1
  142. package/core.d.ts +4 -4
  143. package/core.js +24 -20
  144. package/core.js.map +1 -1
  145. package/css/theme/index.d.ts +2 -2
  146. package/css/theme/index.js +18 -2
  147. package/css/theme/index.js.map +1 -1
  148. package/css/theme/theme.model.js +5 -1
  149. package/css/theme/theme.model.js.map +1 -1
  150. package/css/theme/theme.service.d.ts +1 -1
  151. package/css/theme/theme.service.js +16 -12
  152. package/css/theme/theme.service.js.map +1 -1
  153. package/data-structures/array-list.d.ts +2 -2
  154. package/data-structures/array-list.js +6 -2
  155. package/data-structures/array-list.js.map +1 -1
  156. package/data-structures/circular-buffer.d.ts +2 -2
  157. package/data-structures/circular-buffer.js +25 -21
  158. package/data-structures/circular-buffer.js.map +1 -1
  159. package/data-structures/collection.d.ts +3 -2
  160. package/data-structures/collection.js +21 -13
  161. package/data-structures/collection.js.map +1 -1
  162. package/data-structures/index-out-of-bounds.error.d.ts +1 -1
  163. package/data-structures/index-out-of-bounds.error.js +9 -5
  164. package/data-structures/index-out-of-bounds.error.js.map +1 -1
  165. package/data-structures/index.d.ts +11 -9
  166. package/data-structures/index.js +27 -9
  167. package/data-structures/index.js.map +1 -1
  168. package/data-structures/iterable-weak-map.d.ts +29 -0
  169. package/data-structures/iterable-weak-map.js +128 -0
  170. package/data-structures/iterable-weak-map.js.map +1 -0
  171. package/data-structures/linked-list.d.ts +4 -4
  172. package/data-structures/linked-list.js +28 -25
  173. package/data-structures/linked-list.js.map +1 -1
  174. package/data-structures/list.d.ts +2 -2
  175. package/data-structures/list.js +14 -10
  176. package/data-structures/list.js.map +1 -1
  177. package/data-structures/multi-key-map.d.ts +13 -2
  178. package/data-structures/multi-key-map.js +37 -22
  179. package/data-structures/multi-key-map.js.map +1 -1
  180. package/data-structures/set.d.ts +18 -0
  181. package/data-structures/set.js +59 -0
  182. package/data-structures/set.js.map +1 -0
  183. package/data-structures/sorted-array-list.d.ts +5 -5
  184. package/data-structures/sorted-array-list.js +22 -19
  185. package/data-structures/sorted-array-list.js.map +1 -1
  186. package/data-structures/weak-ref-map.d.ts +1 -1
  187. package/data-structures/weak-ref-map.js +17 -13
  188. package/data-structures/weak-ref-map.js.map +1 -1
  189. package/database/entity-repository.d.ts +4 -5
  190. package/database/entity-repository.js +5 -1
  191. package/database/entity-repository.js.map +1 -1
  192. package/database/entity.js +2 -1
  193. package/database/id.js +8 -4
  194. package/database/id.js.map +1 -1
  195. package/database/index.d.ts +6 -6
  196. package/database/index.js +22 -6
  197. package/database/index.js.map +1 -1
  198. package/database/module.js +10 -6
  199. package/database/module.js.map +1 -1
  200. package/database/mongo/classes.d.ts +5 -5
  201. package/database/mongo/classes.js +14 -11
  202. package/database/mongo/classes.js.map +1 -1
  203. package/database/mongo/index.d.ts +10 -10
  204. package/database/mongo/index.js +26 -10
  205. package/database/mongo/index.js.map +1 -1
  206. package/database/mongo/{model.d.ts → model/document.d.ts} +3 -3
  207. package/database/mongo/model/document.js +84 -0
  208. package/database/mongo/model/document.js.map +1 -0
  209. package/database/mongo/model/index.d.ts +1 -0
  210. package/database/mongo/model/index.js +18 -0
  211. package/database/mongo/model/index.js.map +1 -0
  212. package/database/mongo/module.d.ts +1 -1
  213. package/database/mongo/module.js +31 -27
  214. package/database/mongo/module.js.map +1 -1
  215. package/database/mongo/mongo-base.repository.d.ts +5 -5
  216. package/database/mongo/mongo-base.repository.js +43 -39
  217. package/database/mongo/mongo-base.repository.js.map +1 -1
  218. package/database/mongo/mongo-bulk.d.ts +4 -4
  219. package/database/mongo/mongo-bulk.js +21 -17
  220. package/database/mongo/mongo-bulk.js.map +1 -1
  221. package/database/mongo/{mongo-entity.repository.d.ts → mongo-entity-repository.d.ts} +8 -8
  222. package/database/mongo/{mongo-entity.repository.js → mongo-entity-repository.js} +34 -27
  223. package/database/mongo/mongo-entity-repository.js.map +1 -0
  224. package/database/mongo/operations.d.ts +4 -4
  225. package/database/mongo/operations.js +15 -6
  226. package/database/mongo/operations.js.map +1 -1
  227. package/database/mongo/query-converter.d.ts +4 -4
  228. package/database/mongo/query-converter.js +17 -12
  229. package/database/mongo/query-converter.js.map +1 -1
  230. package/database/mongo/simple-entity-repository.d.ts +7 -0
  231. package/database/mongo/simple-entity-repository.js +11 -0
  232. package/database/mongo/simple-entity-repository.js.map +1 -0
  233. package/database/mongo/types.d.ts +4 -4
  234. package/database/mongo/types.js +5 -1
  235. package/database/mongo/types.js.map +1 -1
  236. package/database/query.d.ts +2 -2
  237. package/database/query.js +10 -7
  238. package/database/query.js.map +1 -1
  239. package/database/utils.d.ts +1 -1
  240. package/database/utils.js +5 -1
  241. package/database/utils.js.map +1 -1
  242. package/disposable/async-disposer.d.ts +4 -4
  243. package/disposable/async-disposer.js +24 -20
  244. package/disposable/async-disposer.js.map +1 -1
  245. package/disposable/disposable.js +12 -7
  246. package/disposable/disposable.js.map +1 -1
  247. package/disposable/index.d.ts +3 -3
  248. package/disposable/index.js +19 -3
  249. package/disposable/index.js.map +1 -1
  250. package/disposable/using.d.ts +1 -1
  251. package/disposable/using.js +10 -5
  252. package/disposable/using.js.map +1 -1
  253. package/distributed-loop/controller.js +2 -1
  254. package/distributed-loop/distributed-loop.d.ts +5 -5
  255. package/distributed-loop/distributed-loop.js +18 -15
  256. package/distributed-loop/distributed-loop.js.map +1 -1
  257. package/distributed-loop/index.d.ts +3 -3
  258. package/distributed-loop/index.js +19 -3
  259. package/distributed-loop/index.js.map +1 -1
  260. package/distributed-loop/provider.d.ts +2 -2
  261. package/distributed-loop/provider.js +10 -7
  262. package/distributed-loop/provider.js.map +1 -1
  263. package/enumerable/async-enumerable.d.ts +12 -9
  264. package/enumerable/async-enumerable.js +84 -67
  265. package/enumerable/async-enumerable.js.map +1 -1
  266. package/enumerable/enumerable-methods.d.ts +3 -0
  267. package/enumerable/enumerable-methods.js +2 -1
  268. package/enumerable/enumerable.d.ts +10 -7
  269. package/enumerable/enumerable.js +61 -45
  270. package/enumerable/enumerable.js.map +1 -1
  271. package/enumerable/index.d.ts +2 -2
  272. package/enumerable/index.js +18 -2
  273. package/enumerable/index.js.map +1 -1
  274. package/error/api.error.d.ts +2 -2
  275. package/error/api.error.js +6 -2
  276. package/error/api.error.js.map +1 -1
  277. package/error/assertion.error.d.ts +1 -1
  278. package/error/assertion.error.js +6 -2
  279. package/error/assertion.error.js.map +1 -1
  280. package/error/bad-request.error.d.ts +1 -1
  281. package/error/bad-request.error.js +6 -2
  282. package/error/bad-request.error.js.map +1 -1
  283. package/error/custom.error.d.ts +3 -1
  284. package/error/custom.error.js +21 -8
  285. package/error/custom.error.js.map +1 -1
  286. package/error/details.error.d.ts +1 -1
  287. package/error/details.error.js +6 -2
  288. package/error/details.error.js.map +1 -1
  289. package/error/forbidden.error.d.ts +1 -1
  290. package/error/forbidden.error.js +6 -2
  291. package/error/forbidden.error.js.map +1 -1
  292. package/error/index.d.ts +15 -15
  293. package/error/index.js +31 -15
  294. package/error/index.js.map +1 -1
  295. package/error/invalid-token.error.d.ts +1 -1
  296. package/error/invalid-token.error.js +6 -2
  297. package/error/invalid-token.error.js.map +1 -1
  298. package/error/max-bytes-exceeded.error.d.ts +1 -1
  299. package/error/max-bytes-exceeded.error.js +6 -2
  300. package/error/max-bytes-exceeded.error.js.map +1 -1
  301. package/error/method-not-allowed.error.d.ts +1 -1
  302. package/error/method-not-allowed.error.js +6 -2
  303. package/error/method-not-allowed.error.js.map +1 -1
  304. package/error/multi.error.d.ts +1 -1
  305. package/error/multi.error.js +6 -2
  306. package/error/multi.error.js.map +1 -1
  307. package/error/not-found.error.d.ts +1 -1
  308. package/error/not-found.error.js +6 -2
  309. package/error/not-found.error.js.map +1 -1
  310. package/error/not-implemented.error.d.ts +1 -1
  311. package/error/not-implemented.error.js +6 -2
  312. package/error/not-implemented.error.js.map +1 -1
  313. package/error/unauthorized.error.d.ts +1 -1
  314. package/error/unauthorized.error.js +6 -2
  315. package/error/unauthorized.error.js.map +1 -1
  316. package/error/unsupported-media-type.error.d.ts +1 -1
  317. package/error/unsupported-media-type.error.js +6 -2
  318. package/error/unsupported-media-type.error.js.map +1 -1
  319. package/error/validation.error.d.ts +1 -1
  320. package/error/validation.error.js +6 -2
  321. package/error/validation.error.js.map +1 -1
  322. package/examples/api/basic-overview.js +47 -38
  323. package/examples/api/basic-overview.js.map +1 -1
  324. package/examples/http/client.d.ts +1 -0
  325. package/examples/http/client.js +18 -0
  326. package/examples/http/client.js.map +1 -0
  327. package/examples/mail/basic.d.ts +1 -0
  328. package/examples/mail/basic.js +33 -0
  329. package/examples/mail/basic.js.map +1 -0
  330. package/examples/pdf/basic.d.ts +1 -0
  331. package/examples/pdf/basic.js +24 -0
  332. package/examples/pdf/basic.js.map +1 -0
  333. package/examples/pdf/templates/hello-name.d.ts +5 -0
  334. package/examples/pdf/templates/hello-name.js +10 -0
  335. package/examples/pdf/templates/hello-name.js.map +1 -0
  336. package/examples/reflection/basic.d.ts +11 -0
  337. package/examples/reflection/basic.js +72 -0
  338. package/examples/reflection/basic.js.map +1 -0
  339. package/global-this.js +5 -1
  340. package/global-this.js.map +1 -1
  341. package/http/client/adapters/got-http-client.adapter.d.ts +3 -3
  342. package/http/client/adapters/got-http-client.adapter.js +40 -36
  343. package/http/client/adapters/got-http-client.adapter.js.map +1 -1
  344. package/http/client/adapters/undici-http-client.adapter.d.ts +5 -5
  345. package/http/client/adapters/undici-http-client.adapter.js +35 -31
  346. package/http/client/adapters/undici-http-client.adapter.js.map +1 -1
  347. package/http/client/adapters/utils.d.ts +2 -2
  348. package/http/client/adapters/utils.js +19 -12
  349. package/http/client/adapters/utils.js.map +1 -1
  350. package/http/client/http-client-request.d.ts +13 -13
  351. package/http/client/http-client-request.js +26 -22
  352. package/http/client/http-client-request.js.map +1 -1
  353. package/http/client/http-client-response.d.ts +5 -5
  354. package/http/client/http-client-response.js +7 -3
  355. package/http/client/http-client-response.js.map +1 -1
  356. package/http/client/http-client.adapter.d.ts +3 -3
  357. package/http/client/http-client.adapter.js +5 -1
  358. package/http/client/http-client.adapter.js.map +1 -1
  359. package/http/client/http-client.d.ts +10 -10
  360. package/http/client/http-client.js +50 -46
  361. package/http/client/http-client.js.map +1 -1
  362. package/http/client/index.d.ts +4 -4
  363. package/http/client/index.js +20 -4
  364. package/http/client/index.js.map +1 -1
  365. package/http/cookie-parser.d.ts +1 -1
  366. package/http/cookie-parser.js +9 -5
  367. package/http/cookie-parser.js.map +1 -1
  368. package/http/http-form.d.ts +3 -3
  369. package/http/http-form.js +6 -2
  370. package/http/http-form.js.map +1 -1
  371. package/http/http-headers.d.ts +3 -3
  372. package/http/http-headers.js +19 -15
  373. package/http/http-headers.js.map +1 -1
  374. package/http/http-query.d.ts +3 -3
  375. package/http/http-query.js +6 -2
  376. package/http/http-query.js.map +1 -1
  377. package/http/http-url-parameters.d.ts +3 -3
  378. package/http/http-url-parameters.js +6 -2
  379. package/http/http-url-parameters.js.map +1 -1
  380. package/http/http-value-map.d.ts +2 -2
  381. package/http/http-value-map.js +23 -19
  382. package/http/http-value-map.js.map +1 -1
  383. package/http/http.error.d.ts +6 -4
  384. package/http/http.error.js +17 -7
  385. package/http/http.error.js.map +1 -1
  386. package/http/index.d.ts +9 -9
  387. package/http/index.js +25 -9
  388. package/http/index.js.map +1 -1
  389. package/http/server/http-server-request.d.ts +5 -5
  390. package/http/server/http-server-request.js +17 -13
  391. package/http/server/http-server-request.js.map +1 -1
  392. package/http/server/http-server-response.d.ts +4 -3
  393. package/http/server/http-server-response.js +10 -3
  394. package/http/server/http-server-response.js.map +1 -1
  395. package/http/server/http-server.d.ts +3 -2
  396. package/http/server/http-server.js +6 -2
  397. package/http/server/http-server.js.map +1 -1
  398. package/http/server/index.d.ts +3 -3
  399. package/http/server/index.js +19 -3
  400. package/http/server/index.js.map +1 -1
  401. package/http/server/node/index.d.ts +2 -2
  402. package/http/server/node/index.js +18 -2
  403. package/http/server/node/index.js.map +1 -1
  404. package/http/server/node/module.js +9 -5
  405. package/http/server/node/module.js.map +1 -1
  406. package/http/server/node/node-http-server.d.ts +8 -8
  407. package/http/server/node/node-http-server.js +47 -44
  408. package/http/server/node/node-http-server.js.map +1 -1
  409. package/http/types.d.ts +1 -1
  410. package/http/types.js +16 -9
  411. package/http/types.js.map +1 -1
  412. package/image-service/image-service.d.ts +32 -65
  413. package/image-service/image-service.js +77 -15
  414. package/image-service/image-service.js.map +1 -1
  415. package/image-service/imgproxy/imgproxy-image-service.d.ts +5 -5
  416. package/image-service/imgproxy/imgproxy-image-service.js +35 -31
  417. package/image-service/imgproxy/imgproxy-image-service.js.map +1 -1
  418. package/image-service/imgproxy/index.d.ts +1 -1
  419. package/image-service/imgproxy/index.js +17 -1
  420. package/image-service/imgproxy/index.js.map +1 -1
  421. package/image-service/index.d.ts +1 -1
  422. package/image-service/index.js +17 -1
  423. package/image-service/index.js.map +1 -1
  424. package/index.d.ts +1 -1
  425. package/index.js +17 -1
  426. package/index.js.map +1 -1
  427. package/interfaces.js +2 -1
  428. package/json-path/index.d.ts +1 -1
  429. package/json-path/index.js +17 -1
  430. package/json-path/index.js.map +1 -1
  431. package/json-path/json-path.d.ts +8 -3
  432. package/json-path/json-path.js +40 -17
  433. package/json-path/json-path.js.map +1 -1
  434. package/key-value-store/index.d.ts +2 -2
  435. package/key-value-store/index.js +18 -2
  436. package/key-value-store/index.js.map +1 -1
  437. package/key-value-store/key-value-store.provider.d.ts +2 -2
  438. package/key-value-store/key-value-store.provider.js +5 -1
  439. package/key-value-store/key-value-store.provider.js.map +1 -1
  440. package/key-value-store/key-value.store.d.ts +3 -3
  441. package/key-value-store/key-value.store.js +6 -2
  442. package/key-value-store/key-value.store.js.map +1 -1
  443. package/key-value-store/mongo/index.d.ts +5 -5
  444. package/key-value-store/mongo/index.js +21 -5
  445. package/key-value-store/mongo/index.js.map +1 -1
  446. package/key-value-store/mongo/module.d.ts +2 -2
  447. package/key-value-store/mongo/module.js +14 -10
  448. package/key-value-store/mongo/module.js.map +1 -1
  449. package/key-value-store/mongo/mongo-key-value-store.provider.d.ts +3 -3
  450. package/key-value-store/mongo/mongo-key-value-store.provider.js +10 -7
  451. package/key-value-store/mongo/mongo-key-value-store.provider.js.map +1 -1
  452. package/key-value-store/mongo/mongo-key-value.model.d.ts +2 -1
  453. package/key-value-store/mongo/mongo-key-value.model.js +2 -1
  454. package/key-value-store/mongo/mongo-key-value.repository.d.ts +6 -6
  455. package/key-value-store/mongo/mongo-key-value.repository.js +14 -11
  456. package/key-value-store/mongo/mongo-key-value.repository.js.map +1 -1
  457. package/key-value-store/mongo/mongo-key-value.store.d.ts +3 -3
  458. package/key-value-store/mongo/mongo-key-value.store.js +19 -16
  459. package/key-value-store/mongo/mongo-key-value.store.js.map +1 -1
  460. package/lock/index.d.ts +2 -2
  461. package/lock/index.js +18 -2
  462. package/lock/index.js.map +1 -1
  463. package/lock/lock.d.ts +2 -2
  464. package/lock/lock.js +6 -2
  465. package/lock/lock.js.map +1 -1
  466. package/lock/mongo/index.d.ts +5 -5
  467. package/lock/mongo/index.js +21 -5
  468. package/lock/mongo/index.js.map +1 -1
  469. package/lock/mongo/lock.d.ts +4 -4
  470. package/lock/mongo/lock.js +32 -29
  471. package/lock/mongo/lock.js.map +1 -1
  472. package/lock/mongo/model.d.ts +1 -1
  473. package/lock/mongo/model.js +2 -1
  474. package/lock/mongo/module.d.ts +2 -2
  475. package/lock/mongo/module.js +14 -10
  476. package/lock/mongo/module.js.map +1 -1
  477. package/lock/mongo/{mongo-lock.repository.d.ts → mongo-lock-repository.d.ts} +6 -6
  478. package/lock/mongo/{mongo-lock.repository.js → mongo-lock-repository.js} +20 -17
  479. package/lock/mongo/mongo-lock-repository.js.map +1 -0
  480. package/lock/mongo/provider.d.ts +4 -4
  481. package/lock/mongo/provider.js +19 -16
  482. package/lock/mongo/provider.js.map +1 -1
  483. package/lock/provider.d.ts +3 -3
  484. package/lock/provider.js +6 -2
  485. package/lock/provider.js.map +1 -1
  486. package/logger/console/index.d.ts +1 -1
  487. package/logger/console/index.js +17 -1
  488. package/logger/console/index.js.map +1 -1
  489. package/logger/console/logger.d.ts +3 -3
  490. package/logger/console/logger.js +22 -19
  491. package/logger/console/logger.js.map +1 -1
  492. package/logger/index.d.ts +2 -2
  493. package/logger/index.js +18 -2
  494. package/logger/index.js.map +1 -1
  495. package/logger/level.js +5 -2
  496. package/logger/level.js.map +1 -1
  497. package/logger/logger.d.ts +3 -3
  498. package/logger/logger.js +17 -13
  499. package/logger/logger.js.map +1 -1
  500. package/logger/noop/index.d.ts +1 -1
  501. package/logger/noop/index.js +17 -1
  502. package/logger/noop/index.js.map +1 -1
  503. package/logger/noop/logger.d.ts +1 -1
  504. package/logger/noop/logger.js +9 -5
  505. package/logger/noop/logger.js.map +1 -1
  506. package/mail/clients/nodemailer.mail-client.d.ts +2 -2
  507. package/mail/clients/nodemailer.mail-client.js +18 -14
  508. package/mail/clients/nodemailer.mail-client.js.map +1 -1
  509. package/mail/index.d.ts +8 -8
  510. package/mail/index.js +24 -8
  511. package/mail/index.js.map +1 -1
  512. package/mail/mail-log.repository.d.ts +2 -2
  513. package/mail/mail-log.repository.js +6 -2
  514. package/mail/mail-log.repository.js.map +1 -1
  515. package/mail/mail-template-renderer.provider.d.ts +1 -1
  516. package/mail/mail-template-renderer.provider.js +9 -6
  517. package/mail/mail-template-renderer.provider.js.map +1 -1
  518. package/mail/mail-template.provider.d.ts +1 -1
  519. package/mail/mail-template.provider.js +5 -1
  520. package/mail/mail-template.provider.js.map +1 -1
  521. package/mail/mail-template.renderer.d.ts +1 -1
  522. package/mail/mail-template.renderer.js +5 -1
  523. package/mail/mail-template.renderer.js.map +1 -1
  524. package/mail/mail.client.d.ts +3 -3
  525. package/mail/mail.client.js +6 -2
  526. package/mail/mail.client.js.map +1 -1
  527. package/mail/mail.service.d.ts +8 -7
  528. package/mail/mail.service.js +32 -24
  529. package/mail/mail.service.js.map +1 -1
  530. package/mail/models/index.d.ts +6 -6
  531. package/mail/models/index.js +22 -6
  532. package/mail/models/index.js.map +1 -1
  533. package/mail/models/mail-address.model.js +2 -1
  534. package/mail/models/mail-content.model.js +2 -1
  535. package/mail/models/mail-data.model.d.ts +3 -3
  536. package/mail/models/mail-data.model.js +2 -1
  537. package/mail/models/mail-log.model.d.ts +6 -6
  538. package/mail/models/mail-log.model.js +2 -1
  539. package/mail/models/mail-send-result.model.d.ts +1 -1
  540. package/mail/models/mail-send-result.model.js +2 -1
  541. package/mail/models/mail-template.model.d.ts +0 -1
  542. package/mail/models/mail-template.model.js +2 -1
  543. package/mail/module.d.ts +6 -6
  544. package/mail/module.js +25 -21
  545. package/mail/module.js.map +1 -1
  546. package/mail/repositories/mongo-mail-log.repository.d.ts +6 -6
  547. package/mail/repositories/mongo-mail-log.repository.js +17 -13
  548. package/mail/repositories/mongo-mail-log.repository.js.map +1 -1
  549. package/mail/template-providers/file-mail-template.provider.d.ts +8 -9
  550. package/mail/template-providers/file-mail-template.provider.js +29 -47
  551. package/mail/template-providers/file-mail-template.provider.js.map +1 -1
  552. package/mail/template-providers/memory-mail-template.provider.d.ts +4 -6
  553. package/mail/template-providers/memory-mail-template.provider.js +8 -17
  554. package/mail/template-providers/memory-mail-template.provider.js.map +1 -1
  555. package/mail/template-renderers/handlebars.mail-template-renderer.d.ts +9 -7
  556. package/mail/template-renderers/handlebars.mail-template-renderer.js +33 -14
  557. package/mail/template-renderers/handlebars.mail-template-renderer.js.map +1 -1
  558. package/mail/template-renderers/mjml.mail-template-renderer.d.ts +9 -10
  559. package/mail/template-renderers/mjml.mail-template-renderer.js +38 -37
  560. package/mail/template-renderers/mjml.mail-template-renderer.js.map +1 -1
  561. package/mail/tokens.d.ts +5 -5
  562. package/mail/tokens.js +6 -3
  563. package/mail/tokens.js.map +1 -1
  564. package/memory/index.d.ts +1 -1
  565. package/memory/index.js +17 -1
  566. package/memory/index.js.map +1 -1
  567. package/memory/observable-finalization-registry.js +7 -3
  568. package/memory/observable-finalization-registry.js.map +1 -1
  569. package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.d.ts +3 -3
  570. package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.js +7 -3
  571. package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.js.map +1 -1
  572. package/message-bus/broadcast-channel/broadcast-channel-message-bus.d.ts +3 -3
  573. package/message-bus/broadcast-channel/broadcast-channel-message-bus.js +10 -6
  574. package/message-bus/broadcast-channel/broadcast-channel-message-bus.js.map +1 -1
  575. package/message-bus/broadcast-channel/index.d.ts +2 -2
  576. package/message-bus/broadcast-channel/index.js +18 -2
  577. package/message-bus/broadcast-channel/index.js.map +1 -1
  578. package/message-bus/index.d.ts +3 -3
  579. package/message-bus/index.js +19 -3
  580. package/message-bus/index.js.map +1 -1
  581. package/message-bus/local/index.d.ts +2 -2
  582. package/message-bus/local/index.js +18 -2
  583. package/message-bus/local/index.js.map +1 -1
  584. package/message-bus/local/local-message-bus-provider.d.ts +3 -3
  585. package/message-bus/local/local-message-bus-provider.js +24 -20
  586. package/message-bus/local/local-message-bus-provider.js.map +1 -1
  587. package/message-bus/local/local-message-bus.d.ts +4 -4
  588. package/message-bus/local/local-message-bus.js +16 -13
  589. package/message-bus/local/local-message-bus.js.map +1 -1
  590. package/message-bus/local/types.js +2 -1
  591. package/message-bus/message-bus-base.d.ts +4 -4
  592. package/message-bus/message-bus-base.js +15 -11
  593. package/message-bus/message-bus-base.js.map +1 -1
  594. package/message-bus/message-bus-provider.d.ts +1 -1
  595. package/message-bus/message-bus-provider.js +5 -1
  596. package/message-bus/message-bus-provider.js.map +1 -1
  597. package/message-bus/message-bus.d.ts +4 -4
  598. package/message-bus/message-bus.js +7 -3
  599. package/message-bus/message-bus.js.map +1 -1
  600. package/migration/index.d.ts +3 -3
  601. package/migration/index.js +19 -3
  602. package/migration/index.js.map +1 -1
  603. package/migration/migration-state-repository.d.ts +2 -2
  604. package/migration/migration-state-repository.js +6 -2
  605. package/migration/migration-state-repository.js.map +1 -1
  606. package/migration/migration-state.d.ts +1 -1
  607. package/migration/migration-state.js +2 -1
  608. package/migration/migrator.d.ts +3 -3
  609. package/migration/migrator.js +26 -23
  610. package/migration/migrator.js.map +1 -1
  611. package/migration/mongo/index.d.ts +2 -2
  612. package/migration/mongo/index.js +18 -2
  613. package/migration/mongo/index.js.map +1 -1
  614. package/migration/mongo/migration-state-repository.d.ts +7 -7
  615. package/migration/mongo/migration-state-repository.js +15 -12
  616. package/migration/mongo/migration-state-repository.js.map +1 -1
  617. package/migration/mongo/module.d.ts +2 -2
  618. package/migration/mongo/module.js +11 -7
  619. package/migration/mongo/module.js.map +1 -1
  620. package/module/index.d.ts +4 -4
  621. package/module/index.js +20 -4
  622. package/module/index.js.map +1 -1
  623. package/module/module-base.d.ts +5 -5
  624. package/module/module-base.js +15 -11
  625. package/module/module-base.js.map +1 -1
  626. package/module/module-metric-reporter.d.ts +4 -4
  627. package/module/module-metric-reporter.js +12 -8
  628. package/module/module-metric-reporter.js.map +1 -1
  629. package/module/module.d.ts +1 -1
  630. package/module/module.js +7 -4
  631. package/module/module.js.map +1 -1
  632. package/module/modules/function.module.d.ts +10 -0
  633. package/module/modules/function.module.js +16 -0
  634. package/module/modules/function.module.js.map +1 -0
  635. package/module/modules/index.d.ts +2 -2
  636. package/module/modules/index.js +18 -2
  637. package/module/modules/index.js.map +1 -1
  638. package/module/modules/web-server.module.d.ts +10 -11
  639. package/module/modules/web-server.module.js +25 -29
  640. package/module/modules/web-server.module.js.map +1 -1
  641. package/module/utils.d.ts +2 -2
  642. package/module/utils.js +7 -2
  643. package/module/utils.js.map +1 -1
  644. package/object-storage/index.d.ts +3 -3
  645. package/object-storage/index.js +19 -3
  646. package/object-storage/index.js.map +1 -1
  647. package/object-storage/object-storage-provider.d.ts +1 -1
  648. package/object-storage/object-storage-provider.js +5 -1
  649. package/object-storage/object-storage-provider.js.map +1 -1
  650. package/object-storage/object-storage.d.ts +8 -3
  651. package/object-storage/object-storage.js +6 -2
  652. package/object-storage/object-storage.js.map +1 -1
  653. package/object-storage/object.js +2 -1
  654. package/object-storage/s3/index.d.ts +3 -3
  655. package/object-storage/s3/index.js +19 -3
  656. package/object-storage/s3/index.js.map +1 -1
  657. package/object-storage/s3/s3.object-storage-provider.d.ts +3 -3
  658. package/object-storage/s3/s3.object-storage-provider.js +24 -20
  659. package/object-storage/s3/s3.object-storage-provider.js.map +1 -1
  660. package/object-storage/s3/s3.object-storage.d.ts +4 -3
  661. package/object-storage/s3/s3.object-storage.js +24 -17
  662. package/object-storage/s3/s3.object-storage.js.map +1 -1
  663. package/object-storage/s3/s3.object.d.ts +1 -1
  664. package/object-storage/s3/s3.object.js +2 -1
  665. package/openid-connect/cached-oidc-configuration.service.d.ts +3 -3
  666. package/openid-connect/cached-oidc-configuration.service.js +17 -14
  667. package/openid-connect/cached-oidc-configuration.service.js.map +1 -1
  668. package/openid-connect/index.d.ts +7 -7
  669. package/openid-connect/index.js +27 -11
  670. package/openid-connect/index.js.map +1 -1
  671. package/openid-connect/mongo-oidc-state.repository.d.ts +8 -8
  672. package/openid-connect/mongo-oidc-state.repository.js +17 -13
  673. package/openid-connect/mongo-oidc-state.repository.js.map +1 -1
  674. package/openid-connect/oidc-configuration.service.d.ts +1 -1
  675. package/openid-connect/oidc-configuration.service.js +15 -12
  676. package/openid-connect/oidc-configuration.service.js.map +1 -1
  677. package/openid-connect/oidc-state.model.d.ts +1 -1
  678. package/openid-connect/oidc-state.model.js +2 -1
  679. package/openid-connect/oidc-state.repository.d.ts +2 -2
  680. package/openid-connect/oidc-state.repository.js +6 -2
  681. package/openid-connect/oidc-state.repository.js.map +1 -1
  682. package/openid-connect/oidc.service-model.js +2 -1
  683. package/openid-connect/oidc.service.d.ts +4 -4
  684. package/openid-connect/oidc.service.js +35 -32
  685. package/openid-connect/oidc.service.js.map +1 -1
  686. package/package.json +19 -19
  687. package/pdf/index.d.ts +1 -0
  688. package/pdf/index.js +18 -0
  689. package/pdf/index.js.map +1 -0
  690. package/pdf/pdf.service.d.ts +33 -0
  691. package/pdf/pdf.service.js +82 -0
  692. package/pdf/pdf.service.js.map +1 -0
  693. package/pool/index.d.ts +1 -0
  694. package/pool/index.js +18 -0
  695. package/pool/index.js.map +1 -0
  696. package/pool/pool.d.ts +24 -0
  697. package/pool/pool.js +83 -0
  698. package/pool/pool.js.map +1 -0
  699. package/process-shutdown.d.ts +2 -2
  700. package/process-shutdown.js +19 -11
  701. package/process-shutdown.js.map +1 -1
  702. package/promise/cancelable-promise.js +5 -1
  703. package/promise/cancelable-promise.js.map +1 -1
  704. package/promise/deferred-promise.js +5 -1
  705. package/promise/deferred-promise.js.map +1 -1
  706. package/promise/index.d.ts +2 -2
  707. package/promise/index.js +18 -2
  708. package/promise/index.js.map +1 -1
  709. package/queue/enqueue-batch.d.ts +1 -1
  710. package/queue/enqueue-batch.js +5 -1
  711. package/queue/enqueue-batch.js.map +1 -1
  712. package/queue/index.d.ts +3 -3
  713. package/queue/index.js +19 -3
  714. package/queue/index.js.map +1 -1
  715. package/queue/mongo/index.d.ts +4 -4
  716. package/queue/mongo/index.js +20 -4
  717. package/queue/mongo/index.js.map +1 -1
  718. package/queue/mongo/job.d.ts +3 -3
  719. package/queue/mongo/job.js +2 -1
  720. package/queue/mongo/mongo-job.repository.d.ts +7 -7
  721. package/queue/mongo/mongo-job.repository.js +21 -18
  722. package/queue/mongo/mongo-job.repository.js.map +1 -1
  723. package/queue/mongo/queue.d.ts +6 -6
  724. package/queue/mongo/queue.js +49 -46
  725. package/queue/mongo/queue.js.map +1 -1
  726. package/queue/mongo/queue.provider.d.ts +10 -10
  727. package/queue/mongo/queue.provider.js +20 -16
  728. package/queue/mongo/queue.provider.js.map +1 -1
  729. package/queue/provider.d.ts +1 -1
  730. package/queue/provider.js +5 -1
  731. package/queue/provider.js.map +1 -1
  732. package/queue/queue.d.ts +4 -4
  733. package/queue/queue.js +13 -9
  734. package/queue/queue.js.map +1 -1
  735. package/random/index.d.ts +1 -1
  736. package/random/index.js +17 -1
  737. package/random/index.js.map +1 -1
  738. package/random/number/index.d.ts +3 -3
  739. package/random/number/index.js +19 -3
  740. package/random/number/index.js.map +1 -1
  741. package/random/number/mulberry32.d.ts +1 -1
  742. package/random/number/mulberry32.js +8 -3
  743. package/random/number/mulberry32.js.map +1 -1
  744. package/random/number/seeded.js +5 -1
  745. package/random/number/seeded.js.map +1 -1
  746. package/random/number/sfc32.d.ts +1 -1
  747. package/random/number/sfc32.js +8 -3
  748. package/random/number/sfc32.js.map +1 -1
  749. package/reflection/decorator-data.d.ts +2 -0
  750. package/reflection/decorator-data.js +68 -0
  751. package/reflection/decorator-data.js.map +1 -0
  752. package/reflection/decorators.d.ts +14 -0
  753. package/reflection/decorators.js +53 -0
  754. package/reflection/decorators.js.map +1 -0
  755. package/reflection/index.d.ts +5 -0
  756. package/reflection/index.js +22 -0
  757. package/reflection/index.js.map +1 -0
  758. package/reflection/reflection-data-map.d.ts +10 -0
  759. package/reflection/reflection-data-map.js +40 -0
  760. package/reflection/reflection-data-map.js.map +1 -0
  761. package/reflection/registry.d.ts +58 -0
  762. package/reflection/registry.js +107 -0
  763. package/reflection/registry.js.map +1 -0
  764. package/reflection/types.d.ts +89 -0
  765. package/reflection/types.js +3 -0
  766. package/reflection/types.js.map +1 -0
  767. package/reflection/utils.d.ts +30 -0
  768. package/reflection/utils.js +103 -0
  769. package/reflection/utils.js.map +1 -0
  770. package/rxjs/cast.js +7 -2
  771. package/rxjs/cast.js.map +1 -1
  772. package/rxjs/compat/first-value-from.d.ts +2 -0
  773. package/rxjs/compat/first-value-from.js +9 -0
  774. package/rxjs/compat/first-value-from.js.map +1 -0
  775. package/rxjs/compat/index.d.ts +1 -0
  776. package/rxjs/compat/index.js +18 -0
  777. package/rxjs/compat/index.js.map +1 -0
  778. package/rxjs/index.d.ts +11 -11
  779. package/rxjs/index.js +27 -11
  780. package/rxjs/index.js.map +1 -1
  781. package/rxjs/intersection-observer.js +13 -9
  782. package/rxjs/intersection-observer.js.map +1 -1
  783. package/rxjs/mutation-observer.js +13 -9
  784. package/rxjs/mutation-observer.js.map +1 -1
  785. package/rxjs/noop.js +7 -2
  786. package/rxjs/noop.js.map +1 -1
  787. package/rxjs/performance-observer.js +13 -9
  788. package/rxjs/performance-observer.js.map +1 -1
  789. package/rxjs/resize-observer.js +13 -9
  790. package/rxjs/resize-observer.js.map +1 -1
  791. package/rxjs/retry-backoff.d.ts +1 -1
  792. package/rxjs/retry-backoff.js +18 -13
  793. package/rxjs/retry-backoff.js.map +1 -1
  794. package/rxjs/slow-array.js +10 -5
  795. package/rxjs/slow-array.js.map +1 -1
  796. package/rxjs/teardown.js +7 -3
  797. package/rxjs/teardown.js.map +1 -1
  798. package/rxjs/timing.js +15 -12
  799. package/rxjs/timing.js.map +1 -1
  800. package/rxjs/touch.js +11 -7
  801. package/rxjs/touch.js.map +1 -1
  802. package/schema/array-constraints/index.d.ts +2 -0
  803. package/schema/array-constraints/index.js +19 -0
  804. package/schema/array-constraints/index.js.map +1 -0
  805. package/schema/array-constraints/maximum-length.d.ts +11 -0
  806. package/schema/array-constraints/maximum-length.js +26 -0
  807. package/schema/array-constraints/maximum-length.js.map +1 -0
  808. package/schema/array-constraints/minimum-length.d.ts +11 -0
  809. package/schema/array-constraints/minimum-length.js +26 -0
  810. package/schema/array-constraints/minimum-length.js.map +1 -0
  811. package/schema/coercers/boolean.coercer.d.ts +9 -0
  812. package/schema/coercers/boolean.coercer.js +35 -0
  813. package/schema/coercers/boolean.coercer.js.map +1 -0
  814. package/schema/coercers/date.coercer.d.ts +9 -0
  815. package/schema/coercers/date.coercer.js +24 -0
  816. package/schema/coercers/date.coercer.js.map +1 -0
  817. package/schema/coercers/default-value.coercer.d.ts +9 -0
  818. package/schema/coercers/default-value.coercer.js +16 -0
  819. package/schema/coercers/default-value.coercer.js.map +1 -0
  820. package/schema/coercers/index.d.ts +7 -0
  821. package/schema/coercers/index.js +24 -0
  822. package/schema/coercers/index.js.map +1 -0
  823. package/schema/coercers/number.coercer.d.ts +9 -0
  824. package/schema/coercers/number.coercer.js +22 -0
  825. package/schema/coercers/number.coercer.js.map +1 -0
  826. package/schema/coercers/regexp.coercer.d.ts +11 -0
  827. package/schema/coercers/regexp.coercer.js +24 -0
  828. package/schema/coercers/regexp.coercer.js.map +1 -0
  829. package/schema/coercers/string.coercer.d.ts +9 -0
  830. package/schema/coercers/string.coercer.js +22 -0
  831. package/schema/coercers/string.coercer.js.map +1 -0
  832. package/schema/coercers/uint8-array.coercer.d.ts +9 -0
  833. package/schema/coercers/uint8-array.coercer.js +25 -0
  834. package/schema/coercers/uint8-array.coercer.js.map +1 -0
  835. package/schema/constraints/enumeration.d.ts +13 -0
  836. package/schema/constraints/enumeration.js +29 -0
  837. package/schema/constraints/enumeration.js.map +1 -0
  838. package/schema/constraints/generic.d.ts +22 -0
  839. package/schema/constraints/generic.js +32 -0
  840. package/schema/constraints/generic.js.map +1 -0
  841. package/schema/constraints/index.d.ts +12 -0
  842. package/schema/constraints/index.js +29 -0
  843. package/schema/constraints/index.js.map +1 -0
  844. package/schema/constraints/integer.d.ts +12 -0
  845. package/schema/constraints/integer.js +27 -0
  846. package/schema/constraints/integer.js.map +1 -0
  847. package/schema/constraints/length.d.ts +6 -0
  848. package/schema/constraints/length.js +20 -0
  849. package/schema/constraints/length.js.map +1 -0
  850. package/schema/constraints/literal.d.ts +10 -0
  851. package/schema/constraints/literal.js +26 -0
  852. package/schema/constraints/literal.js.map +1 -0
  853. package/schema/constraints/maximum-date.d.ts +12 -0
  854. package/schema/constraints/maximum-date.js +29 -0
  855. package/schema/constraints/maximum-date.js.map +1 -0
  856. package/schema/constraints/maximum-length.d.ts +12 -0
  857. package/schema/constraints/maximum-length.js +29 -0
  858. package/schema/constraints/maximum-length.js.map +1 -0
  859. package/schema/constraints/maximum.d.ts +12 -0
  860. package/schema/constraints/maximum.js +27 -0
  861. package/schema/constraints/maximum.js.map +1 -0
  862. package/schema/constraints/minimum-date.d.ts +12 -0
  863. package/schema/constraints/minimum-date.js +29 -0
  864. package/schema/constraints/minimum-date.js.map +1 -0
  865. package/schema/constraints/minimum-length.d.ts +12 -0
  866. package/schema/constraints/minimum-length.js +29 -0
  867. package/schema/constraints/minimum-length.js.map +1 -0
  868. package/schema/constraints/minimum.d.ts +12 -0
  869. package/schema/constraints/minimum.js +27 -0
  870. package/schema/constraints/minimum.js.map +1 -0
  871. package/schema/constraints/pattern.d.ts +13 -0
  872. package/schema/constraints/pattern.js +28 -0
  873. package/schema/constraints/pattern.js.map +1 -0
  874. package/schema/decorators/array.d.ts +5 -0
  875. package/schema/decorators/array.js +11 -0
  876. package/schema/decorators/array.js.map +1 -0
  877. package/schema/decorators/coerce.d.ts +2 -0
  878. package/schema/decorators/coerce.js +10 -0
  879. package/schema/decorators/coerce.js.map +1 -0
  880. package/schema/decorators/defaulted.d.ts +4 -0
  881. package/schema/decorators/defaulted.js +11 -0
  882. package/schema/decorators/defaulted.js.map +1 -0
  883. package/schema/decorators/index.d.ts +8 -0
  884. package/schema/decorators/index.js +25 -0
  885. package/schema/decorators/index.js.map +1 -0
  886. package/schema/decorators/nullable.d.ts +2 -0
  887. package/schema/decorators/nullable.js +10 -0
  888. package/schema/decorators/nullable.js.map +1 -0
  889. package/schema/decorators/optional.d.ts +2 -0
  890. package/schema/decorators/optional.js +10 -0
  891. package/schema/decorators/optional.js.map +1 -0
  892. package/schema/decorators/property.d.ts +6 -0
  893. package/schema/decorators/property.js +20 -0
  894. package/schema/decorators/property.js.map +1 -0
  895. package/schema/decorators/type.d.ts +3 -0
  896. package/schema/decorators/type.js +10 -0
  897. package/schema/decorators/type.js.map +1 -0
  898. package/schema/decorators/types.d.ts +18 -0
  899. package/schema/decorators/types.js +3 -0
  900. package/schema/decorators/types.js.map +1 -0
  901. package/schema/decorators/utils.d.ts +10 -0
  902. package/schema/decorators/utils.js +59 -0
  903. package/schema/decorators/utils.js.map +1 -0
  904. package/schema/index.d.ts +10 -4
  905. package/schema/index.js +26 -4
  906. package/schema/index.js.map +1 -1
  907. package/schema/schema.d.ts +18 -0
  908. package/schema/schema.error.d.ts +15 -9
  909. package/schema/schema.error.js +52 -15
  910. package/schema/schema.error.js.map +1 -1
  911. package/schema/schema.js +287 -0
  912. package/schema/schema.js.map +1 -0
  913. package/schema/schemas/any.d.ts +4 -8
  914. package/schema/schemas/any.js +12 -12
  915. package/schema/schemas/any.js.map +1 -1
  916. package/schema/schemas/array.d.ts +8 -13
  917. package/schema/schemas/array.js +19 -43
  918. package/schema/schemas/array.js.map +1 -1
  919. package/schema/schemas/assign.d.ts +8 -0
  920. package/schema/schemas/assign.js +27 -0
  921. package/schema/schemas/assign.js.map +1 -0
  922. package/schema/schemas/boolean.d.ts +5 -9
  923. package/schema/schemas/boolean.js +15 -37
  924. package/schema/schemas/boolean.js.map +1 -1
  925. package/schema/schemas/constraint.d.ts +4 -0
  926. package/schema/schemas/constraint.js +14 -0
  927. package/schema/schemas/constraint.js.map +1 -0
  928. package/schema/schemas/date.d.ts +7 -11
  929. package/schema/schemas/date.js +23 -53
  930. package/schema/schemas/date.js.map +1 -1
  931. package/schema/schemas/defaulted.d.ts +3 -15
  932. package/schema/schemas/defaulted.js +11 -22
  933. package/schema/schemas/defaulted.js.map +1 -1
  934. package/schema/schemas/enumeration.d.ts +6 -21
  935. package/schema/schemas/enumeration.js +17 -49
  936. package/schema/schemas/enumeration.js.map +1 -1
  937. package/schema/schemas/exclude.d.ts +4 -0
  938. package/schema/schemas/exclude.js +17 -0
  939. package/schema/schemas/exclude.js.map +1 -0
  940. package/schema/schemas/index.d.ts +23 -24
  941. package/schema/schemas/index.js +39 -24
  942. package/schema/schemas/index.js.map +1 -1
  943. package/schema/schemas/instance.d.ts +2 -12
  944. package/schema/schemas/instance.js +8 -19
  945. package/schema/schemas/instance.js.map +1 -1
  946. package/schema/schemas/literal.d.ts +4 -11
  947. package/schema/schemas/literal.js +17 -17
  948. package/schema/schemas/literal.js.map +1 -1
  949. package/schema/schemas/nullable.d.ts +2 -13
  950. package/schema/schemas/nullable.js +7 -25
  951. package/schema/schemas/nullable.js.map +1 -1
  952. package/schema/schemas/number.d.ts +7 -14
  953. package/schema/schemas/number.js +31 -44
  954. package/schema/schemas/number.js.map +1 -1
  955. package/schema/schemas/object.d.ts +6 -27
  956. package/schema/schemas/object.js +12 -82
  957. package/schema/schemas/object.js.map +1 -1
  958. package/schema/schemas/optional.d.ts +3 -13
  959. package/schema/schemas/optional.js +7 -25
  960. package/schema/schemas/optional.js.map +1 -1
  961. package/schema/schemas/pick.d.ts +4 -0
  962. package/schema/schemas/pick.js +17 -0
  963. package/schema/schemas/pick.js.map +1 -0
  964. package/schema/schemas/readable-stream.d.ts +4 -9
  965. package/schema/schemas/readable-stream.js +13 -14
  966. package/schema/schemas/readable-stream.js.map +1 -1
  967. package/schema/schemas/record.d.ts +4 -0
  968. package/schema/schemas/record.js +14 -0
  969. package/schema/schemas/record.js.map +1 -0
  970. package/schema/schemas/regexp.d.ts +6 -9
  971. package/schema/schemas/regexp.js +14 -26
  972. package/schema/schemas/regexp.js.map +1 -1
  973. package/schema/schemas/string.d.ts +9 -13
  974. package/schema/schemas/string.js +39 -46
  975. package/schema/schemas/string.js.map +1 -1
  976. package/schema/schemas/transform.d.ts +4 -16
  977. package/schema/schemas/transform.js +10 -35
  978. package/schema/schemas/transform.js.map +1 -1
  979. package/schema/schemas/uint8-array.d.ts +8 -11
  980. package/schema/schemas/uint8-array.js +25 -32
  981. package/schema/schemas/uint8-array.js.map +1 -1
  982. package/schema/schemas/union.d.ts +9 -17
  983. package/schema/schemas/union.js +16 -34
  984. package/schema/schemas/union.js.map +1 -1
  985. package/schema/schemas/unknown.d.ts +4 -8
  986. package/schema/schemas/unknown.js +12 -12
  987. package/schema/schemas/unknown.js.map +1 -1
  988. package/schema/transformers/generic.d.ts +13 -0
  989. package/schema/transformers/generic.js +28 -0
  990. package/schema/transformers/generic.js.map +1 -0
  991. package/schema/transformers/index.d.ts +3 -0
  992. package/schema/transformers/index.js +20 -0
  993. package/schema/transformers/index.js.map +1 -0
  994. package/schema/transformers/lowercase.d.ts +9 -0
  995. package/schema/transformers/lowercase.js +22 -0
  996. package/schema/transformers/lowercase.js.map +1 -0
  997. package/schema/transformers/trim.d.ts +9 -0
  998. package/schema/transformers/trim.js +22 -0
  999. package/schema/transformers/trim.js.map +1 -0
  1000. package/schema/transformers/uppercase.d.ts +9 -0
  1001. package/schema/transformers/uppercase.js +22 -0
  1002. package/schema/transformers/uppercase.js.map +1 -0
  1003. package/schema/types.d.ts +143 -17
  1004. package/schema/types.js +74 -1
  1005. package/schema/types.js.map +1 -1
  1006. package/schema/utils/index.d.ts +2 -0
  1007. package/schema/utils/index.js +19 -0
  1008. package/schema/utils/index.js.map +1 -0
  1009. package/schema/utils/schema.d.ts +8 -0
  1010. package/schema/utils/schema.js +56 -0
  1011. package/schema/utils/schema.js.map +1 -0
  1012. package/schema/utils/value-type.d.ts +3 -0
  1013. package/schema/utils/value-type.js +19 -0
  1014. package/schema/utils/value-type.js.map +1 -0
  1015. package/search-index/elastic/config.d.ts +3 -3
  1016. package/search-index/elastic/config.js +9 -6
  1017. package/search-index/elastic/config.js.map +1 -1
  1018. package/search-index/elastic/index.d.ts +6 -5
  1019. package/search-index/elastic/index.js +22 -5
  1020. package/search-index/elastic/index.js.map +1 -1
  1021. package/search-index/elastic/keyword-rewriter.d.ts +8 -0
  1022. package/search-index/elastic/keyword-rewriter.js +22 -0
  1023. package/search-index/elastic/keyword-rewriter.js.map +1 -0
  1024. package/search-index/elastic/model/elastic-query.d.ts +1 -1
  1025. package/search-index/elastic/model/elastic-query.js +2 -1
  1026. package/search-index/elastic/model/index-mapping.d.ts +3 -3
  1027. package/search-index/elastic/model/index-mapping.js +7 -3
  1028. package/search-index/elastic/model/index-mapping.js.map +1 -1
  1029. package/search-index/elastic/model/index.d.ts +3 -3
  1030. package/search-index/elastic/model/index.js +19 -3
  1031. package/search-index/elastic/model/index.js.map +1 -1
  1032. package/search-index/elastic/model/sort.d.ts +3 -3
  1033. package/search-index/elastic/model/sort.js +2 -1
  1034. package/search-index/elastic/module.d.ts +4 -4
  1035. package/search-index/elastic/module.js +27 -22
  1036. package/search-index/elastic/module.js.map +1 -1
  1037. package/search-index/elastic/query-builder/boolean-query-builder.d.ts +1 -1
  1038. package/search-index/elastic/query-builder/boolean-query-builder.js +5 -1
  1039. package/search-index/elastic/query-builder/boolean-query-builder.js.map +1 -1
  1040. package/search-index/elastic/query-builder/index.d.ts +1 -1
  1041. package/search-index/elastic/query-builder/index.js +17 -1
  1042. package/search-index/elastic/query-builder/index.js.map +1 -1
  1043. package/search-index/elastic/query-converter.d.ts +4 -4
  1044. package/search-index/elastic/query-converter.js +37 -29
  1045. package/search-index/elastic/query-converter.js.map +1 -1
  1046. package/search-index/elastic/search-index.d.ts +13 -11
  1047. package/search-index/elastic/search-index.js +45 -31
  1048. package/search-index/elastic/search-index.js.map +1 -1
  1049. package/search-index/elastic/sort-converter.d.ts +4 -3
  1050. package/search-index/elastic/sort-converter.js +6 -3
  1051. package/search-index/elastic/sort-converter.js.map +1 -1
  1052. package/search-index/elastic/types.d.ts +1 -1
  1053. package/search-index/elastic/types.js +2 -1
  1054. package/search-index/error.d.ts +1 -1
  1055. package/search-index/error.js +8 -4
  1056. package/search-index/error.js.map +1 -1
  1057. package/search-index/index.d.ts +3 -3
  1058. package/search-index/index.js +19 -3
  1059. package/search-index/index.js.map +1 -1
  1060. package/search-index/memory/index.d.ts +1 -1
  1061. package/search-index/memory/index.js +17 -1
  1062. package/search-index/memory/index.js.map +1 -1
  1063. package/search-index/memory/memory-search-index.d.ts +4 -4
  1064. package/search-index/memory/memory-search-index.js +32 -24
  1065. package/search-index/memory/memory-search-index.js.map +1 -1
  1066. package/search-index/search-index.d.ts +4 -2
  1067. package/search-index/search-index.js +8 -4
  1068. package/search-index/search-index.js.map +1 -1
  1069. package/search-index/search-result.d.ts +1 -1
  1070. package/search-index/search-result.js +2 -1
  1071. package/serializer/handlers/binary.d.ts +2 -2
  1072. package/serializer/handlers/binary.js +20 -11
  1073. package/serializer/handlers/binary.js.map +1 -1
  1074. package/serializer/handlers/date.js +7 -2
  1075. package/serializer/handlers/date.js.map +1 -1
  1076. package/serializer/handlers/error.js +7 -2
  1077. package/serializer/handlers/error.js.map +1 -1
  1078. package/serializer/handlers/index.d.ts +7 -7
  1079. package/serializer/handlers/index.js +23 -7
  1080. package/serializer/handlers/index.js.map +1 -1
  1081. package/serializer/handlers/map.d.ts +1 -1
  1082. package/serializer/handlers/map.js +7 -2
  1083. package/serializer/handlers/map.js.map +1 -1
  1084. package/serializer/handlers/regex.js +7 -2
  1085. package/serializer/handlers/regex.js.map +1 -1
  1086. package/serializer/handlers/register.d.ts +1 -1
  1087. package/serializer/handlers/register.js +21 -17
  1088. package/serializer/handlers/register.js.map +1 -1
  1089. package/serializer/handlers/set.d.ts +2 -2
  1090. package/serializer/handlers/set.js +7 -2
  1091. package/serializer/handlers/set.js.map +1 -1
  1092. package/serializer/index.d.ts +4 -4
  1093. package/serializer/index.js +24 -3
  1094. package/serializer/index.js.map +1 -1
  1095. package/serializer/serializable.d.ts +1 -1
  1096. package/serializer/serializable.js +20 -12
  1097. package/serializer/serializable.js.map +1 -1
  1098. package/serializer/serializer.d.ts +2 -2
  1099. package/serializer/serializer.js +41 -33
  1100. package/serializer/serializer.js.map +1 -1
  1101. package/serializer/types.d.ts +1 -1
  1102. package/serializer/types.js +8 -5
  1103. package/serializer/types.js.map +1 -1
  1104. package/tailwind/colors.d.ts +1 -1
  1105. package/tailwind/colors.js +9 -4
  1106. package/tailwind/colors.js.map +1 -1
  1107. package/tailwind/index.d.ts +1 -1
  1108. package/tailwind/index.js +17 -1
  1109. package/tailwind/index.js.map +1 -1
  1110. package/templates/index.d.ts +7 -0
  1111. package/templates/index.js +24 -0
  1112. package/templates/index.js.map +1 -0
  1113. package/templates/module.d.ts +12 -0
  1114. package/templates/module.js +25 -0
  1115. package/templates/module.js.map +1 -0
  1116. package/templates/providers/file-template.provider.base.d.ts +12 -0
  1117. package/templates/providers/file-template.provider.base.js +50 -0
  1118. package/templates/providers/file-template.provider.base.js.map +1 -0
  1119. package/templates/providers/file-template.provider.d.ts +22 -0
  1120. package/templates/providers/file-template.provider.js +47 -0
  1121. package/templates/providers/file-template.provider.js.map +1 -0
  1122. package/templates/providers/memory-template.provider.base.d.ts +9 -0
  1123. package/templates/providers/memory-template.provider.base.js +35 -0
  1124. package/templates/providers/memory-template.provider.base.js.map +1 -0
  1125. package/templates/providers/memory-template.provider.d.ts +4 -0
  1126. package/templates/providers/memory-template.provider.js +18 -0
  1127. package/templates/providers/memory-template.provider.js.map +1 -0
  1128. package/templates/renderers/handlebars.template-renderer.d.ts +11 -0
  1129. package/templates/renderers/handlebars.template-renderer.js +26 -0
  1130. package/templates/renderers/handlebars.template-renderer.js.map +1 -0
  1131. package/templates/renderers/mjml.template-renderer.d.ts +15 -0
  1132. package/templates/renderers/mjml.template-renderer.js +57 -0
  1133. package/templates/renderers/mjml.template-renderer.js.map +1 -0
  1134. package/templates/template-renderer.provider.d.ts +8 -0
  1135. package/templates/template-renderer.provider.js +60 -0
  1136. package/templates/template-renderer.provider.js.map +1 -0
  1137. package/templates/template.model.d.ts +5 -0
  1138. package/templates/template.model.js +3 -0
  1139. package/templates/template.model.js.map +1 -0
  1140. package/templates/template.provider.d.ts +4 -0
  1141. package/templates/template.provider.js +7 -0
  1142. package/templates/template.provider.js.map +1 -0
  1143. package/templates/template.renderer.d.ts +6 -0
  1144. package/templates/template.renderer.js +7 -0
  1145. package/templates/template.renderer.js.map +1 -0
  1146. package/templates/template.service.d.ts +11 -0
  1147. package/templates/template.service.js +39 -0
  1148. package/templates/template.service.js.map +1 -0
  1149. package/templates/tokens.d.ts +3 -0
  1150. package/templates/tokens.js +6 -0
  1151. package/templates/tokens.js.map +1 -0
  1152. package/tokens.d.ts +1 -1
  1153. package/tokens.js +5 -2
  1154. package/tokens.js.map +1 -1
  1155. package/tsconfig.json +3 -7
  1156. package/types/geo-json.d.ts +1 -1
  1157. package/types/geo-json.js +2 -1
  1158. package/types.d.ts +57 -6
  1159. package/types.js +2 -1
  1160. package/types.js.map +1 -1
  1161. package/utils/alphabet.js +5 -2
  1162. package/utils/alphabet.js.map +1 -1
  1163. package/utils/any-iterable-iterator.js +8 -4
  1164. package/utils/any-iterable-iterator.js.map +1 -1
  1165. package/utils/array/array-backtracker.js +12 -8
  1166. package/utils/array/array-backtracker.js.map +1 -1
  1167. package/utils/array/array.js +21 -13
  1168. package/utils/array/array.js.map +1 -1
  1169. package/utils/array/index.d.ts +2 -2
  1170. package/utils/array/index.js +18 -2
  1171. package/utils/array/index.js.map +1 -1
  1172. package/utils/async-iterable-helpers/all.d.ts +2 -2
  1173. package/utils/async-iterable-helpers/all.js +7 -3
  1174. package/utils/async-iterable-helpers/all.js.map +1 -1
  1175. package/utils/async-iterable-helpers/any.d.ts +2 -2
  1176. package/utils/async-iterable-helpers/any.js +7 -3
  1177. package/utils/async-iterable-helpers/any.js.map +1 -1
  1178. package/utils/async-iterable-helpers/assert.d.ts +2 -2
  1179. package/utils/async-iterable-helpers/assert.js +10 -6
  1180. package/utils/async-iterable-helpers/assert.js.map +1 -1
  1181. package/utils/async-iterable-helpers/batch.d.ts +1 -1
  1182. package/utils/async-iterable-helpers/batch.js +7 -3
  1183. package/utils/async-iterable-helpers/batch.js.map +1 -1
  1184. package/utils/async-iterable-helpers/buffer.d.ts +1 -1
  1185. package/utils/async-iterable-helpers/buffer.js +13 -9
  1186. package/utils/async-iterable-helpers/buffer.js.map +1 -1
  1187. package/utils/async-iterable-helpers/concat.d.ts +2 -2
  1188. package/utils/async-iterable-helpers/concat.js +8 -3
  1189. package/utils/async-iterable-helpers/concat.js.map +1 -1
  1190. package/utils/async-iterable-helpers/default-if-empty.d.ts +1 -1
  1191. package/utils/async-iterable-helpers/default-if-empty.js +5 -1
  1192. package/utils/async-iterable-helpers/default-if-empty.js.map +1 -1
  1193. package/utils/async-iterable-helpers/deferred.d.ts +1 -1
  1194. package/utils/async-iterable-helpers/deferred.js +5 -1
  1195. package/utils/async-iterable-helpers/deferred.js.map +1 -1
  1196. package/utils/async-iterable-helpers/difference.d.ts +4 -0
  1197. package/utils/async-iterable-helpers/difference.js +34 -0
  1198. package/utils/async-iterable-helpers/difference.js.map +1 -0
  1199. package/utils/async-iterable-helpers/distinct.d.ts +2 -2
  1200. package/utils/async-iterable-helpers/distinct.js +7 -3
  1201. package/utils/async-iterable-helpers/distinct.js.map +1 -1
  1202. package/utils/async-iterable-helpers/drain.d.ts +1 -1
  1203. package/utils/async-iterable-helpers/drain.js +5 -1
  1204. package/utils/async-iterable-helpers/drain.js.map +1 -1
  1205. package/utils/async-iterable-helpers/filter.d.ts +2 -2
  1206. package/utils/async-iterable-helpers/filter.js +7 -3
  1207. package/utils/async-iterable-helpers/filter.js.map +1 -1
  1208. package/utils/async-iterable-helpers/first-or-default.d.ts +3 -3
  1209. package/utils/async-iterable-helpers/first-or-default.js +7 -3
  1210. package/utils/async-iterable-helpers/first-or-default.js.map +1 -1
  1211. package/utils/async-iterable-helpers/first.d.ts +3 -3
  1212. package/utils/async-iterable-helpers/first.js +7 -3
  1213. package/utils/async-iterable-helpers/first.js.map +1 -1
  1214. package/utils/async-iterable-helpers/for-each.d.ts +2 -2
  1215. package/utils/async-iterable-helpers/for-each.js +7 -3
  1216. package/utils/async-iterable-helpers/for-each.js.map +1 -1
  1217. package/utils/async-iterable-helpers/group-single.d.ts +2 -2
  1218. package/utils/async-iterable-helpers/group-single.js +7 -3
  1219. package/utils/async-iterable-helpers/group-single.js.map +1 -1
  1220. package/utils/async-iterable-helpers/group-to-map.d.ts +2 -2
  1221. package/utils/async-iterable-helpers/group-to-map.js +10 -6
  1222. package/utils/async-iterable-helpers/group-to-map.js.map +1 -1
  1223. package/utils/async-iterable-helpers/group-to-single-map.d.ts +2 -2
  1224. package/utils/async-iterable-helpers/group-to-single-map.js +7 -3
  1225. package/utils/async-iterable-helpers/group-to-single-map.js.map +1 -1
  1226. package/utils/async-iterable-helpers/group.d.ts +2 -2
  1227. package/utils/async-iterable-helpers/group.js +7 -3
  1228. package/utils/async-iterable-helpers/group.js.map +1 -1
  1229. package/utils/async-iterable-helpers/index.d.ts +47 -45
  1230. package/utils/async-iterable-helpers/index.js +63 -45
  1231. package/utils/async-iterable-helpers/index.js.map +1 -1
  1232. package/utils/async-iterable-helpers/interrupt.d.ts +1 -1
  1233. package/utils/async-iterable-helpers/interrupt.js +12 -7
  1234. package/utils/async-iterable-helpers/interrupt.js.map +1 -1
  1235. package/utils/async-iterable-helpers/is-async-iterable.d.ts +1 -1
  1236. package/utils/async-iterable-helpers/is-async-iterable.js +10 -5
  1237. package/utils/async-iterable-helpers/is-async-iterable.js.map +1 -1
  1238. package/utils/async-iterable-helpers/last-or-default.d.ts +3 -3
  1239. package/utils/async-iterable-helpers/last-or-default.js +7 -3
  1240. package/utils/async-iterable-helpers/last-or-default.js.map +1 -1
  1241. package/utils/async-iterable-helpers/last.d.ts +3 -3
  1242. package/utils/async-iterable-helpers/last.js +7 -3
  1243. package/utils/async-iterable-helpers/last.js.map +1 -1
  1244. package/utils/async-iterable-helpers/map-many.d.ts +2 -2
  1245. package/utils/async-iterable-helpers/map-many.js +7 -3
  1246. package/utils/async-iterable-helpers/map-many.js.map +1 -1
  1247. package/utils/async-iterable-helpers/map.d.ts +2 -2
  1248. package/utils/async-iterable-helpers/map.js +7 -3
  1249. package/utils/async-iterable-helpers/map.js.map +1 -1
  1250. package/utils/async-iterable-helpers/materialize.d.ts +1 -1
  1251. package/utils/async-iterable-helpers/materialize.js +9 -5
  1252. package/utils/async-iterable-helpers/materialize.js.map +1 -1
  1253. package/utils/async-iterable-helpers/metadata.d.ts +2 -2
  1254. package/utils/async-iterable-helpers/metadata.js +11 -5
  1255. package/utils/async-iterable-helpers/metadata.js.map +1 -1
  1256. package/utils/async-iterable-helpers/multiplex.d.ts +1 -1
  1257. package/utils/async-iterable-helpers/multiplex.js +8 -4
  1258. package/utils/async-iterable-helpers/multiplex.js.map +1 -1
  1259. package/utils/async-iterable-helpers/observable-iterable.js +13 -9
  1260. package/utils/async-iterable-helpers/observable-iterable.js.map +1 -1
  1261. package/utils/async-iterable-helpers/pairwise.d.ts +1 -1
  1262. package/utils/async-iterable-helpers/pairwise.js +7 -3
  1263. package/utils/async-iterable-helpers/pairwise.js.map +1 -1
  1264. package/utils/async-iterable-helpers/parallel/feed.d.ts +2 -2
  1265. package/utils/async-iterable-helpers/parallel/feed.js +11 -7
  1266. package/utils/async-iterable-helpers/parallel/feed.js.map +1 -1
  1267. package/utils/async-iterable-helpers/parallel/filter.d.ts +2 -2
  1268. package/utils/async-iterable-helpers/parallel/filter.js +7 -3
  1269. package/utils/async-iterable-helpers/parallel/filter.js.map +1 -1
  1270. package/utils/async-iterable-helpers/parallel/for-each.d.ts +2 -2
  1271. package/utils/async-iterable-helpers/parallel/for-each.js +9 -5
  1272. package/utils/async-iterable-helpers/parallel/for-each.js.map +1 -1
  1273. package/utils/async-iterable-helpers/parallel/group.d.ts +2 -2
  1274. package/utils/async-iterable-helpers/parallel/group.js +9 -5
  1275. package/utils/async-iterable-helpers/parallel/group.js.map +1 -1
  1276. package/utils/async-iterable-helpers/parallel/index.d.ts +7 -7
  1277. package/utils/async-iterable-helpers/parallel/index.js +23 -7
  1278. package/utils/async-iterable-helpers/parallel/index.js.map +1 -1
  1279. package/utils/async-iterable-helpers/parallel/map.d.ts +2 -2
  1280. package/utils/async-iterable-helpers/parallel/map.js +7 -3
  1281. package/utils/async-iterable-helpers/parallel/map.js.map +1 -1
  1282. package/utils/async-iterable-helpers/parallel/tap.d.ts +2 -2
  1283. package/utils/async-iterable-helpers/parallel/tap.js +7 -3
  1284. package/utils/async-iterable-helpers/parallel/tap.js.map +1 -1
  1285. package/utils/async-iterable-helpers/parallel/types.js +2 -1
  1286. package/utils/async-iterable-helpers/reduce.d.ts +2 -2
  1287. package/utils/async-iterable-helpers/reduce.js +7 -3
  1288. package/utils/async-iterable-helpers/reduce.js.map +1 -1
  1289. package/utils/async-iterable-helpers/retry.d.ts +2 -2
  1290. package/utils/async-iterable-helpers/retry.js +7 -3
  1291. package/utils/async-iterable-helpers/retry.js.map +1 -1
  1292. package/utils/async-iterable-helpers/single-or-default.d.ts +3 -3
  1293. package/utils/async-iterable-helpers/single-or-default.js +5 -1
  1294. package/utils/async-iterable-helpers/single-or-default.js.map +1 -1
  1295. package/utils/async-iterable-helpers/single.d.ts +3 -3
  1296. package/utils/async-iterable-helpers/single.js +5 -1
  1297. package/utils/async-iterable-helpers/single.js.map +1 -1
  1298. package/utils/async-iterable-helpers/skip.d.ts +1 -1
  1299. package/utils/async-iterable-helpers/skip.js +7 -3
  1300. package/utils/async-iterable-helpers/skip.js.map +1 -1
  1301. package/utils/async-iterable-helpers/sort.d.ts +2 -2
  1302. package/utils/async-iterable-helpers/sort.js +9 -5
  1303. package/utils/async-iterable-helpers/sort.js.map +1 -1
  1304. package/utils/async-iterable-helpers/take-until.d.ts +2 -2
  1305. package/utils/async-iterable-helpers/take-until.js +11 -6
  1306. package/utils/async-iterable-helpers/take-until.js.map +1 -1
  1307. package/utils/async-iterable-helpers/take-while.d.ts +2 -2
  1308. package/utils/async-iterable-helpers/take-while.js +7 -3
  1309. package/utils/async-iterable-helpers/take-while.js.map +1 -1
  1310. package/utils/async-iterable-helpers/take.d.ts +1 -1
  1311. package/utils/async-iterable-helpers/take.js +5 -1
  1312. package/utils/async-iterable-helpers/take.js.map +1 -1
  1313. package/utils/async-iterable-helpers/tap.d.ts +2 -2
  1314. package/utils/async-iterable-helpers/tap.js +7 -3
  1315. package/utils/async-iterable-helpers/tap.js.map +1 -1
  1316. package/utils/async-iterable-helpers/throttle.d.ts +2 -2
  1317. package/utils/async-iterable-helpers/throttle.js +7 -3
  1318. package/utils/async-iterable-helpers/throttle.js.map +1 -1
  1319. package/utils/async-iterable-helpers/to-array.d.ts +1 -1
  1320. package/utils/async-iterable-helpers/to-array.js +7 -3
  1321. package/utils/async-iterable-helpers/to-array.js.map +1 -1
  1322. package/utils/async-iterable-helpers/to-async-iterable-iterator.d.ts +1 -1
  1323. package/utils/async-iterable-helpers/to-async-iterable-iterator.js +9 -3
  1324. package/utils/async-iterable-helpers/to-async-iterable-iterator.js.map +1 -1
  1325. package/utils/async-iterable-helpers/to-async-iterator.d.ts +1 -1
  1326. package/utils/async-iterable-helpers/to-async-iterator.js +14 -9
  1327. package/utils/async-iterable-helpers/to-async-iterator.js.map +1 -1
  1328. package/utils/async-iterable-helpers/to-set.d.ts +2 -0
  1329. package/utils/async-iterable-helpers/to-set.js +16 -0
  1330. package/utils/async-iterable-helpers/to-set.js.map +1 -0
  1331. package/utils/async-iterable-helpers/to-sync-iterable.d.ts +1 -1
  1332. package/utils/async-iterable-helpers/to-sync-iterable.js +9 -5
  1333. package/utils/async-iterable-helpers/to-sync-iterable.js.map +1 -1
  1334. package/utils/async-iterable-helpers/types.d.ts +1 -1
  1335. package/utils/async-iterable-helpers/types.js +2 -1
  1336. package/utils/async-iterable-helpers/while.d.ts +2 -2
  1337. package/utils/async-iterable-helpers/while.js +7 -3
  1338. package/utils/async-iterable-helpers/while.js.map +1 -1
  1339. package/utils/async-iterator-iterable-iterator.js +8 -4
  1340. package/utils/async-iterator-iterable-iterator.js.map +1 -1
  1341. package/utils/backoff.d.ts +2 -2
  1342. package/utils/backoff.js +20 -13
  1343. package/utils/backoff.js.map +1 -1
  1344. package/utils/base64.d.ts +1 -1
  1345. package/utils/base64.js +24 -13
  1346. package/utils/base64.js.map +1 -1
  1347. package/utils/benchmark.js +25 -17
  1348. package/utils/benchmark.js.map +1 -1
  1349. package/utils/binary-search.d.ts +1 -1
  1350. package/utils/binary-search.js +18 -8
  1351. package/utils/binary-search.js.map +1 -1
  1352. package/utils/binary.d.ts +1 -1
  1353. package/utils/binary.js +12 -6
  1354. package/utils/binary.js.map +1 -1
  1355. package/utils/cancellation-token.js +25 -21
  1356. package/utils/cancellation-token.js.map +1 -1
  1357. package/utils/clone.d.ts +1 -0
  1358. package/utils/clone.js +45 -0
  1359. package/utils/clone.js.map +1 -0
  1360. package/utils/comparison.js +17 -7
  1361. package/utils/comparison.js.map +1 -1
  1362. package/utils/compression.d.ts +2 -2
  1363. package/utils/compression.js +25 -18
  1364. package/utils/compression.js.map +1 -1
  1365. package/utils/config-parser.js +18 -11
  1366. package/utils/config-parser.js.map +1 -1
  1367. package/utils/cryptography.d.ts +1 -1
  1368. package/utils/cryptography.js +67 -53
  1369. package/utils/cryptography.js.map +1 -1
  1370. package/utils/date-time.js +55 -33
  1371. package/utils/date-time.js.map +1 -1
  1372. package/utils/encoding.d.ts +1 -1
  1373. package/utils/encoding.js +19 -12
  1374. package/utils/encoding.js.map +1 -1
  1375. package/utils/enum.d.ts +6 -5
  1376. package/utils/enum.js +18 -7
  1377. package/utils/enum.js.map +1 -1
  1378. package/utils/equals.d.ts +2 -2
  1379. package/utils/equals.js +21 -15
  1380. package/utils/equals.js.map +1 -1
  1381. package/utils/event-loop.d.ts +2 -2
  1382. package/utils/event-loop.js +14 -9
  1383. package/utils/event-loop.js.map +1 -1
  1384. package/utils/factory-map.js +5 -1
  1385. package/utils/factory-map.js.map +1 -1
  1386. package/utils/feedable-async-iterable.js +13 -8
  1387. package/utils/feedable-async-iterable.js.map +1 -1
  1388. package/utils/file-reader.js +13 -6
  1389. package/utils/file-reader.js.map +1 -1
  1390. package/utils/format-error.d.ts +20 -0
  1391. package/utils/format-error.js +42 -0
  1392. package/utils/format-error.js.map +1 -0
  1393. package/utils/function/index.d.ts +2 -2
  1394. package/utils/function/index.js +18 -2
  1395. package/utils/function/index.js.map +1 -1
  1396. package/utils/function/memoize.d.ts +6 -2
  1397. package/utils/function/memoize.js +34 -21
  1398. package/utils/function/memoize.js.map +1 -1
  1399. package/utils/function/throttle.js +9 -5
  1400. package/utils/function/throttle.js.map +1 -1
  1401. package/utils/helpers.d.ts +1 -32
  1402. package/utils/helpers.js +34 -163
  1403. package/utils/helpers.js.map +1 -1
  1404. package/utils/image.js +30 -22
  1405. package/utils/image.js.map +1 -1
  1406. package/utils/index.d.ts +45 -42
  1407. package/utils/index.js +61 -42
  1408. package/utils/index.js.map +1 -1
  1409. package/utils/iterable-helpers/all.d.ts +1 -1
  1410. package/utils/iterable-helpers/all.js +5 -1
  1411. package/utils/iterable-helpers/all.js.map +1 -1
  1412. package/utils/iterable-helpers/any.d.ts +1 -1
  1413. package/utils/iterable-helpers/any.js +5 -1
  1414. package/utils/iterable-helpers/any.js.map +1 -1
  1415. package/utils/iterable-helpers/assert.d.ts +1 -1
  1416. package/utils/iterable-helpers/assert.js +7 -3
  1417. package/utils/iterable-helpers/assert.js.map +1 -1
  1418. package/utils/iterable-helpers/batch.js +5 -1
  1419. package/utils/iterable-helpers/batch.js.map +1 -1
  1420. package/utils/iterable-helpers/concat.d.ts +1 -1
  1421. package/utils/iterable-helpers/concat.js +8 -3
  1422. package/utils/iterable-helpers/concat.js.map +1 -1
  1423. package/utils/iterable-helpers/default-if-empty.js +5 -1
  1424. package/utils/iterable-helpers/default-if-empty.js.map +1 -1
  1425. package/utils/iterable-helpers/deferred.js +5 -1
  1426. package/utils/iterable-helpers/deferred.js.map +1 -1
  1427. package/utils/iterable-helpers/difference.d.ts +3 -0
  1428. package/utils/iterable-helpers/difference.js +31 -0
  1429. package/utils/iterable-helpers/difference.js.map +1 -0
  1430. package/utils/iterable-helpers/distinct.d.ts +1 -1
  1431. package/utils/iterable-helpers/distinct.js +5 -1
  1432. package/utils/iterable-helpers/distinct.js.map +1 -1
  1433. package/utils/iterable-helpers/drain.js +5 -1
  1434. package/utils/iterable-helpers/drain.js.map +1 -1
  1435. package/utils/iterable-helpers/filter.d.ts +1 -1
  1436. package/utils/iterable-helpers/filter.js +5 -1
  1437. package/utils/iterable-helpers/filter.js.map +1 -1
  1438. package/utils/iterable-helpers/first-or-default.d.ts +1 -1
  1439. package/utils/iterable-helpers/first-or-default.js +7 -3
  1440. package/utils/iterable-helpers/first-or-default.js.map +1 -1
  1441. package/utils/iterable-helpers/first.d.ts +1 -1
  1442. package/utils/iterable-helpers/first.js +7 -3
  1443. package/utils/iterable-helpers/first.js.map +1 -1
  1444. package/utils/iterable-helpers/for-each.d.ts +1 -1
  1445. package/utils/iterable-helpers/for-each.js +5 -1
  1446. package/utils/iterable-helpers/for-each.js.map +1 -1
  1447. package/utils/iterable-helpers/group-single.d.ts +1 -1
  1448. package/utils/iterable-helpers/group-single.js +7 -3
  1449. package/utils/iterable-helpers/group-single.js.map +1 -1
  1450. package/utils/iterable-helpers/group-to-map.d.ts +1 -1
  1451. package/utils/iterable-helpers/group-to-map.js +7 -3
  1452. package/utils/iterable-helpers/group-to-map.js.map +1 -1
  1453. package/utils/iterable-helpers/group-to-single-map.d.ts +1 -1
  1454. package/utils/iterable-helpers/group-to-single-map.js +5 -1
  1455. package/utils/iterable-helpers/group-to-single-map.js.map +1 -1
  1456. package/utils/iterable-helpers/group.d.ts +1 -1
  1457. package/utils/iterable-helpers/group.js +7 -3
  1458. package/utils/iterable-helpers/group.js.map +1 -1
  1459. package/utils/iterable-helpers/index.d.ts +38 -37
  1460. package/utils/iterable-helpers/index.js +54 -37
  1461. package/utils/iterable-helpers/index.js.map +1 -1
  1462. package/utils/iterable-helpers/is-iterable.d.ts +1 -1
  1463. package/utils/iterable-helpers/is-iterable.js +10 -5
  1464. package/utils/iterable-helpers/is-iterable.js.map +1 -1
  1465. package/utils/iterable-helpers/last-or-default.d.ts +1 -1
  1466. package/utils/iterable-helpers/last-or-default.js +7 -3
  1467. package/utils/iterable-helpers/last-or-default.js.map +1 -1
  1468. package/utils/iterable-helpers/last.d.ts +1 -1
  1469. package/utils/iterable-helpers/last.js +7 -3
  1470. package/utils/iterable-helpers/last.js.map +1 -1
  1471. package/utils/iterable-helpers/map-many.d.ts +1 -1
  1472. package/utils/iterable-helpers/map-many.js +5 -1
  1473. package/utils/iterable-helpers/map-many.js.map +1 -1
  1474. package/utils/iterable-helpers/map.d.ts +1 -1
  1475. package/utils/iterable-helpers/map.js +5 -1
  1476. package/utils/iterable-helpers/map.js.map +1 -1
  1477. package/utils/iterable-helpers/materialize.js +5 -1
  1478. package/utils/iterable-helpers/materialize.js.map +1 -1
  1479. package/utils/iterable-helpers/metadata.d.ts +1 -1
  1480. package/utils/iterable-helpers/metadata.js +5 -1
  1481. package/utils/iterable-helpers/metadata.js.map +1 -1
  1482. package/utils/iterable-helpers/pairwise.js +5 -1
  1483. package/utils/iterable-helpers/pairwise.js.map +1 -1
  1484. package/utils/iterable-helpers/range.js +5 -1
  1485. package/utils/iterable-helpers/range.js.map +1 -1
  1486. package/utils/iterable-helpers/reduce.d.ts +1 -1
  1487. package/utils/iterable-helpers/reduce.js +5 -1
  1488. package/utils/iterable-helpers/reduce.js.map +1 -1
  1489. package/utils/iterable-helpers/single-or-default.d.ts +1 -1
  1490. package/utils/iterable-helpers/single-or-default.js +5 -1
  1491. package/utils/iterable-helpers/single-or-default.js.map +1 -1
  1492. package/utils/iterable-helpers/single.d.ts +1 -1
  1493. package/utils/iterable-helpers/single.js +5 -1
  1494. package/utils/iterable-helpers/single.js.map +1 -1
  1495. package/utils/iterable-helpers/skip.js +5 -1
  1496. package/utils/iterable-helpers/skip.js.map +1 -1
  1497. package/utils/iterable-helpers/sort.d.ts +1 -1
  1498. package/utils/iterable-helpers/sort.js +6 -2
  1499. package/utils/iterable-helpers/sort.js.map +1 -1
  1500. package/utils/iterable-helpers/take-until.d.ts +1 -1
  1501. package/utils/iterable-helpers/take-until.js +5 -1
  1502. package/utils/iterable-helpers/take-until.js.map +1 -1
  1503. package/utils/iterable-helpers/take-while.d.ts +1 -1
  1504. package/utils/iterable-helpers/take-while.js +5 -1
  1505. package/utils/iterable-helpers/take-while.js.map +1 -1
  1506. package/utils/iterable-helpers/take.js +5 -1
  1507. package/utils/iterable-helpers/take.js.map +1 -1
  1508. package/utils/iterable-helpers/tap.d.ts +1 -1
  1509. package/utils/iterable-helpers/tap.js +5 -1
  1510. package/utils/iterable-helpers/tap.js.map +1 -1
  1511. package/utils/iterable-helpers/types.js +2 -1
  1512. package/utils/iterable-helpers/while.d.ts +1 -1
  1513. package/utils/iterable-helpers/while.js +5 -1
  1514. package/utils/iterable-helpers/while.js.map +1 -1
  1515. package/utils/jwt.d.ts +2 -2
  1516. package/utils/jwt.js +31 -26
  1517. package/utils/jwt.js.map +1 -1
  1518. package/utils/map.js +15 -7
  1519. package/utils/map.js.map +1 -1
  1520. package/utils/math.js +17 -7
  1521. package/utils/math.js.map +1 -1
  1522. package/utils/merge.d.ts +5 -0
  1523. package/utils/merge.js +32 -0
  1524. package/utils/merge.js.map +1 -0
  1525. package/utils/middleware.js +7 -2
  1526. package/utils/middleware.js.map +1 -1
  1527. package/utils/moving-metric.js +9 -5
  1528. package/utils/moving-metric.js.map +1 -1
  1529. package/utils/noop.js +5 -1
  1530. package/utils/noop.js.map +1 -1
  1531. package/utils/object/decycle.d.ts +16 -0
  1532. package/utils/object/decycle.js +81 -0
  1533. package/utils/object/decycle.js.map +1 -0
  1534. package/utils/object/dereference.js +13 -7
  1535. package/utils/object/dereference.js.map +1 -1
  1536. package/utils/object/forward-ref.js +15 -12
  1537. package/utils/object/forward-ref.js.map +1 -1
  1538. package/utils/object/index.d.ts +7 -6
  1539. package/utils/object/index.js +23 -6
  1540. package/utils/object/index.js.map +1 -1
  1541. package/utils/object/lazy-property.d.ts +1 -1
  1542. package/utils/object/lazy-property.js +22 -15
  1543. package/utils/object/lazy-property.js.map +1 -1
  1544. package/utils/object/merge.js +17 -13
  1545. package/utils/object/merge.js.map +1 -1
  1546. package/utils/object/object.d.ts +10 -2
  1547. package/utils/object/object.js +57 -25
  1548. package/utils/object/object.js.map +1 -1
  1549. package/utils/object/property-name.d.ts +1 -1
  1550. package/utils/object/property-name.js +23 -16
  1551. package/utils/object/property-name.js.map +1 -1
  1552. package/utils/ordered-feedable-async-iterable.d.ts +1 -1
  1553. package/utils/ordered-feedable-async-iterable.js +7 -3
  1554. package/utils/ordered-feedable-async-iterable.js.map +1 -1
  1555. package/utils/patch-worker.d.ts +2 -2
  1556. package/utils/patch-worker.js +24 -19
  1557. package/utils/patch-worker.js.map +1 -1
  1558. package/utils/patterns.d.ts +1 -1
  1559. package/utils/patterns.js +8 -4
  1560. package/utils/patterns.js.map +1 -1
  1561. package/utils/periodic-reporter.js +13 -9
  1562. package/utils/periodic-reporter.js.map +1 -1
  1563. package/utils/periodic-sampler.js +19 -15
  1564. package/utils/periodic-sampler.js.map +1 -1
  1565. package/utils/provider-function-iterable.js +7 -3
  1566. package/utils/provider-function-iterable.js.map +1 -1
  1567. package/utils/random.js +8 -3
  1568. package/utils/random.js.map +1 -1
  1569. package/utils/reflection.d.ts +1 -1
  1570. package/utils/reflection.js +16 -7
  1571. package/utils/reflection.js.map +1 -1
  1572. package/utils/set.js +15 -7
  1573. package/utils/set.js.map +1 -1
  1574. package/utils/singleton.js +7 -3
  1575. package/utils/singleton.js.map +1 -1
  1576. package/utils/sort.js +12 -5
  1577. package/utils/sort.js.map +1 -1
  1578. package/utils/stream/async-iterable-readable.d.ts +3 -3
  1579. package/utils/stream/async-iterable-readable.js +10 -6
  1580. package/utils/stream/async-iterable-readable.js.map +1 -1
  1581. package/utils/stream/async-writable-stream.d.ts +3 -3
  1582. package/utils/stream/async-writable-stream.js +7 -3
  1583. package/utils/stream/async-writable-stream.js.map +1 -1
  1584. package/utils/stream/index.d.ts +5 -5
  1585. package/utils/stream/index.js +21 -5
  1586. package/utils/stream/index.js.map +1 -1
  1587. package/utils/stream/stream-helper-types.d.ts +1 -1
  1588. package/utils/stream/stream-helper-types.js +2 -1
  1589. package/utils/stream/stream-reader.js +16 -13
  1590. package/utils/stream/stream-reader.js.map +1 -1
  1591. package/utils/stream/typed-readable.d.ts +2 -2
  1592. package/utils/stream/typed-readable.js +5 -2
  1593. package/utils/stream/typed-readable.js.map +1 -1
  1594. package/utils/timer.js +5 -1
  1595. package/utils/timer.js.map +1 -1
  1596. package/utils/timing.d.ts +1 -1
  1597. package/utils/timing.js +23 -12
  1598. package/utils/timing.js.map +1 -1
  1599. package/utils/type-guards.d.ts +10 -4
  1600. package/utils/type-guards.js +434 -209
  1601. package/utils/type-guards.js.map +1 -1
  1602. package/utils/type-of.js +7 -3
  1603. package/utils/type-of.js.map +1 -1
  1604. package/utils/units.js +55 -51
  1605. package/utils/units.js.map +1 -1
  1606. package/utils/url-builder.d.ts +1 -1
  1607. package/utils/url-builder.js +16 -11
  1608. package/utils/url-builder.js.map +1 -1
  1609. package/utils/z-base32.d.ts +1 -1
  1610. package/utils/z-base32.js +11 -6
  1611. package/utils/z-base32.js.map +1 -1
  1612. package/database/mongo/model.js +0 -71
  1613. package/database/mongo/model.js.map +0 -1
  1614. package/database/mongo/mongo-entity.repository.js.map +0 -1
  1615. package/database/mongo/simple-entity.repository.d.ts +0 -7
  1616. package/database/mongo/simple-entity.repository.js +0 -7
  1617. package/database/mongo/simple-entity.repository.js.map +0 -1
  1618. package/instance-provider.d.ts +0 -17
  1619. package/instance-provider.js +0 -48
  1620. package/instance-provider.js.map +0 -1
  1621. package/lock/mongo/mongo-lock.repository.js.map +0 -1
  1622. package/module/modules/old-web-server.module.d.ts +0 -22
  1623. package/module/modules/old-web-server.module.js +0 -33
  1624. package/module/modules/old-web-server.module.js.map +0 -1
  1625. package/old-api/endpoint.d.ts +0 -5
  1626. package/old-api/endpoint.js +0 -15
  1627. package/old-api/endpoint.js.map +0 -1
  1628. package/old-api/endpoints/echo.endpoint.d.ts +0 -2
  1629. package/old-api/endpoints/echo.endpoint.js +0 -2
  1630. package/old-api/endpoints/echo.endpoint.js.map +0 -1
  1631. package/old-api/endpoints/index.d.ts +0 -1
  1632. package/old-api/endpoints/index.js +0 -2
  1633. package/old-api/endpoints/index.js.map +0 -1
  1634. package/old-api/http-api.d.ts +0 -63
  1635. package/old-api/http-api.js +0 -258
  1636. package/old-api/http-api.js.map +0 -1
  1637. package/old-api/index.d.ts +0 -3
  1638. package/old-api/index.js +0 -4
  1639. package/old-api/index.js.map +0 -1
  1640. package/old-api/validation/index.d.ts +0 -1
  1641. package/old-api/validation/index.js +0 -2
  1642. package/old-api/validation/index.js.map +0 -1
  1643. package/old-api/validation/types.d.ts +0 -6
  1644. package/old-api/validation/types.js +0 -3
  1645. package/old-api/validation/types.js.map +0 -1
  1646. package/old-api/validation/validators/index.d.ts +0 -1
  1647. package/old-api/validation/validators/index.js +0 -2
  1648. package/old-api/validation/validators/index.js.map +0 -1
  1649. package/old-api/validation/validators/noop.d.ts +0 -2
  1650. package/old-api/validation/validators/noop.js +0 -4
  1651. package/old-api/validation/validators/noop.js.map +0 -1
  1652. package/old-api/validation/validators/superstruct.d.ts +0 -14
  1653. package/old-api/validation/validators/superstruct.js +0 -55
  1654. package/old-api/validation/validators/superstruct.js.map +0 -1
  1655. package/old-api/validation/validators/yup.d.ts +0 -7
  1656. package/old-api/validation/validators/yup.js +0 -52
  1657. package/old-api/validation/validators/yup.js.map +0 -1
  1658. package/schema/schema.validator.d.ts +0 -40
  1659. package/schema/schema.validator.js +0 -71
  1660. package/schema/schema.validator.js.map +0 -1
  1661. package/schema/schemas/async-iterable.d.ts +0 -13
  1662. package/schema/schemas/async-iterable.js +0 -35
  1663. package/schema/schemas/async-iterable.js.map +0 -1
  1664. package/schema/schemas/iterable.d.ts +0 -13
  1665. package/schema/schemas/iterable.js +0 -35
  1666. package/schema/schemas/iterable.js.map +0 -1
  1667. package/schema/schemas/never.d.ts +0 -9
  1668. package/schema/schemas/never.js +0 -17
  1669. package/schema/schemas/never.js.map +0 -1
  1670. package/schema/schemas/preprocess.d.ts +0 -16
  1671. package/schema/schemas/preprocess.js +0 -30
  1672. package/schema/schemas/preprocess.js.map +0 -1
  1673. package/schema/schemas/refine.d.ts +0 -24
  1674. package/schema/schemas/refine.js +0 -47
  1675. package/schema/schemas/refine.js.map +0 -1
@@ -1,7 +1,11 @@
1
- export function serializeMap(map) {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deserializeMap = exports.serializeMap = void 0;
4
+ function serializeMap(map) {
2
5
  return [...map.entries()];
3
6
  }
4
- export function deserializeMap(data, tryDereference) {
7
+ exports.serializeMap = serializeMap;
8
+ function deserializeMap(data, tryDereference) {
5
9
  const map = new Map();
6
10
  for (let [key, value] of data) {
7
11
  const hasKey = tryDereference(key, (dereferenced) => {
@@ -17,4 +21,5 @@ export function deserializeMap(data, tryDereference) {
17
21
  }
18
22
  return map;
19
23
  }
24
+ exports.deserializeMap = deserializeMap;
20
25
  //# sourceMappingURL=map.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"map.js","sourceRoot":"","sources":["../../../source/serializer/handlers/map.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,YAAY,CAAC,GAAkB;IAC7C,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;AAC5B,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,IAAa,EAAE,cAA8B;IAC1E,MAAM,GAAG,GAAG,IAAI,GAAG,EAAE,CAAC;IAEtB,KAAK,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,IAAI,EAAE;QAC7B,MAAM,MAAM,GAAG,cAAc,CAAC,GAAG,EAAE,CAAC,YAAY,EAAE,EAAE;YAClD,GAAG,GAAG,YAAY,CAAC;YAEnB,IAAI,CAAC,QAAQ,EAAE,EAAE,8DAA8D;gBAC7E,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;aACrB;QACH,CAAC,CAAC,CAAC;QAEH,MAAM,QAAQ,GAAG,cAAc,CAAC,KAAK,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC,CAAC;QAErF,IAAI,CAAC,MAAM,IAAI,CAAC,QAAQ,EAAE;YACxB,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;SACrB;KACF;IAED,OAAO,GAAG,CAAC;AACb,CAAC"}
1
+ {"version":3,"file":"map.js","sourceRoot":"","sources":["../../../source/serializer/handlers/map.ts"],"names":[],"mappings":";;;AAIA,SAAgB,YAAY,CAAC,GAAkB;IAC7C,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;AAC5B,CAAC;AAFD,oCAEC;AAED,SAAgB,cAAc,CAAC,IAAa,EAAE,cAA8B;IAC1E,MAAM,GAAG,GAAG,IAAI,GAAG,EAAE,CAAC;IAEtB,KAAK,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,IAAI,EAAE;QAC7B,MAAM,MAAM,GAAG,cAAc,CAAC,GAAG,EAAE,CAAC,YAAY,EAAE,EAAE;YAClD,GAAG,GAAG,YAAY,CAAC;YAEnB,IAAI,CAAC,QAAQ,EAAE,EAAE,8DAA8D;gBAC7E,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;aACrB;QACH,CAAC,CAAC,CAAC;QAEH,MAAM,QAAQ,GAAG,cAAc,CAAC,KAAK,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC,CAAC;QAErF,IAAI,CAAC,MAAM,IAAI,CAAC,QAAQ,EAAE;YACxB,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;SACrB;KACF;IAED,OAAO,GAAG,CAAC;AACb,CAAC;AApBD,wCAoBC"}
@@ -1,10 +1,15 @@
1
- export function serializeRegExp(regex) {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deserializeRegExp = exports.serializeRegExp = void 0;
4
+ function serializeRegExp(regex) {
2
5
  return {
3
6
  pattern: regex.source,
4
7
  flags: regex.flags
5
8
  };
6
9
  }
7
- export function deserializeRegExp(data) {
10
+ exports.serializeRegExp = serializeRegExp;
11
+ function deserializeRegExp(data) {
8
12
  return new RegExp(data.pattern, data.flags);
9
13
  }
14
+ exports.deserializeRegExp = deserializeRegExp;
10
15
  //# sourceMappingURL=regex.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"regex.js","sourceRoot":"","sources":["../../../source/serializer/handlers/regex.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,eAAe,CAAC,KAAa;IAC3C,OAAO;QACL,OAAO,EAAE,KAAK,CAAC,MAAM;QACrB,KAAK,EAAE,KAAK,CAAC,KAAK;KACnB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,IAAgB;IAChD,OAAO,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;AAC9C,CAAC"}
1
+ {"version":3,"file":"regex.js","sourceRoot":"","sources":["../../../source/serializer/handlers/regex.ts"],"names":[],"mappings":";;;AAKA,SAAgB,eAAe,CAAC,KAAa;IAC3C,OAAO;QACL,OAAO,EAAE,KAAK,CAAC,MAAM;QACrB,KAAK,EAAE,KAAK,CAAC,KAAK;KACnB,CAAC;AACJ,CAAC;AALD,0CAKC;AAED,SAAgB,iBAAiB,CAAC,IAAgB;IAChD,OAAO,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;AAC9C,CAAC;AAFD,8CAEC"}
@@ -1,2 +1,2 @@
1
- import type { registerSerializer } from '../serializable.js';
1
+ import type { registerSerializer } from '../serializable';
2
2
  export declare function registerDefaultSerializers(register: typeof registerSerializer): void;
@@ -1,10 +1,13 @@
1
- import { isDefined } from "../../utils/type-guards.js";
2
- import { deserializeArrayBuffer, deserializeBuffer, getTypedArrayDeserializer, serializeArrayBuffer, serializeBuffer, serializeTypedArray } from './binary.js';
3
- import { deserializeDate, serializeDate } from './date.js';
4
- import { deserializeError, serializeError } from './error.js';
5
- import { deserializeMap, serializeMap } from './map.js';
6
- import { deserializeRegExp, serializeRegExp } from './regex.js';
7
- import { deserializeSet, serializeSet } from './set.js';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.registerDefaultSerializers = void 0;
4
+ const type_guards_1 = require("../../utils/type-guards");
5
+ const binary_1 = require("./binary");
6
+ const date_1 = require("./date");
7
+ const error_1 = require("./error");
8
+ const map_1 = require("./map");
9
+ const regex_1 = require("./regex");
10
+ const set_1 = require("./set");
8
11
  const typedArrays = [
9
12
  globalThis.Int8Array,
10
13
  globalThis.Uint8Array,
@@ -17,19 +20,20 @@ const typedArrays = [
17
20
  globalThis.Float64Array,
18
21
  globalThis.BigInt64Array,
19
22
  globalThis.BigUint64Array
20
- ].filter(isDefined);
21
- export function registerDefaultSerializers(register) {
22
- register(Set, 'Set', serializeSet, deserializeSet);
23
- register(Map, 'Map', serializeMap, deserializeMap);
24
- register(RegExp, 'RegExp', serializeRegExp, deserializeRegExp);
25
- register(Date, 'Date', serializeDate, deserializeDate);
26
- register(Error, 'Error', serializeError, deserializeError);
27
- register(ArrayBuffer, 'ArrayBuffer', serializeArrayBuffer, deserializeArrayBuffer);
23
+ ].filter(type_guards_1.isDefined);
24
+ function registerDefaultSerializers(register) {
25
+ register(Set, 'Set', set_1.serializeSet, set_1.deserializeSet);
26
+ register(Map, 'Map', map_1.serializeMap, map_1.deserializeMap);
27
+ register(RegExp, 'RegExp', regex_1.serializeRegExp, regex_1.deserializeRegExp);
28
+ register(Date, 'Date', date_1.serializeDate, date_1.deserializeDate);
29
+ register(Error, 'Error', error_1.serializeError, error_1.deserializeError);
30
+ register(ArrayBuffer, 'ArrayBuffer', binary_1.serializeArrayBuffer, binary_1.deserializeArrayBuffer);
28
31
  for (const typedArray of typedArrays) {
29
- register(typedArray, typedArray.name, serializeTypedArray, getTypedArrayDeserializer(typedArray));
32
+ register(typedArray, typedArray.name, binary_1.serializeTypedArray, (0, binary_1.getTypedArrayDeserializer)(typedArray));
30
33
  }
31
34
  if (typeof Buffer != 'undefined') {
32
- register(Buffer, 'Buffer', serializeBuffer, deserializeBuffer);
35
+ register(Buffer, 'Buffer', binary_1.serializeBuffer, binary_1.deserializeBuffer);
33
36
  }
34
37
  }
38
+ exports.registerDefaultSerializers = registerDefaultSerializers;
35
39
  //# sourceMappingURL=register.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"register.js","sourceRoot":"","sources":["../../../source/serializer/handlers/register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,mCAA+B;AAEnD,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC/J,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,WAAW,GAAG;IAClB,UAAU,CAAC,SAAS;IACpB,UAAU,CAAC,UAAU;IACrB,UAAU,CAAC,iBAAiB;IAC5B,UAAU,CAAC,UAAU;IACrB,UAAU,CAAC,WAAW;IACtB,UAAU,CAAC,UAAU;IACrB,UAAU,CAAC,WAAW;IACtB,UAAU,CAAC,YAAY;IACvB,UAAU,CAAC,YAAY;IACvB,UAAU,CAAC,aAAa;IACxB,UAAU,CAAC,cAAc;CAC1B,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;AAEpB,MAAM,UAAU,0BAA0B,CAAC,QAAmC;IAC5E,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,YAAY,EAAE,cAAc,CAAC,CAAC;IACnD,QAAQ,CAAC,GAAG,E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AE,KAAK,EAAE,kBAAY,EAAE,oBAAc,CAAC,CAAC;IACnD,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,kBAAY,EAAE,oBAAc,CAAC,CAAC;IACnD,QAAQ,CAAC,MAAM,EAAE,QAAQ,EAAE,uBAAe,EAAE,yBAAiB,CAAC,CAAC;IAC/D,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,oBAAa,EAAE,sBAAe,CAAC,CAAC;IACvD,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,sBAAc,EAAE,wBAAgB,CAAC,CAAC;IAC3D,QAAQ,CAAC,WAAW,EAAE,aAAa,EAAE,6BAAoB,EAAE,+BAAsB,CAAC,CAAC;IAEnF,KAAK,MAAM,UAAU,IAAI,WAAW,EAAE;QACpC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC,IAAI,EAAE,4BAAmB,EAAE,IAAA,kCAAyB,EAAC,UAAU,CAAC,CAAC,CAAC;KACnG;IAED,IAAI,OAAO,MAAM,IAAI,WAAW,EAAE;QAChC,QAAQ,CAAC,MAAM,EAAE,QAAQ,EAAE,wBAAe,EAAE,0BAAiB,CAAC,CAAC;KAChE;AACH,CAAC;AAfD,gEAeC"}
@@ -1,5 +1,5 @@
1
- import type { TryDereference } from '../serializable.js';
2
- import type { Serialized } from '../types.js';
1
+ import type { TryDereference } from '../serializable';
2
+ import type { Serialized } from '../types';
3
3
  declare type SetData = Serialized<any>[];
4
4
  export declare function serializeSet(set: Set<any>): SetData;
5
5
  export declare function deserializeSet(data: SetData, tryDereference: TryDereference): Set<any>;
@@ -1,8 +1,12 @@
1
- export function serializeSet(set) {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deserializeSet = exports.serializeSet = void 0;
4
+ function serializeSet(set) {
2
5
  const data = [...set.values()];
3
6
  return data;
4
7
  }
5
- export function deserializeSet(data, tryDereference) {
8
+ exports.serializeSet = serializeSet;
9
+ function deserializeSet(data, tryDereference) {
6
10
  const set = new Set();
7
11
  for (const item of data) {
8
12
  const has = tryDereference(item, (dereferenced) => {
@@ -14,4 +18,5 @@ export function deserializeSet(data, tryDereference) {
14
18
  }
15
19
  return set;
16
20
  }
21
+ exports.deserializeSet = deserializeSet;
17
22
  //# sourceMappingURL=set.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"set.js","sourceRoot":"","sources":["../../../source/serializer/handlers/set.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,YAAY,CAAC,GAAa;IACxC,MAAM,IAAI,GAAY,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;IACxC,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,IAAa,EAAE,cAA8B;IAC1E,MAAM,GAAG,GAAG,IAAI,GAAG,EAAW,CAAC;IAE/B,KAAK,MAAM,IAAI,IAAI,IAAI,EAAE;QACvB,MAAM,GAAG,GAAG,cAAc,CAAC,IAAI,EAAE,CAAC,YAAY,EAAE,EAAE;YAChD,GAAG,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QACxB,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,GAAG,EAAE;YACR,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;SACf;KACF;IAED,OAAO,GAAG,CAAC;AACb,CAAC"}
1
+ {"version":3,"file":"set.js","sourceRoot":"","sources":["../../../source/serializer/handlers/set.ts"],"names":[],"mappings":";;;AAKA,SAAgB,YAAY,CAAC,GAAa;IACxC,MAAM,IAAI,GAAY,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;IACxC,OAAO,IAAI,CAAC;AACd,CAAC;AAHD,oCAGC;AAED,SAAgB,cAAc,CAAC,IAAa,EAAE,cAA8B;IAC1E,MAAM,GAAG,GAAG,IAAI,GAAG,EAAW,CAAC;IAE/B,KAAK,MAAM,IAAI,IAAI,IAAI,EAAE;QACvB,MAAM,GAAG,GAAG,cAAc,CAAC,IAAI,EAAE,CAAC,YAAY,EAAE,EAAE;YAChD,GAAG,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QACxB,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,GAAG,EAAE;YACR,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;SACf;KACF;IAED,OAAO,GAAG,CAAC;AACb,CAAC;AAdD,wCAcC"}
@@ -1,4 +1,4 @@
1
- export { registerSerializable, registerSerializer, Serializable, serializable } from './serializable.js';
2
- export type { DereferenceCallback, SerializableType, TryDereference, SerializeFunction, DeserializeFunction } from './serializable.js';
3
- export * from './serializer.js';
4
- export * from './types.js';
1
+ export { registerSerializable, registerSerializer, Serializable, serializable } from './serializable';
2
+ export type { DereferenceCallback, SerializableType, TryDereference, SerializeFunction, DeserializeFunction } from './serializable';
3
+ export * from './serializer';
4
+ export * from './types';
@@ -1,4 +1,25 @@
1
- export { registerSerializable, registerSerializer, Serializable, serializable } from './serializable.js';
2
- export * from './serializer.js';
3
- export * from './types.js';
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.serializable = exports.Serializable = exports.registerSerializer = exports.registerSerializable = void 0;
18
+ var serializable_1 = require("./serializable");
19
+ Object.defineProperty(exports, "registerSerializable", { enumerable: true, get: function () { return serializable_1.registerSerializable; } });
20
+ Object.defineProperty(exports, "registerSerializer", { enumerable: true, get: function () { return serializable_1.registerSerializer; } });
21
+ Object.defineProperty(exports, "Serializable", { enumerable: true, get: function () { return serializable_1.Serializable; } });
22
+ Object.defineProperty(exports, "serializable", { enumerable: true, get: function () { return serializable_1.serializable; } });
23
+ __exportStar(require("./serializer"), exports);
24
+ __exportStar(require("./types"), exports);
4
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../source/serializer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEzG,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../source/serializer/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,+CAAsG;AAA7F,oHAAA,oBAAoB,OAAA;AAAE,kHAAA,kBAAkB,OAAA;AAAE,4GAAA,YAAY,OAAA;AAAE,4GAAA,YAAY,OAAA;AAE7E,+CAA6B;AAC7B,0CAAwB"}
@@ -1,4 +1,4 @@
1
- import type { Constructor, Type } from "../types.js";
1
+ import type { Constructor, Type } from "../types";
2
2
  export declare const Serializable: {
3
3
  readonly serialize: unique symbol;
4
4
  readonly deserialize: unique symbol;
@@ -1,39 +1,46 @@
1
- import { isDefined, isFunction } from "../utils/type-guards.js";
2
- import { registerDefaultSerializers } from './handlers/register.js';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.registerSerializer = exports.registerSerializable = exports.serializable = exports.getSerializerByTypeName = exports.getTypeNameByConstructor = exports.Serializable = void 0;
4
+ const type_guards_1 = require("../utils/type-guards");
5
+ const handlers_1 = require("./handlers");
3
6
  // eslint-disable-next-line @typescript-eslint/naming-convention
4
- export const Serializable = {
7
+ exports.Serializable = {
5
8
  serialize: Symbol('serialize'),
6
9
  deserialize: Symbol('deserialize')
7
10
  };
8
11
  const constructorTypeNameMap = new Map();
9
12
  const typeNameSerializerMap = new Map();
10
- export function getTypeNameByConstructor(constructor) {
13
+ function getTypeNameByConstructor(constructor) {
11
14
  return constructorTypeNameMap.get(constructor);
12
15
  }
13
- export function getSerializerByTypeName(typeName) {
16
+ exports.getTypeNameByConstructor = getTypeNameByConstructor;
17
+ function getSerializerByTypeName(typeName) {
14
18
  return typeNameSerializerMap.get(typeName);
15
19
  }
16
- export function serializable(typeName) {
20
+ exports.getSerializerByTypeName = getSerializerByTypeName;
21
+ function serializable(typeName) {
17
22
  function serializableDecorator(type) {
18
23
  registerSerializable(type, typeName);
19
24
  }
20
25
  return serializableDecorator;
21
26
  }
27
+ exports.serializable = serializable;
22
28
  /**
23
29
  * register a serializable type for serialization
24
30
  * @param type class implementing {@link Serializable}
25
31
  */
26
- export function registerSerializable(type, typeName) {
27
- const { [Serializable.serialize]: serializer, [Serializable.deserialize]: deserializer } = type.prototype;
28
- if (!isFunction(serializer) || !isFunction(deserializer)) {
32
+ function registerSerializable(type, typeName) {
33
+ const { [exports.Serializable.serialize]: serializer, [exports.Serializable.deserialize]: deserializer } = type.prototype;
34
+ if (!(0, type_guards_1.isFunction)(serializer) || !(0, type_guards_1.isFunction)(deserializer)) {
29
35
  throw new Error('implementation for at least one of [type], [serialize] and [deserialize] is missing or of wrong type');
30
36
  }
31
37
  registerSerializer(type, typeName ?? type.name, serializer, deserializer);
32
38
  }
33
- export function registerSerializer(constructor, typeName, serializer, deserializer) {
39
+ exports.registerSerializable = registerSerializable;
40
+ function registerSerializer(constructor, typeName, serializer, deserializer) {
34
41
  const existingMappedType = constructorTypeNameMap.get(constructor);
35
42
  const existingMappedSerializer = typeNameSerializerMap.get(typeName);
36
- if (isDefined(existingMappedType) || isDefined(existingMappedSerializer)) {
43
+ if ((0, type_guards_1.isDefined)(existingMappedType) || (0, type_guards_1.isDefined)(existingMappedSerializer)) {
37
44
  const ctor = existingMappedSerializer?.constructor ?? constructor;
38
45
  throw new Error(`serializer for constructor ${ctor.name} is already registered as ${existingMappedType ?? typeName}`);
39
46
  }
@@ -41,5 +48,6 @@ export function registerSerializer(constructor, typeName, serializer, deserializ
41
48
  constructorTypeNameMap.set(constructor, typeName);
42
49
  typeNameSerializerMap.set(typeName, registration);
43
50
  }
44
- registerDefaultSerializers(registerSerializer);
51
+ exports.registerSerializer = registerSerializer;
52
+ (0, handlers_1.registerDefaultSerializers)(registerSerializer);
45
53
  //# sourceMappingURL=serializable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"serializable.js","sourceRoot":"","sources":["../../source/serializer/serializable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,gCAA+B;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE,gEAAgE;AAChE,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC,aAAa,CAAC;CAInC,CAAC;AAwBF,MAAM,sBAAsB,GAAG,IAAI,GAAG,EAAuB,CAAC;AAC9D,MAAM,qBAAqB,GAAG,IAAI,GAAG,EAA8C,CAAC;AAEpF,MAAM,UAAU,wBAAwB,CAAC,WAAwB;IAC/D,OAAO,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;AACjD,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,QAAgB;IACtD,OAAO,qBAAqB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AAC7C,CAAC;AAED,MAAM,UAAU,YAAY,CAA0C,QAAiB;IACrF,SAAS,qBAAqB,CAAC,IAA+B;QAC5D,oBAAoB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IACvC,CAAC;IAED,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,oBAAoB,CAA0C,IAA+B,EAA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AAE,UAAsC,EAAE,YAA0C;IAC3K,MAAM,kBAAkB,GAAG,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACnE,MAAM,wBAAwB,GAAG,qBAAqB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAErE,IAAI,IAAA,uBAAS,EAAC,kBAAkB,CAAC,IAAI,IAAA,uBAAS,EAAC,wBAAwB,CAAC,EAAE;QACxE,MAAM,IAAI,GAAG,wBAAwB,EAAE,WAAW,IAAI,WAAW,CAAC;QAClE,MAAM,IAAI,KAAK,CAAC,8BAA8B,IAAI,CAAC,IAAI,6BAA6B,kBAAkB,IAAI,QAAQ,EAAE,CAAC,CAAC;KACvH;IAED,MAAM,YAAY,GAAsC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC;IAElH,sBAAsB,CAAC,GAAG,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;IAClD,qBAAqB,CAAC,GAAG,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;AACpD,CAAC;AAbD,gDAaC;AAED,IAAA,qCAA0B,EAAC,kBAAkB,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
- import { CircularBuffer } from "../data-structures/circular-buffer.js";
2
- import type { SerializationOptions, Serialized, StringSerialized } from './types.js';
1
+ import { CircularBuffer } from "../data-structures/circular-buffer";
2
+ import type { SerializationOptions, Serialized, StringSerialized } from './types';
3
3
  declare type QueueItem = () => void;
4
4
  export declare function stringSerialize<T>(value: T, options?: SerializationOptions): StringSerialized<T>;
5
5
  export declare function stringDeserialize<T = unknown>(serialized: string, options?: SerializationOptions): T;
@@ -1,20 +1,26 @@
1
+ "use strict";
1
2
  /* eslint-disable @typescript-eslint/no-unsafe-return, @typescript-eslint/ban-types, max-lines-per-function, max-statements, complexity */
2
- import { CircularBuffer } from "../data-structures/circular-buffer.js";
3
- import { SortedArrayList } from "../data-structures/sorted-array-list.js";
4
- import { compareByValueSelection } from "../utils/comparison.js";
5
- import { ForwardRef } from "../utils/object/forward-ref.js";
6
- import { isDefined, isUndefined } from "../utils/type-guards.js";
7
- import { getSerializerByTypeName, getTypeNameByConstructor } from './serializable.js';
8
- import { bigintNonPrimitiveType, functionNonPrimitiveType, globalSymbolNonPrimitiveType, refNonPrimitiveType, undefinedNonPrimitiveType } from './types.js';
9
- export function stringSerialize(value, options) {
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.deserialize = exports.serialize = exports.stringDeserialize = exports.stringSerialize = void 0;
5
+ const circular_buffer_1 = require("../data-structures/circular-buffer");
6
+ const sorted_array_list_1 = require("../data-structures/sorted-array-list");
7
+ const comparison_1 = require("../utils/comparison");
8
+ const forward_ref_1 = require("../utils/object/forward-ref");
9
+ const object_1 = require("../utils/object/object");
10
+ const type_guards_1 = require("../utils/type-guards");
11
+ const serializable_1 = require("./serializable");
12
+ const types_1 = require("./types");
13
+ function stringSerialize(value, options) {
10
14
  const serialized = serialize(value, options);
11
15
  return JSON.stringify(serialized);
12
16
  }
13
- export function stringDeserialize(serialized, options) {
17
+ exports.stringSerialize = stringSerialize;
18
+ function stringDeserialize(serialized, options) {
14
19
  const parsedStringSerialized = JSON.parse(serialized);
15
20
  return deserialize(parsedStringSerialized, options);
16
21
  }
17
- export function serialize(value, options = {}, references = new Map(), queue = new CircularBuffer(), path = '$') {
22
+ exports.stringDeserialize = stringDeserialize;
23
+ function serialize(value, options = {}, references = new Map(), queue = new circular_buffer_1.CircularBuffer(), path = '$') {
18
24
  const type = typeof value;
19
25
  if (type == 'boolean' || type == 'number' || value === null) {
20
26
  return value;
@@ -22,8 +28,8 @@ export function serialize(value, options = {}, references = new Map(), queue = n
22
28
  if (type == 'undefined') {
23
29
  return { '<undefined>': null };
24
30
  }
25
- if ((path == '$') && isDefined(options.context)) {
26
- for (const entry of Object.entries(options.context)) {
31
+ if ((path == '$') && (0, type_guards_1.isDefined)(options.context)) {
32
+ for (const entry of (0, object_1.objectEntries)(options.context)) {
27
33
  references.set(entry[1], `$['__context__']['${entry[0]}']`);
28
34
  }
29
35
  }
@@ -72,17 +78,17 @@ export function serialize(value, options = {}, references = new Map(), queue = n
72
78
  }
73
79
  else if (constructor == Object) {
74
80
  const target = {};
75
- const entries = Object.entries(value);
76
- const queueItems = entries.map(([key, innerValue]) => () => (target[key] = serialize(innerValue, options, references, queue, `${path}['${key}']`)));
81
+ const entries = (0, object_1.objectEntries)(value);
82
+ const queueItems = entries.map(([key, innerValue]) => () => (target[key] = serialize(innerValue, options, references, queue, `${path}['${key.toString()}']`)));
77
83
  queue.addMany(queueItems);
78
84
  result = target;
79
85
  }
80
86
  else {
81
- const serializableType = getTypeNameByConstructor(constructor);
82
- if (isUndefined(serializableType)) {
87
+ const serializableType = (0, serializable_1.getTypeNameByConstructor)(constructor);
88
+ if ((0, type_guards_1.isUndefined)(serializableType)) {
83
89
  throw new Error(`constructor ${constructor.name} has no serializer registered`);
84
90
  }
85
- const registration = getSerializerByTypeName(serializableType);
91
+ const registration = (0, serializable_1.getSerializerByTypeName)(serializableType);
86
92
  const typeString = getTypeString(serializableType);
87
93
  const nonPrimitive = { [typeString]: null };
88
94
  queue.add(() => {
@@ -100,10 +106,12 @@ export function serialize(value, options = {}, references = new Map(), queue = n
100
106
  }
101
107
  throw new Error(`unsupported type '${type}'`);
102
108
  }
103
- export function deserialize(serialized, options) {
109
+ exports.serialize = serialize;
110
+ function deserialize(serialized, options) {
104
111
  const context = getDeserializeContext(serialized, options);
105
112
  return _deserialize(serialized, context, '$', 0);
106
113
  }
114
+ exports.deserialize = deserialize;
107
115
  function _deserialize(serialized, context, path, depth) {
108
116
  const type = typeof serialized;
109
117
  if ((type == 'number') || (type == 'boolean') || (serialized === null)) {
@@ -117,8 +125,8 @@ function _deserialize(serialized, context, path, depth) {
117
125
  return { '<undefined>': null };
118
126
  }
119
127
  if (type == 'object') {
120
- if ((depth == 0) && isDefined(context.options.context)) {
121
- for (const entry of Object.entries(context.options.context)) {
128
+ if ((depth == 0) && (0, type_guards_1.isDefined)(context.options.context)) {
129
+ for (const entry of (0, object_1.objectEntries)(context.options.context)) {
122
130
  context.references.set(`$['__context__']['${entry[0]}']`, entry[1]);
123
131
  }
124
132
  }
@@ -128,20 +136,20 @@ function _deserialize(serialized, context, path, depth) {
128
136
  const nonPrimitiveData = entries[0][1];
129
137
  const nonPrimitiveType = entries[0][0].slice(1, -1);
130
138
  switch (nonPrimitiveType) {
131
- case undefinedNonPrimitiveType: {
139
+ case types_1.undefinedNonPrimitiveType: {
132
140
  return undefined;
133
141
  }
134
- case bigintNonPrimitiveType: {
142
+ case types_1.bigintNonPrimitiveType: {
135
143
  const bigint = BigInt(nonPrimitiveData);
136
144
  context.references.set(path, bigint);
137
145
  return bigint;
138
146
  }
139
- case globalSymbolNonPrimitiveType: {
147
+ case types_1.globalSymbolNonPrimitiveType: {
140
148
  const symbol = Symbol.for(nonPrimitiveData);
141
149
  context.references.set(path, symbol);
142
150
  return symbol;
143
151
  }
144
- case functionNonPrimitiveType: {
152
+ case types_1.functionNonPrimitiveType: {
145
153
  if (context.options.allowUnsafe !== true) {
146
154
  throw new Error('functions are only allowed if allowUnsafe option is true');
147
155
  }
@@ -149,7 +157,7 @@ function _deserialize(serialized, context, path, depth) {
149
157
  context.references.set(path, fn);
150
158
  return fn;
151
159
  }
152
- case refNonPrimitiveType: {
160
+ case types_1.refNonPrimitiveType: {
153
161
  const dereferenced = context.references.get(nonPrimitiveData);
154
162
  if (dereferenced == undefined) {
155
163
  throw new Error(`reference ${nonPrimitiveData} not found`);
@@ -157,22 +165,22 @@ function _deserialize(serialized, context, path, depth) {
157
165
  return dereferenced;
158
166
  }
159
167
  default: {
160
- const registration = getSerializerByTypeName(nonPrimitiveType);
168
+ const registration = (0, serializable_1.getSerializerByTypeName)(nonPrimitiveType);
161
169
  if (registration == undefined) {
162
170
  throw new Error(`non-primitive type ${nonPrimitiveType} not registered`);
163
171
  }
164
- const forwardRef = ForwardRef.create();
172
+ const forwardRef = forward_ref_1.ForwardRef.create();
165
173
  context.references.set(path, forwardRef);
166
174
  context.addToDeserializeQueue(() => {
167
175
  const deserializedData = _deserialize(nonPrimitiveData, context, `${path}['<${nonPrimitiveType}>']`, depth + 1);
168
176
  context.addToDeserializeQueue(() => {
169
177
  const deserialized = registration.deserializer(deserializedData, context.tryAddToDerefQueue);
170
- ForwardRef.setRef(forwardRef, deserialized);
178
+ forward_ref_1.ForwardRef.setRef(forwardRef, deserialized);
171
179
  }, depth);
172
180
  }, depth);
173
181
  if (depth == 0) {
174
182
  drainQueues(context);
175
- return ForwardRef.deref(forwardRef);
183
+ return forward_ref_1.ForwardRef.deref(forwardRef);
176
184
  }
177
185
  return forwardRef;
178
186
  }
@@ -224,8 +232,8 @@ function getDeserializeContext(serializedRoot, options) {
224
232
  options: options ?? {},
225
233
  references: new Map(),
226
234
  deserializeCounter: 0,
227
- deserializeQueue: new SortedArrayList(undefined, compareByValueSelection((item) => item.depth, (item) => item.counter)),
228
- derefQueue: new CircularBuffer(),
235
+ deserializeQueue: new sorted_array_list_1.SortedArrayList(undefined, (0, comparison_1.compareByValueSelection)((item) => item.depth, (item) => item.counter)),
236
+ derefQueue: new circular_buffer_1.CircularBuffer(),
229
237
  addToDeserializeQueue(fn, depth) {
230
238
  context.deserializeQueue.add({ depth, counter: context.deserializeCounter++, fn });
231
239
  },
@@ -235,11 +243,11 @@ function getDeserializeContext(serializedRoot, options) {
235
243
  }
236
244
  },
237
245
  tryAddToDerefQueue(value, callback) {
238
- if (!ForwardRef.isForwardRef(value) || (context.options.doNotDereferenceForwardRefs == true)) {
246
+ if (!forward_ref_1.ForwardRef.isForwardRef(value) || (context.options.doNotDereferenceForwardRefs == true)) {
239
247
  return false;
240
248
  }
241
249
  context.derefQueue.add(() => {
242
- const dereferenced = ForwardRef.deref(value);
250
+ const dereferenced = forward_ref_1.ForwardRef.deref(value);
243
251
  callback(dereferenced);
244
252
  });
245
253
  return true;
@@ -1 +1 @@
1
- {"version":3,"file":"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UAAU,CAAC,GAAG,CAAC,GAAG,EAAE;gBAC1B,MAAM,YAAY,GAAG,wBAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;gBAC7C,QAAQ,CAAC,YAAY,CAAC,CAAC;YACzB,CAAC,CAAC,CAAC;YAEH,OAAO,IAAI,CAAC;QACd,CAAC;KACF,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAS,WAAW,CAAC,EAAE,gBAAgB,EAAE,UAAU,EAAsB;IACvE,OAAO,gBAAgB,CAAC,IAAI,GAAG,CAAC,EAAE;QAChC,MAAM,IAAI,GAAG,gBAAgB,CAAC,UAAU,EAAE,CAAC;QAC3C,IAAI,CAAC,EAAE,EAAE,CAAC;KACX;IAED,KAAK,MAAM,EAAE,IAAI,UAAU,CAAC,OAAO,EAAE,EAAE;QACrC,EAAE,EAAE,CAAC;KACN;AACH,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { JsonPrimitive, Nested, StringMap } from "../types.js";
1
+ import type { JsonPrimitive, Nested, StringMap } from "../types";
2
2
  declare const serializedSymbol: unique symbol;
3
3
  declare const stringSerializedSymbol: unique symbol;
4
4
  declare const decycledSymbol: unique symbol;
@@ -1,6 +1,9 @@
1
- export const undefinedNonPrimitiveType = 'undefined';
2
- export const bigintNonPrimitiveType = 'bigint';
3
- export const globalSymbolNonPrimitiveType = 'global-symbol';
4
- export const functionNonPrimitiveType = 'function';
5
- export const refNonPrimitiveType = 'ref';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.refNonPrimitiveType = exports.functionNonPrimitiveType = exports.globalSymbolNonPrimitiveType = exports.bigintNonPrimitiveType = exports.undefinedNonPrimitiveType = void 0;
4
+ exports.undefinedNonPrimitiveType = 'undefined';
5
+ exports.bigintNonPrimitiveType = 'bigint';
6
+ exports.globalSymbolNonPrimitiveType = 'global-symbol';
7
+ exports.functionNonPrimitiveType = 'function';
8
+ exports.refNonPrimitiveType = 'ref';
6
9
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../source/serializer/types.ts"],"names":[],"mappings":"AA4CA,MAAM,CAAC,MAAM,yBAAyB,GAAG,WAAW,CAAC;AACrD,MAAM,CAAC,MAAM,sBAAsB,GAAG,QAAQ,CAAC;AAC/C,MAAM,CAAC,MAAM,4BAA4B,GAAG,eAAe,CAAC;AAC5D,MAAM,CAAC,MAAM,wBAAwB,GAAG,UAAU,CAAC;AACnD,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../source/serializer/types.ts"],"names":[],"mappings":";;;AA4Ca,QAAA,yBAAyB,GAAG,WAAW,CAAC;AACxC,QAAA,sBAAsB,GAAG,QAAQ,CAAC;AAClC,QAAA,4BAA4B,GAAG,eAAe,CAAC;AAC/C,QAAA,wBAAwB,GAAG,UAAU,CAAC;AACtC,QAAA,mBAAmB,GAAG,KAAK,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { Theme } from "../css/theme/theme.model.js";
1
+ import type { Theme } from "../css/theme";
2
2
  export declare type TailwindPalette = {
3
3
  DEFAULT: string;
4
4
  50: string;
@@ -1,13 +1,17 @@
1
- import { isString } from "../utils/type-guards.js";
2
- export function generateTailwindColors(theme) {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.generateTailwindPalette = exports.generateTailwindColors = void 0;
4
+ const type_guards_1 = require("../utils/type-guards");
5
+ function generateTailwindColors(theme) {
3
6
  const entries = Object.entries(theme.colors)
4
7
  .map(([colorName, value]) => {
5
- const name = isString(value) ? colorName : (value.name ?? colorName);
8
+ const name = (0, type_guards_1.isString)(value) ? colorName : (value.name ?? colorName);
6
9
  return [name, generateTailwindPalette(name)];
7
10
  });
8
11
  return Object.fromEntries(entries);
9
12
  }
10
- export function generateTailwindPalette(name) {
13
+ exports.generateTailwindColors = generateTailwindColors;
14
+ function generateTailwindPalette(name) {
11
15
  return {
12
16
  /* eslint-disable @typescript-eslint/naming-convention */
13
17
  DEFAULT: `var(--color-${name})`,
@@ -24,4 +28,5 @@ export function generateTailwindPalette(name) {
24
28
  /* eslint-enable @typescript-eslint/naming-convention */
25
29
  };
26
30
  }
31
+ exports.generateTailwindPalette = generateTailwindPalette;
27
32
  //# sourceMappingURL=colors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"colors.js","sourceRoot":"","sources":["../../source/tailwind/colors.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gCAA+B;AAkBlD,MAAM,UAAU,sBAAsB,CAAC,KAAY;IACjD,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC;SACzC,GAAG,CAAC,CAAC,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,EAAE;QAC1B,MAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,IAAI,SAAS,CAAC,CAAC;QACrE,OAAO,CAAC,IAAI,EAAE,uBAAuB,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;IAEL,OAAO,MAAM,CAAC,WAAW,CAAC,OAAO,CAAoC,CAAC;AACxE,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,IAAY;IAClD,OAAO;QACL,yDAAyD;QACzD,OAAO,EAAE,eAAe,IAAI,GAAG;QAC/B,EAAE,EAAE,eAAe,IAAI,MAAM;QAC7B,GAAG,EAAE,eAAe,IAAI,OAAO;QAC/B,GAAG,EAAE,eAAe,IAAI,OAAO;QAC/B,GAAG,EAAE,eAAe,IAAI,OAAO;QAC/B,GAAG,EAAE,eAAe,IAAI,OAAO;QAC/B,GAAG,EAAE,eAAe,IAAI,OAAO;QAC/B,GAAG,EAAE,eAAe,IAAI,OAAO;QAC/B,GAAG,EAAE,eAAe,IAAI,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 -1 +1 @@
1
- export * from './colors.js';
1
+ export * from './colors';