@tstdl/base 0.82.41 → 0.82.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1556) hide show
  1. package/api/client/client.d.ts +4 -4
  2. package/api/client/client.js +25 -25
  3. package/api/client/client.js.map +1 -1
  4. package/api/client/index.d.ts +1 -1
  5. package/api/client/index.js +1 -1
  6. package/api/client/index.js.map +1 -1
  7. package/api/default-error-handlers.d.ts +1 -1
  8. package/api/default-error-handlers.js +2 -2
  9. package/api/default-error-handlers.js.map +1 -1
  10. package/api/index.d.ts +3 -3
  11. package/api/index.js +3 -3
  12. package/api/index.js.map +1 -1
  13. package/api/response.d.ts +2 -2
  14. package/api/response.js +21 -21
  15. package/api/response.js.map +1 -1
  16. package/api/server/api-controller.d.ts +3 -3
  17. package/api/server/api-controller.js +6 -6
  18. package/api/server/api-controller.js.map +1 -1
  19. package/api/server/api-request-token.provider.d.ts +1 -1
  20. package/api/server/api-request-token.provider.js +2 -2
  21. package/api/server/api-request-token.provider.js.map +1 -1
  22. package/api/server/error-handler.d.ts +3 -3
  23. package/api/server/error-handler.js +10 -10
  24. package/api/server/error-handler.js.map +1 -1
  25. package/api/server/gateway.d.ts +11 -11
  26. package/api/server/gateway.js +53 -53
  27. package/api/server/gateway.js.map +1 -1
  28. package/api/server/index.d.ts +5 -5
  29. package/api/server/index.js +5 -5
  30. package/api/server/index.js.map +1 -1
  31. package/api/server/middlewares/allowed-methods.middleware.d.ts +4 -4
  32. package/api/server/middlewares/allowed-methods.middleware.js +6 -6
  33. package/api/server/middlewares/allowed-methods.middleware.js.map +1 -1
  34. package/api/server/middlewares/catch-error.middleware.d.ts +3 -3
  35. package/api/server/middlewares/catch-error.middleware.js +2 -2
  36. package/api/server/middlewares/catch-error.middleware.js.map +1 -1
  37. package/api/server/middlewares/cors.middleware.d.ts +2 -2
  38. package/api/server/middlewares/cors.middleware.js +17 -17
  39. package/api/server/middlewares/cors.middleware.js.map +1 -1
  40. package/api/server/middlewares/index.d.ts +4 -4
  41. package/api/server/middlewares/index.js +4 -4
  42. package/api/server/middlewares/index.js.map +1 -1
  43. package/api/server/middlewares/response-time.middleware.d.ts +2 -2
  44. package/api/server/middlewares/response-time.middleware.js +4 -4
  45. package/api/server/middlewares/response-time.middleware.js.map +1 -1
  46. package/api/server/module.d.ts +3 -3
  47. package/api/server/module.js +10 -10
  48. package/api/server/module.js.map +1 -1
  49. package/api/server/tokens.d.ts +2 -2
  50. package/api/server/tokens.js +2 -2
  51. package/api/server/tokens.js.map +1 -1
  52. package/api/types.d.ts +5 -5
  53. package/api/types.js +4 -4
  54. package/api/types.js.map +1 -1
  55. package/api/utils.d.ts +1 -1
  56. package/api/utils.js +10 -10
  57. package/api/utils.js.map +1 -1
  58. package/application/application.d.ts +5 -5
  59. package/application/application.js +26 -26
  60. package/application/application.js.map +1 -1
  61. package/application/index.d.ts +1 -1
  62. package/application/index.js +1 -1
  63. package/application/index.js.map +1 -1
  64. package/authentication/authentication.api.d.ts +23 -23
  65. package/authentication/authentication.api.js +17 -17
  66. package/authentication/authentication.api.js.map +1 -1
  67. package/authentication/client/api.client.d.ts +4 -4
  68. package/authentication/client/api.client.js +12 -12
  69. package/authentication/client/api.client.js.map +1 -1
  70. package/authentication/client/authentication.service.d.ts +11 -11
  71. package/authentication/client/authentication.service.js +47 -47
  72. package/authentication/client/authentication.service.js.map +1 -1
  73. package/authentication/client/http-client.middleware.d.ts +2 -2
  74. package/authentication/client/http-client.middleware.js +9 -9
  75. package/authentication/client/http-client.middleware.js.map +1 -1
  76. package/authentication/client/index.d.ts +5 -5
  77. package/authentication/client/index.js +5 -5
  78. package/authentication/client/index.js.map +1 -1
  79. package/authentication/client/module.d.ts +3 -3
  80. package/authentication/client/module.js +11 -11
  81. package/authentication/client/module.js.map +1 -1
  82. package/authentication/client/tokens.d.ts +4 -4
  83. package/authentication/client/tokens.js +5 -5
  84. package/authentication/client/tokens.js.map +1 -1
  85. package/authentication/index.d.ts +2 -2
  86. package/authentication/index.js +2 -2
  87. package/authentication/index.js.map +1 -1
  88. package/authentication/models/authentication-credentials.model.js +10 -10
  89. package/authentication/models/authentication-credentials.model.js.map +1 -1
  90. package/authentication/models/authentication-session.model.js +14 -14
  91. package/authentication/models/authentication-session.model.js.map +1 -1
  92. package/authentication/models/index.d.ts +4 -4
  93. package/authentication/models/index.js +4 -4
  94. package/authentication/models/index.js.map +1 -1
  95. package/authentication/models/token-payload-base.model.js +7 -7
  96. package/authentication/models/token-payload-base.model.js.map +1 -1
  97. package/authentication/models/token.model.d.ts +3 -3
  98. package/authentication/server/authentication-api-request-token.provider.d.ts +3 -3
  99. package/authentication/server/authentication-api-request-token.provider.js +8 -8
  100. package/authentication/server/authentication-api-request-token.provider.js.map +1 -1
  101. package/authentication/server/authentication-credentials.repository.d.ts +1 -1
  102. package/authentication/server/authentication-credentials.repository.js +2 -2
  103. package/authentication/server/authentication-credentials.repository.js.map +1 -1
  104. package/authentication/server/authentication-session.repository.d.ts +2 -2
  105. package/authentication/server/authentication-subject.resolver.js +2 -2
  106. package/authentication/server/authentication-subject.resolver.js.map +1 -1
  107. package/authentication/server/authentication-token-payload.provider.d.ts +1 -1
  108. package/authentication/server/authentication-token-payload.provider.js +2 -2
  109. package/authentication/server/authentication-token-payload.provider.js.map +1 -1
  110. package/authentication/server/authentication.api-controller.d.ts +4 -4
  111. package/authentication/server/authentication.api-controller.js +15 -15
  112. package/authentication/server/authentication.api-controller.js.map +1 -1
  113. package/authentication/server/authentication.service.d.ts +8 -8
  114. package/authentication/server/authentication.service.js +53 -53
  115. package/authentication/server/authentication.service.js.map +1 -1
  116. package/authentication/server/helper.d.ts +3 -3
  117. package/authentication/server/helper.js +22 -22
  118. package/authentication/server/helper.js.map +1 -1
  119. package/authentication/server/index.d.ts +9 -9
  120. package/authentication/server/index.js +9 -9
  121. package/authentication/server/index.js.map +1 -1
  122. package/authentication/server/module.d.ts +6 -6
  123. package/authentication/server/module.js +16 -16
  124. package/authentication/server/module.js.map +1 -1
  125. package/authentication/server/mongo/index.d.ts +2 -2
  126. package/authentication/server/mongo/index.js +2 -2
  127. package/authentication/server/mongo/index.js.map +1 -1
  128. package/authentication/server/mongo/mongo-authentication-credentials.repository.d.ts +8 -8
  129. package/authentication/server/mongo/mongo-authentication-credentials.repository.js +16 -16
  130. package/authentication/server/mongo/mongo-authentication-credentials.repository.js.map +1 -1
  131. package/authentication/server/mongo/mongo-authentication-session.repository.d.ts +8 -8
  132. package/authentication/server/mongo/mongo-authentication-session.repository.js +12 -12
  133. package/authentication/server/mongo/mongo-authentication-session.repository.js.map +1 -1
  134. package/collections/awaitable/awaitable-map.js +8 -8
  135. package/collections/awaitable/awaitable-map.js.map +1 -1
  136. package/collections/awaitable/awaitable-set.js +4 -4
  137. package/collections/awaitable/awaitable-set.js.map +1 -1
  138. package/collections/awaitable/index.d.ts +3 -3
  139. package/collections/awaitable/index.js +3 -3
  140. package/collections/awaitable/index.js.map +1 -1
  141. package/collections/index.d.ts +6 -6
  142. package/collections/index.js +6 -6
  143. package/collections/index.js.map +1 -1
  144. package/collections/keyed-set.js +2 -2
  145. package/collections/keyed-set.js.map +1 -1
  146. package/collections/list.d.ts +1 -1
  147. package/collections/observable/index.d.ts +8 -8
  148. package/collections/observable/index.js +8 -8
  149. package/collections/observable/index.js.map +1 -1
  150. package/collections/observable/observable-array.d.ts +2 -2
  151. package/collections/observable/observable-array.js +2 -2
  152. package/collections/observable/observable-array.js.map +1 -1
  153. package/collections/observable/observable-collection-base.d.ts +1 -1
  154. package/collections/observable/observable-collection.d.ts +1 -1
  155. package/collections/observable/observable-list-base.d.ts +3 -3
  156. package/collections/observable/observable-list-base.js +2 -2
  157. package/collections/observable/observable-list-base.js.map +1 -1
  158. package/collections/observable/observable-list.d.ts +3 -3
  159. package/collections/observable/observable-set.d.ts +2 -2
  160. package/collections/observable/observable-set.js +2 -2
  161. package/collections/observable/observable-set.js.map +1 -1
  162. package/collections/observable/observable-sorted-array-list.d.ts +3 -3
  163. package/collections/observable/observable-sorted-array-list.js +21 -21
  164. package/collections/observable/observable-sorted-array-list.js.map +1 -1
  165. package/collections/sorted-array-list.d.ts +2 -2
  166. package/collections/sorted-array-list.js +16 -16
  167. package/collections/sorted-array-list.js.map +1 -1
  168. package/collections/sorted-list.d.ts +1 -1
  169. package/collections/sorted-map.d.ts +2 -2
  170. package/collections/sorted-map.js +7 -9
  171. package/collections/sorted-map.js.map +1 -1
  172. package/container/container.d.ts +5 -5
  173. package/container/container.js +110 -104
  174. package/container/container.js.map +1 -1
  175. package/container/decorators.d.ts +6 -6
  176. package/container/decorators.js +20 -20
  177. package/container/decorators.js.map +1 -1
  178. package/container/index.d.ts +10 -10
  179. package/container/index.js +10 -10
  180. package/container/index.js.map +1 -1
  181. package/container/provider.d.ts +7 -7
  182. package/container/provider.js +5 -5
  183. package/container/provider.js.map +1 -1
  184. package/container/resolve-chain.d.ts +2 -2
  185. package/container/resolve-chain.js +7 -7
  186. package/container/resolve-chain.js.map +1 -1
  187. package/container/resolve.error.d.ts +2 -2
  188. package/container/resolve.error.js +4 -4
  189. package/container/resolve.error.js.map +1 -1
  190. package/container/token.d.ts +1 -1
  191. package/container/token.js +3 -3
  192. package/container/token.js.map +1 -1
  193. package/container/type-info.d.ts +2 -2
  194. package/container/types.d.ts +3 -3
  195. package/container/utils.d.ts +1 -1
  196. package/container/utils.js +4 -4
  197. package/container/utils.js.map +1 -1
  198. package/cookie/cookie.js +13 -13
  199. package/cookie/cookie.js.map +1 -1
  200. package/cookie/index.d.ts +1 -1
  201. package/cookie/index.js +1 -1
  202. package/cookie/index.js.map +1 -1
  203. package/core.d.ts +6 -6
  204. package/core.js +19 -18
  205. package/core.js.map +1 -1
  206. package/data-structures/array-list.d.ts +2 -2
  207. package/data-structures/array-list.js +2 -2
  208. package/data-structures/array-list.js.map +1 -1
  209. package/data-structures/circular-buffer.d.ts +2 -2
  210. package/data-structures/circular-buffer.js +8 -8
  211. package/data-structures/circular-buffer.js.map +1 -1
  212. package/data-structures/collection.d.ts +1 -1
  213. package/data-structures/index-out-of-bounds.error.d.ts +1 -1
  214. package/data-structures/index-out-of-bounds.error.js +5 -5
  215. package/data-structures/index-out-of-bounds.error.js.map +1 -1
  216. package/data-structures/index.d.ts +12 -12
  217. package/data-structures/index.js +12 -12
  218. package/data-structures/index.js.map +1 -1
  219. package/data-structures/iterable-weak-map.d.ts +1 -1
  220. package/data-structures/iterable-weak-map.js +13 -13
  221. package/data-structures/iterable-weak-map.js.map +1 -1
  222. package/data-structures/linked-list.d.ts +4 -4
  223. package/data-structures/linked-list.js +24 -24
  224. package/data-structures/linked-list.js.map +1 -1
  225. package/data-structures/list.d.ts +2 -2
  226. package/data-structures/list.js +10 -10
  227. package/data-structures/list.js.map +1 -1
  228. package/data-structures/map.d.ts +1 -1
  229. package/data-structures/map.js +2 -2
  230. package/data-structures/map.js.map +1 -1
  231. package/data-structures/multi-key-map.d.ts +1 -1
  232. package/data-structures/multi-key-map.js +12 -12
  233. package/data-structures/multi-key-map.js.map +1 -1
  234. package/data-structures/set.d.ts +1 -1
  235. package/data-structures/set.js +2 -2
  236. package/data-structures/set.js.map +1 -1
  237. package/data-structures/sorted-array-list.d.ts +5 -5
  238. package/data-structures/sorted-array-list.js +19 -19
  239. package/data-structures/sorted-array-list.js.map +1 -1
  240. package/data-structures/weak-ref-map.d.ts +1 -1
  241. package/data-structures/weak-ref-map.js +11 -11
  242. package/data-structures/weak-ref-map.js.map +1 -1
  243. package/database/entity-repository.d.ts +2 -2
  244. package/database/id.js +3 -3
  245. package/database/id.js.map +1 -1
  246. package/database/index.d.ts +6 -6
  247. package/database/index.js +6 -6
  248. package/database/index.js.map +1 -1
  249. package/database/module.js +2 -2
  250. package/database/module.js.map +1 -1
  251. package/database/mongo/classes.d.ts +5 -5
  252. package/database/mongo/classes.js +7 -7
  253. package/database/mongo/classes.js.map +1 -1
  254. package/database/mongo/index.d.ts +10 -10
  255. package/database/mongo/index.js +10 -10
  256. package/database/mongo/index.js.map +1 -1
  257. package/database/mongo/model/document.d.ts +3 -3
  258. package/database/mongo/model/document.js +4 -4
  259. package/database/mongo/model/document.js.map +1 -1
  260. package/database/mongo/model/index.d.ts +1 -1
  261. package/database/mongo/model/index.js +1 -1
  262. package/database/mongo/model/index.js.map +1 -1
  263. package/database/mongo/module.d.ts +1 -1
  264. package/database/mongo/module.js +18 -18
  265. package/database/mongo/module.js.map +1 -1
  266. package/database/mongo/mongo-base.repository.d.ts +5 -5
  267. package/database/mongo/mongo-base.repository.js +38 -41
  268. package/database/mongo/mongo-base.repository.js.map +1 -1
  269. package/database/mongo/mongo-bulk.d.ts +4 -4
  270. package/database/mongo/mongo-bulk.js +16 -16
  271. package/database/mongo/mongo-bulk.js.map +1 -1
  272. package/database/mongo/mongo-entity-repository.d.ts +8 -8
  273. package/database/mongo/mongo-entity-repository.js +23 -23
  274. package/database/mongo/mongo-entity-repository.js.map +1 -1
  275. package/database/mongo/operations.d.ts +4 -4
  276. package/database/mongo/query-converter.d.ts +4 -4
  277. package/database/mongo/query-converter.js +13 -13
  278. package/database/mongo/query-converter.js.map +1 -1
  279. package/database/mongo/simple-entity-repository.d.ts +4 -4
  280. package/database/mongo/simple-entity-repository.js +3 -3
  281. package/database/mongo/simple-entity-repository.js.map +1 -1
  282. package/database/mongo/types.d.ts +3 -3
  283. package/database/query.d.ts +2 -2
  284. package/database/utils.d.ts +1 -1
  285. package/disposable/async-disposer.d.ts +4 -4
  286. package/disposable/async-disposer.js +20 -20
  287. package/disposable/async-disposer.js.map +1 -1
  288. package/disposable/disposable.js +3 -3
  289. package/disposable/disposable.js.map +1 -1
  290. package/disposable/index.d.ts +3 -3
  291. package/disposable/index.js +3 -3
  292. package/disposable/index.js.map +1 -1
  293. package/disposable/using.d.ts +1 -1
  294. package/disposable/using.js +3 -3
  295. package/disposable/using.js.map +1 -1
  296. package/distributed-loop/distributed-loop.d.ts +5 -5
  297. package/distributed-loop/distributed-loop.js +15 -15
  298. package/distributed-loop/distributed-loop.js.map +1 -1
  299. package/distributed-loop/index.d.ts +3 -3
  300. package/distributed-loop/index.js +3 -3
  301. package/distributed-loop/index.js.map +1 -1
  302. package/distributed-loop/provider.d.ts +2 -2
  303. package/distributed-loop/provider.js +6 -6
  304. package/distributed-loop/provider.js.map +1 -1
  305. package/enumerable/async-enumerable.d.ts +7 -7
  306. package/enumerable/async-enumerable.js +67 -67
  307. package/enumerable/async-enumerable.js.map +1 -1
  308. package/enumerable/enumerable.d.ts +6 -6
  309. package/enumerable/enumerable.js +45 -45
  310. package/enumerable/enumerable.js.map +1 -1
  311. package/enumerable/index.d.ts +2 -2
  312. package/enumerable/index.js +2 -2
  313. package/enumerable/index.js.map +1 -1
  314. package/error/api.error.d.ts +2 -2
  315. package/error/api.error.js +2 -2
  316. package/error/api.error.js.map +1 -1
  317. package/error/assertion.error.d.ts +1 -1
  318. package/error/assertion.error.js +2 -2
  319. package/error/assertion.error.js.map +1 -1
  320. package/error/bad-request.error.d.ts +1 -1
  321. package/error/bad-request.error.js +2 -2
  322. package/error/bad-request.error.js.map +1 -1
  323. package/error/details.error.d.ts +1 -1
  324. package/error/details.error.js +2 -2
  325. package/error/details.error.js.map +1 -1
  326. package/error/forbidden.error.d.ts +1 -1
  327. package/error/forbidden.error.js +2 -2
  328. package/error/forbidden.error.js.map +1 -1
  329. package/error/index.d.ts +15 -15
  330. package/error/index.js +15 -15
  331. package/error/index.js.map +1 -1
  332. package/error/invalid-token.error.d.ts +1 -1
  333. package/error/invalid-token.error.js +2 -2
  334. package/error/invalid-token.error.js.map +1 -1
  335. package/error/max-bytes-exceeded.error.d.ts +1 -1
  336. package/error/max-bytes-exceeded.error.js +2 -2
  337. package/error/max-bytes-exceeded.error.js.map +1 -1
  338. package/error/method-not-allowed.error.d.ts +1 -1
  339. package/error/method-not-allowed.error.js +2 -2
  340. package/error/method-not-allowed.error.js.map +1 -1
  341. package/error/multi.error.d.ts +1 -1
  342. package/error/multi.error.js +2 -2
  343. package/error/multi.error.js.map +1 -1
  344. package/error/not-found.error.d.ts +1 -1
  345. package/error/not-found.error.js +2 -2
  346. package/error/not-found.error.js.map +1 -1
  347. package/error/not-implemented.error.d.ts +1 -1
  348. package/error/not-implemented.error.js +2 -2
  349. package/error/not-implemented.error.js.map +1 -1
  350. package/error/not-supported.error.d.ts +2 -2
  351. package/error/not-supported.error.js +4 -4
  352. package/error/not-supported.error.js.map +1 -1
  353. package/error/unauthorized.error.d.ts +1 -1
  354. package/error/unauthorized.error.js +2 -2
  355. package/error/unauthorized.error.js.map +1 -1
  356. package/error/unsupported-media-type.error.d.ts +1 -1
  357. package/error/unsupported-media-type.error.js +2 -2
  358. package/error/unsupported-media-type.error.js.map +1 -1
  359. package/examples/api/authentication.js +31 -32
  360. package/examples/api/authentication.js.map +1 -1
  361. package/examples/api/basic-overview.js +32 -31
  362. package/examples/api/basic-overview.js.map +1 -1
  363. package/examples/api/custom-authentication.js +38 -38
  364. package/examples/api/custom-authentication.js.map +1 -1
  365. package/examples/api/streaming.js +38 -37
  366. package/examples/api/streaming.js.map +1 -1
  367. package/examples/http/client.js +5 -5
  368. package/examples/http/client.js.map +1 -1
  369. package/examples/mail/basic.js +25 -25
  370. package/examples/mail/basic.js.map +1 -1
  371. package/examples/mail/templates/hello-name.d.ts +1 -1
  372. package/examples/mail/templates/hello-name.js +7 -7
  373. package/examples/mail/templates/hello-name.js.map +1 -1
  374. package/examples/pdf/basic.js +19 -19
  375. package/examples/pdf/basic.js.map +1 -1
  376. package/examples/pdf/templates/hello-name.d.ts +1 -1
  377. package/examples/pdf/templates/hello-name.js +10 -10
  378. package/examples/pdf/templates/hello-name.js.map +1 -1
  379. package/examples/reflection/basic.d.ts +1 -1
  380. package/examples/reflection/basic.js +14 -14
  381. package/examples/reflection/basic.js.map +1 -1
  382. package/examples/template/basic.js +19 -19
  383. package/examples/template/basic.js.map +1 -1
  384. package/examples/template/templates/hello-jsx.d.ts +1 -1
  385. package/examples/template/templates/hello-jsx.js +3 -3
  386. package/examples/template/templates/hello-jsx.js.map +1 -1
  387. package/examples/template/templates/hello-name.d.ts +1 -1
  388. package/examples/template/templates/hello-name.js +6 -6
  389. package/examples/template/templates/hello-name.js.map +1 -1
  390. package/http/client/adapters/undici-http-client.adapter.d.ts +3 -3
  391. package/http/client/adapters/undici-http-client.adapter.js +27 -26
  392. package/http/client/adapters/undici-http-client.adapter.js.map +1 -1
  393. package/http/client/http-client-options.d.ts +1 -1
  394. package/http/client/http-client-request.d.ts +13 -13
  395. package/http/client/http-client-request.js +23 -23
  396. package/http/client/http-client-request.js.map +1 -1
  397. package/http/client/http-client-response.d.ts +6 -6
  398. package/http/client/http-client-response.js +4 -4
  399. package/http/client/http-client-response.js.map +1 -1
  400. package/http/client/http-client.adapter.d.ts +2 -2
  401. package/http/client/http-client.d.ts +10 -10
  402. package/http/client/http-client.js +61 -61
  403. package/http/client/http-client.js.map +1 -1
  404. package/http/client/index.d.ts +6 -6
  405. package/http/client/index.js +6 -6
  406. package/http/client/index.js.map +1 -1
  407. package/http/client/module.d.ts +3 -3
  408. package/http/client/module.js +7 -7
  409. package/http/client/module.js.map +1 -1
  410. package/http/cookie-parser.d.ts +1 -1
  411. package/http/cookie-parser.js +6 -6
  412. package/http/cookie-parser.js.map +1 -1
  413. package/http/http-body.d.ts +4 -4
  414. package/http/http-body.js +11 -11
  415. package/http/http-body.js.map +1 -1
  416. package/http/http-form.d.ts +3 -3
  417. package/http/http-form.js +2 -2
  418. package/http/http-form.js.map +1 -1
  419. package/http/http-headers.d.ts +3 -3
  420. package/http/http-headers.js +15 -15
  421. package/http/http-headers.js.map +1 -1
  422. package/http/http-query.d.ts +3 -3
  423. package/http/http-query.js +2 -2
  424. package/http/http-query.js.map +1 -1
  425. package/http/http-url-parameters.d.ts +3 -3
  426. package/http/http-url-parameters.js +2 -2
  427. package/http/http-url-parameters.js.map +1 -1
  428. package/http/http-value-map.d.ts +2 -2
  429. package/http/http-value-map.js +19 -19
  430. package/http/http-value-map.js.map +1 -1
  431. package/http/http.error.d.ts +4 -4
  432. package/http/http.error.js +11 -11
  433. package/http/http.error.js.map +1 -1
  434. package/http/index.d.ts +11 -11
  435. package/http/index.js +11 -11
  436. package/http/index.js.map +1 -1
  437. package/http/server/http-server-request.d.ts +7 -7
  438. package/http/server/http-server-request.js +4 -4
  439. package/http/server/http-server-request.js.map +1 -1
  440. package/http/server/http-server-response.d.ts +5 -5
  441. package/http/server/http-server-response.js +8 -8
  442. package/http/server/http-server-response.js.map +1 -1
  443. package/http/server/http-server.d.ts +3 -3
  444. package/http/server/http-server.js +1 -1
  445. package/http/server/http-server.js.map +1 -1
  446. package/http/server/index.d.ts +3 -3
  447. package/http/server/index.js +3 -3
  448. package/http/server/index.js.map +1 -1
  449. package/http/server/node/index.d.ts +2 -2
  450. package/http/server/node/index.js +2 -2
  451. package/http/server/node/index.js.map +1 -1
  452. package/http/server/node/module.js +4 -4
  453. package/http/server/node/module.js.map +1 -1
  454. package/http/server/node/node-http-server.d.ts +8 -8
  455. package/http/server/node/node-http-server.js +47 -47
  456. package/http/server/node/node-http-server.js.map +1 -1
  457. package/http/types.d.ts +1 -1
  458. package/http/types.js +4 -4
  459. package/http/types.js.map +1 -1
  460. package/http/utils.d.ts +3 -3
  461. package/http/utils.js +32 -32
  462. package/http/utils.js.map +1 -1
  463. package/image-service/image-service.js +13 -13
  464. package/image-service/image-service.js.map +1 -1
  465. package/image-service/imgproxy/imgproxy-image-service.d.ts +5 -5
  466. package/image-service/imgproxy/imgproxy-image-service.js +29 -29
  467. package/image-service/imgproxy/imgproxy-image-service.js.map +1 -1
  468. package/image-service/imgproxy/index.d.ts +1 -1
  469. package/image-service/imgproxy/index.js +1 -1
  470. package/image-service/imgproxy/index.js.map +1 -1
  471. package/image-service/index.d.ts +1 -1
  472. package/image-service/index.js +1 -1
  473. package/image-service/index.js.map +1 -1
  474. package/index.d.ts +1 -1
  475. package/index.js +1 -1
  476. package/index.js.map +1 -1
  477. package/json-path/index.d.ts +1 -1
  478. package/json-path/index.js +1 -1
  479. package/json-path/index.js.map +1 -1
  480. package/json-path/json-path.js +15 -15
  481. package/json-path/json-path.js.map +1 -1
  482. package/key-value-store/index.d.ts +2 -2
  483. package/key-value-store/index.js +2 -2
  484. package/key-value-store/index.js.map +1 -1
  485. package/key-value-store/key-value-store.provider.d.ts +2 -2
  486. package/key-value-store/key-value.store.d.ts +3 -3
  487. package/key-value-store/key-value.store.js +2 -2
  488. package/key-value-store/key-value.store.js.map +1 -1
  489. package/key-value-store/mongo/index.d.ts +5 -5
  490. package/key-value-store/mongo/index.js +5 -5
  491. package/key-value-store/mongo/index.js.map +1 -1
  492. package/key-value-store/mongo/module.d.ts +2 -2
  493. package/key-value-store/mongo/module.js +7 -7
  494. package/key-value-store/mongo/module.js.map +1 -1
  495. package/key-value-store/mongo/mongo-key-value-store.provider.d.ts +3 -3
  496. package/key-value-store/mongo/mongo-key-value-store.provider.js +6 -6
  497. package/key-value-store/mongo/mongo-key-value-store.provider.js.map +1 -1
  498. package/key-value-store/mongo/mongo-key-value.model.d.ts +1 -1
  499. package/key-value-store/mongo/mongo-key-value.repository.d.ts +6 -6
  500. package/key-value-store/mongo/mongo-key-value.repository.js +11 -11
  501. package/key-value-store/mongo/mongo-key-value.repository.js.map +1 -1
  502. package/key-value-store/mongo/mongo-key-value.store.d.ts +3 -3
  503. package/key-value-store/mongo/mongo-key-value.store.js +17 -17
  504. package/key-value-store/mongo/mongo-key-value.store.js.map +1 -1
  505. package/lock/index.d.ts +2 -2
  506. package/lock/index.js +2 -2
  507. package/lock/index.js.map +1 -1
  508. package/lock/lock.d.ts +2 -2
  509. package/lock/lock.js +2 -2
  510. package/lock/lock.js.map +1 -1
  511. package/lock/mongo/index.d.ts +5 -5
  512. package/lock/mongo/index.js +5 -5
  513. package/lock/mongo/index.js.map +1 -1
  514. package/lock/mongo/lock.d.ts +4 -4
  515. package/lock/mongo/lock.js +28 -28
  516. package/lock/mongo/lock.js.map +1 -1
  517. package/lock/mongo/model.d.ts +1 -1
  518. package/lock/mongo/module.d.ts +2 -2
  519. package/lock/mongo/module.js +7 -7
  520. package/lock/mongo/module.js.map +1 -1
  521. package/lock/mongo/mongo-lock-repository.d.ts +6 -6
  522. package/lock/mongo/mongo-lock-repository.js +14 -14
  523. package/lock/mongo/mongo-lock-repository.js.map +1 -1
  524. package/lock/mongo/provider.d.ts +4 -4
  525. package/lock/mongo/provider.js +15 -15
  526. package/lock/mongo/provider.js.map +1 -1
  527. package/lock/provider.d.ts +3 -3
  528. package/lock/provider.js +2 -2
  529. package/lock/provider.js.map +1 -1
  530. package/lock/web/index.d.ts +3 -3
  531. package/lock/web/index.js +3 -3
  532. package/lock/web/index.js.map +1 -1
  533. package/lock/web/module.js +7 -7
  534. package/lock/web/module.js.map +1 -1
  535. package/lock/web/web-lock.d.ts +2 -2
  536. package/lock/web/web-lock.js +17 -17
  537. package/lock/web/web-lock.js.map +1 -1
  538. package/lock/web/web-lock.provider.d.ts +2 -2
  539. package/lock/web/web-lock.provider.js +7 -7
  540. package/lock/web/web-lock.provider.js.map +1 -1
  541. package/logger/console/index.d.ts +1 -1
  542. package/logger/console/index.js +1 -1
  543. package/logger/console/index.js.map +1 -1
  544. package/logger/console/logger.d.ts +3 -3
  545. package/logger/console/logger.js +18 -18
  546. package/logger/console/logger.js.map +1 -1
  547. package/logger/index.d.ts +2 -2
  548. package/logger/index.js +2 -2
  549. package/logger/index.js.map +1 -1
  550. package/logger/logger.d.ts +3 -3
  551. package/logger/logger.js +13 -13
  552. package/logger/logger.js.map +1 -1
  553. package/logger/noop/index.d.ts +1 -1
  554. package/logger/noop/index.js +1 -1
  555. package/logger/noop/index.js.map +1 -1
  556. package/logger/noop/logger.d.ts +1 -1
  557. package/logger/noop/logger.js +4 -4
  558. package/logger/noop/logger.js.map +1 -1
  559. package/mail/clients/nodemailer.mail-client.d.ts +2 -2
  560. package/mail/clients/nodemailer.mail-client.js +9 -9
  561. package/mail/clients/nodemailer.mail-client.js.map +1 -1
  562. package/mail/index.d.ts +5 -5
  563. package/mail/index.js +5 -5
  564. package/mail/index.js.map +1 -1
  565. package/mail/mail-log.repository.d.ts +2 -2
  566. package/mail/mail-log.repository.js +2 -2
  567. package/mail/mail-log.repository.js.map +1 -1
  568. package/mail/mail.client.d.ts +3 -3
  569. package/mail/mail.client.js +11 -11
  570. package/mail/mail.client.js.map +1 -1
  571. package/mail/mail.service.d.ts +7 -7
  572. package/mail/mail.service.js +22 -22
  573. package/mail/mail.service.js.map +1 -1
  574. package/mail/models/index.d.ts +6 -6
  575. package/mail/models/index.js +6 -6
  576. package/mail/models/index.js.map +1 -1
  577. package/mail/models/mail-data.model.d.ts +3 -3
  578. package/mail/models/mail-log.model.d.ts +3 -3
  579. package/mail/models/mail-send-result.model.d.ts +1 -1
  580. package/mail/models/mail-template.model.d.ts +1 -1
  581. package/mail/module.d.ts +4 -4
  582. package/mail/module.js +13 -13
  583. package/mail/module.js.map +1 -1
  584. package/mail/repositories/mongo-mail-log.repository.d.ts +6 -6
  585. package/mail/repositories/mongo-mail-log.repository.js +9 -9
  586. package/mail/repositories/mongo-mail-log.repository.js.map +1 -1
  587. package/mail/tokens.d.ts +1 -1
  588. package/mail/tokens.js +2 -2
  589. package/mail/tokens.js.map +1 -1
  590. package/memory/index.d.ts +1 -1
  591. package/memory/index.js +1 -1
  592. package/memory/index.js.map +1 -1
  593. package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.d.ts +3 -3
  594. package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.js +7 -7
  595. package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.js.map +1 -1
  596. package/message-bus/broadcast-channel/broadcast-channel-message-bus.d.ts +3 -3
  597. package/message-bus/broadcast-channel/broadcast-channel-message-bus.js +11 -11
  598. package/message-bus/broadcast-channel/broadcast-channel-message-bus.js.map +1 -1
  599. package/message-bus/broadcast-channel/index.d.ts +3 -3
  600. package/message-bus/broadcast-channel/index.js +3 -3
  601. package/message-bus/broadcast-channel/index.js.map +1 -1
  602. package/message-bus/broadcast-channel/module.js +7 -7
  603. package/message-bus/broadcast-channel/module.js.map +1 -1
  604. package/message-bus/index.d.ts +3 -3
  605. package/message-bus/index.js +3 -3
  606. package/message-bus/index.js.map +1 -1
  607. package/message-bus/local/index.d.ts +3 -3
  608. package/message-bus/local/index.js +3 -3
  609. package/message-bus/local/index.js.map +1 -1
  610. package/message-bus/local/local-message-bus-provider.d.ts +3 -3
  611. package/message-bus/local/local-message-bus-provider.js +14 -14
  612. package/message-bus/local/local-message-bus-provider.js.map +1 -1
  613. package/message-bus/local/local-message-bus.d.ts +4 -4
  614. package/message-bus/local/local-message-bus.js +10 -10
  615. package/message-bus/local/local-message-bus.js.map +1 -1
  616. package/message-bus/local/module.js +7 -7
  617. package/message-bus/local/module.js.map +1 -1
  618. package/message-bus/message-bus-base.d.ts +4 -4
  619. package/message-bus/message-bus-base.js +6 -6
  620. package/message-bus/message-bus-base.js.map +1 -1
  621. package/message-bus/message-bus-provider.d.ts +1 -1
  622. package/message-bus/message-bus.d.ts +4 -4
  623. package/message-bus/message-bus.js +4 -4
  624. package/message-bus/message-bus.js.map +1 -1
  625. package/migration/index.d.ts +3 -3
  626. package/migration/index.js +3 -3
  627. package/migration/index.js.map +1 -1
  628. package/migration/migration-state-repository.d.ts +2 -2
  629. package/migration/migration-state-repository.js +2 -2
  630. package/migration/migration-state-repository.js.map +1 -1
  631. package/migration/migration-state.d.ts +1 -1
  632. package/migration/migrator.d.ts +3 -3
  633. package/migration/migrator.js +22 -22
  634. package/migration/migrator.js.map +1 -1
  635. package/migration/mongo/index.d.ts +2 -2
  636. package/migration/mongo/index.js +2 -2
  637. package/migration/mongo/index.js.map +1 -1
  638. package/migration/mongo/migration-state-repository.d.ts +7 -7
  639. package/migration/mongo/migration-state-repository.js +12 -12
  640. package/migration/mongo/migration-state-repository.js.map +1 -1
  641. package/migration/mongo/module.d.ts +2 -2
  642. package/migration/mongo/module.js +4 -4
  643. package/migration/mongo/module.js.map +1 -1
  644. package/module/index.d.ts +4 -4
  645. package/module/index.js +4 -4
  646. package/module/index.js.map +1 -1
  647. package/module/module-base.d.ts +5 -5
  648. package/module/module-base.js +9 -9
  649. package/module/module-base.js.map +1 -1
  650. package/module/module-metric-reporter.d.ts +4 -4
  651. package/module/module-metric-reporter.js +10 -11
  652. package/module/module-metric-reporter.js.map +1 -1
  653. package/module/module.d.ts +1 -1
  654. package/module/modules/function.module.d.ts +3 -3
  655. package/module/modules/function.module.js +2 -2
  656. package/module/modules/function.module.js.map +1 -1
  657. package/module/modules/index.d.ts +2 -2
  658. package/module/modules/index.js +2 -2
  659. package/module/modules/index.js.map +1 -1
  660. package/module/modules/web-server.module.d.ts +9 -9
  661. package/module/modules/web-server.module.js +17 -17
  662. package/module/modules/web-server.module.js.map +1 -1
  663. package/module/utils.d.ts +2 -2
  664. package/notification/api.d.ts +3 -3
  665. package/notification/api.js +9 -9
  666. package/notification/api.js.map +1 -1
  667. package/notification/models/index.d.ts +2 -2
  668. package/notification/models/index.js +2 -2
  669. package/notification/models/index.js.map +1 -1
  670. package/notification/models/notification.model.js +13 -13
  671. package/notification/models/notification.model.js.map +1 -1
  672. package/notification/notification-channel.service.d.ts +1 -1
  673. package/notification/notification.repository.d.ts +1 -1
  674. package/notification/notification.service.d.ts +2 -2
  675. package/notification/notification.service.js +6 -6
  676. package/notification/notification.service.js.map +1 -1
  677. package/object-storage/index.d.ts +3 -3
  678. package/object-storage/index.js +3 -3
  679. package/object-storage/index.js.map +1 -1
  680. package/object-storage/object-storage-provider.d.ts +1 -1
  681. package/object-storage/object-storage.d.ts +3 -3
  682. package/object-storage/object-storage.js +2 -2
  683. package/object-storage/object-storage.js.map +1 -1
  684. package/object-storage/object.d.ts +1 -1
  685. package/object-storage/s3/index.d.ts +3 -3
  686. package/object-storage/s3/index.js +3 -3
  687. package/object-storage/s3/index.js.map +1 -1
  688. package/object-storage/s3/s3.object-storage-provider.d.ts +3 -3
  689. package/object-storage/s3/s3.object-storage-provider.js +15 -15
  690. package/object-storage/s3/s3.object-storage-provider.js.map +1 -1
  691. package/object-storage/s3/s3.object-storage.d.ts +4 -4
  692. package/object-storage/s3/s3.object-storage.js +23 -26
  693. package/object-storage/s3/s3.object-storage.js.map +1 -1
  694. package/object-storage/s3/s3.object.d.ts +3 -3
  695. package/object-storage/s3/s3.object.js +5 -5
  696. package/object-storage/s3/s3.object.js.map +1 -1
  697. package/openid-connect/cached-oidc-configuration.service.d.ts +3 -3
  698. package/openid-connect/cached-oidc-configuration.service.js +13 -13
  699. package/openid-connect/cached-oidc-configuration.service.js.map +1 -1
  700. package/openid-connect/index.d.ts +7 -7
  701. package/openid-connect/index.js +11 -11
  702. package/openid-connect/index.js.map +1 -1
  703. package/openid-connect/mongo-oidc-state.repository.d.ts +8 -8
  704. package/openid-connect/mongo-oidc-state.repository.js +12 -12
  705. package/openid-connect/mongo-oidc-state.repository.js.map +1 -1
  706. package/openid-connect/oidc-configuration.service.d.ts +1 -1
  707. package/openid-connect/oidc-configuration.service.js +12 -12
  708. package/openid-connect/oidc-configuration.service.js.map +1 -1
  709. package/openid-connect/oidc-state.model.d.ts +1 -1
  710. package/openid-connect/oidc-state.repository.d.ts +2 -2
  711. package/openid-connect/oidc-state.repository.js +2 -2
  712. package/openid-connect/oidc-state.repository.js.map +1 -1
  713. package/openid-connect/oidc.service.d.ts +6 -6
  714. package/openid-connect/oidc.service.js +34 -34
  715. package/openid-connect/oidc.service.js.map +1 -1
  716. package/package.json +5 -5
  717. package/pdf/index.d.ts +1 -1
  718. package/pdf/index.js +1 -1
  719. package/pdf/index.js.map +1 -1
  720. package/pdf/pdf.service.d.ts +7 -7
  721. package/pdf/pdf.service.js +53 -53
  722. package/pdf/pdf.service.js.map +1 -1
  723. package/pool/index.d.ts +1 -1
  724. package/pool/index.js +1 -1
  725. package/pool/index.js.map +1 -1
  726. package/pool/pool.d.ts +3 -3
  727. package/pool/pool.js +10 -10
  728. package/pool/pool.js.map +1 -1
  729. package/process-shutdown.d.ts +2 -2
  730. package/process-shutdown.js +7 -7
  731. package/process-shutdown.js.map +1 -1
  732. package/promise/index.d.ts +3 -3
  733. package/promise/index.js +3 -3
  734. package/promise/index.js.map +1 -1
  735. package/promise/lazy-promise.js +4 -4
  736. package/promise/lazy-promise.js.map +1 -1
  737. package/queue/enqueue-batch.d.ts +1 -1
  738. package/queue/index.d.ts +3 -3
  739. package/queue/index.js +3 -3
  740. package/queue/index.js.map +1 -1
  741. package/queue/mongo/index.d.ts +4 -4
  742. package/queue/mongo/index.js +4 -4
  743. package/queue/mongo/index.js.map +1 -1
  744. package/queue/mongo/job.d.ts +3 -3
  745. package/queue/mongo/mongo-job.repository.d.ts +7 -7
  746. package/queue/mongo/mongo-job.repository.js +18 -18
  747. package/queue/mongo/mongo-job.repository.js.map +1 -1
  748. package/queue/mongo/queue.d.ts +6 -6
  749. package/queue/mongo/queue.js +47 -47
  750. package/queue/mongo/queue.js.map +1 -1
  751. package/queue/mongo/queue.provider.d.ts +10 -10
  752. package/queue/mongo/queue.provider.js +15 -15
  753. package/queue/mongo/queue.provider.js.map +1 -1
  754. package/queue/provider.d.ts +1 -1
  755. package/queue/queue.d.ts +4 -4
  756. package/queue/queue.js +6 -6
  757. package/queue/queue.js.map +1 -1
  758. package/random/index.d.ts +1 -1
  759. package/random/index.js +1 -1
  760. package/random/index.js.map +1 -1
  761. package/random/number/index.d.ts +3 -3
  762. package/random/number/index.js +3 -3
  763. package/random/number/index.js.map +1 -1
  764. package/random/number/mulberry32.d.ts +1 -1
  765. package/random/number/mulberry32.js +2 -2
  766. package/random/number/mulberry32.js.map +1 -1
  767. package/random/number/sfc32.d.ts +1 -1
  768. package/random/number/sfc32.js +2 -2
  769. package/random/number/sfc32.js.map +1 -1
  770. package/reflection/decorator-data.d.ts +1 -1
  771. package/reflection/decorator-data.js +11 -11
  772. package/reflection/decorator-data.js.map +1 -1
  773. package/reflection/decorators.d.ts +2 -2
  774. package/reflection/decorators.js +12 -12
  775. package/reflection/decorators.js.map +1 -1
  776. package/reflection/index.d.ts +5 -5
  777. package/reflection/index.js +5 -5
  778. package/reflection/index.js.map +1 -1
  779. package/reflection/reflection-data-map.d.ts +1 -1
  780. package/reflection/reflection-data-map.js +6 -6
  781. package/reflection/reflection-data-map.js.map +1 -1
  782. package/reflection/registry.d.ts +3 -3
  783. package/reflection/registry.js +27 -27
  784. package/reflection/registry.js.map +1 -1
  785. package/reflection/types.d.ts +2 -2
  786. package/reflection/utils.d.ts +2 -2
  787. package/reflection/utils.js +18 -18
  788. package/reflection/utils.js.map +1 -1
  789. package/rpc/endpoints/message-port.rpc-endpoint.d.ts +2 -2
  790. package/rpc/endpoints/message-port.rpc-endpoint.js +5 -5
  791. package/rpc/endpoints/message-port.rpc-endpoint.js.map +1 -1
  792. package/rpc/index.d.ts +4 -4
  793. package/rpc/index.js +4 -4
  794. package/rpc/index.js.map +1 -1
  795. package/rpc/model.d.ts +2 -2
  796. package/rpc/model.js +2 -2
  797. package/rpc/model.js.map +1 -1
  798. package/rpc/rpc-endpoint.d.ts +1 -1
  799. package/rpc/rpc-error.d.ts +1 -1
  800. package/rpc/rpc-error.js +8 -8
  801. package/rpc/rpc-error.js.map +1 -1
  802. package/rpc/rpc.d.ts +4 -4
  803. package/rpc/rpc.js +32 -32
  804. package/rpc/rpc.js.map +1 -1
  805. package/rxjs/index.d.ts +12 -12
  806. package/rxjs/index.js +12 -12
  807. package/rxjs/index.js.map +1 -1
  808. package/rxjs/intersection-observer.js +6 -6
  809. package/rxjs/intersection-observer.js.map +1 -1
  810. package/rxjs/mutation-observer.js +6 -6
  811. package/rxjs/mutation-observer.js.map +1 -1
  812. package/rxjs/performance-observer.js +6 -6
  813. package/rxjs/performance-observer.js.map +1 -1
  814. package/rxjs/resize-observer.js +6 -6
  815. package/rxjs/resize-observer.js.map +1 -1
  816. package/rxjs/retry-backoff.d.ts +1 -1
  817. package/rxjs/retry-backoff.js +3 -3
  818. package/rxjs/retry-backoff.js.map +1 -1
  819. package/schema/array-constraints/index.d.ts +2 -2
  820. package/schema/array-constraints/index.js +2 -2
  821. package/schema/array-constraints/index.js.map +1 -1
  822. package/schema/array-constraints/maximum-length.d.ts +4 -4
  823. package/schema/array-constraints/maximum-length.js +6 -6
  824. package/schema/array-constraints/maximum-length.js.map +1 -1
  825. package/schema/array-constraints/minimum-length.d.ts +4 -4
  826. package/schema/array-constraints/minimum-length.js +6 -6
  827. package/schema/array-constraints/minimum-length.js.map +1 -1
  828. package/schema/coercers/boolean.coercer.d.ts +3 -3
  829. package/schema/coercers/boolean.coercer.js +6 -6
  830. package/schema/coercers/boolean.coercer.js.map +1 -1
  831. package/schema/coercers/date.coercer.d.ts +3 -3
  832. package/schema/coercers/date.coercer.js +6 -6
  833. package/schema/coercers/date.coercer.js.map +1 -1
  834. package/schema/coercers/index.d.ts +6 -6
  835. package/schema/coercers/index.js +6 -6
  836. package/schema/coercers/index.js.map +1 -1
  837. package/schema/coercers/number.coercer.d.ts +3 -3
  838. package/schema/coercers/number.coercer.js +4 -4
  839. package/schema/coercers/number.coercer.js.map +1 -1
  840. package/schema/coercers/regexp.coercer.d.ts +3 -3
  841. package/schema/coercers/regexp.coercer.js +4 -4
  842. package/schema/coercers/regexp.coercer.js.map +1 -1
  843. package/schema/coercers/string.coercer.d.ts +3 -3
  844. package/schema/coercers/string.coercer.js +6 -6
  845. package/schema/coercers/string.coercer.js.map +1 -1
  846. package/schema/coercers/uint8-array.coercer.d.ts +3 -3
  847. package/schema/coercers/uint8-array.coercer.js +9 -9
  848. package/schema/coercers/uint8-array.coercer.js.map +1 -1
  849. package/schema/constraints/enumeration.d.ts +4 -4
  850. package/schema/constraints/enumeration.js +11 -11
  851. package/schema/constraints/enumeration.js.map +1 -1
  852. package/schema/constraints/generic.d.ts +5 -5
  853. package/schema/constraints/generic.js +6 -6
  854. package/schema/constraints/generic.js.map +1 -1
  855. package/schema/constraints/index.d.ts +12 -12
  856. package/schema/constraints/index.js +12 -12
  857. package/schema/constraints/index.js.map +1 -1
  858. package/schema/constraints/integer.d.ts +4 -4
  859. package/schema/constraints/integer.js +7 -7
  860. package/schema/constraints/integer.js.map +1 -1
  861. package/schema/constraints/length.d.ts +1 -1
  862. package/schema/constraints/length.js +9 -9
  863. package/schema/constraints/length.js.map +1 -1
  864. package/schema/constraints/literal.d.ts +3 -3
  865. package/schema/constraints/literal.js +9 -9
  866. package/schema/constraints/literal.js.map +1 -1
  867. package/schema/constraints/maximum-date.d.ts +4 -4
  868. package/schema/constraints/maximum-date.js +10 -10
  869. package/schema/constraints/maximum-date.js.map +1 -1
  870. package/schema/constraints/maximum-length.d.ts +4 -4
  871. package/schema/constraints/maximum-length.js +8 -8
  872. package/schema/constraints/maximum-length.js.map +1 -1
  873. package/schema/constraints/maximum.d.ts +4 -4
  874. package/schema/constraints/maximum.js +7 -7
  875. package/schema/constraints/maximum.js.map +1 -1
  876. package/schema/constraints/minimum-date.d.ts +4 -4
  877. package/schema/constraints/minimum-date.js +10 -10
  878. package/schema/constraints/minimum-date.js.map +1 -1
  879. package/schema/constraints/minimum-length.d.ts +4 -4
  880. package/schema/constraints/minimum-length.js +8 -8
  881. package/schema/constraints/minimum-length.js.map +1 -1
  882. package/schema/constraints/minimum.d.ts +4 -4
  883. package/schema/constraints/minimum.js +7 -7
  884. package/schema/constraints/minimum.js.map +1 -1
  885. package/schema/constraints/pattern.d.ts +4 -4
  886. package/schema/constraints/pattern.js +7 -7
  887. package/schema/constraints/pattern.js.map +1 -1
  888. package/schema/decorators/class.d.ts +2 -2
  889. package/schema/decorators/class.js +2 -2
  890. package/schema/decorators/class.js.map +1 -1
  891. package/schema/decorators/coerce.d.ts +1 -1
  892. package/schema/decorators/coerce.js +2 -2
  893. package/schema/decorators/coerce.js.map +1 -1
  894. package/schema/decorators/constraint.d.ts +3 -3
  895. package/schema/decorators/constraint.js +4 -4
  896. package/schema/decorators/constraint.js.map +1 -1
  897. package/schema/decorators/index.d.ts +6 -6
  898. package/schema/decorators/index.js +6 -6
  899. package/schema/decorators/index.js.map +1 -1
  900. package/schema/decorators/property.d.ts +4 -4
  901. package/schema/decorators/property.js +11 -11
  902. package/schema/decorators/property.js.map +1 -1
  903. package/schema/decorators/types.d.ts +3 -3
  904. package/schema/decorators/utils.d.ts +8 -8
  905. package/schema/decorators/utils.js +14 -14
  906. package/schema/decorators/utils.js.map +1 -1
  907. package/schema/index.d.ts +10 -10
  908. package/schema/index.js +10 -10
  909. package/schema/index.js.map +1 -1
  910. package/schema/schema.d.ts +2 -2
  911. package/schema/schema.error.d.ts +6 -6
  912. package/schema/schema.error.js +18 -18
  913. package/schema/schema.error.js.map +1 -1
  914. package/schema/schema.js +63 -63
  915. package/schema/schema.js.map +1 -1
  916. package/schema/schemas/any.d.ts +2 -2
  917. package/schema/schemas/any.js +4 -4
  918. package/schema/schemas/any.js.map +1 -1
  919. package/schema/schemas/array.d.ts +4 -4
  920. package/schema/schemas/array.js +12 -12
  921. package/schema/schemas/array.js.map +1 -1
  922. package/schema/schemas/assign.d.ts +1 -1
  923. package/schema/schemas/assign.js +6 -6
  924. package/schema/schemas/assign.js.map +1 -1
  925. package/schema/schemas/boolean.d.ts +2 -2
  926. package/schema/schemas/boolean.js +4 -4
  927. package/schema/schemas/boolean.js.map +1 -1
  928. package/schema/schemas/constraint.d.ts +4 -4
  929. package/schema/schemas/constraint.js +4 -4
  930. package/schema/schemas/constraint.js.map +1 -1
  931. package/schema/schemas/date.d.ts +2 -2
  932. package/schema/schemas/date.js +12 -12
  933. package/schema/schemas/date.js.map +1 -1
  934. package/schema/schemas/defaulted.d.ts +4 -4
  935. package/schema/schemas/defaulted.js +5 -5
  936. package/schema/schemas/defaulted.js.map +1 -1
  937. package/schema/schemas/enumeration.d.ts +3 -3
  938. package/schema/schemas/enumeration.js +8 -8
  939. package/schema/schemas/enumeration.js.map +1 -1
  940. package/schema/schemas/index.d.ts +26 -26
  941. package/schema/schemas/index.js +26 -26
  942. package/schema/schemas/index.js.map +1 -1
  943. package/schema/schemas/instance.d.ts +1 -1
  944. package/schema/schemas/instance.js +2 -2
  945. package/schema/schemas/instance.js.map +1 -1
  946. package/schema/schemas/literal.d.ts +2 -2
  947. package/schema/schemas/literal.js +9 -9
  948. package/schema/schemas/literal.js.map +1 -1
  949. package/schema/schemas/nullable.d.ts +3 -3
  950. package/schema/schemas/nullable.js +4 -4
  951. package/schema/schemas/nullable.js.map +1 -1
  952. package/schema/schemas/number.d.ts +2 -2
  953. package/schema/schemas/number.js +15 -15
  954. package/schema/schemas/number.js.map +1 -1
  955. package/schema/schemas/object.d.ts +2 -2
  956. package/schema/schemas/object.js +2 -2
  957. package/schema/schemas/object.js.map +1 -1
  958. package/schema/schemas/omit.d.ts +2 -2
  959. package/schema/schemas/omit.js +8 -8
  960. package/schema/schemas/omit.js.map +1 -1
  961. package/schema/schemas/one-or-many.d.ts +5 -5
  962. package/schema/schemas/one-or-many.js +8 -8
  963. package/schema/schemas/one-or-many.js.map +1 -1
  964. package/schema/schemas/optional.d.ts +4 -4
  965. package/schema/schemas/optional.js +4 -4
  966. package/schema/schemas/optional.js.map +1 -1
  967. package/schema/schemas/partial.d.ts +2 -2
  968. package/schema/schemas/partial.js +11 -11
  969. package/schema/schemas/partial.js.map +1 -1
  970. package/schema/schemas/pick.d.ts +2 -2
  971. package/schema/schemas/pick.js +8 -8
  972. package/schema/schemas/pick.js.map +1 -1
  973. package/schema/schemas/readable-stream.d.ts +3 -3
  974. package/schema/schemas/readable-stream.js +4 -4
  975. package/schema/schemas/readable-stream.js.map +1 -1
  976. package/schema/schemas/record.d.ts +3 -3
  977. package/schema/schemas/record.js +2 -2
  978. package/schema/schemas/record.js.map +1 -1
  979. package/schema/schemas/regexp.d.ts +3 -3
  980. package/schema/schemas/regexp.js +4 -4
  981. package/schema/schemas/regexp.js.map +1 -1
  982. package/schema/schemas/string.d.ts +2 -2
  983. package/schema/schemas/string.js +22 -22
  984. package/schema/schemas/string.js.map +1 -1
  985. package/schema/schemas/transform.d.ts +4 -4
  986. package/schema/schemas/transform.js +4 -4
  987. package/schema/schemas/transform.js.map +1 -1
  988. package/schema/schemas/uint8-array.d.ts +2 -2
  989. package/schema/schemas/uint8-array.js +16 -16
  990. package/schema/schemas/uint8-array.js.map +1 -1
  991. package/schema/schemas/union.d.ts +3 -3
  992. package/schema/schemas/union.js +8 -8
  993. package/schema/schemas/union.js.map +1 -1
  994. package/schema/schemas/unknown.d.ts +2 -2
  995. package/schema/schemas/unknown.js +4 -4
  996. package/schema/schemas/unknown.js.map +1 -1
  997. package/schema/transformers/generic.d.ts +4 -4
  998. package/schema/transformers/generic.js +4 -4
  999. package/schema/transformers/generic.js.map +1 -1
  1000. package/schema/transformers/index.d.ts +4 -4
  1001. package/schema/transformers/index.js +4 -4
  1002. package/schema/transformers/index.js.map +1 -1
  1003. package/schema/transformers/lowercase.d.ts +3 -3
  1004. package/schema/transformers/lowercase.js +4 -4
  1005. package/schema/transformers/lowercase.js.map +1 -1
  1006. package/schema/transformers/trim.d.ts +3 -3
  1007. package/schema/transformers/trim.js +4 -4
  1008. package/schema/transformers/trim.js.map +1 -1
  1009. package/schema/transformers/uppercase.d.ts +3 -3
  1010. package/schema/transformers/uppercase.js +4 -4
  1011. package/schema/transformers/uppercase.js.map +1 -1
  1012. package/schema/types/index.d.ts +5 -5
  1013. package/schema/types/index.js +5 -5
  1014. package/schema/types/index.js.map +1 -1
  1015. package/schema/types/schema-array-constraint.d.ts +2 -2
  1016. package/schema/types/schema-value-coercer.d.ts +3 -3
  1017. package/schema/types/schema-value-constraint.d.ts +3 -3
  1018. package/schema/types/schema-value-transformer.d.ts +3 -3
  1019. package/schema/types/types.d.ts +7 -7
  1020. package/schema/types/types.js +24 -24
  1021. package/schema/types/types.js.map +1 -1
  1022. package/schema/utils/index.d.ts +2 -2
  1023. package/schema/utils/index.js +2 -2
  1024. package/schema/utils/index.js.map +1 -1
  1025. package/schema/utils/schema.d.ts +3 -3
  1026. package/schema/utils/schema.js +40 -40
  1027. package/schema/utils/schema.js.map +1 -1
  1028. package/schema/utils/value-type.d.ts +3 -3
  1029. package/schema/utils/value-type.js +22 -22
  1030. package/schema/utils/value-type.js.map +1 -1
  1031. package/search-index/elastic/config.d.ts +3 -3
  1032. package/search-index/elastic/config.js +6 -6
  1033. package/search-index/elastic/config.js.map +1 -1
  1034. package/search-index/elastic/index.d.ts +6 -6
  1035. package/search-index/elastic/index.js +6 -6
  1036. package/search-index/elastic/index.js.map +1 -1
  1037. package/search-index/elastic/model/elastic-query.d.ts +1 -1
  1038. package/search-index/elastic/model/index-mapping.d.ts +3 -3
  1039. package/search-index/elastic/model/index-mapping.js +2 -2
  1040. package/search-index/elastic/model/index-mapping.js.map +1 -1
  1041. package/search-index/elastic/model/index.d.ts +3 -3
  1042. package/search-index/elastic/model/index.js +3 -3
  1043. package/search-index/elastic/model/index.js.map +1 -1
  1044. package/search-index/elastic/model/sort.d.ts +3 -3
  1045. package/search-index/elastic/module.d.ts +4 -4
  1046. package/search-index/elastic/module.js +17 -17
  1047. package/search-index/elastic/module.js.map +1 -1
  1048. package/search-index/elastic/query-builder/boolean-query-builder.d.ts +1 -1
  1049. package/search-index/elastic/query-builder/index.d.ts +1 -1
  1050. package/search-index/elastic/query-builder/index.js +1 -1
  1051. package/search-index/elastic/query-builder/index.js.map +1 -1
  1052. package/search-index/elastic/query-converter.d.ts +4 -4
  1053. package/search-index/elastic/query-converter.js +26 -26
  1054. package/search-index/elastic/query-converter.js.map +1 -1
  1055. package/search-index/elastic/search-index.d.ts +10 -10
  1056. package/search-index/elastic/search-index.js +33 -33
  1057. package/search-index/elastic/search-index.js.map +1 -1
  1058. package/search-index/elastic/sort-converter.d.ts +3 -3
  1059. package/search-index/elastic/types.d.ts +1 -1
  1060. package/search-index/error.d.ts +1 -1
  1061. package/search-index/error.js +4 -4
  1062. package/search-index/error.js.map +1 -1
  1063. package/search-index/index.d.ts +3 -3
  1064. package/search-index/index.js +3 -3
  1065. package/search-index/index.js.map +1 -1
  1066. package/search-index/memory/index.d.ts +1 -1
  1067. package/search-index/memory/index.js +1 -1
  1068. package/search-index/memory/index.js.map +1 -1
  1069. package/search-index/memory/memory-search-index.d.ts +3 -3
  1070. package/search-index/memory/memory-search-index.js +26 -26
  1071. package/search-index/memory/memory-search-index.js.map +1 -1
  1072. package/search-index/search-index.d.ts +3 -3
  1073. package/search-index/search-index.js +3 -3
  1074. package/search-index/search-index.js.map +1 -1
  1075. package/search-index/search-result.d.ts +1 -1
  1076. package/serializer/handlers/binary.d.ts +1 -1
  1077. package/serializer/handlers/binary.js +7 -7
  1078. package/serializer/handlers/binary.js.map +1 -1
  1079. package/serializer/handlers/index.d.ts +7 -7
  1080. package/serializer/handlers/index.js +7 -7
  1081. package/serializer/handlers/index.js.map +1 -1
  1082. package/serializer/handlers/map.d.ts +1 -1
  1083. package/serializer/handlers/register.d.ts +1 -1
  1084. package/serializer/handlers/register.js +18 -18
  1085. package/serializer/handlers/register.js.map +1 -1
  1086. package/serializer/handlers/set.d.ts +2 -2
  1087. package/serializer/index.d.ts +4 -4
  1088. package/serializer/index.js +7 -7
  1089. package/serializer/index.js.map +1 -1
  1090. package/serializer/serializable.d.ts +1 -1
  1091. package/serializer/serializable.js +5 -5
  1092. package/serializer/serializable.js.map +1 -1
  1093. package/serializer/serializer.d.ts +2 -2
  1094. package/serializer/serializer.js +35 -35
  1095. package/serializer/serializer.js.map +1 -1
  1096. package/serializer/types.d.ts +1 -1
  1097. package/sse/index.d.ts +1 -1
  1098. package/sse/index.js +1 -1
  1099. package/sse/index.js.map +1 -1
  1100. package/sse/server-sent-events.js +5 -5
  1101. package/sse/server-sent-events.js.map +1 -1
  1102. package/tailwind/index.d.ts +1 -1
  1103. package/tailwind/index.js +1 -1
  1104. package/tailwind/index.js.map +1 -1
  1105. package/tailwind/theme-adapter.d.ts +1 -1
  1106. package/tailwind/theme-adapter.js +4 -4
  1107. package/tailwind/theme-adapter.js.map +1 -1
  1108. package/templates/index.d.ts +9 -9
  1109. package/templates/index.js +9 -9
  1110. package/templates/index.js.map +1 -1
  1111. package/templates/module.d.ts +4 -4
  1112. package/templates/module.js +12 -12
  1113. package/templates/module.js.map +1 -1
  1114. package/templates/providers/file.template-provider.d.ts +4 -4
  1115. package/templates/providers/file.template-provider.js +13 -13
  1116. package/templates/providers/file.template-provider.js.map +1 -1
  1117. package/templates/providers/memory.template-provider.d.ts +2 -2
  1118. package/templates/providers/memory.template-provider.js +6 -6
  1119. package/templates/providers/memory.template-provider.js.map +1 -1
  1120. package/templates/renderers/handlebars.template-renderer.d.ts +5 -5
  1121. package/templates/renderers/handlebars.template-renderer.js +19 -19
  1122. package/templates/renderers/handlebars.template-renderer.js.map +1 -1
  1123. package/templates/renderers/jsx.template-renderer.d.ts +6 -6
  1124. package/templates/renderers/jsx.template-renderer.js +8 -8
  1125. package/templates/renderers/jsx.template-renderer.js.map +1 -1
  1126. package/templates/renderers/mjml.template-renderer.d.ts +3 -3
  1127. package/templates/renderers/mjml.template-renderer.js +7 -7
  1128. package/templates/renderers/mjml.template-renderer.js.map +1 -1
  1129. package/templates/renderers/string.template-renderer.d.ts +2 -2
  1130. package/templates/renderers/string.template-renderer.js +4 -4
  1131. package/templates/renderers/string.template-renderer.js.map +1 -1
  1132. package/templates/resolvers/file.template-resolver.d.ts +6 -6
  1133. package/templates/resolvers/file.template-resolver.js +13 -13
  1134. package/templates/resolvers/file.template-resolver.js.map +1 -1
  1135. package/templates/resolvers/jsx.template-resolver.d.ts +4 -4
  1136. package/templates/resolvers/jsx.template-resolver.js +8 -8
  1137. package/templates/resolvers/jsx.template-resolver.js.map +1 -1
  1138. package/templates/resolvers/string.template-resolver.d.ts +4 -4
  1139. package/templates/resolvers/string.template-resolver.js +8 -8
  1140. package/templates/resolvers/string.template-resolver.js.map +1 -1
  1141. package/templates/template-renderer.provider.d.ts +1 -1
  1142. package/templates/template-renderer.provider.js +4 -4
  1143. package/templates/template-renderer.provider.js.map +1 -1
  1144. package/templates/template-resolver.provider.d.ts +1 -1
  1145. package/templates/template-resolver.provider.js +4 -4
  1146. package/templates/template-resolver.provider.js.map +1 -1
  1147. package/templates/template.model.d.ts +1 -1
  1148. package/templates/template.model.js +10 -10
  1149. package/templates/template.model.js.map +1 -1
  1150. package/templates/template.provider.d.ts +1 -1
  1151. package/templates/template.renderer.d.ts +2 -2
  1152. package/templates/template.renderer.js +4 -4
  1153. package/templates/template.renderer.js.map +1 -1
  1154. package/templates/template.resolver.d.ts +1 -1
  1155. package/templates/template.service.d.ts +5 -5
  1156. package/templates/template.service.js +15 -15
  1157. package/templates/template.service.js.map +1 -1
  1158. package/templates/tokens.d.ts +4 -4
  1159. package/templates/tokens.js +3 -3
  1160. package/templates/tokens.js.map +1 -1
  1161. package/text/dynamic-text.model.d.ts +3 -3
  1162. package/text/dynamic-text.model.js +7 -7
  1163. package/text/dynamic-text.model.js.map +1 -1
  1164. package/text/index.d.ts +3 -3
  1165. package/text/index.js +3 -3
  1166. package/text/index.js.map +1 -1
  1167. package/text/localizable-text.model.d.ts +1 -1
  1168. package/text/localization.service.d.ts +7 -4
  1169. package/text/localization.service.js +50 -35
  1170. package/text/localization.service.js.map +1 -1
  1171. package/theme/adapters/css-adapter.d.ts +1 -1
  1172. package/theme/adapters/css-adapter.js +19 -19
  1173. package/theme/adapters/css-adapter.js.map +1 -1
  1174. package/theme/index.d.ts +1 -1
  1175. package/theme/index.js +1 -1
  1176. package/theme/index.js.map +1 -1
  1177. package/theme/theme-service.d.ts +2 -2
  1178. package/theme/theme-service.js +19 -19
  1179. package/theme/theme-service.js.map +1 -1
  1180. package/threading/index.d.ts +2 -2
  1181. package/threading/index.js +2 -2
  1182. package/threading/index.js.map +1 -1
  1183. package/threading/thread-pool.d.ts +4 -4
  1184. package/threading/thread-pool.js +11 -11
  1185. package/threading/thread-pool.js.map +1 -1
  1186. package/threading/thread-worker.d.ts +1 -1
  1187. package/threading/thread-worker.js +2 -2
  1188. package/threading/thread-worker.js.map +1 -1
  1189. package/tokens.d.ts +1 -1
  1190. package/tokens.js +2 -2
  1191. package/tokens.js.map +1 -1
  1192. package/types/geo-json.d.ts +1 -1
  1193. package/utils/any-iterable-iterator.js +3 -3
  1194. package/utils/any-iterable-iterator.js.map +1 -1
  1195. package/utils/array/array-backtracker.js +5 -5
  1196. package/utils/array/array-backtracker.js.map +1 -1
  1197. package/utils/array/array.js +11 -11
  1198. package/utils/array/array.js.map +1 -1
  1199. package/utils/array/index.d.ts +2 -2
  1200. package/utils/array/index.js +2 -2
  1201. package/utils/array/index.js.map +1 -1
  1202. package/utils/async-iterable-helpers/all.d.ts +2 -2
  1203. package/utils/async-iterable-helpers/all.js +2 -2
  1204. package/utils/async-iterable-helpers/all.js.map +1 -1
  1205. package/utils/async-iterable-helpers/any.d.ts +2 -2
  1206. package/utils/async-iterable-helpers/any.js +2 -2
  1207. package/utils/async-iterable-helpers/any.js.map +1 -1
  1208. package/utils/async-iterable-helpers/assert.d.ts +2 -2
  1209. package/utils/async-iterable-helpers/assert.js +5 -5
  1210. package/utils/async-iterable-helpers/assert.js.map +1 -1
  1211. package/utils/async-iterable-helpers/batch.d.ts +1 -1
  1212. package/utils/async-iterable-helpers/batch.js +2 -2
  1213. package/utils/async-iterable-helpers/batch.js.map +1 -1
  1214. package/utils/async-iterable-helpers/buffer.d.ts +1 -1
  1215. package/utils/async-iterable-helpers/buffer.js +8 -8
  1216. package/utils/async-iterable-helpers/buffer.js.map +1 -1
  1217. package/utils/async-iterable-helpers/concat.d.ts +1 -1
  1218. package/utils/async-iterable-helpers/default-if-empty.d.ts +1 -1
  1219. package/utils/async-iterable-helpers/deferred.d.ts +1 -1
  1220. package/utils/async-iterable-helpers/difference.d.ts +2 -2
  1221. package/utils/async-iterable-helpers/difference.js +8 -8
  1222. package/utils/async-iterable-helpers/difference.js.map +1 -1
  1223. package/utils/async-iterable-helpers/distinct.d.ts +2 -2
  1224. package/utils/async-iterable-helpers/distinct.js +2 -2
  1225. package/utils/async-iterable-helpers/distinct.js.map +1 -1
  1226. package/utils/async-iterable-helpers/drain.d.ts +1 -1
  1227. package/utils/async-iterable-helpers/filter.d.ts +2 -2
  1228. package/utils/async-iterable-helpers/filter.js +2 -2
  1229. package/utils/async-iterable-helpers/filter.js.map +1 -1
  1230. package/utils/async-iterable-helpers/first-or-default.d.ts +3 -3
  1231. package/utils/async-iterable-helpers/first-or-default.js +2 -2
  1232. package/utils/async-iterable-helpers/first-or-default.js.map +1 -1
  1233. package/utils/async-iterable-helpers/first.d.ts +3 -3
  1234. package/utils/async-iterable-helpers/first.js +2 -2
  1235. package/utils/async-iterable-helpers/first.js.map +1 -1
  1236. package/utils/async-iterable-helpers/for-each.d.ts +2 -2
  1237. package/utils/async-iterable-helpers/for-each.js +2 -2
  1238. package/utils/async-iterable-helpers/for-each.js.map +1 -1
  1239. package/utils/async-iterable-helpers/group-single.d.ts +2 -2
  1240. package/utils/async-iterable-helpers/group-single.js +2 -2
  1241. package/utils/async-iterable-helpers/group-single.js.map +1 -1
  1242. package/utils/async-iterable-helpers/group-to-map.d.ts +2 -2
  1243. package/utils/async-iterable-helpers/group-to-map.js +5 -5
  1244. package/utils/async-iterable-helpers/group-to-map.js.map +1 -1
  1245. package/utils/async-iterable-helpers/group-to-single-map.d.ts +2 -2
  1246. package/utils/async-iterable-helpers/group-to-single-map.js +2 -2
  1247. package/utils/async-iterable-helpers/group-to-single-map.js.map +1 -1
  1248. package/utils/async-iterable-helpers/group.d.ts +2 -2
  1249. package/utils/async-iterable-helpers/group.js +2 -2
  1250. package/utils/async-iterable-helpers/group.js.map +1 -1
  1251. package/utils/async-iterable-helpers/includes.d.ts +1 -1
  1252. package/utils/async-iterable-helpers/includes.js +6 -6
  1253. package/utils/async-iterable-helpers/includes.js.map +1 -1
  1254. package/utils/async-iterable-helpers/index.d.ts +48 -48
  1255. package/utils/async-iterable-helpers/index.js +48 -48
  1256. package/utils/async-iterable-helpers/index.js.map +1 -1
  1257. package/utils/async-iterable-helpers/interrupt.d.ts +1 -1
  1258. package/utils/async-iterable-helpers/interrupt.js +5 -5
  1259. package/utils/async-iterable-helpers/interrupt.js.map +1 -1
  1260. package/utils/async-iterable-helpers/is-async-iterable.d.ts +1 -1
  1261. package/utils/async-iterable-helpers/is-async-iterable.js +3 -3
  1262. package/utils/async-iterable-helpers/is-async-iterable.js.map +1 -1
  1263. package/utils/async-iterable-helpers/last-or-default.d.ts +3 -3
  1264. package/utils/async-iterable-helpers/last-or-default.js +2 -2
  1265. package/utils/async-iterable-helpers/last-or-default.js.map +1 -1
  1266. package/utils/async-iterable-helpers/last.d.ts +3 -3
  1267. package/utils/async-iterable-helpers/last.js +2 -2
  1268. package/utils/async-iterable-helpers/last.js.map +1 -1
  1269. package/utils/async-iterable-helpers/map-many.d.ts +2 -2
  1270. package/utils/async-iterable-helpers/map-many.js +2 -2
  1271. package/utils/async-iterable-helpers/map-many.js.map +1 -1
  1272. package/utils/async-iterable-helpers/map.d.ts +2 -2
  1273. package/utils/async-iterable-helpers/map.js +2 -2
  1274. package/utils/async-iterable-helpers/map.js.map +1 -1
  1275. package/utils/async-iterable-helpers/materialize.d.ts +1 -1
  1276. package/utils/async-iterable-helpers/materialize.js +4 -4
  1277. package/utils/async-iterable-helpers/materialize.js.map +1 -1
  1278. package/utils/async-iterable-helpers/metadata.d.ts +2 -2
  1279. package/utils/async-iterable-helpers/metadata.js +2 -2
  1280. package/utils/async-iterable-helpers/metadata.js.map +1 -1
  1281. package/utils/async-iterable-helpers/multiplex.d.ts +1 -1
  1282. package/utils/async-iterable-helpers/multiplex.js +3 -3
  1283. package/utils/async-iterable-helpers/multiplex.js.map +1 -1
  1284. package/utils/async-iterable-helpers/observable-iterable.js +5 -5
  1285. package/utils/async-iterable-helpers/observable-iterable.js.map +1 -1
  1286. package/utils/async-iterable-helpers/pairwise.d.ts +1 -1
  1287. package/utils/async-iterable-helpers/pairwise.js +2 -2
  1288. package/utils/async-iterable-helpers/pairwise.js.map +1 -1
  1289. package/utils/async-iterable-helpers/parallel/feed.d.ts +2 -2
  1290. package/utils/async-iterable-helpers/parallel/feed.js +6 -6
  1291. package/utils/async-iterable-helpers/parallel/feed.js.map +1 -1
  1292. package/utils/async-iterable-helpers/parallel/filter.d.ts +2 -2
  1293. package/utils/async-iterable-helpers/parallel/filter.js +2 -2
  1294. package/utils/async-iterable-helpers/parallel/filter.js.map +1 -1
  1295. package/utils/async-iterable-helpers/parallel/for-each.d.ts +2 -2
  1296. package/utils/async-iterable-helpers/parallel/for-each.js +4 -4
  1297. package/utils/async-iterable-helpers/parallel/for-each.js.map +1 -1
  1298. package/utils/async-iterable-helpers/parallel/group.d.ts +2 -2
  1299. package/utils/async-iterable-helpers/parallel/group.js +4 -4
  1300. package/utils/async-iterable-helpers/parallel/group.js.map +1 -1
  1301. package/utils/async-iterable-helpers/parallel/index.d.ts +7 -7
  1302. package/utils/async-iterable-helpers/parallel/index.js +7 -7
  1303. package/utils/async-iterable-helpers/parallel/index.js.map +1 -1
  1304. package/utils/async-iterable-helpers/parallel/map.d.ts +2 -2
  1305. package/utils/async-iterable-helpers/parallel/map.js +2 -2
  1306. package/utils/async-iterable-helpers/parallel/map.js.map +1 -1
  1307. package/utils/async-iterable-helpers/parallel/tap.d.ts +2 -2
  1308. package/utils/async-iterable-helpers/parallel/tap.js +2 -2
  1309. package/utils/async-iterable-helpers/parallel/tap.js.map +1 -1
  1310. package/utils/async-iterable-helpers/reduce.d.ts +2 -2
  1311. package/utils/async-iterable-helpers/reduce.js +2 -2
  1312. package/utils/async-iterable-helpers/reduce.js.map +1 -1
  1313. package/utils/async-iterable-helpers/retry.d.ts +2 -2
  1314. package/utils/async-iterable-helpers/retry.js +2 -2
  1315. package/utils/async-iterable-helpers/retry.js.map +1 -1
  1316. package/utils/async-iterable-helpers/single-or-default.d.ts +3 -3
  1317. package/utils/async-iterable-helpers/single.d.ts +3 -3
  1318. package/utils/async-iterable-helpers/skip.d.ts +1 -1
  1319. package/utils/async-iterable-helpers/skip.js +2 -2
  1320. package/utils/async-iterable-helpers/skip.js.map +1 -1
  1321. package/utils/async-iterable-helpers/sort.d.ts +2 -2
  1322. package/utils/async-iterable-helpers/sort.js +4 -4
  1323. package/utils/async-iterable-helpers/sort.js.map +1 -1
  1324. package/utils/async-iterable-helpers/take-until.d.ts +2 -2
  1325. package/utils/async-iterable-helpers/take-until.js +2 -2
  1326. package/utils/async-iterable-helpers/take-until.js.map +1 -1
  1327. package/utils/async-iterable-helpers/take-while.d.ts +2 -2
  1328. package/utils/async-iterable-helpers/take-while.js +2 -2
  1329. package/utils/async-iterable-helpers/take-while.js.map +1 -1
  1330. package/utils/async-iterable-helpers/take.d.ts +1 -1
  1331. package/utils/async-iterable-helpers/tap.d.ts +2 -2
  1332. package/utils/async-iterable-helpers/tap.js +2 -2
  1333. package/utils/async-iterable-helpers/tap.js.map +1 -1
  1334. package/utils/async-iterable-helpers/throttle.d.ts +2 -2
  1335. package/utils/async-iterable-helpers/throttle.js +2 -2
  1336. package/utils/async-iterable-helpers/throttle.js.map +1 -1
  1337. package/utils/async-iterable-helpers/to-array.d.ts +1 -1
  1338. package/utils/async-iterable-helpers/to-array.js +2 -2
  1339. package/utils/async-iterable-helpers/to-array.js.map +1 -1
  1340. package/utils/async-iterable-helpers/to-async-iterable-iterator.d.ts +1 -1
  1341. package/utils/async-iterable-helpers/to-async-iterator.d.ts +1 -1
  1342. package/utils/async-iterable-helpers/to-async-iterator.js +7 -7
  1343. package/utils/async-iterable-helpers/to-async-iterator.js.map +1 -1
  1344. package/utils/async-iterable-helpers/to-set.d.ts +1 -1
  1345. package/utils/async-iterable-helpers/to-set.js +2 -2
  1346. package/utils/async-iterable-helpers/to-set.js.map +1 -1
  1347. package/utils/async-iterable-helpers/to-sync-iterable.d.ts +1 -1
  1348. package/utils/async-iterable-helpers/to-sync-iterable.js +4 -4
  1349. package/utils/async-iterable-helpers/to-sync-iterable.js.map +1 -1
  1350. package/utils/async-iterable-helpers/types.d.ts +1 -1
  1351. package/utils/async-iterable-helpers/while.d.ts +2 -2
  1352. package/utils/async-iterable-helpers/while.js +2 -2
  1353. package/utils/async-iterable-helpers/while.js.map +1 -1
  1354. package/utils/async-iterator-iterable-iterator.js +3 -3
  1355. package/utils/async-iterator-iterable-iterator.js.map +1 -1
  1356. package/utils/backoff.d.ts +2 -2
  1357. package/utils/backoff.js +9 -9
  1358. package/utils/backoff.js.map +1 -1
  1359. package/utils/base64.d.ts +1 -1
  1360. package/utils/base64.js +8 -8
  1361. package/utils/base64.js.map +1 -1
  1362. package/utils/benchmark.d.ts +2 -2
  1363. package/utils/benchmark.js +12 -12
  1364. package/utils/benchmark.js.map +1 -1
  1365. package/utils/binary-search.d.ts +1 -1
  1366. package/utils/binary-search.js +8 -8
  1367. package/utils/binary-search.js.map +1 -1
  1368. package/utils/binary.d.ts +1 -1
  1369. package/utils/binary.js +6 -6
  1370. package/utils/binary.js.map +1 -1
  1371. package/utils/cancellation-token.js +8 -8
  1372. package/utils/cancellation-token.js.map +1 -1
  1373. package/utils/clone.js +15 -15
  1374. package/utils/clone.js.map +1 -1
  1375. package/utils/compression.d.ts +1 -1
  1376. package/utils/compression.js +26 -26
  1377. package/utils/compression.js.map +1 -1
  1378. package/utils/config-parser.js +3 -3
  1379. package/utils/config-parser.js.map +1 -1
  1380. package/utils/cryptography.d.ts +1 -1
  1381. package/utils/cryptography.js +33 -33
  1382. package/utils/cryptography.js.map +1 -1
  1383. package/utils/date-time.js +11 -11
  1384. package/utils/date-time.js.map +1 -1
  1385. package/utils/encoding.d.ts +1 -1
  1386. package/utils/encoding.js +8 -8
  1387. package/utils/encoding.js.map +1 -1
  1388. package/utils/enum.d.ts +1 -1
  1389. package/utils/enum.js +10 -10
  1390. package/utils/enum.js.map +1 -1
  1391. package/utils/equals.d.ts +2 -2
  1392. package/utils/equals.js +14 -14
  1393. package/utils/equals.js.map +1 -1
  1394. package/utils/event-loop.d.ts +2 -2
  1395. package/utils/event-loop.js +7 -7
  1396. package/utils/event-loop.js.map +1 -1
  1397. package/utils/feedable-async-iterable.js +4 -4
  1398. package/utils/feedable-async-iterable.js.map +1 -1
  1399. package/utils/file-reader.js +2 -2
  1400. package/utils/file-reader.js.map +1 -1
  1401. package/utils/format-error.d.ts +1 -1
  1402. package/utils/format-error.js +10 -10
  1403. package/utils/format-error.js.map +1 -1
  1404. package/utils/function/index.d.ts +2 -2
  1405. package/utils/function/index.js +2 -2
  1406. package/utils/function/index.js.map +1 -1
  1407. package/utils/function/memoize.js +4 -4
  1408. package/utils/function/memoize.js.map +1 -1
  1409. package/utils/function/throttle.js +2 -2
  1410. package/utils/function/throttle.js.map +1 -1
  1411. package/utils/helpers.d.ts +1 -1
  1412. package/utils/helpers.js +8 -8
  1413. package/utils/helpers.js.map +1 -1
  1414. package/utils/image.js +9 -9
  1415. package/utils/image.js.map +1 -1
  1416. package/utils/index.d.ts +47 -47
  1417. package/utils/index.js +47 -47
  1418. package/utils/index.js.map +1 -1
  1419. package/utils/iterable-helpers/all.d.ts +1 -1
  1420. package/utils/iterable-helpers/any.d.ts +1 -1
  1421. package/utils/iterable-helpers/assert.d.ts +1 -1
  1422. package/utils/iterable-helpers/assert.js +2 -2
  1423. package/utils/iterable-helpers/assert.js.map +1 -1
  1424. package/utils/iterable-helpers/difference.d.ts +1 -1
  1425. package/utils/iterable-helpers/difference.js +5 -5
  1426. package/utils/iterable-helpers/difference.js.map +1 -1
  1427. package/utils/iterable-helpers/distinct.d.ts +1 -1
  1428. package/utils/iterable-helpers/filter.d.ts +1 -1
  1429. package/utils/iterable-helpers/first-or-default.d.ts +1 -1
  1430. package/utils/iterable-helpers/first-or-default.js +2 -2
  1431. package/utils/iterable-helpers/first-or-default.js.map +1 -1
  1432. package/utils/iterable-helpers/first.d.ts +1 -1
  1433. package/utils/iterable-helpers/first.js +2 -2
  1434. package/utils/iterable-helpers/first.js.map +1 -1
  1435. package/utils/iterable-helpers/for-each.d.ts +1 -1
  1436. package/utils/iterable-helpers/group-single.d.ts +1 -1
  1437. package/utils/iterable-helpers/group-single.js +2 -2
  1438. package/utils/iterable-helpers/group-single.js.map +1 -1
  1439. package/utils/iterable-helpers/group-to-map.d.ts +1 -1
  1440. package/utils/iterable-helpers/group-to-map.js +2 -2
  1441. package/utils/iterable-helpers/group-to-map.js.map +1 -1
  1442. package/utils/iterable-helpers/group-to-single-map.d.ts +1 -1
  1443. package/utils/iterable-helpers/group.d.ts +1 -1
  1444. package/utils/iterable-helpers/group.js +2 -2
  1445. package/utils/iterable-helpers/group.js.map +1 -1
  1446. package/utils/iterable-helpers/includes.js +2 -2
  1447. package/utils/iterable-helpers/includes.js.map +1 -1
  1448. package/utils/iterable-helpers/index.d.ts +39 -39
  1449. package/utils/iterable-helpers/index.js +39 -39
  1450. package/utils/iterable-helpers/index.js.map +1 -1
  1451. package/utils/iterable-helpers/is-iterable.d.ts +1 -1
  1452. package/utils/iterable-helpers/is-iterable.js +3 -3
  1453. package/utils/iterable-helpers/is-iterable.js.map +1 -1
  1454. package/utils/iterable-helpers/last-or-default.d.ts +1 -1
  1455. package/utils/iterable-helpers/last-or-default.js +2 -2
  1456. package/utils/iterable-helpers/last-or-default.js.map +1 -1
  1457. package/utils/iterable-helpers/last.d.ts +1 -1
  1458. package/utils/iterable-helpers/last.js +2 -2
  1459. package/utils/iterable-helpers/last.js.map +1 -1
  1460. package/utils/iterable-helpers/map-many.d.ts +1 -1
  1461. package/utils/iterable-helpers/map.d.ts +1 -1
  1462. package/utils/iterable-helpers/metadata.d.ts +1 -1
  1463. package/utils/iterable-helpers/reduce.d.ts +1 -1
  1464. package/utils/iterable-helpers/single-or-default.d.ts +1 -1
  1465. package/utils/iterable-helpers/single.d.ts +1 -1
  1466. package/utils/iterable-helpers/sort.d.ts +1 -1
  1467. package/utils/iterable-helpers/sort.js +2 -2
  1468. package/utils/iterable-helpers/sort.js.map +1 -1
  1469. package/utils/iterable-helpers/take-until.d.ts +1 -1
  1470. package/utils/iterable-helpers/take-while.d.ts +1 -1
  1471. package/utils/iterable-helpers/tap.d.ts +1 -1
  1472. package/utils/iterable-helpers/while.d.ts +1 -1
  1473. package/utils/jwt.d.ts +2 -2
  1474. package/utils/jwt.js +26 -26
  1475. package/utils/jwt.js.map +1 -1
  1476. package/utils/map.js +2 -2
  1477. package/utils/map.js.map +1 -1
  1478. package/utils/math.js +3 -3
  1479. package/utils/math.js.map +1 -1
  1480. package/utils/merge.d.ts +1 -1
  1481. package/utils/merge.js +11 -11
  1482. package/utils/merge.js.map +1 -1
  1483. package/utils/moving-metric.js +2 -2
  1484. package/utils/moving-metric.js.map +1 -1
  1485. package/utils/object/decycle.d.ts +1 -1
  1486. package/utils/object/decycle.js +20 -20
  1487. package/utils/object/decycle.js.map +1 -1
  1488. package/utils/object/dereference.d.ts +1 -1
  1489. package/utils/object/dereference.js +4 -4
  1490. package/utils/object/dereference.js.map +1 -1
  1491. package/utils/object/forward-ref.js +14 -14
  1492. package/utils/object/forward-ref.js.map +1 -1
  1493. package/utils/object/index.d.ts +7 -7
  1494. package/utils/object/index.js +7 -7
  1495. package/utils/object/index.js.map +1 -1
  1496. package/utils/object/lazy-property.d.ts +1 -1
  1497. package/utils/object/lazy-property.js +11 -11
  1498. package/utils/object/lazy-property.js.map +1 -1
  1499. package/utils/object/merge.js +12 -12
  1500. package/utils/object/merge.js.map +1 -1
  1501. package/utils/object/object.d.ts +1 -1
  1502. package/utils/object/object.js +9 -9
  1503. package/utils/object/object.js.map +1 -1
  1504. package/utils/object/property-name.d.ts +2 -2
  1505. package/utils/object/property-name.js +7 -7
  1506. package/utils/object/property-name.js.map +1 -1
  1507. package/utils/ordered-feedable-async-iterable.d.ts +1 -1
  1508. package/utils/ordered-feedable-async-iterable.js +2 -2
  1509. package/utils/ordered-feedable-async-iterable.js.map +1 -1
  1510. package/utils/patch-worker.d.ts +1 -1
  1511. package/utils/patch-worker.js +10 -10
  1512. package/utils/patch-worker.js.map +1 -1
  1513. package/utils/periodic-reporter.js +6 -6
  1514. package/utils/periodic-reporter.js.map +1 -1
  1515. package/utils/periodic-sampler.js +8 -8
  1516. package/utils/periodic-sampler.js.map +1 -1
  1517. package/utils/provider-function-iterable.js +2 -2
  1518. package/utils/provider-function-iterable.js.map +1 -1
  1519. package/utils/proxy.js +2 -2
  1520. package/utils/proxy.js.map +1 -1
  1521. package/utils/random.js +2 -2
  1522. package/utils/random.js.map +1 -1
  1523. package/utils/reflection.d.ts +1 -1
  1524. package/utils/set.js +2 -2
  1525. package/utils/set.js.map +1 -1
  1526. package/utils/singleton.js +2 -2
  1527. package/utils/singleton.js.map +1 -1
  1528. package/utils/sort.js +3 -3
  1529. package/utils/sort.js.map +1 -1
  1530. package/utils/stream/index.d.ts +6 -6
  1531. package/utils/stream/index.js +6 -6
  1532. package/utils/stream/index.js.map +1 -1
  1533. package/utils/stream/readable-stream-adapter.d.ts +1 -1
  1534. package/utils/stream/readable-stream-adapter.js +2 -2
  1535. package/utils/stream/readable-stream-adapter.js.map +1 -1
  1536. package/utils/stream/size-limited-stream.d.ts +1 -1
  1537. package/utils/stream/size-limited-stream.js +2 -2
  1538. package/utils/stream/size-limited-stream.js.map +1 -1
  1539. package/utils/stream/stream-reader.d.ts +1 -1
  1540. package/utils/stream/stream-reader.js +10 -10
  1541. package/utils/stream/stream-reader.js.map +1 -1
  1542. package/utils/string/index.d.ts +2 -2
  1543. package/utils/string/index.js +2 -2
  1544. package/utils/string/index.js.map +1 -1
  1545. package/utils/timing.d.ts +1 -1
  1546. package/utils/type-guards.d.ts +1 -1
  1547. package/utils/type-guards.js +6 -6
  1548. package/utils/type-guards.js.map +1 -1
  1549. package/utils/type-of.js +2 -2
  1550. package/utils/type-of.js.map +1 -1
  1551. package/utils/url-builder.d.ts +1 -1
  1552. package/utils/url-builder.js +9 -9
  1553. package/utils/url-builder.js.map +1 -1
  1554. package/utils/z-base32.d.ts +1 -1
  1555. package/utils/z-base32.js +4 -4
  1556. package/utils/z-base32.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/authentication/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,iEAA+C;AAC/C,6DAA2C;AAC3C,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/authentication/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wEAAsD;AACtD,oEAAkD;AAClD,gEAA8C;AAC9C,mDAAiC"}
