@daiso-tech/core 0.5.0 → 0.7.0

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 (1357) hide show
  1. package/dist/cjs/_module.js +6 -5
  2. package/dist/cjs/_module.js.map +1 -1
  3. package/dist/cjs/collection/contracts/_module.js +20 -0
  4. package/dist/cjs/collection/contracts/_module.js.map +1 -0
  5. package/dist/cjs/collection/contracts/_shared.js.map +1 -0
  6. package/dist/cjs/collection/contracts/async-collection.contract.js.map +1 -0
  7. package/dist/cjs/collection/contracts/collection.contract.js.map +1 -0
  8. package/dist/cjs/collection/implementations/_module.js +21 -0
  9. package/dist/cjs/collection/implementations/_module.js.map +1 -0
  10. package/dist/cjs/collection/implementations/_shared.js.map +1 -0
  11. package/dist/cjs/collection/implementations/async-iterable-collection/_module.js +18 -0
  12. package/dist/cjs/collection/implementations/async-iterable-collection/_module.js.map +1 -0
  13. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/_module.js +50 -0
  14. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/_module.js.map +1 -0
  15. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-chunk-iterable.js.map +1 -0
  16. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +1 -0
  17. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.js +22 -0
  18. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.js.map +1 -0
  19. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-count-by-iterable.js.map +1 -0
  20. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.js +35 -0
  21. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.js.map +1 -0
  22. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-entries-iterable.js.map +1 -0
  23. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-error-handler-iterable.js.map +1 -0
  24. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-filter-iterable.js.map +1 -0
  25. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-flat-map-iterable.js.map +1 -0
  26. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-group-by-iterable.js.map +1 -0
  27. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-insert-after-iterable.js.map +1 -0
  28. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-insert-before-iterable.js.map +1 -0
  29. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-map-iterable.js.map +1 -0
  30. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -0
  31. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-pad-end-iterable.js.map +1 -0
  32. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-pad-start-iterable.js.map +1 -0
  33. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-partion-iterable.js.map +1 -0
  34. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-repeat-iterable.js.map +1 -0
  35. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-reverse-iterable.js.map +1 -0
  36. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-shuffle-iterable.js.map +1 -0
  37. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-skip-iterable.js.map +1 -0
  38. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-skip-until-iterable.js.map +1 -0
  39. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-slice-iterable.js.map +1 -0
  40. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-sliding-iterable.js.map +1 -0
  41. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-sort-iterable.js.map +1 -0
  42. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-split-iterable.js.map +1 -0
  43. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-take-iterable.js.map +1 -0
  44. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-take-until-iterable.js.map +1 -0
  45. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-tap-iterable.js.map +1 -0
  46. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-unique-iterable.js.map +1 -0
  47. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-update-iterable.js.map +1 -0
  48. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-when-iterable.js.map +1 -0
  49. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.js +37 -0
  50. package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.js.map +1 -0
  51. package/dist/cjs/collection/implementations/async-iterable-collection/async-iterable-collection.js +547 -0
  52. package/dist/cjs/collection/implementations/async-iterable-collection/async-iterable-collection.js.map +1 -0
  53. package/dist/cjs/collection/implementations/iterable-collection/_module.js +18 -0
  54. package/dist/cjs/collection/implementations/iterable-collection/_module.js.map +1 -0
  55. package/dist/cjs/collection/implementations/iterable-collection/_shared/_module.js +49 -0
  56. package/dist/cjs/collection/implementations/iterable-collection/_shared/_module.js.map +1 -0
  57. package/dist/cjs/collection/implementations/iterable-collection/_shared/chunk-iterable.js.map +1 -0
  58. package/dist/cjs/collection/implementations/iterable-collection/_shared/chunk-while-iterable.js.map +1 -0
  59. package/dist/cjs/collection/implementations/iterable-collection/_shared/collapse-iterable.js +22 -0
  60. package/dist/cjs/collection/implementations/iterable-collection/_shared/collapse-iterable.js.map +1 -0
  61. package/dist/cjs/collection/implementations/iterable-collection/_shared/count-by-iterable.js.map +1 -0
  62. package/dist/cjs/collection/implementations/iterable-collection/_shared/cross-join-iterable.js +37 -0
  63. package/dist/cjs/collection/implementations/iterable-collection/_shared/cross-join-iterable.js.map +1 -0
  64. package/dist/cjs/collection/implementations/iterable-collection/_shared/entries-iterable.js.map +1 -0
  65. package/dist/cjs/collection/implementations/iterable-collection/_shared/filter-iterable.js.map +1 -0
  66. package/dist/cjs/collection/implementations/iterable-collection/_shared/flat-map-iterable.js.map +1 -0
  67. package/dist/cjs/collection/implementations/iterable-collection/_shared/group-by-iterable.js.map +1 -0
  68. package/dist/cjs/collection/implementations/iterable-collection/_shared/insert-after-iterable.js.map +1 -0
  69. package/dist/cjs/collection/implementations/iterable-collection/_shared/insert-before-iterable.js.map +1 -0
  70. package/dist/cjs/collection/implementations/iterable-collection/_shared/map-iterable.js.map +1 -0
  71. package/dist/cjs/collection/implementations/iterable-collection/_shared/merge-iterable.js.map +1 -0
  72. package/dist/cjs/collection/implementations/iterable-collection/_shared/pad-end-iterable.js.map +1 -0
  73. package/dist/cjs/collection/implementations/iterable-collection/_shared/pad-start-iterable.js.map +1 -0
  74. package/dist/cjs/collection/implementations/iterable-collection/_shared/partion-iterable.js.map +1 -0
  75. package/dist/cjs/collection/implementations/iterable-collection/_shared/repeat-iterable.js.map +1 -0
  76. package/dist/cjs/collection/implementations/iterable-collection/_shared/reverse-iterable.js.map +1 -0
  77. package/dist/cjs/collection/implementations/iterable-collection/_shared/shuffle-iterable.js.map +1 -0
  78. package/dist/cjs/collection/implementations/iterable-collection/_shared/skip-iterable.js.map +1 -0
  79. package/dist/cjs/collection/implementations/iterable-collection/_shared/skip-until-iterable.js.map +1 -0
  80. package/dist/cjs/collection/implementations/iterable-collection/_shared/slice-iterable.js.map +1 -0
  81. package/dist/cjs/collection/implementations/iterable-collection/_shared/sliding-iterable.js.map +1 -0
  82. package/dist/cjs/collection/implementations/iterable-collection/_shared/sort-iterable.js.map +1 -0
  83. package/dist/cjs/collection/implementations/iterable-collection/_shared/split-iterable.js.map +1 -0
  84. package/dist/cjs/collection/implementations/iterable-collection/_shared/take-iterable.js.map +1 -0
  85. package/dist/cjs/collection/implementations/iterable-collection/_shared/take-until-iterable.js.map +1 -0
  86. package/dist/cjs/collection/implementations/iterable-collection/_shared/tap-iterable.js.map +1 -0
  87. package/dist/cjs/collection/implementations/iterable-collection/_shared/unique-iterable.js.map +1 -0
  88. package/dist/cjs/collection/implementations/iterable-collection/_shared/update-iterable.js.map +1 -0
  89. package/dist/cjs/collection/implementations/iterable-collection/_shared/when-iterable.js.map +1 -0
  90. package/dist/cjs/collection/implementations/iterable-collection/_shared/zip-iterable.js.map +1 -0
  91. package/dist/cjs/collection/implementations/iterable-collection/iterable-collection.js +493 -0
  92. package/dist/cjs/collection/implementations/iterable-collection/iterable-collection.js.map +1 -0
  93. package/dist/cjs/collection/implementations/list-collection/_module.js +18 -0
  94. package/dist/cjs/collection/implementations/list-collection/_module.js.map +1 -0
  95. package/dist/cjs/collection/implementations/list-collection/list-collection.js +627 -0
  96. package/dist/cjs/collection/implementations/list-collection/list-collection.js.map +1 -0
  97. package/dist/cjs/serializer/_module.js +5 -5
  98. package/dist/cjs/serializer/_module.js.map +1 -1
  99. package/dist/cjs/serializer/contracts/_module.js +18 -0
  100. package/dist/cjs/serializer/contracts/_module.js.map +1 -0
  101. package/dist/cjs/serializer/contracts/serializer.contract.js.map +1 -0
  102. package/dist/cjs/serializer/implementations/_module.js +22 -0
  103. package/dist/cjs/serializer/implementations/_module.js.map +1 -0
  104. package/dist/cjs/serializer/implementations/_shared/test-utilities/_module.js +18 -0
  105. package/dist/cjs/serializer/implementations/_shared/test-utilities/_module.js.map +1 -0
  106. package/dist/cjs/serializer/implementations/_shared/test-utilities/serializer.test-suite.js.map +1 -0
  107. package/dist/cjs/serializer/implementations/mongodb-serializer/_module.js +18 -0
  108. package/dist/cjs/serializer/implementations/mongodb-serializer/_module.js.map +1 -0
  109. package/dist/cjs/serializer/implementations/mongodb-serializer/mongodb-serializer.js +36 -0
  110. package/dist/cjs/serializer/implementations/mongodb-serializer/mongodb-serializer.js.map +1 -0
  111. package/dist/cjs/serializer/implementations/redis-serializer/_module.js +18 -0
  112. package/dist/cjs/serializer/implementations/redis-serializer/_module.js.map +1 -0
  113. package/dist/cjs/serializer/implementations/redis-serializer/redis-serializer.js +37 -0
  114. package/dist/cjs/serializer/implementations/redis-serializer/redis-serializer.js.map +1 -0
  115. package/dist/cjs/serializer/implementations/sql-serializer/_module.js +18 -0
  116. package/dist/cjs/serializer/implementations/sql-serializer/_module.js.map +1 -0
  117. package/dist/cjs/serializer/implementations/sql-serializer/sql-serializer.js +37 -0
  118. package/dist/cjs/serializer/implementations/sql-serializer/sql-serializer.js.map +1 -0
  119. package/dist/cjs/serializer/implementations/super-json-serializer/_module.js +18 -0
  120. package/dist/cjs/serializer/implementations/super-json-serializer/_module.js.map +1 -0
  121. package/dist/cjs/serializer/implementations/super-json-serializer/super-json-serializer.js +304 -0
  122. package/dist/cjs/serializer/implementations/super-json-serializer/super-json-serializer.js.map +1 -0
  123. package/dist/cjs/storage/contracts/_module.js +20 -0
  124. package/dist/cjs/storage/contracts/_module.js.map +1 -0
  125. package/dist/cjs/storage/contracts/_shared.js.map +1 -0
  126. package/dist/cjs/storage/contracts/storage-adapter.contract.js.map +1 -0
  127. package/dist/cjs/storage/contracts/storage.contract.js.map +1 -0
  128. package/dist/cjs/storage/implementations/_module.js +23 -0
  129. package/dist/cjs/storage/implementations/_module.js.map +1 -0
  130. package/dist/cjs/storage/implementations/_shared/test-utilities/_module.js +18 -0
  131. package/dist/cjs/storage/implementations/_shared/test-utilities/_module.js.map +1 -0
  132. package/dist/cjs/storage/implementations/_shared/test-utilities/storage-adapter-api.test-suite.js +300 -0
  133. package/dist/cjs/storage/implementations/_shared/test-utilities/storage-adapter-api.test-suite.js.map +1 -0
  134. package/dist/cjs/storage/implementations/_shared/test-utilities/storage-adapter-value.test-suite.js +1208 -0
  135. package/dist/cjs/storage/implementations/_shared/test-utilities/storage-adapter-value.test-suite.js.map +1 -0
  136. package/dist/cjs/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.js +10 -0
  137. package/dist/cjs/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.js.map +1 -0
  138. package/dist/cjs/storage/implementations/memory-storage-adapter/_module.js +18 -0
  139. package/dist/cjs/storage/implementations/memory-storage-adapter/_module.js.map +1 -0
  140. package/dist/cjs/storage/implementations/memory-storage-adapter/memory-storage-adapter.js +85 -0
  141. package/dist/cjs/storage/implementations/memory-storage-adapter/memory-storage-adapter.js.map +1 -0
  142. package/dist/cjs/storage/implementations/mongodb-storage-adapter/_module.js +6 -0
  143. package/dist/cjs/storage/implementations/mongodb-storage-adapter/_module.js.map +1 -0
  144. package/dist/cjs/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.js +203 -0
  145. package/dist/cjs/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.js.map +1 -0
  146. package/dist/cjs/storage/implementations/redis-storage-adapter/_module.js +18 -0
  147. package/dist/cjs/storage/implementations/redis-storage-adapter/_module.js.map +1 -0
  148. package/dist/cjs/storage/implementations/redis-storage-adapter/redis-storage-adapter.js +228 -0
  149. package/dist/cjs/storage/implementations/redis-storage-adapter/redis-storage-adapter.js.map +1 -0
  150. package/dist/cjs/storage/implementations/sqlite/_module.js +19 -0
  151. package/dist/cjs/storage/implementations/sqlite/_module.js.map +1 -0
  152. package/dist/cjs/storage/implementations/sqlite/_shared/_module.js +18 -0
  153. package/dist/cjs/storage/implementations/sqlite/_shared/_module.js.map +1 -0
  154. package/dist/cjs/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.js +190 -0
  155. package/dist/cjs/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.js.map +1 -0
  156. package/dist/cjs/storage/implementations/sqlite/libsql-storage-adapter/_module.js +18 -0
  157. package/dist/cjs/storage/implementations/sqlite/libsql-storage-adapter/_module.js.map +1 -0
  158. package/dist/cjs/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.js +53 -0
  159. package/dist/cjs/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.js.map +1 -0
  160. package/dist/cjs/storage/implementations/sqlite/sqlite-storage-adapter/_module.js +18 -0
  161. package/dist/cjs/storage/implementations/sqlite/sqlite-storage-adapter/_module.js.map +1 -0
  162. package/dist/cjs/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js +52 -0
  163. package/dist/cjs/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js.map +1 -0
  164. package/dist/cjs/storage/implementations/storage/_module.js +18 -0
  165. package/dist/cjs/storage/implementations/storage/_module.js.map +1 -0
  166. package/dist/cjs/storage/implementations/storage/storage.js +219 -0
  167. package/dist/cjs/storage/implementations/storage/storage.js.map +1 -0
  168. package/dist/cjs/storage/implementations/storage/with-namespace-storage-adapter.js +56 -0
  169. package/dist/cjs/storage/implementations/storage/with-namespace-storage-adapter.js.map +1 -0
  170. package/dist/cjs/storage/implementations/storage/with-validation-storage-adapter.js +48 -0
  171. package/dist/cjs/storage/implementations/storage/with-validation-storage-adapter.js.map +1 -0
  172. package/dist/cjs/utilities/_module.js +4 -0
  173. package/dist/cjs/utilities/_module.js.map +1 -1
  174. package/dist/cjs/utilities/async/_module.js +24 -0
  175. package/dist/cjs/utilities/async/_module.js.map +1 -0
  176. package/dist/cjs/utilities/async/_shared.js.map +1 -0
  177. package/dist/cjs/utilities/async/abortable/_module.js +18 -0
  178. package/dist/cjs/utilities/async/abortable/_module.js.map +1 -0
  179. package/dist/cjs/utilities/async/abortable/abortable.js +48 -0
  180. package/dist/cjs/utilities/async/abortable/abortable.js.map +1 -0
  181. package/dist/cjs/utilities/async/backof-policies/_module.js +21 -0
  182. package/dist/cjs/utilities/async/backof-policies/_module.js.map +1 -0
  183. package/dist/cjs/utilities/async/backof-policies/_shared.js.map +1 -0
  184. package/dist/cjs/utilities/async/backof-policies/constant-backoff-policy/_module.js +18 -0
  185. package/dist/cjs/utilities/async/backof-policies/constant-backoff-policy/_module.js.map +1 -0
  186. package/dist/cjs/utilities/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js +19 -0
  187. package/dist/cjs/utilities/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +1 -0
  188. package/dist/cjs/utilities/async/backof-policies/exponential-backoff-policy/_module.js +18 -0
  189. package/dist/cjs/utilities/async/backof-policies/exponential-backoff-policy/_module.js.map +1 -0
  190. package/dist/cjs/utilities/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +23 -0
  191. package/dist/cjs/utilities/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +1 -0
  192. package/dist/cjs/utilities/async/backof-policies/linear-backoff-policy/_module.js +18 -0
  193. package/dist/cjs/utilities/async/backof-policies/linear-backoff-policy/_module.js.map +1 -0
  194. package/dist/cjs/utilities/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js +23 -0
  195. package/dist/cjs/utilities/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +1 -0
  196. package/dist/cjs/utilities/async/backof-policies/polynomial-backoff-policy/_module.js +18 -0
  197. package/dist/cjs/utilities/async/backof-policies/polynomial-backoff-policy/_module.js.map +1 -0
  198. package/dist/cjs/utilities/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +23 -0
  199. package/dist/cjs/utilities/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +1 -0
  200. package/dist/cjs/utilities/async/delay/_module.js +18 -0
  201. package/dist/cjs/utilities/async/delay/_module.js.map +1 -0
  202. package/dist/cjs/utilities/async/delay/delay.js +24 -0
  203. package/dist/cjs/utilities/async/delay/delay.js.map +1 -0
  204. package/dist/cjs/utilities/async/lazy-promise/_module.js +18 -0
  205. package/dist/cjs/utilities/async/lazy-promise/_module.js.map +1 -0
  206. package/dist/cjs/utilities/async/lazy-promise/lazy-promise.js.map +1 -0
  207. package/dist/cjs/utilities/async/retry/_module.js +18 -0
  208. package/dist/cjs/utilities/async/retry/_module.js.map +1 -0
  209. package/dist/cjs/utilities/async/retry/retry.js +43 -0
  210. package/dist/cjs/utilities/async/retry/retry.js.map +1 -0
  211. package/dist/cjs/utilities/async/timeout/_module.js +18 -0
  212. package/dist/cjs/utilities/async/timeout/_module.js.map +1 -0
  213. package/dist/cjs/utilities/async/timeout/timeout.js +28 -0
  214. package/dist/cjs/utilities/async/timeout/timeout.js.map +1 -0
  215. package/dist/cjs/utilities/async-iterable/_module.js +23 -0
  216. package/dist/cjs/utilities/async-iterable/_module.js.map +1 -0
  217. package/dist/cjs/utilities/async-iterable/abortable-iterable/_module.js +18 -0
  218. package/dist/cjs/utilities/async-iterable/abortable-iterable/_module.js.map +1 -0
  219. package/dist/cjs/utilities/async-iterable/abortable-iterable/abortable-iterable.js +32 -0
  220. package/dist/cjs/utilities/async-iterable/abortable-iterable/abortable-iterable.js.map +1 -0
  221. package/dist/cjs/utilities/async-iterable/delay-iterable/_module.js +18 -0
  222. package/dist/cjs/utilities/async-iterable/delay-iterable/_module.js.map +1 -0
  223. package/dist/cjs/utilities/async-iterable/delay-iterable/delay-iterable.js +36 -0
  224. package/dist/cjs/utilities/async-iterable/delay-iterable/delay-iterable.js.map +1 -0
  225. package/dist/cjs/utilities/async-iterable/retry-iterable/_module.js +18 -0
  226. package/dist/cjs/utilities/async-iterable/retry-iterable/_module.js.map +1 -0
  227. package/dist/cjs/utilities/async-iterable/retry-iterable/retry-iterable.js +32 -0
  228. package/dist/cjs/utilities/async-iterable/retry-iterable/retry-iterable.js.map +1 -0
  229. package/dist/cjs/utilities/async-iterable/timeout-iterable/_module.js +18 -0
  230. package/dist/cjs/utilities/async-iterable/timeout-iterable/_module.js.map +1 -0
  231. package/dist/cjs/utilities/async-iterable/timeout-iterable/timeout-iterable.js +11 -0
  232. package/dist/cjs/utilities/async-iterable/timeout-iterable/timeout-iterable.js.map +1 -0
  233. package/dist/cjs/utilities/time-span/time-span.js +2 -2
  234. package/dist/cjs/utilities/time-span/time-span.js.map +1 -1
  235. package/dist/cjs/utilities/validation/_module.js +22 -0
  236. package/dist/cjs/utilities/validation/_module.js.map +1 -0
  237. package/dist/esm/_module.js +6 -5
  238. package/dist/esm/_module.js.map +1 -1
  239. package/dist/esm/collection/contracts/_module.js +4 -0
  240. package/dist/esm/collection/contracts/_module.js.map +1 -0
  241. package/dist/esm/collection/contracts/_shared.js.map +1 -0
  242. package/dist/esm/collection/contracts/async-collection.contract.js.map +1 -0
  243. package/dist/esm/collection/contracts/collection.contract.js.map +1 -0
  244. package/dist/esm/collection/implementations/_module.js +5 -0
  245. package/dist/esm/collection/implementations/_module.js.map +1 -0
  246. package/dist/esm/collection/implementations/_shared.js.map +1 -0
  247. package/dist/esm/collection/implementations/async-iterable-collection/_module.js +2 -0
  248. package/dist/esm/collection/implementations/async-iterable-collection/_module.js.map +1 -0
  249. package/dist/esm/collection/implementations/async-iterable-collection/_shared/_module.js +34 -0
  250. package/dist/esm/collection/implementations/async-iterable-collection/_shared/_module.js.map +1 -0
  251. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-chunk-iterable.js.map +1 -0
  252. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +1 -0
  253. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.js +18 -0
  254. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.js.map +1 -0
  255. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-count-by-iterable.js.map +1 -0
  256. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.js +31 -0
  257. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.js.map +1 -0
  258. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-entries-iterable.js.map +1 -0
  259. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-error-handler-iterable.js.map +1 -0
  260. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-filter-iterable.js.map +1 -0
  261. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-flat-map-iterable.js.map +1 -0
  262. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-group-by-iterable.js.map +1 -0
  263. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-insert-after-iterable.js.map +1 -0
  264. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-insert-before-iterable.js.map +1 -0
  265. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-map-iterable.js.map +1 -0
  266. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -0
  267. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-pad-end-iterable.js.map +1 -0
  268. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-pad-start-iterable.js.map +1 -0
  269. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-partion-iterable.js.map +1 -0
  270. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-repeat-iterable.js.map +1 -0
  271. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-reverse-iterable.js.map +1 -0
  272. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-shuffle-iterable.js.map +1 -0
  273. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-skip-iterable.js.map +1 -0
  274. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-skip-until-iterable.js.map +1 -0
  275. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-slice-iterable.js.map +1 -0
  276. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-sliding-iterable.js.map +1 -0
  277. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-sort-iterable.js.map +1 -0
  278. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-split-iterable.js.map +1 -0
  279. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-take-iterable.js.map +1 -0
  280. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-take-until-iterable.js.map +1 -0
  281. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-tap-iterable.js.map +1 -0
  282. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-unique-iterable.js.map +1 -0
  283. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-update-iterable.js.map +1 -0
  284. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-when-iterable.js.map +1 -0
  285. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.js +33 -0
  286. package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.js.map +1 -0
  287. package/dist/esm/collection/implementations/async-iterable-collection/async-iterable-collection.js +543 -0
  288. package/dist/esm/collection/implementations/async-iterable-collection/async-iterable-collection.js.map +1 -0
  289. package/dist/esm/collection/implementations/iterable-collection/_module.js +2 -0
  290. package/dist/esm/collection/implementations/iterable-collection/_module.js.map +1 -0
  291. package/dist/esm/collection/implementations/iterable-collection/_shared/_module.js +33 -0
  292. package/dist/esm/collection/implementations/iterable-collection/_shared/_module.js.map +1 -0
  293. package/dist/esm/collection/implementations/iterable-collection/_shared/chunk-iterable.js.map +1 -0
  294. package/dist/esm/collection/implementations/iterable-collection/_shared/chunk-while-iterable.js.map +1 -0
  295. package/dist/esm/collection/implementations/iterable-collection/_shared/collapse-iterable.js +18 -0
  296. package/dist/esm/collection/implementations/iterable-collection/_shared/collapse-iterable.js.map +1 -0
  297. package/dist/esm/collection/implementations/iterable-collection/_shared/count-by-iterable.js.map +1 -0
  298. package/dist/esm/collection/implementations/iterable-collection/_shared/cross-join-iterable.js +33 -0
  299. package/dist/esm/collection/implementations/iterable-collection/_shared/cross-join-iterable.js.map +1 -0
  300. package/dist/esm/collection/implementations/iterable-collection/_shared/entries-iterable.js.map +1 -0
  301. package/dist/esm/collection/implementations/iterable-collection/_shared/filter-iterable.js.map +1 -0
  302. package/dist/esm/collection/implementations/iterable-collection/_shared/flat-map-iterable.js.map +1 -0
  303. package/dist/esm/collection/implementations/iterable-collection/_shared/group-by-iterable.js.map +1 -0
  304. package/dist/esm/collection/implementations/iterable-collection/_shared/insert-after-iterable.js.map +1 -0
  305. package/dist/esm/collection/implementations/iterable-collection/_shared/insert-before-iterable.js.map +1 -0
  306. package/dist/esm/collection/implementations/iterable-collection/_shared/map-iterable.js.map +1 -0
  307. package/dist/esm/collection/implementations/iterable-collection/_shared/merge-iterable.js.map +1 -0
  308. package/dist/esm/collection/implementations/iterable-collection/_shared/pad-end-iterable.js.map +1 -0
  309. package/dist/esm/collection/implementations/iterable-collection/_shared/pad-start-iterable.js.map +1 -0
  310. package/dist/esm/collection/implementations/iterable-collection/_shared/partion-iterable.js.map +1 -0
  311. package/dist/esm/collection/implementations/iterable-collection/_shared/repeat-iterable.js.map +1 -0
  312. package/dist/esm/collection/implementations/iterable-collection/_shared/reverse-iterable.js.map +1 -0
  313. package/dist/esm/collection/implementations/iterable-collection/_shared/shuffle-iterable.js.map +1 -0
  314. package/dist/esm/collection/implementations/iterable-collection/_shared/skip-iterable.js.map +1 -0
  315. package/dist/esm/collection/implementations/iterable-collection/_shared/skip-until-iterable.js.map +1 -0
  316. package/dist/esm/collection/implementations/iterable-collection/_shared/slice-iterable.js.map +1 -0
  317. package/dist/esm/collection/implementations/iterable-collection/_shared/sliding-iterable.js.map +1 -0
  318. package/dist/esm/collection/implementations/iterable-collection/_shared/sort-iterable.js.map +1 -0
  319. package/dist/esm/collection/implementations/iterable-collection/_shared/split-iterable.js.map +1 -0
  320. package/dist/esm/collection/implementations/iterable-collection/_shared/take-iterable.js.map +1 -0
  321. package/dist/esm/collection/implementations/iterable-collection/_shared/take-until-iterable.js.map +1 -0
  322. package/dist/esm/collection/implementations/iterable-collection/_shared/tap-iterable.js.map +1 -0
  323. package/dist/esm/collection/implementations/iterable-collection/_shared/unique-iterable.js.map +1 -0
  324. package/dist/esm/collection/implementations/iterable-collection/_shared/update-iterable.js.map +1 -0
  325. package/dist/esm/collection/implementations/iterable-collection/_shared/when-iterable.js.map +1 -0
  326. package/dist/esm/collection/implementations/iterable-collection/_shared/zip-iterable.js.map +1 -0
  327. package/dist/esm/collection/implementations/iterable-collection/iterable-collection.js +489 -0
  328. package/dist/esm/collection/implementations/iterable-collection/iterable-collection.js.map +1 -0
  329. package/dist/esm/collection/implementations/list-collection/_module.js +2 -0
  330. package/dist/esm/collection/implementations/list-collection/_module.js.map +1 -0
  331. package/dist/esm/collection/implementations/list-collection/list-collection.js +623 -0
  332. package/dist/esm/collection/implementations/list-collection/list-collection.js.map +1 -0
  333. package/dist/esm/serializer/_module.js +5 -5
  334. package/dist/esm/serializer/_module.js.map +1 -1
  335. package/dist/esm/serializer/contracts/_module.js +2 -0
  336. package/dist/esm/serializer/contracts/_module.js.map +1 -0
  337. package/dist/esm/serializer/contracts/serializer.contract.js.map +1 -0
  338. package/dist/esm/serializer/implementations/_module.js +6 -0
  339. package/dist/esm/serializer/implementations/_module.js.map +1 -0
  340. package/dist/esm/serializer/implementations/_shared/test-utilities/_module.js +2 -0
  341. package/dist/esm/serializer/implementations/_shared/test-utilities/_module.js.map +1 -0
  342. package/dist/esm/serializer/implementations/_shared/test-utilities/serializer.test-suite.js.map +1 -0
  343. package/dist/esm/serializer/implementations/mongodb-serializer/_module.js +2 -0
  344. package/dist/esm/serializer/implementations/mongodb-serializer/_module.js.map +1 -0
  345. package/dist/esm/serializer/implementations/mongodb-serializer/mongodb-serializer.js +32 -0
  346. package/dist/esm/serializer/implementations/mongodb-serializer/mongodb-serializer.js.map +1 -0
  347. package/dist/esm/serializer/implementations/redis-serializer/_module.js +2 -0
  348. package/dist/esm/serializer/implementations/redis-serializer/_module.js.map +1 -0
  349. package/dist/esm/serializer/implementations/redis-serializer/redis-serializer.js +33 -0
  350. package/dist/esm/serializer/implementations/redis-serializer/redis-serializer.js.map +1 -0
  351. package/dist/esm/serializer/implementations/sql-serializer/_module.js +2 -0
  352. package/dist/esm/serializer/implementations/sql-serializer/_module.js.map +1 -0
  353. package/dist/esm/serializer/implementations/sql-serializer/sql-serializer.js +33 -0
  354. package/dist/esm/serializer/implementations/sql-serializer/sql-serializer.js.map +1 -0
  355. package/dist/esm/serializer/implementations/super-json-serializer/_module.js +2 -0
  356. package/dist/esm/serializer/implementations/super-json-serializer/_module.js.map +1 -0
  357. package/dist/esm/serializer/implementations/super-json-serializer/super-json-serializer.js +277 -0
  358. package/dist/esm/serializer/implementations/super-json-serializer/super-json-serializer.js.map +1 -0
  359. package/dist/esm/storage/contracts/_module.js +4 -0
  360. package/dist/esm/storage/contracts/_module.js.map +1 -0
  361. package/dist/esm/storage/contracts/_shared.js.map +1 -0
  362. package/dist/esm/storage/contracts/storage-adapter.contract.js.map +1 -0
  363. package/dist/esm/storage/contracts/storage.contract.js.map +1 -0
  364. package/dist/esm/storage/implementations/_module.js +7 -0
  365. package/dist/esm/storage/implementations/_module.js.map +1 -0
  366. package/dist/esm/storage/implementations/_shared/test-utilities/_module.js +2 -0
  367. package/dist/esm/storage/implementations/_shared/test-utilities/_module.js.map +1 -0
  368. package/dist/esm/storage/implementations/_shared/test-utilities/storage-adapter-api.test-suite.js +297 -0
  369. package/dist/esm/storage/implementations/_shared/test-utilities/storage-adapter-api.test-suite.js.map +1 -0
  370. package/dist/esm/storage/implementations/_shared/test-utilities/storage-adapter-value.test-suite.js +1205 -0
  371. package/dist/esm/storage/implementations/_shared/test-utilities/storage-adapter-value.test-suite.js.map +1 -0
  372. package/dist/esm/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.js +7 -0
  373. package/dist/esm/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.js.map +1 -0
  374. package/dist/esm/storage/implementations/memory-storage-adapter/_module.js +2 -0
  375. package/dist/esm/storage/implementations/memory-storage-adapter/_module.js.map +1 -0
  376. package/dist/esm/storage/implementations/memory-storage-adapter/memory-storage-adapter.js +81 -0
  377. package/dist/esm/storage/implementations/memory-storage-adapter/memory-storage-adapter.js.map +1 -0
  378. package/dist/esm/storage/implementations/mongodb-storage-adapter/_module.js +2 -0
  379. package/dist/esm/storage/implementations/mongodb-storage-adapter/_module.js.map +1 -0
  380. package/dist/esm/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.js +196 -0
  381. package/dist/esm/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.js.map +1 -0
  382. package/dist/esm/storage/implementations/redis-storage-adapter/_module.js +2 -0
  383. package/dist/esm/storage/implementations/redis-storage-adapter/_module.js.map +1 -0
  384. package/dist/esm/storage/implementations/redis-storage-adapter/redis-storage-adapter.js +224 -0
  385. package/dist/esm/storage/implementations/redis-storage-adapter/redis-storage-adapter.js.map +1 -0
  386. package/dist/esm/storage/implementations/sqlite/_module.js +3 -0
  387. package/dist/esm/storage/implementations/sqlite/_module.js.map +1 -0
  388. package/dist/esm/storage/implementations/sqlite/_shared/_module.js +2 -0
  389. package/dist/esm/storage/implementations/sqlite/_shared/_module.js.map +1 -0
  390. package/dist/esm/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.js +186 -0
  391. package/dist/esm/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.js.map +1 -0
  392. package/dist/esm/storage/implementations/sqlite/libsql-storage-adapter/_module.js +2 -0
  393. package/dist/esm/storage/implementations/sqlite/libsql-storage-adapter/_module.js.map +1 -0
  394. package/dist/esm/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.js +49 -0
  395. package/dist/esm/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.js.map +1 -0
  396. package/dist/esm/storage/implementations/sqlite/sqlite-storage-adapter/_module.js +2 -0
  397. package/dist/esm/storage/implementations/sqlite/sqlite-storage-adapter/_module.js.map +1 -0
  398. package/dist/esm/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js +48 -0
  399. package/dist/esm/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js.map +1 -0
  400. package/dist/esm/storage/implementations/storage/_module.js +2 -0
  401. package/dist/esm/storage/implementations/storage/_module.js.map +1 -0
  402. package/dist/esm/storage/implementations/storage/storage.js +215 -0
  403. package/dist/esm/storage/implementations/storage/storage.js.map +1 -0
  404. package/dist/esm/storage/implementations/storage/with-namespace-storage-adapter.js +52 -0
  405. package/dist/esm/storage/implementations/storage/with-namespace-storage-adapter.js.map +1 -0
  406. package/dist/esm/storage/implementations/storage/with-validation-storage-adapter.js +44 -0
  407. package/dist/esm/storage/implementations/storage/with-validation-storage-adapter.js.map +1 -0
  408. package/dist/esm/utilities/_module.js +4 -0
  409. package/dist/esm/utilities/_module.js.map +1 -1
  410. package/dist/esm/utilities/async/_module.js +8 -0
  411. package/dist/esm/utilities/async/_module.js.map +1 -0
  412. package/dist/esm/utilities/async/_shared.js.map +1 -0
  413. package/dist/esm/utilities/async/abortable/_module.js +2 -0
  414. package/dist/esm/utilities/async/abortable/_module.js.map +1 -0
  415. package/dist/esm/utilities/async/abortable/abortable.js +45 -0
  416. package/dist/esm/utilities/async/abortable/abortable.js.map +1 -0
  417. package/dist/esm/utilities/async/backof-policies/_module.js +5 -0
  418. package/dist/esm/utilities/async/backof-policies/_module.js.map +1 -0
  419. package/dist/esm/utilities/async/backof-policies/_shared.js.map +1 -0
  420. package/dist/esm/utilities/async/backof-policies/constant-backoff-policy/_module.js +2 -0
  421. package/dist/esm/utilities/async/backof-policies/constant-backoff-policy/_module.js.map +1 -0
  422. package/dist/esm/utilities/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js +16 -0
  423. package/dist/esm/utilities/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +1 -0
  424. package/dist/esm/utilities/async/backof-policies/exponential-backoff-policy/_module.js +2 -0
  425. package/dist/esm/utilities/async/backof-policies/exponential-backoff-policy/_module.js.map +1 -0
  426. package/dist/esm/utilities/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +20 -0
  427. package/dist/esm/utilities/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +1 -0
  428. package/dist/esm/utilities/async/backof-policies/linear-backoff-policy/_module.js +2 -0
  429. package/dist/esm/utilities/async/backof-policies/linear-backoff-policy/_module.js.map +1 -0
  430. package/dist/esm/utilities/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js +20 -0
  431. package/dist/esm/utilities/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +1 -0
  432. package/dist/esm/utilities/async/backof-policies/polynomial-backoff-policy/_module.js +2 -0
  433. package/dist/esm/utilities/async/backof-policies/polynomial-backoff-policy/_module.js.map +1 -0
  434. package/dist/esm/utilities/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +20 -0
  435. package/dist/esm/utilities/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +1 -0
  436. package/dist/esm/utilities/async/delay/_module.js +2 -0
  437. package/dist/esm/utilities/async/delay/_module.js.map +1 -0
  438. package/dist/esm/utilities/async/delay/delay.js +21 -0
  439. package/dist/esm/utilities/async/delay/delay.js.map +1 -0
  440. package/dist/esm/utilities/async/lazy-promise/_module.js +2 -0
  441. package/dist/esm/utilities/async/lazy-promise/_module.js.map +1 -0
  442. package/dist/esm/utilities/async/lazy-promise/lazy-promise.js.map +1 -0
  443. package/dist/esm/utilities/async/retry/_module.js +2 -0
  444. package/dist/esm/utilities/async/retry/_module.js.map +1 -0
  445. package/dist/esm/utilities/async/retry/retry.js +40 -0
  446. package/dist/esm/utilities/async/retry/retry.js.map +1 -0
  447. package/dist/esm/utilities/async/timeout/_module.js +2 -0
  448. package/dist/esm/utilities/async/timeout/_module.js.map +1 -0
  449. package/dist/esm/utilities/async/timeout/timeout.js +25 -0
  450. package/dist/esm/utilities/async/timeout/timeout.js.map +1 -0
  451. package/dist/esm/utilities/async-iterable/_module.js +5 -0
  452. package/dist/esm/utilities/async-iterable/_module.js.map +1 -0
  453. package/dist/esm/utilities/async-iterable/abortable-iterable/_module.js +2 -0
  454. package/dist/esm/utilities/async-iterable/abortable-iterable/_module.js.map +1 -0
  455. package/dist/esm/utilities/async-iterable/abortable-iterable/abortable-iterable.js +29 -0
  456. package/dist/esm/utilities/async-iterable/abortable-iterable/abortable-iterable.js.map +1 -0
  457. package/dist/esm/utilities/async-iterable/delay-iterable/_module.js +2 -0
  458. package/dist/esm/utilities/async-iterable/delay-iterable/_module.js.map +1 -0
  459. package/dist/esm/utilities/async-iterable/delay-iterable/delay-iterable.js +33 -0
  460. package/dist/esm/utilities/async-iterable/delay-iterable/delay-iterable.js.map +1 -0
  461. package/dist/esm/utilities/async-iterable/retry-iterable/_module.js +2 -0
  462. package/dist/esm/utilities/async-iterable/retry-iterable/_module.js.map +1 -0
  463. package/dist/esm/utilities/async-iterable/retry-iterable/retry-iterable.js +29 -0
  464. package/dist/esm/utilities/async-iterable/retry-iterable/retry-iterable.js.map +1 -0
  465. package/dist/esm/utilities/async-iterable/timeout-iterable/_module.js +2 -0
  466. package/dist/esm/utilities/async-iterable/timeout-iterable/_module.js.map +1 -0
  467. package/dist/esm/utilities/async-iterable/timeout-iterable/timeout-iterable.js +8 -0
  468. package/dist/esm/utilities/async-iterable/timeout-iterable/timeout-iterable.js.map +1 -0
  469. package/dist/esm/utilities/time-span/time-span.js +2 -2
  470. package/dist/esm/utilities/time-span/time-span.js.map +1 -1
  471. package/dist/esm/utilities/validation/_module.js +17 -0
  472. package/dist/esm/utilities/validation/_module.js.map +1 -0
  473. package/dist/types/_module.d.ts +6 -5
  474. package/dist/types/_shared/types.d.ts +0 -4
  475. package/dist/types/collection/contracts/_module.d.ts +3 -0
  476. package/dist/types/collection/contracts/async-collection.contract.d.ts +1309 -0
  477. package/dist/types/collection/contracts/collection.contract.d.ts +1269 -0
  478. package/dist/types/collection/implementations/_module.d.ts +4 -0
  479. package/dist/types/collection/implementations/async-iterable-collection/_module.d.ts +1 -0
  480. package/dist/types/collection/implementations/async-iterable-collection/_shared/_module.d.ts +33 -0
  481. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-chunk-iterable.d.ts +12 -0
  482. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-chunk-while-iterable.d.ts +12 -0
  483. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.d.ts +9 -0
  484. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-count-by-iterable.d.ts +11 -0
  485. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.d.ts +13 -0
  486. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-entries-iterable.d.ts +10 -0
  487. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-filter-iterable.d.ts +10 -0
  488. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-flat-map-iterable.d.ts +10 -0
  489. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-group-by-iterable.d.ts +12 -0
  490. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-insert-after-iterable.d.ts +12 -0
  491. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-insert-before-iterable.d.ts +12 -0
  492. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-map-iterable.d.ts +10 -0
  493. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.d.ts +10 -0
  494. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-pad-end-iterable.d.ts +13 -0
  495. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-pad-start-iterable.d.ts +13 -0
  496. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-partion-iterable.d.ts +12 -0
  497. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-repeat-iterable.d.ts +12 -0
  498. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-reverse-iterable.d.ts +12 -0
  499. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-shuffle-iterable.d.ts +10 -0
  500. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-skip-iterable.d.ts +10 -0
  501. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-skip-until-iterable.d.ts +10 -0
  502. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-slice-iterable.d.ts +11 -0
  503. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-sliding-iterable.d.ts +11 -0
  504. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-sort-iterable.d.ts +10 -0
  505. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-split-iterable.d.ts +12 -0
  506. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-take-iterable.d.ts +10 -0
  507. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-take-until-iterable.d.ts +10 -0
  508. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-tap-iterable.d.ts +10 -0
  509. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-unique-iterable.d.ts +10 -0
  510. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-update-iterable.d.ts +11 -0
  511. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-when-iterable.d.ts +11 -0
  512. package/dist/types/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.d.ts +11 -0
  513. package/dist/types/collection/implementations/async-iterable-collection/async-iterable-collection.d.ts +105 -0
  514. package/dist/types/collection/implementations/iterable-collection/_module.d.ts +1 -0
  515. package/dist/types/collection/implementations/iterable-collection/_shared/_module.d.ts +32 -0
  516. package/dist/types/collection/implementations/iterable-collection/_shared/chunk-iterable.d.ts +11 -0
  517. package/dist/types/collection/implementations/iterable-collection/_shared/chunk-while-iterable.d.ts +11 -0
  518. package/dist/types/collection/implementations/iterable-collection/_shared/collapse-iterable.d.ts +9 -0
  519. package/dist/types/collection/implementations/iterable-collection/_shared/count-by-iterable.d.ts +11 -0
  520. package/dist/types/collection/implementations/iterable-collection/_shared/cross-join-iterable.d.ts +8 -0
  521. package/dist/types/collection/implementations/iterable-collection/_shared/entries-iterable.d.ts +9 -0
  522. package/dist/types/collection/implementations/iterable-collection/_shared/filter-iterable.d.ts +10 -0
  523. package/dist/types/collection/implementations/iterable-collection/_shared/flat-map-iterable.d.ts +10 -0
  524. package/dist/types/collection/implementations/iterable-collection/_shared/group-by-iterable.d.ts +12 -0
  525. package/dist/types/collection/implementations/iterable-collection/_shared/insert-after-iterable.d.ts +11 -0
  526. package/dist/types/collection/implementations/iterable-collection/_shared/insert-before-iterable.d.ts +11 -0
  527. package/dist/types/collection/implementations/iterable-collection/_shared/map-iterable.d.ts +10 -0
  528. package/dist/types/collection/implementations/iterable-collection/_shared/pad-end-iterable.d.ts +12 -0
  529. package/dist/types/collection/implementations/iterable-collection/_shared/pad-start-iterable.d.ts +12 -0
  530. package/dist/types/collection/implementations/iterable-collection/_shared/partion-iterable.d.ts +11 -0
  531. package/dist/types/collection/implementations/iterable-collection/_shared/repeat-iterable.d.ts +11 -0
  532. package/dist/types/collection/implementations/iterable-collection/_shared/reverse-iterable.d.ts +11 -0
  533. package/dist/types/collection/implementations/iterable-collection/_shared/skip-iterable.d.ts +10 -0
  534. package/dist/types/collection/implementations/iterable-collection/_shared/skip-until-iterable.d.ts +10 -0
  535. package/dist/types/collection/implementations/iterable-collection/_shared/slice-iterable.d.ts +11 -0
  536. package/dist/types/collection/implementations/iterable-collection/_shared/sliding-iterable.d.ts +11 -0
  537. package/dist/types/collection/implementations/iterable-collection/_shared/sort-iterable.d.ts +10 -0
  538. package/dist/types/collection/implementations/iterable-collection/_shared/split-iterable.d.ts +11 -0
  539. package/dist/types/collection/implementations/iterable-collection/_shared/take-iterable.d.ts +10 -0
  540. package/dist/types/collection/implementations/iterable-collection/_shared/take-until-iterable.d.ts +10 -0
  541. package/dist/types/collection/implementations/iterable-collection/_shared/tap-iterable.d.ts +10 -0
  542. package/dist/types/collection/implementations/iterable-collection/_shared/unique-iterable.d.ts +10 -0
  543. package/dist/types/collection/implementations/iterable-collection/_shared/update-iterable.d.ts +11 -0
  544. package/dist/types/collection/implementations/iterable-collection/_shared/when-iterable.d.ts +11 -0
  545. package/dist/types/collection/implementations/iterable-collection/_shared/zip-iterable.d.ts +10 -0
  546. package/dist/types/collection/implementations/iterable-collection/iterable-collection.d.ts +100 -0
  547. package/dist/types/collection/implementations/list-collection/_module.d.ts +1 -0
  548. package/dist/types/collection/implementations/list-collection/list-collection.d.ts +97 -0
  549. package/dist/types/serializer/_module.d.ts +5 -5
  550. package/dist/types/serializer/contracts/_module.d.ts +1 -0
  551. package/dist/types/serializer/implementations/_module.d.ts +5 -0
  552. package/dist/types/serializer/implementations/_shared/test-utilities/_module.d.ts +1 -0
  553. package/dist/types/serializer/implementations/_shared/test-utilities/serializer.test-suite.d.ts +18 -0
  554. package/dist/types/serializer/implementations/mongodb-serializer/_module.d.ts +1 -0
  555. package/dist/types/serializer/implementations/mongodb-serializer/mongodb-serializer.d.ts +13 -0
  556. package/dist/types/serializer/implementations/redis-serializer/_module.d.ts +1 -0
  557. package/dist/types/serializer/implementations/redis-serializer/redis-serializer.d.ts +13 -0
  558. package/dist/types/serializer/implementations/sql-serializer/_module.d.ts +1 -0
  559. package/dist/types/serializer/implementations/sql-serializer/sql-serializer.d.ts +13 -0
  560. package/dist/types/serializer/implementations/super-json-serializer/_module.d.ts +1 -0
  561. package/dist/types/serializer/implementations/super-json-serializer/super-json-serializer.d.ts +37 -0
  562. package/dist/types/storage/contracts/_module.d.ts +3 -0
  563. package/dist/types/storage/contracts/storage-adapter.contract.d.ts +53 -0
  564. package/dist/types/storage/contracts/storage.contract.d.ts +151 -0
  565. package/dist/types/storage/implementations/_module.d.ts +6 -0
  566. package/dist/types/storage/implementations/_shared/test-utilities/_module.d.ts +1 -0
  567. package/dist/types/storage/implementations/_shared/test-utilities/storage-adapter-api.test-suite.d.ts +20 -0
  568. package/dist/types/storage/implementations/_shared/test-utilities/storage-adapter-value.test-suite.d.ts +20 -0
  569. package/dist/types/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.d.ts +20 -0
  570. package/dist/types/storage/implementations/memory-storage-adapter/_module.d.ts +1 -0
  571. package/dist/types/storage/implementations/memory-storage-adapter/memory-storage-adapter.d.ts +18 -0
  572. package/dist/types/storage/implementations/mongodb-storage-adapter/_module.d.ts +1 -0
  573. package/dist/types/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.d.ts +43 -0
  574. package/dist/types/storage/implementations/redis-storage-adapter/_module.d.ts +1 -0
  575. package/dist/types/storage/implementations/redis-storage-adapter/redis-storage-adapter.d.ts +38 -0
  576. package/dist/types/storage/implementations/sqlite/_module.d.ts +2 -0
  577. package/dist/types/storage/implementations/sqlite/_shared/_module.d.ts +1 -0
  578. package/dist/types/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.d.ts +39 -0
  579. package/dist/types/storage/implementations/sqlite/libsql-storage-adapter/_module.d.ts +1 -0
  580. package/dist/types/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.d.ts +30 -0
  581. package/dist/types/storage/implementations/sqlite/sqlite-storage-adapter/_module.d.ts +1 -0
  582. package/dist/types/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.d.ts +30 -0
  583. package/dist/types/storage/implementations/storage/_module.d.ts +1 -0
  584. package/dist/types/storage/implementations/storage/storage.d.ts +41 -0
  585. package/dist/types/storage/implementations/storage/with-namespace-storage-adapter.d.ts +25 -0
  586. package/dist/types/storage/implementations/storage/with-validation-storage-adapter.d.ts +19 -0
  587. package/dist/types/utilities/_module.d.ts +4 -0
  588. package/dist/types/utilities/async/_module.d.ts +7 -0
  589. package/dist/types/utilities/async/abortable/_module.d.ts +1 -0
  590. package/dist/types/utilities/async/abortable/abortable.d.ts +39 -0
  591. package/dist/types/utilities/async/backof-policies/_module.d.ts +5 -0
  592. package/dist/types/utilities/async/backof-policies/constant-backoff-policy/_module.d.ts +1 -0
  593. package/dist/types/utilities/async/backof-policies/constant-backoff-policy/constant-backoff-policy.d.ts +28 -0
  594. package/dist/types/utilities/async/backof-policies/exponential-backoff-policy/_module.d.ts +1 -0
  595. package/dist/types/utilities/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.d.ts +36 -0
  596. package/dist/types/utilities/async/backof-policies/linear-backoff-policy/_module.d.ts +1 -0
  597. package/dist/types/utilities/async/backof-policies/linear-backoff-policy/linear-backoff-policy.d.ts +32 -0
  598. package/dist/types/utilities/async/backof-policies/polynomial-backoff-policy/_module.d.ts +1 -0
  599. package/dist/types/utilities/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.d.ts +36 -0
  600. package/dist/types/utilities/async/delay/_module.d.ts +1 -0
  601. package/dist/types/utilities/async/delay/delay.d.ts +38 -0
  602. package/dist/types/utilities/async/lazy-promise/_module.d.ts +1 -0
  603. package/dist/types/utilities/async/retry/_module.d.ts +1 -0
  604. package/dist/types/utilities/async/retry/retry.d.ts +86 -0
  605. package/dist/types/utilities/async/timeout/_module.d.ts +1 -0
  606. package/dist/types/utilities/async/timeout/timeout.d.ts +40 -0
  607. package/dist/types/utilities/async-iterable/_module.d.ts +4 -0
  608. package/dist/types/utilities/async-iterable/abortable-iterable/_module.d.ts +1 -0
  609. package/dist/types/utilities/async-iterable/delay-iterable/_module.d.ts +1 -0
  610. package/dist/types/utilities/async-iterable/delay-iterable/delay-iterable.d.ts +57 -0
  611. package/dist/types/utilities/async-iterable/retry-iterable/_module.d.ts +1 -0
  612. package/dist/types/utilities/async-iterable/retry-iterable/retry-iterable.d.ts +86 -0
  613. package/dist/types/utilities/async-iterable/timeout-iterable/_module.d.ts +1 -0
  614. package/dist/types/utilities/async-iterable/timeout-iterable/timeout-iterable.d.ts +64 -0
  615. package/dist/types/utilities/time-span/time-span.d.ts +3 -3
  616. package/dist/types/utilities/validation/_module.d.ts +12 -0
  617. package/package.json +10 -6
  618. package/dist/cjs/async/_module.js +0 -30
  619. package/dist/cjs/async/_module.js.map +0 -1
  620. package/dist/cjs/async/_shared.js.map +0 -1
  621. package/dist/cjs/async/abortable/_module.js +0 -18
  622. package/dist/cjs/async/abortable/_module.js.map +0 -1
  623. package/dist/cjs/async/abortable/abortable.js +0 -48
  624. package/dist/cjs/async/abortable/abortable.js.map +0 -1
  625. package/dist/cjs/async/abortable-iterable/_module.js +0 -18
  626. package/dist/cjs/async/abortable-iterable/_module.js.map +0 -1
  627. package/dist/cjs/async/abortable-iterable/abortable-iterable.js +0 -32
  628. package/dist/cjs/async/abortable-iterable/abortable-iterable.js.map +0 -1
  629. package/dist/cjs/async/backof-policies/_module.js +0 -21
  630. package/dist/cjs/async/backof-policies/_module.js.map +0 -1
  631. package/dist/cjs/async/backof-policies/_shared.js.map +0 -1
  632. package/dist/cjs/async/backof-policies/constant-backoff-policy/_module.js +0 -18
  633. package/dist/cjs/async/backof-policies/constant-backoff-policy/_module.js.map +0 -1
  634. package/dist/cjs/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js +0 -19
  635. package/dist/cjs/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +0 -1
  636. package/dist/cjs/async/backof-policies/exponential-backoff-policy/_module.js +0 -18
  637. package/dist/cjs/async/backof-policies/exponential-backoff-policy/_module.js.map +0 -1
  638. package/dist/cjs/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +0 -23
  639. package/dist/cjs/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +0 -1
  640. package/dist/cjs/async/backof-policies/linear-backoff-policy/_module.js +0 -18
  641. package/dist/cjs/async/backof-policies/linear-backoff-policy/_module.js.map +0 -1
  642. package/dist/cjs/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js +0 -23
  643. package/dist/cjs/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +0 -1
  644. package/dist/cjs/async/backof-policies/polynomial-backoff-policy/_module.js +0 -18
  645. package/dist/cjs/async/backof-policies/polynomial-backoff-policy/_module.js.map +0 -1
  646. package/dist/cjs/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +0 -23
  647. package/dist/cjs/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +0 -1
  648. package/dist/cjs/async/delay/_module.js +0 -18
  649. package/dist/cjs/async/delay/_module.js.map +0 -1
  650. package/dist/cjs/async/delay/delay.js +0 -24
  651. package/dist/cjs/async/delay/delay.js.map +0 -1
  652. package/dist/cjs/async/delay-iterable/_module.js +0 -18
  653. package/dist/cjs/async/delay-iterable/_module.js.map +0 -1
  654. package/dist/cjs/async/delay-iterable/delay-iterable.js +0 -36
  655. package/dist/cjs/async/delay-iterable/delay-iterable.js.map +0 -1
  656. package/dist/cjs/async/lazy-promise/_module.js +0 -18
  657. package/dist/cjs/async/lazy-promise/_module.js.map +0 -1
  658. package/dist/cjs/async/lazy-promise/lazy-promise.js.map +0 -1
  659. package/dist/cjs/async/retry/_module.js +0 -18
  660. package/dist/cjs/async/retry/_module.js.map +0 -1
  661. package/dist/cjs/async/retry/retry.js +0 -43
  662. package/dist/cjs/async/retry/retry.js.map +0 -1
  663. package/dist/cjs/async/retry-iterable/_module.js +0 -18
  664. package/dist/cjs/async/retry-iterable/_module.js.map +0 -1
  665. package/dist/cjs/async/retry-iterable/retry-iterable.js +0 -32
  666. package/dist/cjs/async/retry-iterable/retry-iterable.js.map +0 -1
  667. package/dist/cjs/async/timeout/_module.js +0 -18
  668. package/dist/cjs/async/timeout/_module.js.map +0 -1
  669. package/dist/cjs/async/timeout/timeout.js +0 -28
  670. package/dist/cjs/async/timeout/timeout.js.map +0 -1
  671. package/dist/cjs/async/timeout-iterable/_module.js +0 -18
  672. package/dist/cjs/async/timeout-iterable/_module.js.map +0 -1
  673. package/dist/cjs/async/timeout-iterable/timeout-iterable.js +0 -11
  674. package/dist/cjs/async/timeout-iterable/timeout-iterable.js.map +0 -1
  675. package/dist/cjs/collection/_module.js +0 -21
  676. package/dist/cjs/collection/_module.js.map +0 -1
  677. package/dist/cjs/collection/_shared.js.map +0 -1
  678. package/dist/cjs/collection/async-iterable-collection/_module.js +0 -18
  679. package/dist/cjs/collection/async-iterable-collection/_module.js.map +0 -1
  680. package/dist/cjs/collection/async-iterable-collection/_shared/_module.js +0 -50
  681. package/dist/cjs/collection/async-iterable-collection/_shared/_module.js.map +0 -1
  682. package/dist/cjs/collection/async-iterable-collection/_shared/async-chunk-iterable.js.map +0 -1
  683. package/dist/cjs/collection/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +0 -1
  684. package/dist/cjs/collection/async-iterable-collection/_shared/async-collapse-iterable.js +0 -22
  685. package/dist/cjs/collection/async-iterable-collection/_shared/async-collapse-iterable.js.map +0 -1
  686. package/dist/cjs/collection/async-iterable-collection/_shared/async-count-by-iterable.js.map +0 -1
  687. package/dist/cjs/collection/async-iterable-collection/_shared/async-cross-join-iterable.js +0 -35
  688. package/dist/cjs/collection/async-iterable-collection/_shared/async-cross-join-iterable.js.map +0 -1
  689. package/dist/cjs/collection/async-iterable-collection/_shared/async-entries-iterable.js.map +0 -1
  690. package/dist/cjs/collection/async-iterable-collection/_shared/async-error-handler-iterable.js.map +0 -1
  691. package/dist/cjs/collection/async-iterable-collection/_shared/async-filter-iterable.js.map +0 -1
  692. package/dist/cjs/collection/async-iterable-collection/_shared/async-flat-map-iterable.js.map +0 -1
  693. package/dist/cjs/collection/async-iterable-collection/_shared/async-group-by-iterable.js.map +0 -1
  694. package/dist/cjs/collection/async-iterable-collection/_shared/async-insert-after-iterable.js.map +0 -1
  695. package/dist/cjs/collection/async-iterable-collection/_shared/async-insert-before-iterable.js.map +0 -1
  696. package/dist/cjs/collection/async-iterable-collection/_shared/async-map-iterable.js.map +0 -1
  697. package/dist/cjs/collection/async-iterable-collection/_shared/async-merge-iterable.js.map +0 -1
  698. package/dist/cjs/collection/async-iterable-collection/_shared/async-pad-end-iterable.js.map +0 -1
  699. package/dist/cjs/collection/async-iterable-collection/_shared/async-pad-start-iterable.js.map +0 -1
  700. package/dist/cjs/collection/async-iterable-collection/_shared/async-partion-iterable.js.map +0 -1
  701. package/dist/cjs/collection/async-iterable-collection/_shared/async-repeat-iterable.js.map +0 -1
  702. package/dist/cjs/collection/async-iterable-collection/_shared/async-reverse-iterable.js.map +0 -1
  703. package/dist/cjs/collection/async-iterable-collection/_shared/async-shuffle-iterable.js.map +0 -1
  704. package/dist/cjs/collection/async-iterable-collection/_shared/async-skip-iterable.js.map +0 -1
  705. package/dist/cjs/collection/async-iterable-collection/_shared/async-skip-until-iterable.js.map +0 -1
  706. package/dist/cjs/collection/async-iterable-collection/_shared/async-slice-iterable.js.map +0 -1
  707. package/dist/cjs/collection/async-iterable-collection/_shared/async-sliding-iterable.js.map +0 -1
  708. package/dist/cjs/collection/async-iterable-collection/_shared/async-sort-iterable.js.map +0 -1
  709. package/dist/cjs/collection/async-iterable-collection/_shared/async-split-iterable.js.map +0 -1
  710. package/dist/cjs/collection/async-iterable-collection/_shared/async-take-iterable.js.map +0 -1
  711. package/dist/cjs/collection/async-iterable-collection/_shared/async-take-until-iterable.js.map +0 -1
  712. package/dist/cjs/collection/async-iterable-collection/_shared/async-tap-iterable.js.map +0 -1
  713. package/dist/cjs/collection/async-iterable-collection/_shared/async-unique-iterable.js.map +0 -1
  714. package/dist/cjs/collection/async-iterable-collection/_shared/async-update-iterable.js.map +0 -1
  715. package/dist/cjs/collection/async-iterable-collection/_shared/async-when-iterable.js.map +0 -1
  716. package/dist/cjs/collection/async-iterable-collection/_shared/async-zip-iterable.js +0 -37
  717. package/dist/cjs/collection/async-iterable-collection/_shared/async-zip-iterable.js.map +0 -1
  718. package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js +0 -547
  719. package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js.map +0 -1
  720. package/dist/cjs/collection/iterable-collection/_module.js +0 -18
  721. package/dist/cjs/collection/iterable-collection/_module.js.map +0 -1
  722. package/dist/cjs/collection/iterable-collection/_shared/_module.js +0 -49
  723. package/dist/cjs/collection/iterable-collection/_shared/_module.js.map +0 -1
  724. package/dist/cjs/collection/iterable-collection/_shared/chunk-iterable.js.map +0 -1
  725. package/dist/cjs/collection/iterable-collection/_shared/chunk-while-iterable.js.map +0 -1
  726. package/dist/cjs/collection/iterable-collection/_shared/collapse-iterable.js +0 -22
  727. package/dist/cjs/collection/iterable-collection/_shared/collapse-iterable.js.map +0 -1
  728. package/dist/cjs/collection/iterable-collection/_shared/count-by-iterable.js.map +0 -1
  729. package/dist/cjs/collection/iterable-collection/_shared/cross-join-iterable.js +0 -37
  730. package/dist/cjs/collection/iterable-collection/_shared/cross-join-iterable.js.map +0 -1
  731. package/dist/cjs/collection/iterable-collection/_shared/entries-iterable.js.map +0 -1
  732. package/dist/cjs/collection/iterable-collection/_shared/filter-iterable.js.map +0 -1
  733. package/dist/cjs/collection/iterable-collection/_shared/flat-map-iterable.js.map +0 -1
  734. package/dist/cjs/collection/iterable-collection/_shared/group-by-iterable.js.map +0 -1
  735. package/dist/cjs/collection/iterable-collection/_shared/insert-after-iterable.js.map +0 -1
  736. package/dist/cjs/collection/iterable-collection/_shared/insert-before-iterable.js.map +0 -1
  737. package/dist/cjs/collection/iterable-collection/_shared/map-iterable.js.map +0 -1
  738. package/dist/cjs/collection/iterable-collection/_shared/merge-iterable.js.map +0 -1
  739. package/dist/cjs/collection/iterable-collection/_shared/pad-end-iterable.js.map +0 -1
  740. package/dist/cjs/collection/iterable-collection/_shared/pad-start-iterable.js.map +0 -1
  741. package/dist/cjs/collection/iterable-collection/_shared/partion-iterable.js.map +0 -1
  742. package/dist/cjs/collection/iterable-collection/_shared/repeat-iterable.js.map +0 -1
  743. package/dist/cjs/collection/iterable-collection/_shared/reverse-iterable.js.map +0 -1
  744. package/dist/cjs/collection/iterable-collection/_shared/shuffle-iterable.js.map +0 -1
  745. package/dist/cjs/collection/iterable-collection/_shared/skip-iterable.js.map +0 -1
  746. package/dist/cjs/collection/iterable-collection/_shared/skip-until-iterable.js.map +0 -1
  747. package/dist/cjs/collection/iterable-collection/_shared/slice-iterable.js.map +0 -1
  748. package/dist/cjs/collection/iterable-collection/_shared/sliding-iterable.js.map +0 -1
  749. package/dist/cjs/collection/iterable-collection/_shared/sort-iterable.js.map +0 -1
  750. package/dist/cjs/collection/iterable-collection/_shared/split-iterable.js.map +0 -1
  751. package/dist/cjs/collection/iterable-collection/_shared/take-iterable.js.map +0 -1
  752. package/dist/cjs/collection/iterable-collection/_shared/take-until-iterable.js.map +0 -1
  753. package/dist/cjs/collection/iterable-collection/_shared/tap-iterable.js.map +0 -1
  754. package/dist/cjs/collection/iterable-collection/_shared/unique-iterable.js.map +0 -1
  755. package/dist/cjs/collection/iterable-collection/_shared/update-iterable.js.map +0 -1
  756. package/dist/cjs/collection/iterable-collection/_shared/when-iterable.js.map +0 -1
  757. package/dist/cjs/collection/iterable-collection/_shared/zip-iterable.js.map +0 -1
  758. package/dist/cjs/collection/iterable-collection/iterable-collection.js +0 -493
  759. package/dist/cjs/collection/iterable-collection/iterable-collection.js.map +0 -1
  760. package/dist/cjs/collection/list-collection/_module.js +0 -18
  761. package/dist/cjs/collection/list-collection/_module.js.map +0 -1
  762. package/dist/cjs/collection/list-collection/list-collection.js +0 -627
  763. package/dist/cjs/collection/list-collection/list-collection.js.map +0 -1
  764. package/dist/cjs/contracts/_module.js +0 -20
  765. package/dist/cjs/contracts/_module.js.map +0 -1
  766. package/dist/cjs/contracts/collection/_module.js +0 -20
  767. package/dist/cjs/contracts/collection/_module.js.map +0 -1
  768. package/dist/cjs/contracts/collection/_shared.js.map +0 -1
  769. package/dist/cjs/contracts/collection/async-collection.contract.js.map +0 -1
  770. package/dist/cjs/contracts/collection/collection.contract.js.map +0 -1
  771. package/dist/cjs/contracts/serializer/_module.js +0 -18
  772. package/dist/cjs/contracts/serializer/_module.js.map +0 -1
  773. package/dist/cjs/contracts/serializer/serializer.contract.js.map +0 -1
  774. package/dist/cjs/contracts/storage/_module.js +0 -20
  775. package/dist/cjs/contracts/storage/_module.js.map +0 -1
  776. package/dist/cjs/contracts/storage/_shared.js.map +0 -1
  777. package/dist/cjs/contracts/storage/storage-adapter.contract.js.map +0 -1
  778. package/dist/cjs/contracts/storage/storage.contract.js.map +0 -1
  779. package/dist/cjs/serializer/_shared/test-utilities/_module.js +0 -18
  780. package/dist/cjs/serializer/_shared/test-utilities/_module.js.map +0 -1
  781. package/dist/cjs/serializer/_shared/test-utilities/serializer.test-suite.js.map +0 -1
  782. package/dist/cjs/serializer/mongodb-serializer/_module.js +0 -18
  783. package/dist/cjs/serializer/mongodb-serializer/_module.js.map +0 -1
  784. package/dist/cjs/serializer/mongodb-serializer/mongodb-serializer.js +0 -36
  785. package/dist/cjs/serializer/mongodb-serializer/mongodb-serializer.js.map +0 -1
  786. package/dist/cjs/serializer/redis-serializer/_module.js +0 -18
  787. package/dist/cjs/serializer/redis-serializer/_module.js.map +0 -1
  788. package/dist/cjs/serializer/redis-serializer/redis-serializer.js +0 -37
  789. package/dist/cjs/serializer/redis-serializer/redis-serializer.js.map +0 -1
  790. package/dist/cjs/serializer/sql-serializer/_module.js +0 -18
  791. package/dist/cjs/serializer/sql-serializer/_module.js.map +0 -1
  792. package/dist/cjs/serializer/sql-serializer/sql-serializer.js +0 -37
  793. package/dist/cjs/serializer/sql-serializer/sql-serializer.js.map +0 -1
  794. package/dist/cjs/serializer/super-json-serializer/_module.js +0 -18
  795. package/dist/cjs/serializer/super-json-serializer/_module.js.map +0 -1
  796. package/dist/cjs/serializer/super-json-serializer/super-json-serializer.js +0 -304
  797. package/dist/cjs/serializer/super-json-serializer/super-json-serializer.js.map +0 -1
  798. package/dist/cjs/storage/_module.js +0 -23
  799. package/dist/cjs/storage/_module.js.map +0 -1
  800. package/dist/cjs/storage/_shared/test-utilities/_module.js +0 -18
  801. package/dist/cjs/storage/_shared/test-utilities/_module.js.map +0 -1
  802. package/dist/cjs/storage/_shared/test-utilities/storage-api.test-suite.js +0 -572
  803. package/dist/cjs/storage/_shared/test-utilities/storage-api.test-suite.js.map +0 -1
  804. package/dist/cjs/storage/_shared/test-utilities/storage-namespace.test-suite.js +0 -241
  805. package/dist/cjs/storage/_shared/test-utilities/storage-namespace.test-suite.js.map +0 -1
  806. package/dist/cjs/storage/_shared/test-utilities/storage-value.test-suite.js +0 -4172
  807. package/dist/cjs/storage/_shared/test-utilities/storage-value.test-suite.js.map +0 -1
  808. package/dist/cjs/storage/_shared/test-utilities/storage.test-suite.js +0 -12
  809. package/dist/cjs/storage/_shared/test-utilities/storage.test-suite.js.map +0 -1
  810. package/dist/cjs/storage/memory-storage-adapter/_module.js +0 -18
  811. package/dist/cjs/storage/memory-storage-adapter/_module.js.map +0 -1
  812. package/dist/cjs/storage/memory-storage-adapter/memory-storage-adapter.js +0 -62
  813. package/dist/cjs/storage/memory-storage-adapter/memory-storage-adapter.js.map +0 -1
  814. package/dist/cjs/storage/mongodb-storage-adapter/_module.js +0 -6
  815. package/dist/cjs/storage/mongodb-storage-adapter/_module.js.map +0 -1
  816. package/dist/cjs/storage/mongodb-storage-adapter/mongodb-storage-adapter.js +0 -273
  817. package/dist/cjs/storage/mongodb-storage-adapter/mongodb-storage-adapter.js.map +0 -1
  818. package/dist/cjs/storage/namespace-storage-adapter.js +0 -66
  819. package/dist/cjs/storage/namespace-storage-adapter.js.map +0 -1
  820. package/dist/cjs/storage/redis-storage-adapter/_module.js +0 -18
  821. package/dist/cjs/storage/redis-storage-adapter/_module.js.map +0 -1
  822. package/dist/cjs/storage/redis-storage-adapter/redis-storage-adapter.js +0 -248
  823. package/dist/cjs/storage/redis-storage-adapter/redis-storage-adapter.js.map +0 -1
  824. package/dist/cjs/storage/sqlite/_module.js +0 -19
  825. package/dist/cjs/storage/sqlite/_module.js.map +0 -1
  826. package/dist/cjs/storage/sqlite/_shared/_module.js +0 -18
  827. package/dist/cjs/storage/sqlite/_shared/_module.js.map +0 -1
  828. package/dist/cjs/storage/sqlite/_shared/base-sqlite-storage-adapter.js +0 -224
  829. package/dist/cjs/storage/sqlite/_shared/base-sqlite-storage-adapter.js.map +0 -1
  830. package/dist/cjs/storage/sqlite/libsql-storage-adapter/_module.js +0 -18
  831. package/dist/cjs/storage/sqlite/libsql-storage-adapter/_module.js.map +0 -1
  832. package/dist/cjs/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.js +0 -53
  833. package/dist/cjs/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.js.map +0 -1
  834. package/dist/cjs/storage/sqlite/sqlite-storage-adapter/_module.js +0 -18
  835. package/dist/cjs/storage/sqlite/sqlite-storage-adapter/_module.js.map +0 -1
  836. package/dist/cjs/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js +0 -52
  837. package/dist/cjs/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js.map +0 -1
  838. package/dist/cjs/storage/storage.js +0 -301
  839. package/dist/cjs/storage/storage.js.map +0 -1
  840. package/dist/cjs/storage/usable-storage-adapter.js +0 -102
  841. package/dist/cjs/storage/usable-storage-adapter.js.map +0 -1
  842. package/dist/esm/async/_module.js +0 -12
  843. package/dist/esm/async/_module.js.map +0 -1
  844. package/dist/esm/async/_shared.js.map +0 -1
  845. package/dist/esm/async/abortable/_module.js +0 -2
  846. package/dist/esm/async/abortable/_module.js.map +0 -1
  847. package/dist/esm/async/abortable/abortable.js +0 -45
  848. package/dist/esm/async/abortable/abortable.js.map +0 -1
  849. package/dist/esm/async/abortable-iterable/_module.js +0 -2
  850. package/dist/esm/async/abortable-iterable/_module.js.map +0 -1
  851. package/dist/esm/async/abortable-iterable/abortable-iterable.js +0 -29
  852. package/dist/esm/async/abortable-iterable/abortable-iterable.js.map +0 -1
  853. package/dist/esm/async/backof-policies/_module.js +0 -5
  854. package/dist/esm/async/backof-policies/_module.js.map +0 -1
  855. package/dist/esm/async/backof-policies/_shared.js.map +0 -1
  856. package/dist/esm/async/backof-policies/constant-backoff-policy/_module.js +0 -2
  857. package/dist/esm/async/backof-policies/constant-backoff-policy/_module.js.map +0 -1
  858. package/dist/esm/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js +0 -16
  859. package/dist/esm/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +0 -1
  860. package/dist/esm/async/backof-policies/exponential-backoff-policy/_module.js +0 -2
  861. package/dist/esm/async/backof-policies/exponential-backoff-policy/_module.js.map +0 -1
  862. package/dist/esm/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +0 -20
  863. package/dist/esm/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +0 -1
  864. package/dist/esm/async/backof-policies/linear-backoff-policy/_module.js +0 -2
  865. package/dist/esm/async/backof-policies/linear-backoff-policy/_module.js.map +0 -1
  866. package/dist/esm/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js +0 -20
  867. package/dist/esm/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +0 -1
  868. package/dist/esm/async/backof-policies/polynomial-backoff-policy/_module.js +0 -2
  869. package/dist/esm/async/backof-policies/polynomial-backoff-policy/_module.js.map +0 -1
  870. package/dist/esm/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +0 -20
  871. package/dist/esm/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +0 -1
  872. package/dist/esm/async/delay/_module.js +0 -2
  873. package/dist/esm/async/delay/_module.js.map +0 -1
  874. package/dist/esm/async/delay/delay.js +0 -21
  875. package/dist/esm/async/delay/delay.js.map +0 -1
  876. package/dist/esm/async/delay-iterable/_module.js +0 -2
  877. package/dist/esm/async/delay-iterable/_module.js.map +0 -1
  878. package/dist/esm/async/delay-iterable/delay-iterable.js +0 -33
  879. package/dist/esm/async/delay-iterable/delay-iterable.js.map +0 -1
  880. package/dist/esm/async/lazy-promise/_module.js +0 -2
  881. package/dist/esm/async/lazy-promise/_module.js.map +0 -1
  882. package/dist/esm/async/lazy-promise/lazy-promise.js.map +0 -1
  883. package/dist/esm/async/retry/_module.js +0 -2
  884. package/dist/esm/async/retry/_module.js.map +0 -1
  885. package/dist/esm/async/retry/retry.js +0 -40
  886. package/dist/esm/async/retry/retry.js.map +0 -1
  887. package/dist/esm/async/retry-iterable/_module.js +0 -2
  888. package/dist/esm/async/retry-iterable/_module.js.map +0 -1
  889. package/dist/esm/async/retry-iterable/retry-iterable.js +0 -29
  890. package/dist/esm/async/retry-iterable/retry-iterable.js.map +0 -1
  891. package/dist/esm/async/timeout/_module.js +0 -2
  892. package/dist/esm/async/timeout/_module.js.map +0 -1
  893. package/dist/esm/async/timeout/timeout.js +0 -25
  894. package/dist/esm/async/timeout/timeout.js.map +0 -1
  895. package/dist/esm/async/timeout-iterable/_module.js +0 -2
  896. package/dist/esm/async/timeout-iterable/_module.js.map +0 -1
  897. package/dist/esm/async/timeout-iterable/timeout-iterable.js +0 -8
  898. package/dist/esm/async/timeout-iterable/timeout-iterable.js.map +0 -1
  899. package/dist/esm/collection/_module.js +0 -5
  900. package/dist/esm/collection/_module.js.map +0 -1
  901. package/dist/esm/collection/_shared.js.map +0 -1
  902. package/dist/esm/collection/async-iterable-collection/_module.js +0 -2
  903. package/dist/esm/collection/async-iterable-collection/_module.js.map +0 -1
  904. package/dist/esm/collection/async-iterable-collection/_shared/_module.js +0 -34
  905. package/dist/esm/collection/async-iterable-collection/_shared/_module.js.map +0 -1
  906. package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-iterable.js.map +0 -1
  907. package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +0 -1
  908. package/dist/esm/collection/async-iterable-collection/_shared/async-collapse-iterable.js +0 -18
  909. package/dist/esm/collection/async-iterable-collection/_shared/async-collapse-iterable.js.map +0 -1
  910. package/dist/esm/collection/async-iterable-collection/_shared/async-count-by-iterable.js.map +0 -1
  911. package/dist/esm/collection/async-iterable-collection/_shared/async-cross-join-iterable.js +0 -31
  912. package/dist/esm/collection/async-iterable-collection/_shared/async-cross-join-iterable.js.map +0 -1
  913. package/dist/esm/collection/async-iterable-collection/_shared/async-entries-iterable.js.map +0 -1
  914. package/dist/esm/collection/async-iterable-collection/_shared/async-error-handler-iterable.js.map +0 -1
  915. package/dist/esm/collection/async-iterable-collection/_shared/async-filter-iterable.js.map +0 -1
  916. package/dist/esm/collection/async-iterable-collection/_shared/async-flat-map-iterable.js.map +0 -1
  917. package/dist/esm/collection/async-iterable-collection/_shared/async-group-by-iterable.js.map +0 -1
  918. package/dist/esm/collection/async-iterable-collection/_shared/async-insert-after-iterable.js.map +0 -1
  919. package/dist/esm/collection/async-iterable-collection/_shared/async-insert-before-iterable.js.map +0 -1
  920. package/dist/esm/collection/async-iterable-collection/_shared/async-map-iterable.js.map +0 -1
  921. package/dist/esm/collection/async-iterable-collection/_shared/async-merge-iterable.js.map +0 -1
  922. package/dist/esm/collection/async-iterable-collection/_shared/async-pad-end-iterable.js.map +0 -1
  923. package/dist/esm/collection/async-iterable-collection/_shared/async-pad-start-iterable.js.map +0 -1
  924. package/dist/esm/collection/async-iterable-collection/_shared/async-partion-iterable.js.map +0 -1
  925. package/dist/esm/collection/async-iterable-collection/_shared/async-repeat-iterable.js.map +0 -1
  926. package/dist/esm/collection/async-iterable-collection/_shared/async-reverse-iterable.js.map +0 -1
  927. package/dist/esm/collection/async-iterable-collection/_shared/async-shuffle-iterable.js.map +0 -1
  928. package/dist/esm/collection/async-iterable-collection/_shared/async-skip-iterable.js.map +0 -1
  929. package/dist/esm/collection/async-iterable-collection/_shared/async-skip-until-iterable.js.map +0 -1
  930. package/dist/esm/collection/async-iterable-collection/_shared/async-slice-iterable.js.map +0 -1
  931. package/dist/esm/collection/async-iterable-collection/_shared/async-sliding-iterable.js.map +0 -1
  932. package/dist/esm/collection/async-iterable-collection/_shared/async-sort-iterable.js.map +0 -1
  933. package/dist/esm/collection/async-iterable-collection/_shared/async-split-iterable.js.map +0 -1
  934. package/dist/esm/collection/async-iterable-collection/_shared/async-take-iterable.js.map +0 -1
  935. package/dist/esm/collection/async-iterable-collection/_shared/async-take-until-iterable.js.map +0 -1
  936. package/dist/esm/collection/async-iterable-collection/_shared/async-tap-iterable.js.map +0 -1
  937. package/dist/esm/collection/async-iterable-collection/_shared/async-unique-iterable.js.map +0 -1
  938. package/dist/esm/collection/async-iterable-collection/_shared/async-update-iterable.js.map +0 -1
  939. package/dist/esm/collection/async-iterable-collection/_shared/async-when-iterable.js.map +0 -1
  940. package/dist/esm/collection/async-iterable-collection/_shared/async-zip-iterable.js +0 -33
  941. package/dist/esm/collection/async-iterable-collection/_shared/async-zip-iterable.js.map +0 -1
  942. package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js +0 -543
  943. package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js.map +0 -1
  944. package/dist/esm/collection/iterable-collection/_module.js +0 -2
  945. package/dist/esm/collection/iterable-collection/_module.js.map +0 -1
  946. package/dist/esm/collection/iterable-collection/_shared/_module.js +0 -33
  947. package/dist/esm/collection/iterable-collection/_shared/_module.js.map +0 -1
  948. package/dist/esm/collection/iterable-collection/_shared/chunk-iterable.js.map +0 -1
  949. package/dist/esm/collection/iterable-collection/_shared/chunk-while-iterable.js.map +0 -1
  950. package/dist/esm/collection/iterable-collection/_shared/collapse-iterable.js +0 -18
  951. package/dist/esm/collection/iterable-collection/_shared/collapse-iterable.js.map +0 -1
  952. package/dist/esm/collection/iterable-collection/_shared/count-by-iterable.js.map +0 -1
  953. package/dist/esm/collection/iterable-collection/_shared/cross-join-iterable.js +0 -33
  954. package/dist/esm/collection/iterable-collection/_shared/cross-join-iterable.js.map +0 -1
  955. package/dist/esm/collection/iterable-collection/_shared/entries-iterable.js.map +0 -1
  956. package/dist/esm/collection/iterable-collection/_shared/filter-iterable.js.map +0 -1
  957. package/dist/esm/collection/iterable-collection/_shared/flat-map-iterable.js.map +0 -1
  958. package/dist/esm/collection/iterable-collection/_shared/group-by-iterable.js.map +0 -1
  959. package/dist/esm/collection/iterable-collection/_shared/insert-after-iterable.js.map +0 -1
  960. package/dist/esm/collection/iterable-collection/_shared/insert-before-iterable.js.map +0 -1
  961. package/dist/esm/collection/iterable-collection/_shared/map-iterable.js.map +0 -1
  962. package/dist/esm/collection/iterable-collection/_shared/merge-iterable.js.map +0 -1
  963. package/dist/esm/collection/iterable-collection/_shared/pad-end-iterable.js.map +0 -1
  964. package/dist/esm/collection/iterable-collection/_shared/pad-start-iterable.js.map +0 -1
  965. package/dist/esm/collection/iterable-collection/_shared/partion-iterable.js.map +0 -1
  966. package/dist/esm/collection/iterable-collection/_shared/repeat-iterable.js.map +0 -1
  967. package/dist/esm/collection/iterable-collection/_shared/reverse-iterable.js.map +0 -1
  968. package/dist/esm/collection/iterable-collection/_shared/shuffle-iterable.js.map +0 -1
  969. package/dist/esm/collection/iterable-collection/_shared/skip-iterable.js.map +0 -1
  970. package/dist/esm/collection/iterable-collection/_shared/skip-until-iterable.js.map +0 -1
  971. package/dist/esm/collection/iterable-collection/_shared/slice-iterable.js.map +0 -1
  972. package/dist/esm/collection/iterable-collection/_shared/sliding-iterable.js.map +0 -1
  973. package/dist/esm/collection/iterable-collection/_shared/sort-iterable.js.map +0 -1
  974. package/dist/esm/collection/iterable-collection/_shared/split-iterable.js.map +0 -1
  975. package/dist/esm/collection/iterable-collection/_shared/take-iterable.js.map +0 -1
  976. package/dist/esm/collection/iterable-collection/_shared/take-until-iterable.js.map +0 -1
  977. package/dist/esm/collection/iterable-collection/_shared/tap-iterable.js.map +0 -1
  978. package/dist/esm/collection/iterable-collection/_shared/unique-iterable.js.map +0 -1
  979. package/dist/esm/collection/iterable-collection/_shared/update-iterable.js.map +0 -1
  980. package/dist/esm/collection/iterable-collection/_shared/when-iterable.js.map +0 -1
  981. package/dist/esm/collection/iterable-collection/_shared/zip-iterable.js.map +0 -1
  982. package/dist/esm/collection/iterable-collection/iterable-collection.js +0 -489
  983. package/dist/esm/collection/iterable-collection/iterable-collection.js.map +0 -1
  984. package/dist/esm/collection/list-collection/_module.js +0 -2
  985. package/dist/esm/collection/list-collection/_module.js.map +0 -1
  986. package/dist/esm/collection/list-collection/list-collection.js +0 -623
  987. package/dist/esm/collection/list-collection/list-collection.js.map +0 -1
  988. package/dist/esm/contracts/_module.js +0 -4
  989. package/dist/esm/contracts/_module.js.map +0 -1
  990. package/dist/esm/contracts/collection/_module.js +0 -4
  991. package/dist/esm/contracts/collection/_module.js.map +0 -1
  992. package/dist/esm/contracts/collection/_shared.js.map +0 -1
  993. package/dist/esm/contracts/collection/async-collection.contract.js.map +0 -1
  994. package/dist/esm/contracts/collection/collection.contract.js.map +0 -1
  995. package/dist/esm/contracts/serializer/_module.js +0 -2
  996. package/dist/esm/contracts/serializer/_module.js.map +0 -1
  997. package/dist/esm/contracts/serializer/serializer.contract.js.map +0 -1
  998. package/dist/esm/contracts/storage/_module.js +0 -4
  999. package/dist/esm/contracts/storage/_module.js.map +0 -1
  1000. package/dist/esm/contracts/storage/_shared.js.map +0 -1
  1001. package/dist/esm/contracts/storage/storage-adapter.contract.js.map +0 -1
  1002. package/dist/esm/contracts/storage/storage.contract.js.map +0 -1
  1003. package/dist/esm/serializer/_shared/test-utilities/_module.js +0 -2
  1004. package/dist/esm/serializer/_shared/test-utilities/_module.js.map +0 -1
  1005. package/dist/esm/serializer/_shared/test-utilities/serializer.test-suite.js.map +0 -1
  1006. package/dist/esm/serializer/mongodb-serializer/_module.js +0 -2
  1007. package/dist/esm/serializer/mongodb-serializer/_module.js.map +0 -1
  1008. package/dist/esm/serializer/mongodb-serializer/mongodb-serializer.js +0 -32
  1009. package/dist/esm/serializer/mongodb-serializer/mongodb-serializer.js.map +0 -1
  1010. package/dist/esm/serializer/redis-serializer/_module.js +0 -2
  1011. package/dist/esm/serializer/redis-serializer/_module.js.map +0 -1
  1012. package/dist/esm/serializer/redis-serializer/redis-serializer.js +0 -33
  1013. package/dist/esm/serializer/redis-serializer/redis-serializer.js.map +0 -1
  1014. package/dist/esm/serializer/sql-serializer/_module.js +0 -2
  1015. package/dist/esm/serializer/sql-serializer/_module.js.map +0 -1
  1016. package/dist/esm/serializer/sql-serializer/sql-serializer.js +0 -33
  1017. package/dist/esm/serializer/sql-serializer/sql-serializer.js.map +0 -1
  1018. package/dist/esm/serializer/super-json-serializer/_module.js +0 -2
  1019. package/dist/esm/serializer/super-json-serializer/_module.js.map +0 -1
  1020. package/dist/esm/serializer/super-json-serializer/super-json-serializer.js +0 -277
  1021. package/dist/esm/serializer/super-json-serializer/super-json-serializer.js.map +0 -1
  1022. package/dist/esm/storage/_module.js +0 -7
  1023. package/dist/esm/storage/_module.js.map +0 -1
  1024. package/dist/esm/storage/_shared/test-utilities/_module.js +0 -2
  1025. package/dist/esm/storage/_shared/test-utilities/_module.js.map +0 -1
  1026. package/dist/esm/storage/_shared/test-utilities/storage-api.test-suite.js +0 -569
  1027. package/dist/esm/storage/_shared/test-utilities/storage-api.test-suite.js.map +0 -1
  1028. package/dist/esm/storage/_shared/test-utilities/storage-namespace.test-suite.js +0 -238
  1029. package/dist/esm/storage/_shared/test-utilities/storage-namespace.test-suite.js.map +0 -1
  1030. package/dist/esm/storage/_shared/test-utilities/storage-value.test-suite.js +0 -4169
  1031. package/dist/esm/storage/_shared/test-utilities/storage-value.test-suite.js.map +0 -1
  1032. package/dist/esm/storage/_shared/test-utilities/storage.test-suite.js +0 -9
  1033. package/dist/esm/storage/_shared/test-utilities/storage.test-suite.js.map +0 -1
  1034. package/dist/esm/storage/memory-storage-adapter/_module.js +0 -2
  1035. package/dist/esm/storage/memory-storage-adapter/_module.js.map +0 -1
  1036. package/dist/esm/storage/memory-storage-adapter/memory-storage-adapter.js +0 -58
  1037. package/dist/esm/storage/memory-storage-adapter/memory-storage-adapter.js.map +0 -1
  1038. package/dist/esm/storage/mongodb-storage-adapter/_module.js +0 -2
  1039. package/dist/esm/storage/mongodb-storage-adapter/_module.js.map +0 -1
  1040. package/dist/esm/storage/mongodb-storage-adapter/mongodb-storage-adapter.js +0 -266
  1041. package/dist/esm/storage/mongodb-storage-adapter/mongodb-storage-adapter.js.map +0 -1
  1042. package/dist/esm/storage/namespace-storage-adapter.js +0 -62
  1043. package/dist/esm/storage/namespace-storage-adapter.js.map +0 -1
  1044. package/dist/esm/storage/redis-storage-adapter/_module.js +0 -2
  1045. package/dist/esm/storage/redis-storage-adapter/_module.js.map +0 -1
  1046. package/dist/esm/storage/redis-storage-adapter/redis-storage-adapter.js +0 -244
  1047. package/dist/esm/storage/redis-storage-adapter/redis-storage-adapter.js.map +0 -1
  1048. package/dist/esm/storage/sqlite/_module.js +0 -3
  1049. package/dist/esm/storage/sqlite/_module.js.map +0 -1
  1050. package/dist/esm/storage/sqlite/_shared/_module.js +0 -2
  1051. package/dist/esm/storage/sqlite/_shared/_module.js.map +0 -1
  1052. package/dist/esm/storage/sqlite/_shared/base-sqlite-storage-adapter.js +0 -220
  1053. package/dist/esm/storage/sqlite/_shared/base-sqlite-storage-adapter.js.map +0 -1
  1054. package/dist/esm/storage/sqlite/libsql-storage-adapter/_module.js +0 -2
  1055. package/dist/esm/storage/sqlite/libsql-storage-adapter/_module.js.map +0 -1
  1056. package/dist/esm/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.js +0 -49
  1057. package/dist/esm/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.js.map +0 -1
  1058. package/dist/esm/storage/sqlite/sqlite-storage-adapter/_module.js +0 -2
  1059. package/dist/esm/storage/sqlite/sqlite-storage-adapter/_module.js.map +0 -1
  1060. package/dist/esm/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js +0 -48
  1061. package/dist/esm/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js.map +0 -1
  1062. package/dist/esm/storage/storage.js +0 -297
  1063. package/dist/esm/storage/storage.js.map +0 -1
  1064. package/dist/esm/storage/usable-storage-adapter.js +0 -98
  1065. package/dist/esm/storage/usable-storage-adapter.js.map +0 -1
  1066. package/dist/types/async/_module.d.ts +0 -11
  1067. package/dist/types/async/abortable/_module.d.ts +0 -1
  1068. package/dist/types/async/abortable/abortable.d.ts +0 -39
  1069. package/dist/types/async/abortable-iterable/_module.d.ts +0 -1
  1070. package/dist/types/async/backof-policies/_module.d.ts +0 -5
  1071. package/dist/types/async/backof-policies/constant-backoff-policy/_module.d.ts +0 -1
  1072. package/dist/types/async/backof-policies/constant-backoff-policy/constant-backoff-policy.d.ts +0 -28
  1073. package/dist/types/async/backof-policies/exponential-backoff-policy/_module.d.ts +0 -1
  1074. package/dist/types/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.d.ts +0 -36
  1075. package/dist/types/async/backof-policies/linear-backoff-policy/_module.d.ts +0 -1
  1076. package/dist/types/async/backof-policies/linear-backoff-policy/linear-backoff-policy.d.ts +0 -32
  1077. package/dist/types/async/backof-policies/polynomial-backoff-policy/_module.d.ts +0 -1
  1078. package/dist/types/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.d.ts +0 -36
  1079. package/dist/types/async/delay/_module.d.ts +0 -1
  1080. package/dist/types/async/delay/delay.d.ts +0 -38
  1081. package/dist/types/async/delay-iterable/_module.d.ts +0 -1
  1082. package/dist/types/async/delay-iterable/delay-iterable.d.ts +0 -57
  1083. package/dist/types/async/lazy-promise/_module.d.ts +0 -1
  1084. package/dist/types/async/retry/_module.d.ts +0 -1
  1085. package/dist/types/async/retry/retry.d.ts +0 -86
  1086. package/dist/types/async/retry-iterable/_module.d.ts +0 -1
  1087. package/dist/types/async/retry-iterable/retry-iterable.d.ts +0 -86
  1088. package/dist/types/async/timeout/_module.d.ts +0 -1
  1089. package/dist/types/async/timeout/timeout.d.ts +0 -40
  1090. package/dist/types/async/timeout-iterable/_module.d.ts +0 -1
  1091. package/dist/types/async/timeout-iterable/timeout-iterable.d.ts +0 -64
  1092. package/dist/types/collection/_module.d.ts +0 -4
  1093. package/dist/types/collection/async-iterable-collection/_module.d.ts +0 -1
  1094. package/dist/types/collection/async-iterable-collection/_shared/_module.d.ts +0 -33
  1095. package/dist/types/collection/async-iterable-collection/_shared/async-chunk-iterable.d.ts +0 -12
  1096. package/dist/types/collection/async-iterable-collection/_shared/async-chunk-while-iterable.d.ts +0 -12
  1097. package/dist/types/collection/async-iterable-collection/_shared/async-collapse-iterable.d.ts +0 -9
  1098. package/dist/types/collection/async-iterable-collection/_shared/async-count-by-iterable.d.ts +0 -11
  1099. package/dist/types/collection/async-iterable-collection/_shared/async-cross-join-iterable.d.ts +0 -13
  1100. package/dist/types/collection/async-iterable-collection/_shared/async-entries-iterable.d.ts +0 -10
  1101. package/dist/types/collection/async-iterable-collection/_shared/async-filter-iterable.d.ts +0 -10
  1102. package/dist/types/collection/async-iterable-collection/_shared/async-flat-map-iterable.d.ts +0 -10
  1103. package/dist/types/collection/async-iterable-collection/_shared/async-group-by-iterable.d.ts +0 -12
  1104. package/dist/types/collection/async-iterable-collection/_shared/async-insert-after-iterable.d.ts +0 -12
  1105. package/dist/types/collection/async-iterable-collection/_shared/async-insert-before-iterable.d.ts +0 -12
  1106. package/dist/types/collection/async-iterable-collection/_shared/async-map-iterable.d.ts +0 -10
  1107. package/dist/types/collection/async-iterable-collection/_shared/async-merge-iterable.d.ts +0 -10
  1108. package/dist/types/collection/async-iterable-collection/_shared/async-pad-end-iterable.d.ts +0 -13
  1109. package/dist/types/collection/async-iterable-collection/_shared/async-pad-start-iterable.d.ts +0 -13
  1110. package/dist/types/collection/async-iterable-collection/_shared/async-partion-iterable.d.ts +0 -12
  1111. package/dist/types/collection/async-iterable-collection/_shared/async-repeat-iterable.d.ts +0 -12
  1112. package/dist/types/collection/async-iterable-collection/_shared/async-reverse-iterable.d.ts +0 -12
  1113. package/dist/types/collection/async-iterable-collection/_shared/async-shuffle-iterable.d.ts +0 -10
  1114. package/dist/types/collection/async-iterable-collection/_shared/async-skip-iterable.d.ts +0 -10
  1115. package/dist/types/collection/async-iterable-collection/_shared/async-skip-until-iterable.d.ts +0 -10
  1116. package/dist/types/collection/async-iterable-collection/_shared/async-slice-iterable.d.ts +0 -11
  1117. package/dist/types/collection/async-iterable-collection/_shared/async-sliding-iterable.d.ts +0 -11
  1118. package/dist/types/collection/async-iterable-collection/_shared/async-sort-iterable.d.ts +0 -10
  1119. package/dist/types/collection/async-iterable-collection/_shared/async-split-iterable.d.ts +0 -12
  1120. package/dist/types/collection/async-iterable-collection/_shared/async-take-iterable.d.ts +0 -10
  1121. package/dist/types/collection/async-iterable-collection/_shared/async-take-until-iterable.d.ts +0 -10
  1122. package/dist/types/collection/async-iterable-collection/_shared/async-tap-iterable.d.ts +0 -10
  1123. package/dist/types/collection/async-iterable-collection/_shared/async-unique-iterable.d.ts +0 -10
  1124. package/dist/types/collection/async-iterable-collection/_shared/async-update-iterable.d.ts +0 -11
  1125. package/dist/types/collection/async-iterable-collection/_shared/async-when-iterable.d.ts +0 -11
  1126. package/dist/types/collection/async-iterable-collection/_shared/async-zip-iterable.d.ts +0 -11
  1127. package/dist/types/collection/async-iterable-collection/async-iterable-collection.d.ts +0 -105
  1128. package/dist/types/collection/iterable-collection/_module.d.ts +0 -1
  1129. package/dist/types/collection/iterable-collection/_shared/_module.d.ts +0 -32
  1130. package/dist/types/collection/iterable-collection/_shared/chunk-iterable.d.ts +0 -11
  1131. package/dist/types/collection/iterable-collection/_shared/chunk-while-iterable.d.ts +0 -11
  1132. package/dist/types/collection/iterable-collection/_shared/collapse-iterable.d.ts +0 -9
  1133. package/dist/types/collection/iterable-collection/_shared/count-by-iterable.d.ts +0 -11
  1134. package/dist/types/collection/iterable-collection/_shared/cross-join-iterable.d.ts +0 -8
  1135. package/dist/types/collection/iterable-collection/_shared/entries-iterable.d.ts +0 -9
  1136. package/dist/types/collection/iterable-collection/_shared/filter-iterable.d.ts +0 -10
  1137. package/dist/types/collection/iterable-collection/_shared/flat-map-iterable.d.ts +0 -10
  1138. package/dist/types/collection/iterable-collection/_shared/group-by-iterable.d.ts +0 -12
  1139. package/dist/types/collection/iterable-collection/_shared/insert-after-iterable.d.ts +0 -11
  1140. package/dist/types/collection/iterable-collection/_shared/insert-before-iterable.d.ts +0 -11
  1141. package/dist/types/collection/iterable-collection/_shared/map-iterable.d.ts +0 -10
  1142. package/dist/types/collection/iterable-collection/_shared/pad-end-iterable.d.ts +0 -12
  1143. package/dist/types/collection/iterable-collection/_shared/pad-start-iterable.d.ts +0 -12
  1144. package/dist/types/collection/iterable-collection/_shared/partion-iterable.d.ts +0 -11
  1145. package/dist/types/collection/iterable-collection/_shared/repeat-iterable.d.ts +0 -11
  1146. package/dist/types/collection/iterable-collection/_shared/reverse-iterable.d.ts +0 -11
  1147. package/dist/types/collection/iterable-collection/_shared/skip-iterable.d.ts +0 -10
  1148. package/dist/types/collection/iterable-collection/_shared/skip-until-iterable.d.ts +0 -10
  1149. package/dist/types/collection/iterable-collection/_shared/slice-iterable.d.ts +0 -11
  1150. package/dist/types/collection/iterable-collection/_shared/sliding-iterable.d.ts +0 -11
  1151. package/dist/types/collection/iterable-collection/_shared/sort-iterable.d.ts +0 -10
  1152. package/dist/types/collection/iterable-collection/_shared/split-iterable.d.ts +0 -11
  1153. package/dist/types/collection/iterable-collection/_shared/take-iterable.d.ts +0 -10
  1154. package/dist/types/collection/iterable-collection/_shared/take-until-iterable.d.ts +0 -10
  1155. package/dist/types/collection/iterable-collection/_shared/tap-iterable.d.ts +0 -10
  1156. package/dist/types/collection/iterable-collection/_shared/unique-iterable.d.ts +0 -10
  1157. package/dist/types/collection/iterable-collection/_shared/update-iterable.d.ts +0 -11
  1158. package/dist/types/collection/iterable-collection/_shared/when-iterable.d.ts +0 -11
  1159. package/dist/types/collection/iterable-collection/_shared/zip-iterable.d.ts +0 -10
  1160. package/dist/types/collection/iterable-collection/iterable-collection.d.ts +0 -100
  1161. package/dist/types/collection/list-collection/_module.d.ts +0 -1
  1162. package/dist/types/collection/list-collection/list-collection.d.ts +0 -97
  1163. package/dist/types/contracts/_module.d.ts +0 -3
  1164. package/dist/types/contracts/collection/_module.d.ts +0 -3
  1165. package/dist/types/contracts/collection/async-collection.contract.d.ts +0 -1309
  1166. package/dist/types/contracts/collection/collection.contract.d.ts +0 -1269
  1167. package/dist/types/contracts/serializer/_module.d.ts +0 -1
  1168. package/dist/types/contracts/storage/_module.d.ts +0 -3
  1169. package/dist/types/contracts/storage/storage-adapter.contract.d.ts +0 -72
  1170. package/dist/types/contracts/storage/storage.contract.d.ts +0 -148
  1171. package/dist/types/serializer/_shared/test-utilities/_module.d.ts +0 -1
  1172. package/dist/types/serializer/_shared/test-utilities/serializer.test-suite.d.ts +0 -18
  1173. package/dist/types/serializer/mongodb-serializer/_module.d.ts +0 -1
  1174. package/dist/types/serializer/mongodb-serializer/mongodb-serializer.d.ts +0 -13
  1175. package/dist/types/serializer/redis-serializer/_module.d.ts +0 -1
  1176. package/dist/types/serializer/redis-serializer/redis-serializer.d.ts +0 -13
  1177. package/dist/types/serializer/sql-serializer/_module.d.ts +0 -1
  1178. package/dist/types/serializer/sql-serializer/sql-serializer.d.ts +0 -13
  1179. package/dist/types/serializer/super-json-serializer/_module.d.ts +0 -1
  1180. package/dist/types/serializer/super-json-serializer/super-json-serializer.d.ts +0 -37
  1181. package/dist/types/storage/_module.d.ts +0 -6
  1182. package/dist/types/storage/_shared/test-utilities/_module.d.ts +0 -1
  1183. package/dist/types/storage/_shared/test-utilities/storage-api.test-suite.d.ts +0 -20
  1184. package/dist/types/storage/_shared/test-utilities/storage-namespace.test-suite.d.ts +0 -20
  1185. package/dist/types/storage/_shared/test-utilities/storage-value.test-suite.d.ts +0 -20
  1186. package/dist/types/storage/_shared/test-utilities/storage.test-suite.d.ts +0 -20
  1187. package/dist/types/storage/memory-storage-adapter/_module.d.ts +0 -1
  1188. package/dist/types/storage/memory-storage-adapter/memory-storage-adapter.d.ts +0 -16
  1189. package/dist/types/storage/mongodb-storage-adapter/_module.d.ts +0 -1
  1190. package/dist/types/storage/mongodb-storage-adapter/mongodb-storage-adapter.d.ts +0 -46
  1191. package/dist/types/storage/namespace-storage-adapter.d.ts +0 -30
  1192. package/dist/types/storage/redis-storage-adapter/_module.d.ts +0 -1
  1193. package/dist/types/storage/redis-storage-adapter/redis-storage-adapter.d.ts +0 -41
  1194. package/dist/types/storage/sqlite/_module.d.ts +0 -2
  1195. package/dist/types/storage/sqlite/_shared/_module.d.ts +0 -1
  1196. package/dist/types/storage/sqlite/_shared/base-sqlite-storage-adapter.d.ts +0 -42
  1197. package/dist/types/storage/sqlite/libsql-storage-adapter/_module.d.ts +0 -1
  1198. package/dist/types/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.d.ts +0 -30
  1199. package/dist/types/storage/sqlite/sqlite-storage-adapter/_module.d.ts +0 -1
  1200. package/dist/types/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.d.ts +0 -30
  1201. package/dist/types/storage/storage.d.ts +0 -38
  1202. package/dist/types/storage/usable-storage-adapter.d.ts +0 -22
  1203. /package/dist/cjs/{contracts/collection → collection/contracts}/_shared.js +0 -0
  1204. /package/dist/cjs/{contracts/collection → collection/contracts}/async-collection.contract.js +0 -0
  1205. /package/dist/cjs/{contracts/collection → collection/contracts}/collection.contract.js +0 -0
  1206. /package/dist/cjs/collection/{_shared.js → implementations/_shared.js} +0 -0
  1207. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-chunk-iterable.js +0 -0
  1208. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-chunk-while-iterable.js +0 -0
  1209. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-count-by-iterable.js +0 -0
  1210. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-entries-iterable.js +0 -0
  1211. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-error-handler-iterable.js +0 -0
  1212. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-filter-iterable.js +0 -0
  1213. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-flat-map-iterable.js +0 -0
  1214. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-group-by-iterable.js +0 -0
  1215. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-insert-after-iterable.js +0 -0
  1216. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-insert-before-iterable.js +0 -0
  1217. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-map-iterable.js +0 -0
  1218. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-merge-iterable.js +0 -0
  1219. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-pad-end-iterable.js +0 -0
  1220. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-pad-start-iterable.js +0 -0
  1221. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-partion-iterable.js +0 -0
  1222. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-repeat-iterable.js +0 -0
  1223. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-reverse-iterable.js +0 -0
  1224. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-shuffle-iterable.js +0 -0
  1225. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-skip-iterable.js +0 -0
  1226. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-skip-until-iterable.js +0 -0
  1227. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-slice-iterable.js +0 -0
  1228. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-sliding-iterable.js +0 -0
  1229. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-sort-iterable.js +0 -0
  1230. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-split-iterable.js +0 -0
  1231. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-take-iterable.js +0 -0
  1232. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-take-until-iterable.js +0 -0
  1233. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-tap-iterable.js +0 -0
  1234. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-unique-iterable.js +0 -0
  1235. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-update-iterable.js +0 -0
  1236. /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-when-iterable.js +0 -0
  1237. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/chunk-iterable.js +0 -0
  1238. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/chunk-while-iterable.js +0 -0
  1239. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/count-by-iterable.js +0 -0
  1240. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/entries-iterable.js +0 -0
  1241. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/filter-iterable.js +0 -0
  1242. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/flat-map-iterable.js +0 -0
  1243. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/group-by-iterable.js +0 -0
  1244. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/insert-after-iterable.js +0 -0
  1245. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/insert-before-iterable.js +0 -0
  1246. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/map-iterable.js +0 -0
  1247. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/merge-iterable.js +0 -0
  1248. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/pad-end-iterable.js +0 -0
  1249. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/pad-start-iterable.js +0 -0
  1250. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/partion-iterable.js +0 -0
  1251. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/repeat-iterable.js +0 -0
  1252. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/reverse-iterable.js +0 -0
  1253. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/shuffle-iterable.js +0 -0
  1254. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/skip-iterable.js +0 -0
  1255. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/skip-until-iterable.js +0 -0
  1256. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/slice-iterable.js +0 -0
  1257. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/sliding-iterable.js +0 -0
  1258. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/sort-iterable.js +0 -0
  1259. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/split-iterable.js +0 -0
  1260. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/take-iterable.js +0 -0
  1261. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/take-until-iterable.js +0 -0
  1262. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/tap-iterable.js +0 -0
  1263. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/unique-iterable.js +0 -0
  1264. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/update-iterable.js +0 -0
  1265. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/when-iterable.js +0 -0
  1266. /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/zip-iterable.js +0 -0
  1267. /package/dist/cjs/{contracts/serializer → serializer/contracts}/serializer.contract.js +0 -0
  1268. /package/dist/cjs/serializer/{_shared → implementations/_shared}/test-utilities/serializer.test-suite.js +0 -0
  1269. /package/dist/cjs/{contracts/storage → storage/contracts}/_shared.js +0 -0
  1270. /package/dist/cjs/{contracts/storage → storage/contracts}/storage-adapter.contract.js +0 -0
  1271. /package/dist/cjs/{contracts/storage → storage/contracts}/storage.contract.js +0 -0
  1272. /package/dist/cjs/{async → utilities/async}/_shared.js +0 -0
  1273. /package/dist/cjs/{async → utilities/async}/backof-policies/_shared.js +0 -0
  1274. /package/dist/cjs/{async → utilities/async}/lazy-promise/lazy-promise.js +0 -0
  1275. /package/dist/esm/{contracts/collection → collection/contracts}/_shared.js +0 -0
  1276. /package/dist/esm/{contracts/collection → collection/contracts}/async-collection.contract.js +0 -0
  1277. /package/dist/esm/{contracts/collection → collection/contracts}/collection.contract.js +0 -0
  1278. /package/dist/esm/collection/{_shared.js → implementations/_shared.js} +0 -0
  1279. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-chunk-iterable.js +0 -0
  1280. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-chunk-while-iterable.js +0 -0
  1281. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-count-by-iterable.js +0 -0
  1282. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-entries-iterable.js +0 -0
  1283. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-error-handler-iterable.js +0 -0
  1284. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-filter-iterable.js +0 -0
  1285. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-flat-map-iterable.js +0 -0
  1286. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-group-by-iterable.js +0 -0
  1287. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-insert-after-iterable.js +0 -0
  1288. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-insert-before-iterable.js +0 -0
  1289. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-map-iterable.js +0 -0
  1290. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-merge-iterable.js +0 -0
  1291. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-pad-end-iterable.js +0 -0
  1292. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-pad-start-iterable.js +0 -0
  1293. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-partion-iterable.js +0 -0
  1294. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-repeat-iterable.js +0 -0
  1295. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-reverse-iterable.js +0 -0
  1296. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-shuffle-iterable.js +0 -0
  1297. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-skip-iterable.js +0 -0
  1298. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-skip-until-iterable.js +0 -0
  1299. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-slice-iterable.js +0 -0
  1300. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-sliding-iterable.js +0 -0
  1301. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-sort-iterable.js +0 -0
  1302. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-split-iterable.js +0 -0
  1303. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-take-iterable.js +0 -0
  1304. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-take-until-iterable.js +0 -0
  1305. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-tap-iterable.js +0 -0
  1306. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-unique-iterable.js +0 -0
  1307. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-update-iterable.js +0 -0
  1308. /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-when-iterable.js +0 -0
  1309. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/chunk-iterable.js +0 -0
  1310. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/chunk-while-iterable.js +0 -0
  1311. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/count-by-iterable.js +0 -0
  1312. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/entries-iterable.js +0 -0
  1313. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/filter-iterable.js +0 -0
  1314. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/flat-map-iterable.js +0 -0
  1315. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/group-by-iterable.js +0 -0
  1316. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/insert-after-iterable.js +0 -0
  1317. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/insert-before-iterable.js +0 -0
  1318. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/map-iterable.js +0 -0
  1319. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/merge-iterable.js +0 -0
  1320. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/pad-end-iterable.js +0 -0
  1321. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/pad-start-iterable.js +0 -0
  1322. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/partion-iterable.js +0 -0
  1323. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/repeat-iterable.js +0 -0
  1324. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/reverse-iterable.js +0 -0
  1325. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/shuffle-iterable.js +0 -0
  1326. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/skip-iterable.js +0 -0
  1327. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/skip-until-iterable.js +0 -0
  1328. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/slice-iterable.js +0 -0
  1329. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/sliding-iterable.js +0 -0
  1330. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/sort-iterable.js +0 -0
  1331. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/split-iterable.js +0 -0
  1332. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/take-iterable.js +0 -0
  1333. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/take-until-iterable.js +0 -0
  1334. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/tap-iterable.js +0 -0
  1335. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/unique-iterable.js +0 -0
  1336. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/update-iterable.js +0 -0
  1337. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/when-iterable.js +0 -0
  1338. /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/zip-iterable.js +0 -0
  1339. /package/dist/esm/{contracts/serializer → serializer/contracts}/serializer.contract.js +0 -0
  1340. /package/dist/esm/serializer/{_shared → implementations/_shared}/test-utilities/serializer.test-suite.js +0 -0
  1341. /package/dist/esm/{contracts/storage → storage/contracts}/_shared.js +0 -0
  1342. /package/dist/esm/{contracts/storage → storage/contracts}/storage-adapter.contract.js +0 -0
  1343. /package/dist/esm/{contracts/storage → storage/contracts}/storage.contract.js +0 -0
  1344. /package/dist/esm/{async → utilities/async}/_shared.js +0 -0
  1345. /package/dist/esm/{async → utilities/async}/backof-policies/_shared.js +0 -0
  1346. /package/dist/esm/{async → utilities/async}/lazy-promise/lazy-promise.js +0 -0
  1347. /package/dist/types/{contracts/collection → collection/contracts}/_shared.d.ts +0 -0
  1348. /package/dist/types/collection/{_shared.d.ts → implementations/_shared.d.ts} +0 -0
  1349. /package/dist/types/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-error-handler-iterable.d.ts +0 -0
  1350. /package/dist/types/collection/{iterable-collection → implementations/iterable-collection}/_shared/merge-iterable.d.ts +0 -0
  1351. /package/dist/types/collection/{iterable-collection → implementations/iterable-collection}/_shared/shuffle-iterable.d.ts +0 -0
  1352. /package/dist/types/{contracts/serializer → serializer/contracts}/serializer.contract.d.ts +0 -0
  1353. /package/dist/types/{contracts/storage → storage/contracts}/_shared.d.ts +0 -0
  1354. /package/dist/types/{async → utilities/async}/_shared.d.ts +0 -0
  1355. /package/dist/types/{async → utilities/async}/backof-policies/_shared.d.ts +0 -0
  1356. /package/dist/types/{async → utilities/async}/lazy-promise/lazy-promise.d.ts +0 -0
  1357. /package/dist/types/{async → utilities/async-iterable}/abortable-iterable/abortable-iterable.d.ts +0 -0
@@ -0,0 +1,543 @@
1
+ import { ItemNotFoundCollectionError, MultipleItemsFoundCollectionError, UnexpectedCollectionError, TypeCollectionError, EmptyCollectionError, } from "../../../collection/contracts/_module";
2
+ import { AsyncErrorHandlerIterable, AsyncCrossJoinIterable, AsyncSlidingIteralbe, AsyncShuffleIterable, AsyncEntriesIterable, AsyncFilterIterable, AsyncChunkIterable, AsyncChunkWhileIterable, AsyncCollapseIterable, AsyncCountByIterable, AsyncFlatMapIterable, AsyncGroupByIterable, AsyncInsertAfterIterable, AsyncInsertBeforeIterable, AsyncMapIterable, AsyncMergeIterable, AsyncPadEndIterable, AsyncPadStartIterable, AsyncPartionIterable, AsyncSkipIterable, AsyncSkipUntilIterable, AsyncSortIterable, AsyncSplitIterable, AsyncTakeIterable, AsyncTakeUntilIterable, AsyncTapIterable, AsyncUniqueIterable, AsyncUpdateIterable, AsyncWhenIterable, AsyncZipIterable, AsyncReverseIterable, AsyncSliceIterable, AsyncRepeatIterable, } from "../../../collection/implementations/async-iterable-collection/_shared/_module";
3
+ import { simplifyAsyncLazyable } from "../../../_shared/utilities";
4
+ import { abortableIterable, delayIterable, LazyPromise, } from "../../../utilities/_module";
5
+ import { AbortAsyncError, TimeoutAsyncError, timeoutIterable, } from "../../../utilities/_module";
6
+ export class AsyncIterableCollection {
7
+ iterable;
8
+ static DEFAULT_CHUNK_SIZE = 1024;
9
+ static makeCollection = (iterable) => {
10
+ return new AsyncIterableCollection(iterable);
11
+ };
12
+ constructor(iterable = []) {
13
+ this.iterable = iterable;
14
+ }
15
+ async *[Symbol.asyncIterator]() {
16
+ yield* this.iterable;
17
+ }
18
+ toIterator() {
19
+ return this[Symbol.asyncIterator]();
20
+ }
21
+ entries() {
22
+ return new AsyncIterableCollection(new AsyncEntriesIterable(this));
23
+ }
24
+ keys() {
25
+ return this.entries().map(([key]) => key);
26
+ }
27
+ values() {
28
+ return this.entries().map(([_key, value]) => value);
29
+ }
30
+ filter(predicateFn) {
31
+ return new AsyncIterableCollection(new AsyncFilterIterable(this, predicateFn));
32
+ }
33
+ reject(predicateFn) {
34
+ return this.filter(async (...arguments_) => !(await predicateFn(...arguments_)));
35
+ }
36
+ map(mapFn) {
37
+ return new AsyncIterableCollection(new AsyncMapIterable(this, mapFn));
38
+ }
39
+ reduce(reduceFn, initialValue) {
40
+ return new LazyPromise(async () => {
41
+ if (initialValue === undefined && (await this.isEmpty())) {
42
+ throw new TypeCollectionError("Reduce of empty array must be inputed a initial value");
43
+ }
44
+ if (initialValue !== undefined) {
45
+ let output = initialValue;
46
+ for await (const [index, item] of this.entries()) {
47
+ output = await reduceFn(output, item, index, this);
48
+ }
49
+ return output;
50
+ }
51
+ let output = (await this.firstOrFail()), index = 0, isFirstIteration = true;
52
+ for await (const item of this) {
53
+ if (!isFirstIteration) {
54
+ output = await reduceFn(output, item, index, this);
55
+ }
56
+ isFirstIteration = false;
57
+ index++;
58
+ }
59
+ return output;
60
+ });
61
+ }
62
+ join(separator = ",") {
63
+ return new LazyPromise(async () => {
64
+ let str = null;
65
+ for await (const item of this) {
66
+ if (typeof item !== "string") {
67
+ throw new TypeCollectionError("Item type is invalid must be string");
68
+ }
69
+ if (str === null) {
70
+ str = item;
71
+ }
72
+ else {
73
+ str = str + separator + item;
74
+ }
75
+ }
76
+ return str;
77
+ });
78
+ }
79
+ collapse() {
80
+ return new AsyncIterableCollection(new AsyncCollapseIterable(this));
81
+ }
82
+ flatMap(mapFn) {
83
+ return new AsyncIterableCollection(new AsyncFlatMapIterable(this, mapFn));
84
+ }
85
+ change(predicateFn, mapFn) {
86
+ return new AsyncIterableCollection(new AsyncUpdateIterable(this, predicateFn, mapFn));
87
+ }
88
+ page(page, pageSize) {
89
+ if (page < 0) {
90
+ return this.skip(page * pageSize).take(pageSize);
91
+ }
92
+ return this.skip((page - 1) * pageSize).take(pageSize);
93
+ }
94
+ sum() {
95
+ return new LazyPromise(async () => {
96
+ if (await this.isEmpty()) {
97
+ throw new EmptyCollectionError("Collection is empty therby operation cannot be performed");
98
+ }
99
+ let sum = 0;
100
+ for await (const item of this) {
101
+ if (typeof item !== "number") {
102
+ throw new TypeCollectionError("Item type is invalid must be number");
103
+ }
104
+ sum += item;
105
+ }
106
+ return sum;
107
+ });
108
+ }
109
+ average() {
110
+ return new LazyPromise(async () => {
111
+ if (await this.isEmpty()) {
112
+ throw new EmptyCollectionError("Collection is empty therby operation cannot be performed");
113
+ }
114
+ let size = 0, sum = 0;
115
+ for await (const item of this) {
116
+ if (typeof item !== "number") {
117
+ throw new TypeCollectionError("Item type is invalid must be number");
118
+ }
119
+ size++;
120
+ sum += item;
121
+ }
122
+ return (sum / size);
123
+ });
124
+ }
125
+ median() {
126
+ return new LazyPromise(async () => {
127
+ if (await this.isEmpty()) {
128
+ throw new EmptyCollectionError("Collection is empty therby operation cannot be performed");
129
+ }
130
+ const size = await this.size();
131
+ if (size === 0) {
132
+ return 0;
133
+ }
134
+ const isEven = size % 2 === 0, items = await this.map((item) => {
135
+ if (typeof item !== "number") {
136
+ throw new TypeCollectionError("Item type is invalid must be number");
137
+ }
138
+ return item;
139
+ })
140
+ .filter((_item, index) => {
141
+ if (isEven) {
142
+ return index === size / 2 || index === size / 2 - 1;
143
+ }
144
+ return index === Math.floor(size / 2);
145
+ })
146
+ .toArray();
147
+ if (isEven) {
148
+ const [a, b] = items;
149
+ if (a === undefined) {
150
+ throw new UnexpectedCollectionError("Is in invalid state");
151
+ }
152
+ if (b === undefined) {
153
+ throw new UnexpectedCollectionError("Is in invalid state");
154
+ }
155
+ return ((a + b) / 2);
156
+ }
157
+ const [median] = items;
158
+ if (median === undefined) {
159
+ throw new UnexpectedCollectionError("Is in invalid state");
160
+ }
161
+ return median;
162
+ });
163
+ }
164
+ min() {
165
+ return new LazyPromise(async () => {
166
+ if (await this.isEmpty()) {
167
+ throw new EmptyCollectionError("Collection is empty therby operation cannot be performed");
168
+ }
169
+ let min = 0;
170
+ for await (const item of this) {
171
+ if (typeof item !== "number") {
172
+ throw new TypeCollectionError("Item type is invalid must be number");
173
+ }
174
+ if (min === 0) {
175
+ min = item;
176
+ }
177
+ else if (min > item) {
178
+ min = item;
179
+ }
180
+ }
181
+ return min;
182
+ });
183
+ }
184
+ max() {
185
+ return new LazyPromise(async () => {
186
+ if (await this.isEmpty()) {
187
+ throw new EmptyCollectionError("Collection is empty therby operation cannot be performed");
188
+ }
189
+ let max = 0;
190
+ for await (const item of this) {
191
+ if (typeof item !== "number") {
192
+ throw new TypeCollectionError("Item type is invalid must be number");
193
+ }
194
+ if (max === 0) {
195
+ max = item;
196
+ }
197
+ else if (max < item) {
198
+ max = item;
199
+ }
200
+ }
201
+ return max;
202
+ });
203
+ }
204
+ percentage(predicateFn) {
205
+ return new LazyPromise(async () => {
206
+ if (await this.isEmpty()) {
207
+ throw new EmptyCollectionError("Collection is empty therby operation cannot be performed");
208
+ }
209
+ let part = 0, total = 0;
210
+ for await (const item of this) {
211
+ if (await predicateFn(item, total, this)) {
212
+ part++;
213
+ }
214
+ total++;
215
+ }
216
+ return (part / total) * 100;
217
+ });
218
+ }
219
+ some(predicateFn) {
220
+ return new LazyPromise(async () => {
221
+ for await (const [index, item] of this.entries()) {
222
+ if (await predicateFn(item, index, this)) {
223
+ return true;
224
+ }
225
+ }
226
+ return false;
227
+ });
228
+ }
229
+ every(predicateFn) {
230
+ return new LazyPromise(async () => {
231
+ let isTrue = true;
232
+ for await (const [index, item] of this.entries()) {
233
+ isTrue &&= await predicateFn(item, index, this);
234
+ if (!isTrue) {
235
+ break;
236
+ }
237
+ }
238
+ return isTrue;
239
+ });
240
+ }
241
+ take(limit) {
242
+ return new AsyncIterableCollection(new AsyncTakeIterable(this, limit));
243
+ }
244
+ takeUntil(predicateFn) {
245
+ return new AsyncIterableCollection(new AsyncTakeUntilIterable(this, predicateFn));
246
+ }
247
+ takeWhile(predicateFn) {
248
+ return this.takeUntil(async (...arguments_) => !(await predicateFn(...arguments_)));
249
+ }
250
+ skip(offset) {
251
+ return new AsyncIterableCollection(new AsyncSkipIterable(this, offset));
252
+ }
253
+ skipUntil(predicateFn) {
254
+ return new AsyncIterableCollection(new AsyncSkipUntilIterable(this, predicateFn));
255
+ }
256
+ skipWhile(predicateFn) {
257
+ return this.skipUntil(async (...arguments_) => !(await predicateFn(...arguments_)));
258
+ }
259
+ when(condition, callback) {
260
+ return new AsyncIterableCollection(new AsyncWhenIterable(this, () => condition, callback));
261
+ }
262
+ whenEmpty(callback) {
263
+ return new AsyncIterableCollection(new AsyncWhenIterable(this, () => this.isEmpty(), callback));
264
+ }
265
+ whenNot(condition, callback) {
266
+ return new AsyncIterableCollection(new AsyncWhenIterable(this, () => !condition, callback));
267
+ }
268
+ whenNotEmpty(callback) {
269
+ return new AsyncIterableCollection(new AsyncWhenIterable(this, () => this.isNotEmpty(), callback));
270
+ }
271
+ pipe(callback) {
272
+ return new LazyPromise(async () => {
273
+ return await callback(this);
274
+ });
275
+ }
276
+ tap(callback) {
277
+ return new AsyncIterableCollection(new AsyncTapIterable(this, callback));
278
+ }
279
+ chunk(chunkSize) {
280
+ return new AsyncIterableCollection(new AsyncChunkIterable(this, chunkSize, AsyncIterableCollection.makeCollection));
281
+ }
282
+ chunkWhile(predicateFn) {
283
+ return new AsyncIterableCollection(new AsyncChunkWhileIterable(this, predicateFn, AsyncIterableCollection.makeCollection));
284
+ }
285
+ split(chunkAmount) {
286
+ return new AsyncIterableCollection(new AsyncSplitIterable(this, chunkAmount, AsyncIterableCollection.makeCollection));
287
+ }
288
+ partition(predicateFn) {
289
+ return new AsyncIterableCollection(new AsyncPartionIterable(this, predicateFn, AsyncIterableCollection.makeCollection));
290
+ }
291
+ sliding(chunkSize, step = chunkSize - 1) {
292
+ return new AsyncIterableCollection(new AsyncSlidingIteralbe(this, chunkSize, step));
293
+ }
294
+ groupBy(selectFn) {
295
+ return new AsyncIterableCollection(new AsyncGroupByIterable(this, selectFn, AsyncIterableCollection.makeCollection));
296
+ }
297
+ countBy(selectFn) {
298
+ return new AsyncIterableCollection(new AsyncCountByIterable(this, selectFn));
299
+ }
300
+ unique(selectFn) {
301
+ return new AsyncIterableCollection(new AsyncUniqueIterable(this, selectFn));
302
+ }
303
+ difference(iterable, selectFn = (item) => item) {
304
+ const differenceCollection = new AsyncIterableCollection(iterable);
305
+ return this.filter(async (item, index, collection) => {
306
+ return !(await differenceCollection.some(async (matchItem, matchIndex, matchCollection) => {
307
+ return ((await selectFn(item, index, collection)) ===
308
+ (await selectFn(matchItem, matchIndex, matchCollection)));
309
+ }));
310
+ });
311
+ }
312
+ repeat(amount) {
313
+ return new AsyncIterableCollection(new AsyncRepeatIterable(this, amount, AsyncIterableCollection.makeCollection));
314
+ }
315
+ padStart(maxLength, fillItems) {
316
+ return new AsyncIterableCollection(new AsyncPadStartIterable(this, maxLength, fillItems, AsyncIterableCollection.makeCollection));
317
+ }
318
+ padEnd(maxLength, fillItems) {
319
+ return new AsyncIterableCollection(new AsyncPadEndIterable(this, maxLength, fillItems, AsyncIterableCollection.makeCollection));
320
+ }
321
+ slice(start, end) {
322
+ return new AsyncIterableCollection(new AsyncSliceIterable(this, start, end));
323
+ }
324
+ prepend(iterable) {
325
+ return new AsyncIterableCollection(new AsyncMergeIterable(iterable, this));
326
+ }
327
+ append(iterable) {
328
+ return new AsyncIterableCollection(new AsyncMergeIterable(this, iterable));
329
+ }
330
+ insertBefore(predicateFn, iterable) {
331
+ return new AsyncIterableCollection(new AsyncInsertBeforeIterable(this, predicateFn, iterable));
332
+ }
333
+ insertAfter(predicateFn, iterable) {
334
+ return new AsyncIterableCollection(new AsyncInsertAfterIterable(this, predicateFn, iterable));
335
+ }
336
+ crossJoin(iterable) {
337
+ return new AsyncIterableCollection(new AsyncCrossJoinIterable(this, iterable, AsyncIterableCollection.makeCollection));
338
+ }
339
+ zip(iterable) {
340
+ return new AsyncIterableCollection(new AsyncZipIterable(this, iterable));
341
+ }
342
+ sort(comparator) {
343
+ return new AsyncIterableCollection(new AsyncSortIterable(this, comparator));
344
+ }
345
+ reverse(chunkSize) {
346
+ return new AsyncIterableCollection(new AsyncReverseIterable(this, chunkSize ?? AsyncIterableCollection.DEFAULT_CHUNK_SIZE, AsyncIterableCollection.makeCollection));
347
+ }
348
+ shuffle(mathRandom = Math.random) {
349
+ return new AsyncIterableCollection(new AsyncShuffleIterable(this, mathRandom));
350
+ }
351
+ first(predicateFn) {
352
+ return this.firstOr(null, predicateFn);
353
+ }
354
+ firstOr(defaultValue, predicateFn = () => true) {
355
+ return new LazyPromise(async () => {
356
+ for await (const [index, item] of this.entries()) {
357
+ if (await predicateFn(item, index, this)) {
358
+ return item;
359
+ }
360
+ }
361
+ return await simplifyAsyncLazyable(defaultValue);
362
+ });
363
+ }
364
+ firstOrFail(predicateFn) {
365
+ return new LazyPromise(async () => {
366
+ const item = await this.first(predicateFn);
367
+ if (item === null) {
368
+ throw new ItemNotFoundCollectionError("Item was not found");
369
+ }
370
+ return item;
371
+ });
372
+ }
373
+ last(predicateFn) {
374
+ return this.lastOr(null, predicateFn);
375
+ }
376
+ lastOr(defaultValue, predicateFn = () => true) {
377
+ return new LazyPromise(async () => {
378
+ let matchedItem = null;
379
+ for await (const [index, item] of this.entries()) {
380
+ if (await predicateFn(item, index, this)) {
381
+ matchedItem = item;
382
+ }
383
+ }
384
+ if (matchedItem) {
385
+ return matchedItem;
386
+ }
387
+ return await simplifyAsyncLazyable(defaultValue);
388
+ });
389
+ }
390
+ lastOrFail(predicateFn) {
391
+ return new LazyPromise(async () => {
392
+ const item = await this.last(predicateFn);
393
+ if (item === null) {
394
+ throw new ItemNotFoundCollectionError("Item was not found");
395
+ }
396
+ return item;
397
+ });
398
+ }
399
+ before(predicateFn) {
400
+ return this.beforeOr(null, predicateFn);
401
+ }
402
+ beforeOr(defaultValue, predicateFn) {
403
+ return new LazyPromise(async () => {
404
+ let beforeItem = null, index = 0;
405
+ for await (const item of this) {
406
+ if ((await predicateFn(item, index, this)) && beforeItem) {
407
+ return beforeItem;
408
+ }
409
+ index++;
410
+ beforeItem = item;
411
+ }
412
+ return await simplifyAsyncLazyable(defaultValue);
413
+ });
414
+ }
415
+ beforeOrFail(predicateFn) {
416
+ return new LazyPromise(async () => {
417
+ const item = await this.before(predicateFn);
418
+ if (item === null) {
419
+ throw new ItemNotFoundCollectionError("Item was not found");
420
+ }
421
+ return item;
422
+ });
423
+ }
424
+ after(predicateFn) {
425
+ return this.afterOr(null, predicateFn);
426
+ }
427
+ afterOr(defaultValue, predicateFn) {
428
+ return new LazyPromise(async () => {
429
+ let hasMatched = false, index = 0;
430
+ for await (const item of this) {
431
+ if (hasMatched) {
432
+ return item;
433
+ }
434
+ hasMatched = await predicateFn(item, index, this);
435
+ index++;
436
+ }
437
+ return await simplifyAsyncLazyable(defaultValue);
438
+ });
439
+ }
440
+ afterOrFail(predicateFn) {
441
+ return new LazyPromise(async () => {
442
+ const item = await this.after(predicateFn);
443
+ if (item === null) {
444
+ throw new ItemNotFoundCollectionError("Item was not found");
445
+ }
446
+ return item;
447
+ });
448
+ }
449
+ sole(predicateFn) {
450
+ return new LazyPromise(async () => {
451
+ let matchedItem = null;
452
+ for await (const [index, item] of this.entries()) {
453
+ if (await predicateFn(item, index, this)) {
454
+ if (matchedItem !== null) {
455
+ throw new MultipleItemsFoundCollectionError("Multiple items were found");
456
+ }
457
+ matchedItem = item;
458
+ }
459
+ }
460
+ if (matchedItem === null) {
461
+ throw new ItemNotFoundCollectionError("Item was not found");
462
+ }
463
+ return matchedItem;
464
+ });
465
+ }
466
+ nth(step) {
467
+ return this.filter((_item, index) => index % step === 0);
468
+ }
469
+ delay(time) {
470
+ return new AsyncIterableCollection(delayIterable(this, time));
471
+ }
472
+ takeUntilAbort(abortSignal) {
473
+ return new AsyncIterableCollection(new AsyncErrorHandlerIterable(abortableIterable(this, abortSignal), (error) => error instanceof AbortAsyncError));
474
+ }
475
+ takeUntilTimeout(timeInMs) {
476
+ return new AsyncIterableCollection(new AsyncErrorHandlerIterable(timeoutIterable(this, timeInMs), (error) => error instanceof TimeoutAsyncError));
477
+ }
478
+ count(predicateFn) {
479
+ return new LazyPromise(async () => {
480
+ let size = 0;
481
+ for await (const item of this) {
482
+ if (await predicateFn(item, size, this)) {
483
+ size++;
484
+ }
485
+ }
486
+ return size;
487
+ });
488
+ }
489
+ size() {
490
+ return this.count(() => true);
491
+ }
492
+ isEmpty() {
493
+ return new LazyPromise(async () => {
494
+ for await (const _ of this) {
495
+ return false;
496
+ }
497
+ return true;
498
+ });
499
+ }
500
+ isNotEmpty() {
501
+ return new LazyPromise(async () => {
502
+ return !(await this.isEmpty());
503
+ });
504
+ }
505
+ searchFirst(predicateFn) {
506
+ return new LazyPromise(async () => {
507
+ for await (const [index, item] of this.entries()) {
508
+ if (await predicateFn(item, index, this)) {
509
+ return index;
510
+ }
511
+ }
512
+ return -1;
513
+ });
514
+ }
515
+ searchLast(predicateFn) {
516
+ return new LazyPromise(async () => {
517
+ let matchedIndex = -1;
518
+ for await (const [index, item] of this.entries()) {
519
+ if (await predicateFn(item, index, this)) {
520
+ matchedIndex = index;
521
+ }
522
+ }
523
+ return matchedIndex;
524
+ });
525
+ }
526
+ forEach(callback) {
527
+ return new LazyPromise(async () => {
528
+ for await (const [index, item] of this.entries()) {
529
+ await callback(item, index, this);
530
+ }
531
+ });
532
+ }
533
+ toArray() {
534
+ return new LazyPromise(async () => {
535
+ const items = [];
536
+ for await (const item of this) {
537
+ items.push(item);
538
+ }
539
+ return items;
540
+ });
541
+ }
542
+ }
543
+ //# sourceMappingURL=async-iterable-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-iterable-collection.js","sourceRoot":"","sources":["../../../../../src/collection/implementations/async-iterable-collection/async-iterable-collection.ts"],"names":[],"mappings":"AAIA,OAAO,EAUH,2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,CAAC,CAAC;IACP,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "../../../collection/implementations/iterable-collection/iterable-collection";
2
+ //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/collection/implementations/iterable-collection/_module.ts"],"names":[],"mappings":"AAAA,cAAc,sEAAsE,CAAC"}
@@ -0,0 +1,33 @@
1
+ export * from "../../../../collection/implementations/iterable-collection/_shared/chunk-iterable";
2
+ export * from "../../../../collection/implementations/iterable-collection/_shared/chunk-while-iterable";
3
+ export * from "../../../../collection/implementations/iterable-collection/_shared/collapse-iterable";
4
+ export * from "../../../../collection/implementations/iterable-collection/_shared/count-by-iterable";
5
+ export * from "../../../../collection/implementations/iterable-collection/_shared/cross-join-iterable";
6
+ export * from "../../../../collection/implementations/iterable-collection/_shared/entries-iterable";
7
+ export * from "../../../../collection/implementations/iterable-collection/_shared/filter-iterable";
8
+ export * from "../../../../collection/implementations/iterable-collection/_shared/flat-map-iterable";
9
+ export * from "../../../../collection/implementations/iterable-collection/_shared/group-by-iterable";
10
+ export * from "../../../../collection/implementations/iterable-collection/_shared/insert-after-iterable";
11
+ export * from "../../../../collection/implementations/iterable-collection/_shared/insert-before-iterable";
12
+ export * from "../../../../collection/implementations/iterable-collection/_shared/map-iterable";
13
+ export * from "../../../../collection/implementations/iterable-collection/_shared/merge-iterable";
14
+ export * from "../../../../collection/implementations/iterable-collection/_shared/pad-end-iterable";
15
+ export * from "../../../../collection/implementations/iterable-collection/_shared/pad-start-iterable";
16
+ export * from "../../../../collection/implementations/iterable-collection/_shared/partion-iterable";
17
+ export * from "../../../../collection/implementations/iterable-collection/_shared/repeat-iterable";
18
+ export * from "../../../../collection/implementations/iterable-collection/_shared/reverse-iterable";
19
+ export * from "../../../../collection/implementations/iterable-collection/_shared/shuffle-iterable";
20
+ export * from "../../../../collection/implementations/iterable-collection/_shared/skip-iterable";
21
+ export * from "../../../../collection/implementations/iterable-collection/_shared/skip-until-iterable";
22
+ export * from "../../../../collection/implementations/iterable-collection/_shared/slice-iterable";
23
+ export * from "../../../../collection/implementations/iterable-collection/_shared/sliding-iterable";
24
+ export * from "../../../../collection/implementations/iterable-collection/_shared/sort-iterable";
25
+ export * from "../../../../collection/implementations/iterable-collection/_shared/split-iterable";
26
+ export * from "../../../../collection/implementations/iterable-collection/_shared/take-iterable";
27
+ export * from "../../../../collection/implementations/iterable-collection/_shared/take-until-iterable";
28
+ export * from "../../../../collection/implementations/iterable-collection/_shared/tap-iterable";
29
+ export * from "../../../../collection/implementations/iterable-collection/_shared/unique-iterable";
30
+ export * from "../../../../collection/implementations/iterable-collection/_shared/update-iterable";
31
+ export * from "../../../../collection/implementations/iterable-collection/_shared/when-iterable";
32
+ export * from "../../../../collection/implementations/iterable-collection/_shared/zip-iterable";
33
+ //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../../src/collection/implementations/iterable-collection/_shared/_module.ts"],"names":[],"mappings":"AAAA,cAAc,yEAAyE,CAAC;AACxF,cAAc,+EAA+E,CAAC;AAC9F,cAAc,4EAA4E,CAAC;AAC3F,cAAc,4EAA4E,CAAC;AAC3F,cAAc,8EAA8E,CAAC;AAC7F,cAAc,2EAA2E,CAAC;AAC1F,cAAc,0EAA0E,CAAC;AACzF,cAAc,4EAA4E,CAAC;AAC3F,cAAc,4EAA4E,CAAC;AAC3F,cAAc,gFAAgF,CAAC;AAC/F,cAAc,iFAAiF,CAAC;AAChG,cAAc,uEAAuE,CAAC;AACtF,cAAc,yEAAyE,CAAC;AACxF,cAAc,2EAA2E,CAAC;AAC1F,cAAc,6EAA6E,CAAC;AAC5F,cAAc,2EAA2E,CAAC;AAC1F,cAAc,0EAA0E,CAAC;AACzF,cAAc,2EAA2E,CAAC;AAC1F,cAAc,2EAA2E,CAAC;AAC1F,cAAc,wEAAwE,CAAC;AACvF,cAAc,8EAA8E,CAAC;AAC7F,cAAc,yEAAyE,CAAC;AACxF,cAAc,2EAA2E,CAAC;AAC1F,cAAc,wEAAwE,CAAC;AACvF,cAAc,yEAAyE,CAAC;AACxF,cAAc,wEAAwE,CAAC;AACvF,cAAc,8EAA8E,CAAC;AAC7F,cAAc,uEAAuE,CAAC;AACtF,cAAc,0EAA0E,CAAC;AACzF,cAAc,0EAA0E,CAAC;AACzF,cAAc,wEAAwE,CAAC;AACvF,cAAc,uEAAuE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk-iterable.js","sourceRoot":"","sources":["../../../../../../src/collection/implementations/iterable-collection/_shared/chunk-iterable.ts"],"names":[],"mappings":"AAKA,MAAM,OAAO,aAAa;IAEV;IACA;IACS;IAHrB,YACY,UAA+B,EAC/B,SAAiB,EACR,cAEO;QAJhB,eAAU,GAAV,UAAU,CAAqB;QAC/B,cAAS,GAAT,SAAS,CAAQ;QACR,mBAAc,GAAd,cAAc,CAEP;IACzB,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,MAAM,KAAK,GAAa,EAAE,CAAC;QAC3B,IAAI,gBAAgB,GAAG,CAAC,CAAC;QACzB,IAAI,gBAAgB,GAAG,IAAI,CAAC;QAC5B,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACjC,gBAAgB,IAAI,IAAI,CAAC,SAAS,CAAC;YACnC,MAAM,QAAQ,GAAG,gBAAgB,KAAK,CAAC,CAAC;YACxC,IAAI,CAAC,gBAAgB,IAAI,QAAQ,EAAE,CAAC;gBAChC,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;gBACjC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;YACrB,CAAC;YACD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACjB,gBAAgB,EAAE,CAAC;YACnB,gBAAgB,GAAG,KAAK,CAAC;QAC7B,CAAC;QACD,MAAM,OAAO,GAAG,gBAAgB,KAAK,CAAC,CAAC;QACvC,IAAI,OAAO,EAAE,CAAC;YACV,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QACrC,CAAC;IACL,CAAC;CACJ"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk-while-iterable.js","sourceRoot":"","sources":["../../../../../../src/collection/implementations/iterable-collection/_shared/chunk-while-iterable.ts"],"names":[],"mappings":"AAQA,MAAM,OAAO,kBAAkB;IAIf;IACA;IACA;IAHZ,YACY,UAA+B,EAC/B,WAAmD,EACnD,cAEgB;QAJhB,eAAU,GAAV,UAAU,CAAqB;QAC/B,gBAAW,GAAX,WAAW,CAAwC;QACnD,mBAAc,GAAd,cAAc,CAEE;IACzB,CAAC;IAEJ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,MAAM,KAAK,GAAa,EAAE,CAAC;QAC3B,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC;YACpD,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;gBACd,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACrB,CAAC;iBAAM,IACH,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,EAC3D,CAAC;gBACC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACrB,CAAC;iBAAM,CAAC;gBACJ,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;gBACjC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;gBACjB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACrB,CAAC;QACL,CAAC;QACD,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IACrC,CAAC;CACJ"}
@@ -0,0 +1,18 @@
1
+ import { isIterable } from "../../../../collection/implementations/_shared";
2
+ export class CollapseIterable {
3
+ collection;
4
+ constructor(collection) {
5
+ this.collection = collection;
6
+ }
7
+ *[Symbol.iterator]() {
8
+ for (const item of this.collection) {
9
+ if (isIterable(item)) {
10
+ yield* item;
11
+ }
12
+ else {
13
+ yield item;
14
+ }
15
+ }
16
+ }
17
+ }
18
+ //# sourceMappingURL=collapse-iterable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapse-iterable.js","sourceRoot":"","sources":["../../../../../../src/collection/implementations/iterable-collection/_shared/collapse-iterable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AASlE,MAAM,OAAO,gBAAgB;IACL;IAApB,YAAoB,UAA+B;QAA/B,eAAU,GAAV,UAAU,CAAqB;IAAG,CAAC;IAEvD,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QACd,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACjC,IAAI,UAAU,CAAS,IAAI,CAAC,EAAE,CAAC;gBAE3B,KAAK,CAAC,CAAC,IAAW,CAAC;YACvB,CAAC;iBAAM,CAAC;gBACJ,MAAM,IAAwB,CAAC;YACnC,CAAC;QACL,CAAC;IACL,CAAC;CACJ"}