@@ -10,7 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.TokenPayloadBase = void 0;
13
- const property_1 = require("../../schema/decorators/property");
13
+ const property_js_1 = require("../../schema/decorators/property.js");
14
14
  class TokenPayloadBase {
15
15
  /** token id */
16
16
  jti;
@@ -24,27 +24,27 @@ class TokenPayloadBase {
24
24
  subject;
25
25
  }
26
26
  __decorate([
27
- (0, property_1.Property)(),
27
+ (0, property_js_1.Property)(),
28
28
  __metadata("design:type", String)
29
29
  ], TokenPayloadBase.prototype, "jti", void 0);
30
30
  __decorate([
31
- (0, property_1.Property)(),
31
+ (0, property_js_1.Property)(),
32
32
  __metadata("design:type", Number)
33
33
  ], TokenPayloadBase.prototype, "iat", void 0);
34
34
  __decorate([
35
- (0, property_1.Property)(),
35
+ (0, property_js_1.Property)(),
36
36
  __metadata("design:type", Number)
37
37
  ], TokenPayloadBase.prototype, "exp", void 0);
38
38
  __decorate([
39
- (0, property_1.Property)(),
39
+ (0, property_js_1.Property)(),
40
40
  __metadata("design:type", Number)
41
41
  ], TokenPayloadBase.prototype, "refreshTokenExp", void 0);
42
42
  __decorate([
43
- (0, property_1.Property)(),
43
+ (0, property_js_1.Property)(),
44
44
  __metadata("design:type", String)
45
45
  ], TokenPayloadBase.prototype, "sessionId", void 0);
46
46
  __decorate([
47
- (0, property_1.Property)(),
47
+ (0, property_js_1.Property)(),
48
48
  __metadata("design:type", String)
49
49
  ], TokenPayloadBase.prototype, "subject", void 0);
50
50
  exports.TokenPayloadBase = TokenPayloadBase;
@@ -1 +1 @@
1
- {"version":3,"file":"token-payload-base.model.js","sourceRoot":"","sources":["../../../source/authentication/models/token-payload-base.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAAwD;AAExD,MAAa,gBAAgB;IAC3B,eAAe;IAEf,GAAG,CAAS;IAEZ,iCAAiC;IAEjC,GAAG,CAAS;IAEZ,sCAAsC;IAEtC,GAAG,CAAS;IAEZ,oDAAoD;IAEpD,eAAe,CAAS;IAGxB,SAAS,CAAS;IAGlB,OAAO,CAAS;CACjB;AApBC;IAAC,IAAA,mBAAQ,GAAE;;6CACC;AAGZ;IAAC,IAAA,mBAAQ,GAAE;;6CACC;AAGZ;IAAC,IAAA,mBAAQ,GAAE;;6CACC;AAGZ;IAAC,IAAA,mBAAQ,GAAE;;yDACa;AAExB;IAAC,IAAA,mBAAQ,GAAE;;mDACO;AAElB;IAAC,IAAA,mBAAQ,GAAE;;iDACK;AArBlB,4CAsBC"}
1
+ {"version":3,"file":"token-payload-base.model.js","sourceRoot":"","sources":["../../../source/authentication/models/token-payload-base.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qEAA2D;AAE3D,MAAa,gBAAgB;IAC3B,eAAe;IAEf,GAAG,CAAS;IAEZ,iCAAiC;IAEjC,GAAG,CAAS;IAEZ,sCAAsC;IAEtC,GAAG,CAAS;IAEZ,oDAAoD;IAEpD,eAAe,CAAS;IAGxB,SAAS,CAAS;IAGlB,OAAO,CAAS;CACjB;AApBC;IAAC,IAAA,sBAAQ,GAAE;;6CACC;AAGZ;IAAC,IAAA,sBAAQ,GAAE;;6CACC;AAGZ;IAAC,IAAA,sBAAQ,GAAE;;6CACC;AAGZ;IAAC,IAAA,sBAAQ,GAAE;;yDACa;AAExB;IAAC,IAAA,sBAAQ,GAAE;;mDACO;AAElB;IAAC,IAAA,sBAAQ,GAAE;;iDACK;AArBlB,4CAsBC"}
@@ -1,6 +1,6 @@
1
- import type { Record } from "../../types";
2
- import type { JwtToken, JwtTokenHeader } from "../../utils/jwt";
3
- import type { TokenPayloadBase } from '../models';
1
+ import type { Record } from "../../types.js";
2
+ import type { JwtToken, JwtTokenHeader } from "../../utils/jwt.js";
3
+ import type { TokenPayloadBase } from '../models/token-payload-base.model.js';
4
4
  export type TokenHeader = {
5
5
  v: number;
6
6
  };
@@ -1,6 +1,6 @@
1
- import type { ApiRequestData } from "../../api";
2
- import { ApiRequestTokenProvider } from "../../api/server/api-request-token.provider";
3
- import { AuthenticationService } from './authentication.service';
1
+ import type { ApiRequestData } from "../../api/index.js";
2
+ import { ApiRequestTokenProvider } from "../../api/server/api-request-token.provider.js";
3
+ import { AuthenticationService } from './authentication.service.js';
4
4
  export declare class AuthenticationApiRequestTokenProvider extends ApiRequestTokenProvider {
5
5
  private readonly authenticationService;
6
6
  constructor(authenticationService: AuthenticationService);
@@ -10,25 +10,25 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AuthenticationApiRequestTokenProvider = void 0;
13
- const api_request_token_provider_1 = require("../../api/server/api-request-token.provider");
14
- const container_1 = require("../../container");
15
- const authentication_service_1 = require("./authentication.service");
16
- const helper_1 = require("./helper");
17
- let AuthenticationApiRequestTokenProvider = class AuthenticationApiRequestTokenProvider extends api_request_token_provider_1.ApiRequestTokenProvider {
13
+ const api_request_token_provider_js_1 = require("../../api/server/api-request-token.provider.js");
14
+ const index_js_1 = require("../../container/index.js");
15
+ const authentication_service_js_1 = require("./authentication.service.js");
16
+ const helper_js_1 = require("./helper.js");
17
+ let AuthenticationApiRequestTokenProvider = class AuthenticationApiRequestTokenProvider extends api_request_token_provider_js_1.ApiRequestTokenProvider {
18
18
  authenticationService;
19
19
  constructor(authenticationService) {
20
20
  super();
21
21
  this.authenticationService = authenticationService;
22
22
  }
23
23
  async getToken(data) {
24
- const tokenString = (0, helper_1.tryGetAuthorizationTokenStringFromRequest)(data.request) ?? '';
24
+ const tokenString = (0, helper_js_1.tryGetAuthorizationTokenStringFromRequest)(data.request) ?? '';
25
25
  const token = await this.authenticationService.validateToken(tokenString);
26
26
  return token;
27
27
  }
28
28
  };
29
29
  AuthenticationApiRequestTokenProvider = __decorate([
30
- (0, container_1.singleton)(),
31
- __metadata("design:paramtypes", [authentication_service_1.AuthenticationService])
30
+ (0, index_js_1.singleton)(),
31
+ __metadata("design:paramtypes", [authentication_service_js_1.AuthenticationService])
32
32
  ], AuthenticationApiRequestTokenProvider);
33
33
  exports.AuthenticationApiRequestTokenProvider = AuthenticationApiRequestTokenProvider;
34
34
  //# sourceMappingURL=authentication-api-request-token.provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"authentication-api-request-token.provider.js","sourceRoot":"","sources":["../../../source/authentication/server/authentication-api-request-token.provider.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,4FAAkF;AAClF,+CAAwC;AACxC,qEAAiE;AACjE,qCAAqE;AAG9D,IAAM,qCAAqC,GAA3C,MAAM,qCAAsC,SAAQ,oDAAuB;IAC/D,qBAAqB,CAAwB;IAE9D,YAAY,qBAA4C;QACtD,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;IACrD,CAAC;IAED,KAAK,CAAC,QAAQ,CAAI,IAAoB;QACpC,MAAM,WAAW,GAAG,IAAA,kDAAyC,EAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QAClF,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;QAE1E,OAAO,KAAU,CAAC;IACpB,CAAC;CACF,CAAA;AAfY,qCAAqC;IADjD,IAAA,qBAAS,GAAE;qCAIyB,8CAAqB;GAH7C,qCAAqC,CAejD;AAfY,sFAAqC"}
1
+ {"version":3,"file":"authentication-api-request-token.provider.js","sourceRoot":"","sources":["../../../source/authentication/server/authentication-api-request-token.provider.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,kGAAqF;AACrF,uDAAiD;AACjD,2EAAoE;AACpE,2CAAwE;AAGjE,IAAM,qCAAqC,GAA3C,MAAM,qCAAsC,SAAQ,uDAAuB;IAC/D,qBAAqB,CAAwB;IAE9D,YAAY,qBAA4C;QACtD,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;IACrD,CAAC;IAED,KAAK,CAAC,QAAQ,CAAI,IAAoB;QACpC,MAAM,WAAW,GAAG,IAAA,qDAAyC,EAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QAClF,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;QAE1E,OAAO,KAAU,CAAC;IACpB,CAAC;CACF,CAAA;AAfY,qCAAqC;IADjD,IAAA,oBAAS,GAAE;qCAIyB,iDAAqB;GAH7C,qCAAqC,CAejD;AAfY,sFAAqC"}
@@ -1,4 +1,4 @@
1
- import type { AuthenticationCredentials, NewAuthenticationCredentials } from '../models';
1
+ import type { AuthenticationCredentials, NewAuthenticationCredentials } from '../models/index.js';
2
2
  export declare abstract class AuthenticationCredentialsRepository {
3
3
  abstract tryLoadBySubject(subject: string): Promise<AuthenticationCredentials | undefined>;
4
4
  abstract save(credentials: NewAuthenticationCredentials | AuthenticationCredentials): Promise<void>;
@@ -7,11 +7,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.AuthenticationCredentialsRepository = void 0;
10
- const reflection_1 = require("../../reflection");
10
+ const index_js_1 = require("../../reflection/index.js");
11
11
  let AuthenticationCredentialsRepository = class AuthenticationCredentialsRepository {
12
12
  };
13
13
  AuthenticationCredentialsRepository = __decorate([
14
- (0, reflection_1.Class)()
14
+ (0, index_js_1.Class)()
15
15
  ], AuthenticationCredentialsRepository);
16
16
  exports.AuthenticationCredentialsRepository = AuthenticationCredentialsRepository;
17
17
  //# sourceMappingURL=authentication-credentials.repository.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"authentication-credentials.repository.js","sourceRoot":"","sources":["../../../source/authentication/server/authentication-credentials.repository.ts"],"names":[],"mappings":";;;;;;;;;AAAA,iDAAqC;AAI9B,IAAe,mCAAmC,GAAlD,MAAe,mCAAmC;CAGxD,CAAA;AAHqB,mCAAmC;IADxD,IAAA,kBAAK,GAAE;GACc,mCAAmC,CAGxD;AAHqB,kFAAmC"}
1
+ {"version":3,"file":"authentication-credentials.repository.js","sourceRoot":"","sources":["../../../source/authentication/server/authentication-credentials.repository.ts"],"names":[],"mappings":";;;;;;;;;AAAA,wDAA8C;AAIvC,IAAe,mCAAmC,GAAlD,MAAe,mCAAmC;CAGxD,CAAA;AAHqB,mCAAmC;IADxD,IAAA,gBAAK,GAAE;GACc,mCAAmC,CAGxD;AAHqB,kFAAmC"}
@@ -1,5 +1,5 @@
1
- import type { NewEntity } from "../../database";
2
- import type { AuthenticationSession } from '../models';
1
+ import type { NewEntity } from "../../database/index.js";
2
+ import type { AuthenticationSession } from '../models/authentication-session.model.js';
3
3
  export type AuthenticationSessionExtendData = {
4
4
  end: number;
5
5
  refreshTokenHashVersion: number;
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.AuthenticationSubjectResolver = void 0;
10
- const reflection_1 = require("../../reflection");
10
+ const index_js_1 = require("../../reflection/index.js");
11
11
  /**
12
12
  * Resolve a provided subject to the actual subject used for authentication.
13
13
  * Useful for example if you want to be able to login via mail but actual subject is the user id.
@@ -15,7 +15,7 @@ const reflection_1 = require("../../reflection");
15
15
  let AuthenticationSubjectResolver = class AuthenticationSubjectResolver {
16
16
  };
17
17
  AuthenticationSubjectResolver = __decorate([
18
- (0, reflection_1.Class)()
18
+ (0, index_js_1.Class)()
19
19
  ], AuthenticationSubjectResolver);
20
20
  exports.AuthenticationSubjectResolver = AuthenticationSubjectResolver;
21
21
  //# sourceMappingURL=authentication-subject.resolver.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"authentication-subject.resolver.js","sourceRoot":"","sources":["../../../source/authentication/server/authentication-subject.resolver.ts"],"names":[],"mappings":";;;;;;;;;AAAA,iDAAqC;AAErC;;;GAGG;AAEI,IAAe,6BAA6B,GAA5C,MAAe,6BAA6B;CAElD,CAAA;AAFqB,6BAA6B;IADlD,IAAA,kBAAK,GAAE;GACc,6BAA6B,CAElD;AAFqB,sEAA6B"}
1
+ {"version":3,"file":"authentication-subject.resolver.js","sourceRoot":"","sources":["../../../source/authentication/server/authentication-subject.resolver.ts"],"names":[],"mappings":";;;;;;;;;AAAA,wDAA8C;AAE9C;;;GAGG;AAEI,IAAe,6BAA6B,GAA5C,MAAe,6BAA6B;CAElD,CAAA;AAFqB,6BAA6B;IADlD,IAAA,gBAAK,GAAE;GACc,6BAA6B,CAElD;AAFqB,sEAA6B"}
@@ -1,4 +1,4 @@
1
- import type { Record } from "../../types";
1
+ import type { Record } from "../../types.js";
2
2
  export declare abstract class AuthenticationTokenPayloadProvider<AdditionalTokenPayload = Record<never>, AuthenticationData = void> {
3
3
  abstract getTokenPayload(subject: string, authenticationData: AuthenticationData): AdditionalTokenPayload | Promise<AdditionalTokenPayload>;
4
4
  }
@@ -7,11 +7,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.AuthenticationTokenPayloadProvider = void 0;
10
- const reflection_1 = require("../../reflection");
10
+ const index_js_1 = require("../../reflection/index.js");
11
11
  let AuthenticationTokenPayloadProvider = class AuthenticationTokenPayloadProvider {
12
12
  };
13
13
  AuthenticationTokenPayloadProvider = __decorate([
14
- (0, reflection_1.Class)()
14
+ (0, index_js_1.Class)()
15
15
  ], AuthenticationTokenPayloadProvider);
16
16
  exports.AuthenticationTokenPayloadProvider = AuthenticationTokenPayloadProvider;
17
17
  //# sourceMappingURL=authentication-token-payload.provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"authentication-token-payload.provider.js","sourceRoot":"","sources":["../../../source/authentication/server/authentication-token-payload.provider.ts"],"names":[],"mappings":";;;;;;;;;AAAA,iDAAqC;AAI9B,IAAe,kCAAkC,GAAjD,MAAe,kCAAkC;CAEvD,CAAA;AAFqB,kCAAkC;IADvD,IAAA,kBAAK,GAAE;GACc,kCAAkC,CAEvD;AAFqB,gFAAkC"}
1
+ {"version":3,"file":"authentication-token-payload.provider.js","sourceRoot":"","sources":["../../../source/authentication/server/authentication-token-payload.provider.ts"],"names":[],"mappings":";;;;;;;;;AAAA,wDAA8C;AAIvC,IAAe,kCAAkC,GAAjD,MAAe,kCAAkC;CAEvD,CAAA;AAFqB,kCAAkC;IADvD,IAAA,gBAAK,GAAE;GACc,kCAAkC,CAEvD;AAFqB,gFAAkC"}
@@ -1,7 +1,7 @@
1
- import type { ApiController, ApiRequestContext, ApiServerResult } from "../../api/types";
2
- import type { Record } from "../../types";
3
- import type { AuthenticationApiDefinition } from '../authentication.api';
4
- import { AuthenticationService } from './authentication.service';
1
+ import type { ApiController, ApiRequestContext, ApiServerResult } from "../../api/types.js";
2
+ import type { Record } from "../../types.js";
3
+ import type { AuthenticationApiDefinition } from '../authentication.api.js';
4
+ import { AuthenticationService } from './authentication.service.js';
5
5
  export declare class AuthenticationApiController<AdditionalTokenPayload = Record<never>, AuthenticationData = void> implements ApiController<AuthenticationApiDefinition<AdditionalTokenPayload, AuthenticationData>> {
6
6
  readonly authenticationService: AuthenticationService<AdditionalTokenPayload, AuthenticationData>;
7
7
  constructor(authenticationService: AuthenticationService<AdditionalTokenPayload, AuthenticationData>);
@@ -10,13 +10,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AuthenticationApiController = void 0;
13
- const server_1 = require("../../api/server");
14
- const unauthorized_error_1 = require("../../error/unauthorized.error");
15
- const server_2 = require("../../http/server");
16
- const date_time_1 = require("../../utils/date-time");
17
- const authentication_api_1 = require("../authentication.api");
18
- const authentication_service_1 = require("./authentication.service");
19
- const helper_1 = require("./helper");
13
+ const index_js_1 = require("../../api/server/index.js");
14
+ const unauthorized_error_js_1 = require("../../error/unauthorized.error.js");
15
+ const index_js_2 = require("../../http/server/index.js");
16
+ const date_time_js_1 = require("../../utils/date-time.js");
17
+ const authentication_api_js_1 = require("../authentication.api.js");
18
+ const authentication_service_js_1 = require("./authentication.service.js");
19
+ const helper_js_1 = require("./helper.js");
20
20
  const cookieBaseOptions = { path: '/', httpOnly: true, secure: true, sameSite: 'strict' };
21
21
  let AuthenticationApiController = class AuthenticationApiController {
22
22
  authenticationService;
@@ -26,22 +26,22 @@ let AuthenticationApiController = class AuthenticationApiController {
26
26
  async token({ parameters }) {
27
27
  const authenticationResult = await this.authenticationService.authenticate(parameters.subject, parameters.secret);
28
28
  if (!authenticationResult.success) {
29
- throw new unauthorized_error_1.UnauthorizedError('Invalid credentials.');
29
+ throw new unauthorized_error_js_1.UnauthorizedError('Invalid credentials.');
30
30
  }
31
31
  const result = await this.authenticationService.getToken(authenticationResult.subject, parameters.data);
32
32
  return this.getTokenResponse(result);
33
33
  }
34
34
  async refresh({ request, parameters }) {
35
- const tokenString = (0, helper_1.tryGetAuthorizationTokenStringFromRequest)(request, 'refreshToken') ?? '';
35
+ const tokenString = (0, helper_js_1.tryGetAuthorizationTokenStringFromRequest)(request, 'refreshToken') ?? '';
36
36
  const result = await this.authenticationService.refresh(tokenString, parameters.data);
37
37
  return this.getTokenResponse(result);
38
38
  }
39
39
  async endSession({ request }) {
40
- const tokenString = (0, helper_1.tryGetAuthorizationTokenStringFromRequest)(request) ?? '';
40
+ const tokenString = (0, helper_js_1.tryGetAuthorizationTokenStringFromRequest)(request) ?? '';
41
41
  const token = await this.authenticationService.validateToken(tokenString);
42
42
  await this.authenticationService.endSession(token.payload.sessionId);
43
43
  const result = 'ok';
44
- return new server_2.HttpServerResponse({
44
+ return new index_js_2.HttpServerResponse({
45
45
  cookies: {
46
46
  authorization: { value: '', ...cookieBaseOptions, expires: -1 },
47
47
  refreshToken: { value: '', ...cookieBaseOptions, expires: -1 }
@@ -52,11 +52,11 @@ let AuthenticationApiController = class AuthenticationApiController {
52
52
  });
53
53
  }
54
54
  timestamp() {
55
- return (0, date_time_1.currentTimestamp)();
55
+ return (0, date_time_js_1.currentTimestamp)();
56
56
  }
57
57
  getTokenResponse({ token, jsonToken, refreshToken }) {
58
58
  const result = jsonToken.payload;
59
- return new server_2.HttpServerResponse({
59
+ return new index_js_2.HttpServerResponse({
60
60
  cookies: {
61
61
  authorization: { value: `Bearer ${token}`, ...cookieBaseOptions, expires: jsonToken.payload.exp * 1000 },
62
62
  refreshToken: { value: `Bearer ${refreshToken}`, ...cookieBaseOptions, expires: jsonToken.payload.refreshTokenExp * 1000 }
@@ -68,8 +68,8 @@ let AuthenticationApiController = class AuthenticationApiController {
68
68
  }
69
69
  };
70
70
  AuthenticationApiController = __decorate([
71
- (0, server_1.apiController)(authentication_api_1.authenticationApiDefinition),
72
- __metadata("design:paramtypes", [authentication_service_1.AuthenticationService])
71
+ (0, index_js_1.apiController)(authentication_api_js_1.authenticationApiDefinition),
72
+ __metadata("design:paramtypes", [authentication_service_js_1.AuthenticationService])
73
73
  ], AuthenticationApiController);
74
74
  exports.AuthenticationApiController = AuthenticationApiController;
75
75
  //# sourceMappingURL=authentication.api-controller.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"authentication.api-controller.js","sourceRoot":"","sources":["../../../source/authentication/server/authentication.api-controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA6C;AAE7C,uEAA+D;AAC/D,8CAAoE;AAEpE,qDAAqD;AAErD,8DAAoE;AAEpE,qEAAiE;AACjE,qCAAqE;AAErE,MAAM,iBAAiB,GAAwC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC;AAGxH,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAC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AI,CAAC;QAE5H,OAAO,IAAI,2BAAkB,CAAC;YAC5B,OAAO,EAAE;gBACP,aAAa,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,GAAG,iBAAiB,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE;gBAC/D,YAAY,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,GAAG,iBAAiB,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE;aAC/D;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,MAAM;aACb;SACF,CAAC,CAAC;IACL,CAAC;IAED,SAAS;QACP,OAAO,IAAA,4BAAgB,GAAE,CAAC;IAC5B,CAAC;IAEO,gBAAgB,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,EAAuC;QAC9F,MAAM,MAAM,GAAsG,SAAS,CAAC,OAA4G,CAAC;QAEzO,OAAO,IAAI,2BAAkB,CAAC;YAC5B,OAAO,EAAE;gBACP,aAAa,EAAE,EAAE,KAAK,EAAE,UAAU,KAAK,EAAE,EAAE,GAAG,iBAAiB,EAAE,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,GAAG,IAAI,EAAE;gBACxG,YAAY,EAAE,EAAE,KAAK,EAAE,UAAU,YAAY,EAAE,EAAE,GAAG,iBAAiB,EAAE,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC,eAAe,GAAG,IAAI,EAAE;aAC3H;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,MAAM;aACb;SACF,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AA7DY,2BAA2B;IADvC,IAAA,sBAAa,EAAC,gDAA2B,CAAC;qCAIN,8CAAqB;GAH7C,2BAA2B,CA6DvC;AA7DY,kEAA2B"}
1
+ {"version":3,"file":"authentication.api-controller.js","sourceRoot":"","sources":["../../../source/authentication/server/authentication.api-controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wDAAsD;AAEtD,6EAAkE;AAClE,yDAA6E;AAE7E,2DAAwD;AAExD,oE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N,iDAAqB;GAH7C,2BAA2B,CA6DvC;AA7DY,kEAA2B"}
@@ -1,11 +1,11 @@
1
- import type { AfterResolve } from "../../container";
2
- import { afterResolve } from "../../container";
3
- import type { Record } from "../../types";
4
- import type { RefreshToken, Token } from '../models';
5
- import { AuthenticationCredentialsRepository } from './authentication-credentials.repository';
6
- import { AuthenticationSessionRepository } from './authentication-session.repository';
7
- import { AuthenticationSubjectResolver } from './authentication-subject.resolver';
8
- import { AuthenticationTokenPayloadProvider } from './authentication-token-payload.provider';
1
+ import type { AfterResolve } from "../../container/index.js";
2
+ import { afterResolve } from "../../container/index.js";
3
+ import type { Record } from "../../types.js";
4
+ import type { RefreshToken, Token } from '../models/index.js';
5
+ import { AuthenticationCredentialsRepository } from './authentication-credentials.repository.js';
6
+ import { AuthenticationSessionRepository } from './authentication-session.repository.js';
7
+ import { AuthenticationSubjectResolver } from './authentication-subject.resolver.js';
8
+ import { AuthenticationTokenPayloadProvider } from './authentication-token-payload.provider.js';
9
9
  export declare class AuthenticationServiceOptions {
10
10
  /** Secret used for signing tokens and refreshTokens */
11
11
  secret: string;
@@ -13,22 +13,22 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.AuthenticationService = exports.AuthenticationServiceOptions = void 0;
16
- const container_1 = require("../../container");
17
- const invalid_token_error_1 = require("../../error/invalid-token.error");
18
- const schema_1 = require("../../schema");
19
- const alphabet_1 = require("../../utils/alphabet");
20
- const cryptography_1 = require("../../utils/cryptography");
21
- const date_time_1 = require("../../utils/date-time");
22
- const equals_1 = require("../../utils/equals");
23
- const jwt_1 = require("../../utils/jwt");
24
- const random_1 = require("../../utils/random");
25
- const type_guards_1 = require("../../utils/type-guards");
26
- const units_1 = require("../../utils/units");
27
- const authentication_credentials_repository_1 = require("./authentication-credentials.repository");
28
- const authentication_session_repository_1 = require("./authentication-session.repository");
29
- const authentication_subject_resolver_1 = require("./authentication-subject.resolver");
30
- const authentication_token_payload_provider_1 = require("./authentication-token-payload.provider");
31
- const helper_1 = require("./helper");
16
+ const index_js_1 = require("../../container/index.js");
17
+ const invalid_token_error_js_1 = require("../../error/invalid-token.error.js");
18
+ const index_js_2 = require("../../schema/index.js");
19
+ const alphabet_js_1 = require("../../utils/alphabet.js");
20
+ const cryptography_js_1 = require("../../utils/cryptography.js");
21
+ const date_time_js_1 = require("../../utils/date-time.js");
22
+ const equals_js_1 = require("../../utils/equals.js");
23
+ const jwt_js_1 = require("../../utils/jwt.js");
24
+ const random_js_1 = require("../../utils/random.js");
25
+ const type_guards_js_1 = require("../../utils/type-guards.js");
26
+ const units_js_1 = require("../../utils/units.js");
27
+ const authentication_credentials_repository_js_1 = require("./authentication-credentials.repository.js");
28
+ const authentication_session_repository_js_1 = require("./authentication-session.repository.js");
29
+ const authentication_subject_resolver_js_1 = require("./authentication-subject.resolver.js");
30
+ const authentication_token_payload_provider_js_1 = require("./authentication-token-payload.provider.js");
31
+ const helper_js_1 = require("./helper.js");
32
32
  class AuthenticationServiceOptions {
33
33
  /** Secret used for signing tokens and refreshTokens */
34
34
  secret;
@@ -40,19 +40,19 @@ class AuthenticationServiceOptions {
40
40
  sessionTimeToLive;
41
41
  }
42
42
  __decorate([
43
- (0, schema_1.Property)(),
43
+ (0, index_js_2.Property)(),
44
44
  __metadata("design:type", String)
45
45
  ], AuthenticationServiceOptions.prototype, "secret", void 0);
46
46
  __decorate([
47
- (0, schema_1.NumberProperty)({ optional: true }),
47
+ (0, index_js_2.NumberProperty)({ optional: true }),
48
48
  __metadata("design:type", Number)
49
49
  ], AuthenticationServiceOptions.prototype, "version", void 0);
50
50
  __decorate([
51
- (0, schema_1.NumberProperty)({ optional: true }),
51
+ (0, index_js_2.NumberProperty)({ optional: true }),
52
52
  __metadata("design:type", Number)
53
53
  ], AuthenticationServiceOptions.prototype, "tokenTimeToLive", void 0);
54
54
  __decorate([
55
- (0, schema_1.NumberProperty)({ optional: true }),
55
+ (0, index_js_2.NumberProperty)({ optional: true }),
56
56
  __metadata("design:type", Number)
57
57
  ], AuthenticationServiceOptions.prototype, "sessionTimeToLive", void 0);
58
58
  exports.AuthenticationServiceOptions = AuthenticationServiceOptions;
@@ -75,10 +75,10 @@ let AuthenticationService = class AuthenticationService {
75
75
  this.tokenPayloadProvider = tokenPayloadProvider;
76
76
  this.secret = options.secret;
77
77
  this.tokenVersion = options.version ?? 1;
78
- this.tokenTimeToLive = options.tokenTimeToLive ?? (5 * units_1.millisecondsPerMinute);
79
- this.sessionTimeToLive = options.sessionTimeToLive ?? (5 * units_1.millisecondsPerDay);
78
+ this.tokenTimeToLive = options.tokenTimeToLive ?? (5 * units_js_1.millisecondsPerMinute);
79
+ this.sessionTimeToLive = options.sessionTimeToLive ?? (5 * units_js_1.millisecondsPerDay);
80
80
  }
81
- async [container_1.afterResolve]() {
81
+ async [index_js_1.afterResolve]() {
82
82
  await this.initialize();
83
83
  }
84
84
  async initialize() {
@@ -86,7 +86,7 @@ let AuthenticationService = class AuthenticationService {
86
86
  }
87
87
  async setCredentials(subject, secret) {
88
88
  const actualSubject = await this.getActualSubject(subject);
89
- const salt = (0, random_1.getRandomBytes)(32);
89
+ const salt = (0, random_js_1.getRandomBytes)(32);
90
90
  const hash = await this.getHash(secret, salt);
91
91
  const credentials = {
92
92
  subject: actualSubject,
@@ -99,11 +99,11 @@ let AuthenticationService = class AuthenticationService {
99
99
  async authenticate(subject, secret) {
100
100
  const actualSubject = await this.getActualSubject(subject);
101
101
  const credentials = await this.credentialsRepository.tryLoadBySubject(actualSubject);
102
- if ((0, type_guards_1.isUndefined)(credentials)) {
102
+ if ((0, type_guards_js_1.isUndefined)(credentials)) {
103
103
  return { success: false };
104
104
  }
105
105
  const hash = await this.getHash(secret, credentials.salt);
106
- const valid = (0, equals_1.binaryEquals)(hash, credentials.hash);
106
+ const valid = (0, equals_js_1.binaryEquals)(hash, credentials.hash);
107
107
  if (valid) {
108
108
  return { success: true, subject: credentials.subject };
109
109
  }
@@ -111,7 +111,7 @@ let AuthenticationService = class AuthenticationService {
111
111
  }
112
112
  async getToken(subject, authenticationData) {
113
113
  const actualSubject = await this.getActualSubject(subject);
114
- const now = (0, date_time_1.currentTimestamp)();
114
+ const now = (0, date_time_js_1.currentTimestamp)();
115
115
  const end = now + this.sessionTimeToLive;
116
116
  const session = await this.sessionRepository.insert({
117
117
  subject: actualSubject,
@@ -133,7 +133,7 @@ let AuthenticationService = class AuthenticationService {
133
133
  return { token, jsonToken, refreshToken: refreshToken.token };
134
134
  }
135
135
  async endSession(sessionId) {
136
- const now = (0, date_time_1.currentTimestamp)();
136
+ const now = (0, date_time_js_1.currentTimestamp)();
137
137
  await this.sessionRepository.end(sessionId, now);
138
138
  }
139
139
  async refresh(refreshToken, authenticationData) {
@@ -141,13 +141,13 @@ let AuthenticationService = class AuthenticationService {
141
141
  const sessionId = validatedToken.payload.sessionId;
142
142
  const session = await this.sessionRepository.load(sessionId);
143
143
  const hash = await this.getHash(validatedToken.payload.secret, session.refreshTokenSalt);
144
- if (session.end <= (0, date_time_1.currentTimestamp)()) {
145
- throw new invalid_token_error_1.InvalidTokenError('Session is expired.');
144
+ if (session.end <= (0, date_time_js_1.currentTimestamp)()) {
145
+ throw new invalid_token_error_js_1.InvalidTokenError('Session is expired.');
146
146
  }
147
- if (!(0, equals_1.binaryEquals)(hash, session.refreshTokenHash)) {
148
- throw new invalid_token_error_1.InvalidTokenError('Invalid refresh token.');
147
+ if (!(0, equals_js_1.binaryEquals)(hash, session.refreshTokenHash)) {
148
+ throw new invalid_token_error_js_1.InvalidTokenError('Invalid refresh token.');
149
149
  }
150
- const now = (0, date_time_1.currentTimestamp)();
150
+ const now = (0, date_time_js_1.currentTimestamp)();
151
151
  const newEnd = now + this.sessionTimeToLive;
152
152
  const tokenPayload = await this.tokenPayloadProvider?.getTokenPayload(session.subject, authenticationData);
153
153
  const { token, jsonToken } = await this.createToken(tokenPayload, session.subject, sessionId, newEnd, now);
@@ -161,10 +161,10 @@ let AuthenticationService = class AuthenticationService {
161
161
  return { token, jsonToken, refreshToken: newRefreshToken.token };
162
162
  }
163
163
  async validateToken(token) {
164
- return (0, helper_1.getTokenFromString)(token, this.tokenVersion, this.derivedTokenSigningSecret);
164
+ return (0, helper_js_1.getTokenFromString)(token, this.tokenVersion, this.derivedTokenSigningSecret);
165
165
  }
166
166
  async validateRefreshToken(token) {
167
- return (0, helper_1.getRefreshTokenFromString)(token, this.derivedRefreshTokenSigningSecret);
167
+ return (0, helper_js_1.getRefreshTokenFromString)(token, this.derivedRefreshTokenSigningSecret);
168
168
  }
169
169
  async getActualSubject(subject) {
170
170
  return this.subjectResolver?.resolveSubject(subject) ?? subject;
@@ -176,10 +176,10 @@ let AuthenticationService = class AuthenticationService {
176
176
  typ: 'JWT'
177
177
  };
178
178
  const payload = {
179
- jti: (0, random_1.getRandomString)(24, alphabet_1.Alphabet.LowerUpperCaseNumbers),
180
- iat: (0, date_time_1.timestampToTimestampSeconds)(timestamp),
181
- exp: (0, date_time_1.timestampToTimestampSeconds)(timestamp + this.tokenTimeToLive),
182
- refreshTokenExp: (0, date_time_1.timestampToTimestampSeconds)(refreshTokenExpiration),
179
+ jti: (0, random_js_1.getRandomString)(24, alphabet_js_1.Alphabet.LowerUpperCaseNumbers),
180
+ iat: (0, date_time_js_1.timestampToTimestampSeconds)(timestamp),
181
+ exp: (0, date_time_js_1.timestampToTimestampSeconds)(timestamp + this.tokenTimeToLive),
182
+ refreshTokenExp: (0, date_time_js_1.timestampToTimestampSeconds)(refreshTokenExpiration),
183
183
  sessionId,
184
184
  subject,
185
185
  ...additionalTokenPayload
@@ -188,12 +188,12 @@ let AuthenticationService = class AuthenticationService {
188
188
  header,
189
189
  payload
190
190
  };
191
- const token = await (0, jwt_1.createJwtTokenString)(jsonToken, this.derivedTokenSigningSecret);
191
+ const token = await (0, jwt_js_1.createJwtTokenString)(jsonToken, this.derivedTokenSigningSecret);
192
192
  return { token, jsonToken };
193
193
  }
194
194
  async createRefreshToken(subject, sessionId, expirationTimestamp) {
195
- const secret = (0, random_1.getRandomString)(64, alphabet_1.Alphabet.LowerUpperCaseNumbers);
196
- const salt = (0, random_1.getRandomBytes)(32);
195
+ const secret = (0, random_js_1.getRandomString)(64, alphabet_js_1.Alphabet.LowerUpperCaseNumbers);
196
+ const salt = (0, random_js_1.getRandomBytes)(32);
197
197
  const hash = await this.getHash(secret, salt);
198
198
  const jsonToken = {
199
199
  header: {
@@ -201,36 +201,36 @@ let AuthenticationService = class AuthenticationService {
201
201
  typ: 'JWT'
202
202
  },
203
203
  payload: {
204
- exp: (0, date_time_1.timestampToTimestampSeconds)(expirationTimestamp),
204
+ exp: (0, date_time_js_1.timestampToTimestampSeconds)(expirationTimestamp),
205
205
  subject,
206
206
  sessionId,
207
207
  secret
208
208
  }
209
209
  };
210
- const token = await (0, jwt_1.createJwtTokenString)(jsonToken, this.derivedRefreshTokenSigningSecret);
210
+ const token = await (0, jwt_js_1.createJwtTokenString)(jsonToken, this.derivedRefreshTokenSigningSecret);
211
211
  return { token, jsonToken, salt, hash: new Uint8Array(hash) };
212
212
  }
213
213
  async deriveSigningSecrets() {
214
- const key = await (0, cryptography_1.importPbkdf2Key)(this.secret);
214
+ const key = await (0, cryptography_js_1.importPbkdf2Key)(this.secret);
215
215
  const hash = await globalThis.crypto.subtle.deriveBits({ name: 'PBKDF2', hash: 'SHA-512', iterations: 500000, salt: new Uint8Array() }, key, SIGNING_SECRETS_LENGTH * 2);
216
216
  const bufferSize = SIGNING_SECRETS_LENGTH / 8;
217
217
  this.derivedTokenSigningSecret = new Uint8Array(hash.slice(0, bufferSize));
218
218
  this.derivedRefreshTokenSigningSecret = new Uint8Array(hash.slice(bufferSize));
219
219
  }
220
220
  async getHash(secret, salt) {
221
- const key = await (0, cryptography_1.importPbkdf2Key)(secret);
221
+ const key = await (0, cryptography_js_1.importPbkdf2Key)(secret);
222
222
  const hash = await globalThis.crypto.subtle.deriveBits({ name: 'PBKDF2', hash: 'SHA-512', iterations: 250000, salt }, key, 512);
223
223
  return new Uint8Array(hash);
224
224
  }
225
225
  };
226
226
  AuthenticationService = __decorate([
227
- (0, container_1.singleton)(),
228
- __param(2, (0, container_1.inject)(authentication_subject_resolver_1.AuthenticationSubjectResolver)),
229
- __param(2, (0, container_1.optional)()),
230
- __param(3, (0, container_1.inject)(authentication_token_payload_provider_1.AuthenticationTokenPayloadProvider)),
231
- __param(3, (0, container_1.optional)()),
232
- __metadata("design:paramtypes", [authentication_credentials_repository_1.AuthenticationCredentialsRepository,
233
- authentication_session_repository_1.AuthenticationSessionRepository, Object, Object, AuthenticationServiceOptions])
227
+ (0, index_js_1.singleton)(),
228
+ __param(2, (0, index_js_1.inject)(authentication_subject_resolver_js_1.AuthenticationSubjectResolver)),
229
+ __param(2, (0, index_js_1.optional)()),
230
+ __param(3, (0, index_js_1.inject)(authentication_token_payload_provider_js_1.AuthenticationTokenPayloadProvider)),
231
+ __param(3, (0, index_js_1.optional)()),
232
+ __metadata("design:paramtypes", [authentication_credentials_repository_js_1.AuthenticationCredentialsRepository,
233
+ authentication_session_repository_js_1.AuthenticationSessionRepository, Object, Object, AuthenticationServiceOptions])
234
234
  ], AuthenticationService);
235
235
  exports.AuthenticationService = AuthenticationService;
236
236
  //# sourceMappingURL=authentication.service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"authentication.service.js","sourceRoot":"","sources":["../../../source/authentication/server/authentication.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,+CAAwE;AACxE,yEAAgE;AAChE,yCAAoD;AAEpD,mDAA4C;AAC5C,2DAAuD;AACvD,qDAAkF;AAClF,+CAA8C;AAC9C,yCAAmD;AACnD,+CAAiE;AACjE,yDAAkD;AAClD,6CAA0E;AAE1E,mGAA8F;AAC9F,2FAAsF;AACtF,uFAAkF;AAClF,mGAA6F;AAC7F,qCAAyE;AAEzE,MAAa,4BAA4B;IACvC,uDAAuD;IAEvD,MAAM,CAAS;IAEf,4EAA4E;IAE5E,OAAO,CAAU;IAE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"authentication.service.js","sourceRoot":"","sources":["../../../source/authentication/server/authentication.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,uDAAiF;AACjF,+EAAmE;AACnE,oDAA6D;AAE7D,yDAA+C;AAC/C,iEAA0D;AAC1D,2DAAqF;AACrF,qDAAiD;AACjD,+CAAsD;AACtD,qDAAoE;AACpE,+DAAqD;AACrD,mDAA6E;AAE7E,yGAAiG;AACjG,iGAAyF;AACzF,6FAAqF;AACrF,yGAAgG;AAChG,2CAA4E;AAE5E,MAAa,4BAA4B;IACvC,uDAAuD;IAEvD,MAAM,CAAS;IAEf,4EAA4E;IAE5E,OAAO,CAAU;IAEjB,gCAAgC;IAEhC,eAAe,CAAU;IAEzB,gHAAgH;IAEhH,iBAAiB,CAAU;CAC5B;AAdC;IAAC,IAAA,mBAAQ,GAAE;;4DACI;AAGf;IAAC,IAAA,yBAAc,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DAClB;AAGjB;IAAC,IAAA,yBAAc,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEACV;AAGzB;IAAC,IAAA,yBAAc,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uEACR;AAf7B,oEAgBC;AAwBD,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAG5B,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IACf,qBAAqB,CAAsC;IAC3D,iBAAiB,CAAkC;IACnD,oBAAoB,CAA6F;IACjH,eAAe,CAA4C;IAE3D,MAAM,CAAS;IACf,YAAY,CAAS;IACrB,eAAe,CAAS;IACxB,iBAAiB,CAAS;IAEnC,yBAAyB,CAAa;IACtC,gCAAgC,CAAa;IAErD,YACE,qBAA0D,EAC1D,iBAAkD,EACC,eAA0D,EACrD,oBAAgH,EACxK,OAAqC;QAErC,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACnD,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,I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CAAC;QAEhI,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACF,CAAA;AAvNY,qBAAqB;IADjC,IAAA,oBAAS,GAAE;IAkBP,WAAA,IAAA,iBAAM,EAAC,kEAA6B,CAAC,CAAA;IAAE,WAAA,IAAA,mBAAQ,GAAE,CAAA;IACjD,WAAA,IAAA,iBAAM,EAAC,6EAAkC,CAAC,CAAA;IAAE,WAAA,IAAA,mBAAQ,GAAE,CAAA;qCAHhC,8EAAmC;QACvC,sEAA+B,kBAGzC,4BAA4B;GAnB5B,qBAAqB,CAuNjC;AAvNY,sDAAqB"}
@@ -1,6 +1,6 @@
1
- import type { HttpServerRequest } from "../../http/server";
2
- import type { Record } from "../../types";
3
- import type { RefreshToken, Token } from '../models';
1
+ import type { HttpServerRequest } from "../../http/server/index.js";
2
+ import type { Record } from "../../types.js";
3
+ import type { RefreshToken, Token } from '../models/index.js';
4
4
  /**
5
5
  *
6
6
  * @param request