@daiso-tech/core 0.1.4 → 0.2.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 (351) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/_shared/utilities.js +19 -0
  3. package/dist/cjs/_shared/utilities.js.map +1 -0
  4. package/dist/cjs/collection/_shared.js +4 -2
  5. package/dist/cjs/collection/_shared.js.map +1 -1
  6. package/dist/cjs/collection/async-iterable-collection/_shared/_module.js +1 -1
  7. package/dist/cjs/collection/async-iterable-collection/_shared/_module.js.map +1 -1
  8. package/dist/cjs/collection/async-iterable-collection/_shared/async-chunk-iterable.js +8 -7
  9. package/dist/cjs/collection/async-iterable-collection/_shared/async-chunk-iterable.js.map +1 -1
  10. package/dist/cjs/collection/async-iterable-collection/_shared/{async-chunk-whilte-iterable.js → async-chunk-while-iterable.js} +14 -16
  11. package/dist/cjs/collection/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +1 -0
  12. package/dist/cjs/collection/async-iterable-collection/_shared/async-collapse-iterable.js +1 -2
  13. package/dist/cjs/collection/async-iterable-collection/_shared/async-collapse-iterable.js.map +1 -1
  14. package/dist/cjs/collection/async-iterable-collection/_shared/async-count-by-iterable.js +3 -6
  15. package/dist/cjs/collection/async-iterable-collection/_shared/async-count-by-iterable.js.map +1 -1
  16. package/dist/cjs/collection/async-iterable-collection/_shared/async-cross-join-iterable.js +19 -18
  17. package/dist/cjs/collection/async-iterable-collection/_shared/async-cross-join-iterable.js.map +1 -1
  18. package/dist/cjs/collection/async-iterable-collection/_shared/async-entries-iterable.js +1 -8
  19. package/dist/cjs/collection/async-iterable-collection/_shared/async-entries-iterable.js.map +1 -1
  20. package/dist/cjs/collection/async-iterable-collection/_shared/async-filter-iterable.js +6 -9
  21. package/dist/cjs/collection/async-iterable-collection/_shared/async-filter-iterable.js.map +1 -1
  22. package/dist/cjs/collection/async-iterable-collection/_shared/async-flat-map-iterable.js +3 -6
  23. package/dist/cjs/collection/async-iterable-collection/_shared/async-flat-map-iterable.js.map +1 -1
  24. package/dist/cjs/collection/async-iterable-collection/_shared/async-group-by-iterable.js +12 -13
  25. package/dist/cjs/collection/async-iterable-collection/_shared/async-group-by-iterable.js.map +1 -1
  26. package/dist/cjs/collection/async-iterable-collection/_shared/async-insert-after-iterable.js +5 -12
  27. package/dist/cjs/collection/async-iterable-collection/_shared/async-insert-after-iterable.js.map +1 -1
  28. package/dist/cjs/collection/async-iterable-collection/_shared/async-insert-before-iterable.js +5 -12
  29. package/dist/cjs/collection/async-iterable-collection/_shared/async-insert-before-iterable.js.map +1 -1
  30. package/dist/cjs/collection/async-iterable-collection/_shared/async-map-iterable.js +3 -6
  31. package/dist/cjs/collection/async-iterable-collection/_shared/async-map-iterable.js.map +1 -1
  32. package/dist/cjs/collection/async-iterable-collection/_shared/async-merge-iterable.js +1 -2
  33. package/dist/cjs/collection/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -1
  34. package/dist/cjs/collection/async-iterable-collection/_shared/async-pad-end-iterable.js +1 -4
  35. package/dist/cjs/collection/async-iterable-collection/_shared/async-pad-end-iterable.js.map +1 -1
  36. package/dist/cjs/collection/async-iterable-collection/_shared/async-pad-start-iterable.js +1 -4
  37. package/dist/cjs/collection/async-iterable-collection/_shared/async-pad-start-iterable.js.map +1 -1
  38. package/dist/cjs/collection/async-iterable-collection/_shared/async-partion-iterable.js +12 -19
  39. package/dist/cjs/collection/async-iterable-collection/_shared/async-partion-iterable.js.map +1 -1
  40. package/dist/cjs/collection/async-iterable-collection/_shared/async-repeat-iterable.js +2 -3
  41. package/dist/cjs/collection/async-iterable-collection/_shared/async-repeat-iterable.js.map +1 -1
  42. package/dist/cjs/collection/async-iterable-collection/_shared/async-reverse-iterable.js +3 -10
  43. package/dist/cjs/collection/async-iterable-collection/_shared/async-reverse-iterable.js.map +1 -1
  44. package/dist/cjs/collection/async-iterable-collection/_shared/async-shuffle-iterable.js +4 -2
  45. package/dist/cjs/collection/async-iterable-collection/_shared/async-shuffle-iterable.js.map +1 -1
  46. package/dist/cjs/collection/async-iterable-collection/_shared/async-skip-iterable.js +4 -9
  47. package/dist/cjs/collection/async-iterable-collection/_shared/async-skip-iterable.js.map +1 -1
  48. package/dist/cjs/collection/async-iterable-collection/_shared/async-skip-until-iterable.js +5 -12
  49. package/dist/cjs/collection/async-iterable-collection/_shared/async-skip-until-iterable.js.map +1 -1
  50. package/dist/cjs/collection/async-iterable-collection/_shared/async-slice-iterable.js +2 -4
  51. package/dist/cjs/collection/async-iterable-collection/_shared/async-slice-iterable.js.map +1 -1
  52. package/dist/cjs/collection/async-iterable-collection/_shared/async-sliding-iterable.js +4 -11
  53. package/dist/cjs/collection/async-iterable-collection/_shared/async-sliding-iterable.js.map +1 -1
  54. package/dist/cjs/collection/async-iterable-collection/_shared/async-split-iterable.js +7 -9
  55. package/dist/cjs/collection/async-iterable-collection/_shared/async-split-iterable.js.map +1 -1
  56. package/dist/cjs/collection/async-iterable-collection/_shared/async-take-iterable.js +4 -9
  57. package/dist/cjs/collection/async-iterable-collection/_shared/async-take-iterable.js.map +1 -1
  58. package/dist/cjs/collection/async-iterable-collection/_shared/async-take-until-iterable.js +6 -9
  59. package/dist/cjs/collection/async-iterable-collection/_shared/async-take-until-iterable.js.map +1 -1
  60. package/dist/cjs/collection/async-iterable-collection/_shared/async-tap-iterable.js +1 -2
  61. package/dist/cjs/collection/async-iterable-collection/_shared/async-tap-iterable.js.map +1 -1
  62. package/dist/cjs/collection/async-iterable-collection/_shared/async-unique-iterable.js +2 -5
  63. package/dist/cjs/collection/async-iterable-collection/_shared/async-unique-iterable.js.map +1 -1
  64. package/dist/cjs/collection/async-iterable-collection/_shared/async-update-iterable.js +6 -9
  65. package/dist/cjs/collection/async-iterable-collection/_shared/async-update-iterable.js.map +1 -1
  66. package/dist/cjs/collection/async-iterable-collection/_shared/async-when-iterable.js +1 -2
  67. package/dist/cjs/collection/async-iterable-collection/_shared/async-when-iterable.js.map +1 -1
  68. package/dist/cjs/collection/async-iterable-collection/_shared/async-zip-iterable.js.map +1 -1
  69. package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js +173 -228
  70. package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js.map +1 -1
  71. package/dist/cjs/collection/iterable-collection/_shared/_module.js +1 -1
  72. package/dist/cjs/collection/iterable-collection/_shared/_module.js.map +1 -1
  73. package/dist/cjs/collection/iterable-collection/_shared/chunk-iterable.js +8 -7
  74. package/dist/cjs/collection/iterable-collection/_shared/chunk-iterable.js.map +1 -1
  75. package/dist/cjs/collection/iterable-collection/_shared/{chunk-whilte-iterable.js → chunk-while-iterable.js} +12 -14
  76. package/dist/cjs/collection/iterable-collection/_shared/chunk-while-iterable.js.map +1 -0
  77. package/dist/cjs/collection/iterable-collection/_shared/collapse-iterable.js +1 -2
  78. package/dist/cjs/collection/iterable-collection/_shared/collapse-iterable.js.map +1 -1
  79. package/dist/cjs/collection/iterable-collection/_shared/count-by-iterable.js +3 -6
  80. package/dist/cjs/collection/iterable-collection/_shared/count-by-iterable.js.map +1 -1
  81. package/dist/cjs/collection/iterable-collection/_shared/cross-join-iterable.js +26 -20
  82. package/dist/cjs/collection/iterable-collection/_shared/cross-join-iterable.js.map +1 -1
  83. package/dist/cjs/collection/iterable-collection/_shared/entries-iterable.js +2 -9
  84. package/dist/cjs/collection/iterable-collection/_shared/entries-iterable.js.map +1 -1
  85. package/dist/cjs/collection/iterable-collection/_shared/filter-iterable.js +3 -6
  86. package/dist/cjs/collection/iterable-collection/_shared/filter-iterable.js.map +1 -1
  87. package/dist/cjs/collection/iterable-collection/_shared/flat-map-iterable.js +3 -6
  88. package/dist/cjs/collection/iterable-collection/_shared/flat-map-iterable.js.map +1 -1
  89. package/dist/cjs/collection/iterable-collection/_shared/group-by-iterable.js +10 -12
  90. package/dist/cjs/collection/iterable-collection/_shared/group-by-iterable.js.map +1 -1
  91. package/dist/cjs/collection/iterable-collection/_shared/insert-after-iterable.js +3 -6
  92. package/dist/cjs/collection/iterable-collection/_shared/insert-after-iterable.js.map +1 -1
  93. package/dist/cjs/collection/iterable-collection/_shared/insert-before-iterable.js +3 -6
  94. package/dist/cjs/collection/iterable-collection/_shared/insert-before-iterable.js.map +1 -1
  95. package/dist/cjs/collection/iterable-collection/_shared/map-iterable.js +3 -6
  96. package/dist/cjs/collection/iterable-collection/_shared/map-iterable.js.map +1 -1
  97. package/dist/cjs/collection/iterable-collection/_shared/merge-iterable.js +1 -2
  98. package/dist/cjs/collection/iterable-collection/_shared/merge-iterable.js.map +1 -1
  99. package/dist/cjs/collection/iterable-collection/_shared/pad-end-iterable.js +2 -6
  100. package/dist/cjs/collection/iterable-collection/_shared/pad-end-iterable.js.map +1 -1
  101. package/dist/cjs/collection/iterable-collection/_shared/pad-start-iterable.js +2 -6
  102. package/dist/cjs/collection/iterable-collection/_shared/pad-start-iterable.js.map +1 -1
  103. package/dist/cjs/collection/iterable-collection/_shared/partion-iterable.js +9 -11
  104. package/dist/cjs/collection/iterable-collection/_shared/partion-iterable.js.map +1 -1
  105. package/dist/cjs/collection/iterable-collection/_shared/repeat-iterable.js +2 -3
  106. package/dist/cjs/collection/iterable-collection/_shared/repeat-iterable.js.map +1 -1
  107. package/dist/cjs/collection/iterable-collection/_shared/reverse-iterable.js +4 -12
  108. package/dist/cjs/collection/iterable-collection/_shared/reverse-iterable.js.map +1 -1
  109. package/dist/cjs/collection/iterable-collection/_shared/shuffle-iterable.js +5 -4
  110. package/dist/cjs/collection/iterable-collection/_shared/shuffle-iterable.js.map +1 -1
  111. package/dist/cjs/collection/iterable-collection/_shared/skip-iterable.js +4 -9
  112. package/dist/cjs/collection/iterable-collection/_shared/skip-iterable.js.map +1 -1
  113. package/dist/cjs/collection/iterable-collection/_shared/skip-until-iterable.js +3 -6
  114. package/dist/cjs/collection/iterable-collection/_shared/skip-until-iterable.js.map +1 -1
  115. package/dist/cjs/collection/iterable-collection/_shared/slice-iterable.js +3 -6
  116. package/dist/cjs/collection/iterable-collection/_shared/slice-iterable.js.map +1 -1
  117. package/dist/cjs/collection/iterable-collection/_shared/sliding-iterable.js +4 -11
  118. package/dist/cjs/collection/iterable-collection/_shared/sliding-iterable.js.map +1 -1
  119. package/dist/cjs/collection/iterable-collection/_shared/sort-iterable.js +1 -2
  120. package/dist/cjs/collection/iterable-collection/_shared/sort-iterable.js.map +1 -1
  121. package/dist/cjs/collection/iterable-collection/_shared/split-iterable.js +7 -9
  122. package/dist/cjs/collection/iterable-collection/_shared/split-iterable.js.map +1 -1
  123. package/dist/cjs/collection/iterable-collection/_shared/take-iterable.js +4 -9
  124. package/dist/cjs/collection/iterable-collection/_shared/take-iterable.js.map +1 -1
  125. package/dist/cjs/collection/iterable-collection/_shared/take-until-iterable.js +3 -6
  126. package/dist/cjs/collection/iterable-collection/_shared/take-until-iterable.js.map +1 -1
  127. package/dist/cjs/collection/iterable-collection/_shared/tap-iterable.js +1 -2
  128. package/dist/cjs/collection/iterable-collection/_shared/tap-iterable.js.map +1 -1
  129. package/dist/cjs/collection/iterable-collection/_shared/unique-iterable.js +3 -6
  130. package/dist/cjs/collection/iterable-collection/_shared/unique-iterable.js.map +1 -1
  131. package/dist/cjs/collection/iterable-collection/_shared/update-iterable.js +3 -6
  132. package/dist/cjs/collection/iterable-collection/_shared/update-iterable.js.map +1 -1
  133. package/dist/cjs/collection/iterable-collection/_shared/when-iterable.js +1 -2
  134. package/dist/cjs/collection/iterable-collection/_shared/when-iterable.js.map +1 -1
  135. package/dist/cjs/collection/iterable-collection/_shared/zip-iterable.js +1 -2
  136. package/dist/cjs/collection/iterable-collection/_shared/zip-iterable.js.map +1 -1
  137. package/dist/cjs/collection/iterable-collection/iterable-collection.js +161 -251
  138. package/dist/cjs/collection/iterable-collection/iterable-collection.js.map +1 -1
  139. package/dist/cjs/collection/list-collection/list-collection.js +213 -299
  140. package/dist/cjs/collection/list-collection/list-collection.js.map +1 -1
  141. package/dist/cjs/contracts/collection/_shared.js +17 -10
  142. package/dist/cjs/contracts/collection/_shared.js.map +1 -1
  143. package/dist/esm/_shared/utilities.js +15 -0
  144. package/dist/esm/_shared/utilities.js.map +1 -0
  145. package/dist/esm/collection/_shared.js +4 -2
  146. package/dist/esm/collection/_shared.js.map +1 -1
  147. package/dist/esm/collection/async-iterable-collection/_shared/_module.js +1 -1
  148. package/dist/esm/collection/async-iterable-collection/_shared/_module.js.map +1 -1
  149. package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-iterable.js +8 -7
  150. package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-iterable.js.map +1 -1
  151. package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-while-iterable.js +37 -0
  152. package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +1 -0
  153. package/dist/esm/collection/async-iterable-collection/_shared/async-collapse-iterable.js +1 -2
  154. package/dist/esm/collection/async-iterable-collection/_shared/async-collapse-iterable.js.map +1 -1
  155. package/dist/esm/collection/async-iterable-collection/_shared/async-count-by-iterable.js +3 -6
  156. package/dist/esm/collection/async-iterable-collection/_shared/async-count-by-iterable.js.map +1 -1
  157. package/dist/esm/collection/async-iterable-collection/_shared/async-cross-join-iterable.js +19 -18
  158. package/dist/esm/collection/async-iterable-collection/_shared/async-cross-join-iterable.js.map +1 -1
  159. package/dist/esm/collection/async-iterable-collection/_shared/async-entries-iterable.js +1 -8
  160. package/dist/esm/collection/async-iterable-collection/_shared/async-entries-iterable.js.map +1 -1
  161. package/dist/esm/collection/async-iterable-collection/_shared/async-filter-iterable.js +6 -9
  162. package/dist/esm/collection/async-iterable-collection/_shared/async-filter-iterable.js.map +1 -1
  163. package/dist/esm/collection/async-iterable-collection/_shared/async-flat-map-iterable.js +3 -6
  164. package/dist/esm/collection/async-iterable-collection/_shared/async-flat-map-iterable.js.map +1 -1
  165. package/dist/esm/collection/async-iterable-collection/_shared/async-group-by-iterable.js +12 -13
  166. package/dist/esm/collection/async-iterable-collection/_shared/async-group-by-iterable.js.map +1 -1
  167. package/dist/esm/collection/async-iterable-collection/_shared/async-insert-after-iterable.js +6 -13
  168. package/dist/esm/collection/async-iterable-collection/_shared/async-insert-after-iterable.js.map +1 -1
  169. package/dist/esm/collection/async-iterable-collection/_shared/async-insert-before-iterable.js +6 -13
  170. package/dist/esm/collection/async-iterable-collection/_shared/async-insert-before-iterable.js.map +1 -1
  171. package/dist/esm/collection/async-iterable-collection/_shared/async-map-iterable.js +3 -6
  172. package/dist/esm/collection/async-iterable-collection/_shared/async-map-iterable.js.map +1 -1
  173. package/dist/esm/collection/async-iterable-collection/_shared/async-merge-iterable.js +1 -2
  174. package/dist/esm/collection/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -1
  175. package/dist/esm/collection/async-iterable-collection/_shared/async-pad-end-iterable.js +1 -4
  176. package/dist/esm/collection/async-iterable-collection/_shared/async-pad-end-iterable.js.map +1 -1
  177. package/dist/esm/collection/async-iterable-collection/_shared/async-pad-start-iterable.js +1 -4
  178. package/dist/esm/collection/async-iterable-collection/_shared/async-pad-start-iterable.js.map +1 -1
  179. package/dist/esm/collection/async-iterable-collection/_shared/async-partion-iterable.js +13 -20
  180. package/dist/esm/collection/async-iterable-collection/_shared/async-partion-iterable.js.map +1 -1
  181. package/dist/esm/collection/async-iterable-collection/_shared/async-repeat-iterable.js +2 -3
  182. package/dist/esm/collection/async-iterable-collection/_shared/async-repeat-iterable.js.map +1 -1
  183. package/dist/esm/collection/async-iterable-collection/_shared/async-reverse-iterable.js +3 -10
  184. package/dist/esm/collection/async-iterable-collection/_shared/async-reverse-iterable.js.map +1 -1
  185. package/dist/esm/collection/async-iterable-collection/_shared/async-shuffle-iterable.js +4 -2
  186. package/dist/esm/collection/async-iterable-collection/_shared/async-shuffle-iterable.js.map +1 -1
  187. package/dist/esm/collection/async-iterable-collection/_shared/async-skip-iterable.js +4 -9
  188. package/dist/esm/collection/async-iterable-collection/_shared/async-skip-iterable.js.map +1 -1
  189. package/dist/esm/collection/async-iterable-collection/_shared/async-skip-until-iterable.js +6 -13
  190. package/dist/esm/collection/async-iterable-collection/_shared/async-skip-until-iterable.js.map +1 -1
  191. package/dist/esm/collection/async-iterable-collection/_shared/async-slice-iterable.js +2 -4
  192. package/dist/esm/collection/async-iterable-collection/_shared/async-slice-iterable.js.map +1 -1
  193. package/dist/esm/collection/async-iterable-collection/_shared/async-sliding-iterable.js +4 -11
  194. package/dist/esm/collection/async-iterable-collection/_shared/async-sliding-iterable.js.map +1 -1
  195. package/dist/esm/collection/async-iterable-collection/_shared/async-split-iterable.js +7 -9
  196. package/dist/esm/collection/async-iterable-collection/_shared/async-split-iterable.js.map +1 -1
  197. package/dist/esm/collection/async-iterable-collection/_shared/async-take-iterable.js +4 -9
  198. package/dist/esm/collection/async-iterable-collection/_shared/async-take-iterable.js.map +1 -1
  199. package/dist/esm/collection/async-iterable-collection/_shared/async-take-until-iterable.js +6 -9
  200. package/dist/esm/collection/async-iterable-collection/_shared/async-take-until-iterable.js.map +1 -1
  201. package/dist/esm/collection/async-iterable-collection/_shared/async-tap-iterable.js +1 -2
  202. package/dist/esm/collection/async-iterable-collection/_shared/async-tap-iterable.js.map +1 -1
  203. package/dist/esm/collection/async-iterable-collection/_shared/async-unique-iterable.js +2 -5
  204. package/dist/esm/collection/async-iterable-collection/_shared/async-unique-iterable.js.map +1 -1
  205. package/dist/esm/collection/async-iterable-collection/_shared/async-update-iterable.js +6 -9
  206. package/dist/esm/collection/async-iterable-collection/_shared/async-update-iterable.js.map +1 -1
  207. package/dist/esm/collection/async-iterable-collection/_shared/async-when-iterable.js +1 -2
  208. package/dist/esm/collection/async-iterable-collection/_shared/async-when-iterable.js.map +1 -1
  209. package/dist/esm/collection/async-iterable-collection/_shared/async-zip-iterable.js.map +1 -1
  210. package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js +174 -229
  211. package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js.map +1 -1
  212. package/dist/esm/collection/iterable-collection/_shared/_module.js +1 -1
  213. package/dist/esm/collection/iterable-collection/_shared/_module.js.map +1 -1
  214. package/dist/esm/collection/iterable-collection/_shared/chunk-iterable.js +8 -7
  215. package/dist/esm/collection/iterable-collection/_shared/chunk-iterable.js.map +1 -1
  216. package/dist/esm/collection/iterable-collection/_shared/{chunk-whilte-iterable.js → chunk-while-iterable.js} +12 -14
  217. package/dist/esm/collection/iterable-collection/_shared/chunk-while-iterable.js.map +1 -0
  218. package/dist/esm/collection/iterable-collection/_shared/collapse-iterable.js +1 -2
  219. package/dist/esm/collection/iterable-collection/_shared/collapse-iterable.js.map +1 -1
  220. package/dist/esm/collection/iterable-collection/_shared/count-by-iterable.js +3 -6
  221. package/dist/esm/collection/iterable-collection/_shared/count-by-iterable.js.map +1 -1
  222. package/dist/esm/collection/iterable-collection/_shared/cross-join-iterable.js +24 -18
  223. package/dist/esm/collection/iterable-collection/_shared/cross-join-iterable.js.map +1 -1
  224. package/dist/esm/collection/iterable-collection/_shared/entries-iterable.js +3 -10
  225. package/dist/esm/collection/iterable-collection/_shared/entries-iterable.js.map +1 -1
  226. package/dist/esm/collection/iterable-collection/_shared/filter-iterable.js +3 -6
  227. package/dist/esm/collection/iterable-collection/_shared/filter-iterable.js.map +1 -1
  228. package/dist/esm/collection/iterable-collection/_shared/flat-map-iterable.js +3 -6
  229. package/dist/esm/collection/iterable-collection/_shared/flat-map-iterable.js.map +1 -1
  230. package/dist/esm/collection/iterable-collection/_shared/group-by-iterable.js +10 -12
  231. package/dist/esm/collection/iterable-collection/_shared/group-by-iterable.js.map +1 -1
  232. package/dist/esm/collection/iterable-collection/_shared/insert-after-iterable.js +3 -6
  233. package/dist/esm/collection/iterable-collection/_shared/insert-after-iterable.js.map +1 -1
  234. package/dist/esm/collection/iterable-collection/_shared/insert-before-iterable.js +3 -6
  235. package/dist/esm/collection/iterable-collection/_shared/insert-before-iterable.js.map +1 -1
  236. package/dist/esm/collection/iterable-collection/_shared/map-iterable.js +3 -6
  237. package/dist/esm/collection/iterable-collection/_shared/map-iterable.js.map +1 -1
  238. package/dist/esm/collection/iterable-collection/_shared/merge-iterable.js +1 -2
  239. package/dist/esm/collection/iterable-collection/_shared/merge-iterable.js.map +1 -1
  240. package/dist/esm/collection/iterable-collection/_shared/pad-end-iterable.js +2 -6
  241. package/dist/esm/collection/iterable-collection/_shared/pad-end-iterable.js.map +1 -1
  242. package/dist/esm/collection/iterable-collection/_shared/pad-start-iterable.js +2 -6
  243. package/dist/esm/collection/iterable-collection/_shared/pad-start-iterable.js.map +1 -1
  244. package/dist/esm/collection/iterable-collection/_shared/partion-iterable.js +9 -11
  245. package/dist/esm/collection/iterable-collection/_shared/partion-iterable.js.map +1 -1
  246. package/dist/esm/collection/iterable-collection/_shared/repeat-iterable.js +2 -3
  247. package/dist/esm/collection/iterable-collection/_shared/repeat-iterable.js.map +1 -1
  248. package/dist/esm/collection/iterable-collection/_shared/reverse-iterable.js +4 -12
  249. package/dist/esm/collection/iterable-collection/_shared/reverse-iterable.js.map +1 -1
  250. package/dist/esm/collection/iterable-collection/_shared/shuffle-iterable.js +5 -4
  251. package/dist/esm/collection/iterable-collection/_shared/shuffle-iterable.js.map +1 -1
  252. package/dist/esm/collection/iterable-collection/_shared/skip-iterable.js +4 -9
  253. package/dist/esm/collection/iterable-collection/_shared/skip-iterable.js.map +1 -1
  254. package/dist/esm/collection/iterable-collection/_shared/skip-until-iterable.js +3 -6
  255. package/dist/esm/collection/iterable-collection/_shared/skip-until-iterable.js.map +1 -1
  256. package/dist/esm/collection/iterable-collection/_shared/slice-iterable.js +3 -6
  257. package/dist/esm/collection/iterable-collection/_shared/slice-iterable.js.map +1 -1
  258. package/dist/esm/collection/iterable-collection/_shared/sliding-iterable.js +4 -11
  259. package/dist/esm/collection/iterable-collection/_shared/sliding-iterable.js.map +1 -1
  260. package/dist/esm/collection/iterable-collection/_shared/sort-iterable.js +1 -2
  261. package/dist/esm/collection/iterable-collection/_shared/sort-iterable.js.map +1 -1
  262. package/dist/esm/collection/iterable-collection/_shared/split-iterable.js +7 -9
  263. package/dist/esm/collection/iterable-collection/_shared/split-iterable.js.map +1 -1
  264. package/dist/esm/collection/iterable-collection/_shared/take-iterable.js +4 -9
  265. package/dist/esm/collection/iterable-collection/_shared/take-iterable.js.map +1 -1
  266. package/dist/esm/collection/iterable-collection/_shared/take-until-iterable.js +3 -6
  267. package/dist/esm/collection/iterable-collection/_shared/take-until-iterable.js.map +1 -1
  268. package/dist/esm/collection/iterable-collection/_shared/tap-iterable.js +1 -2
  269. package/dist/esm/collection/iterable-collection/_shared/tap-iterable.js.map +1 -1
  270. package/dist/esm/collection/iterable-collection/_shared/unique-iterable.js +3 -6
  271. package/dist/esm/collection/iterable-collection/_shared/unique-iterable.js.map +1 -1
  272. package/dist/esm/collection/iterable-collection/_shared/update-iterable.js +3 -6
  273. package/dist/esm/collection/iterable-collection/_shared/update-iterable.js.map +1 -1
  274. package/dist/esm/collection/iterable-collection/_shared/when-iterable.js +1 -2
  275. package/dist/esm/collection/iterable-collection/_shared/when-iterable.js.map +1 -1
  276. package/dist/esm/collection/iterable-collection/_shared/zip-iterable.js +1 -2
  277. package/dist/esm/collection/iterable-collection/_shared/zip-iterable.js.map +1 -1
  278. package/dist/esm/collection/iterable-collection/iterable-collection.js +162 -252
  279. package/dist/esm/collection/iterable-collection/iterable-collection.js.map +1 -1
  280. package/dist/esm/collection/list-collection/list-collection.js +214 -300
  281. package/dist/esm/collection/list-collection/list-collection.js.map +1 -1
  282. package/dist/esm/contracts/collection/_shared.js +12 -6
  283. package/dist/esm/contracts/collection/_shared.js.map +1 -1
  284. package/dist/types/_shared/types.d.ts +5 -0
  285. package/dist/types/_shared/utilities.d.ts +3 -0
  286. package/dist/types/collection/async-iterable-collection/_shared/_module.d.ts +1 -1
  287. package/dist/types/collection/async-iterable-collection/_shared/async-chunk-iterable.d.ts +2 -1
  288. package/dist/types/collection/async-iterable-collection/_shared/async-chunk-while-iterable.d.ts +12 -0
  289. package/dist/types/collection/async-iterable-collection/_shared/async-count-by-iterable.d.ts +3 -3
  290. package/dist/types/collection/async-iterable-collection/_shared/async-cross-join-iterable.d.ts +6 -5
  291. package/dist/types/collection/async-iterable-collection/_shared/async-entries-iterable.d.ts +3 -4
  292. package/dist/types/collection/async-iterable-collection/_shared/async-filter-iterable.d.ts +2 -3
  293. package/dist/types/collection/async-iterable-collection/_shared/async-flat-map-iterable.d.ts +1 -2
  294. package/dist/types/collection/async-iterable-collection/_shared/async-group-by-iterable.d.ts +4 -4
  295. package/dist/types/collection/async-iterable-collection/_shared/async-insert-after-iterable.d.ts +4 -4
  296. package/dist/types/collection/async-iterable-collection/_shared/async-insert-before-iterable.d.ts +4 -4
  297. package/dist/types/collection/async-iterable-collection/_shared/async-map-iterable.d.ts +1 -2
  298. package/dist/types/collection/async-iterable-collection/_shared/async-merge-iterable.d.ts +1 -1
  299. package/dist/types/collection/async-iterable-collection/_shared/async-pad-end-iterable.d.ts +2 -1
  300. package/dist/types/collection/async-iterable-collection/_shared/async-pad-start-iterable.d.ts +2 -1
  301. package/dist/types/collection/async-iterable-collection/_shared/async-partion-iterable.d.ts +4 -4
  302. package/dist/types/collection/async-iterable-collection/_shared/async-repeat-iterable.d.ts +2 -1
  303. package/dist/types/collection/async-iterable-collection/_shared/async-reverse-iterable.d.ts +3 -3
  304. package/dist/types/collection/async-iterable-collection/_shared/async-shuffle-iterable.d.ts +2 -1
  305. package/dist/types/collection/async-iterable-collection/_shared/async-skip-iterable.d.ts +1 -2
  306. package/dist/types/collection/async-iterable-collection/_shared/async-skip-until-iterable.d.ts +2 -3
  307. package/dist/types/collection/async-iterable-collection/_shared/async-slice-iterable.d.ts +1 -2
  308. package/dist/types/collection/async-iterable-collection/_shared/async-sliding-iterable.d.ts +1 -2
  309. package/dist/types/collection/async-iterable-collection/_shared/async-split-iterable.d.ts +3 -3
  310. package/dist/types/collection/async-iterable-collection/_shared/async-take-iterable.d.ts +1 -2
  311. package/dist/types/collection/async-iterable-collection/_shared/async-take-until-iterable.d.ts +2 -3
  312. package/dist/types/collection/async-iterable-collection/_shared/async-unique-iterable.d.ts +1 -2
  313. package/dist/types/collection/async-iterable-collection/_shared/async-update-iterable.d.ts +5 -6
  314. package/dist/types/collection/async-iterable-collection/_shared/async-zip-iterable.d.ts +2 -1
  315. package/dist/types/collection/async-iterable-collection/async-iterable-collection.d.ts +56 -54
  316. package/dist/types/collection/iterable-collection/_shared/_module.d.ts +1 -1
  317. package/dist/types/collection/iterable-collection/_shared/{chunk-whilte-iterable.d.ts → chunk-while-iterable.d.ts} +1 -2
  318. package/dist/types/collection/iterable-collection/_shared/count-by-iterable.d.ts +3 -3
  319. package/dist/types/collection/iterable-collection/_shared/cross-join-iterable.d.ts +5 -8
  320. package/dist/types/collection/iterable-collection/_shared/entries-iterable.d.ts +2 -3
  321. package/dist/types/collection/iterable-collection/_shared/filter-iterable.d.ts +1 -2
  322. package/dist/types/collection/iterable-collection/_shared/flat-map-iterable.d.ts +1 -2
  323. package/dist/types/collection/iterable-collection/_shared/group-by-iterable.d.ts +3 -3
  324. package/dist/types/collection/iterable-collection/_shared/insert-after-iterable.d.ts +1 -2
  325. package/dist/types/collection/iterable-collection/_shared/insert-before-iterable.d.ts +1 -2
  326. package/dist/types/collection/iterable-collection/_shared/map-iterable.d.ts +1 -2
  327. package/dist/types/collection/iterable-collection/_shared/partion-iterable.d.ts +1 -2
  328. package/dist/types/collection/iterable-collection/_shared/reverse-iterable.d.ts +1 -2
  329. package/dist/types/collection/iterable-collection/_shared/shuffle-iterable.d.ts +2 -1
  330. package/dist/types/collection/iterable-collection/_shared/skip-iterable.d.ts +1 -2
  331. package/dist/types/collection/iterable-collection/_shared/skip-until-iterable.d.ts +1 -2
  332. package/dist/types/collection/iterable-collection/_shared/slice-iterable.d.ts +1 -2
  333. package/dist/types/collection/iterable-collection/_shared/sliding-iterable.d.ts +1 -2
  334. package/dist/types/collection/iterable-collection/_shared/split-iterable.d.ts +1 -2
  335. package/dist/types/collection/iterable-collection/_shared/take-iterable.d.ts +1 -2
  336. package/dist/types/collection/iterable-collection/_shared/take-until-iterable.d.ts +1 -2
  337. package/dist/types/collection/iterable-collection/_shared/unique-iterable.d.ts +1 -2
  338. package/dist/types/collection/iterable-collection/_shared/update-iterable.d.ts +4 -5
  339. package/dist/types/collection/iterable-collection/_shared/zip-iterable.d.ts +1 -1
  340. package/dist/types/collection/iterable-collection/iterable-collection.d.ts +56 -54
  341. package/dist/types/collection/list-collection/list-collection.d.ts +57 -54
  342. package/dist/types/contracts/collection/_shared.d.ts +14 -158
  343. package/dist/types/contracts/collection/async-collection.contract.d.ts +430 -284
  344. package/dist/types/contracts/collection/collection.contract.d.ts +417 -260
  345. package/package.json +2 -1
  346. package/dist/cjs/collection/async-iterable-collection/_shared/async-chunk-whilte-iterable.js.map +0 -1
  347. package/dist/cjs/collection/iterable-collection/_shared/chunk-whilte-iterable.js.map +0 -1
  348. package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-whilte-iterable.js +0 -39
  349. package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-whilte-iterable.js.map +0 -1
  350. package/dist/esm/collection/iterable-collection/_shared/chunk-whilte-iterable.js.map +0 -1
  351. package/dist/types/collection/async-iterable-collection/_shared/async-chunk-whilte-iterable.d.ts +0 -12
@@ -1,12 +1,11 @@
1
- import { type AsyncPredicate, type AsyncMap, type IAsyncCollection, type UpdatedItem } from "../../../contracts/collection/_module";
1
+ import { type AsyncPredicate, type AsyncMap, type IAsyncCollection, type ChangendItem } from "../../../contracts/collection/_module";
2
2
  /**
3
3
  * @internal
4
4
  */
5
- export declare class AsyncUpdateIterable<TInput, TFilterOutput extends TInput, TMapOutput> implements AsyncIterable<UpdatedItem<TInput, TFilterOutput, TMapOutput>> {
5
+ export declare class AsyncUpdateIterable<TInput, TFilterOutput extends TInput, TMapOutput> implements AsyncIterable<ChangendItem<TInput, TFilterOutput, TMapOutput>> {
6
6
  private collection;
7
- private filter;
7
+ private predicateFn;
8
8
  private mapFn;
9
- private throwOnIndexOverflow;
10
- constructor(collection: IAsyncCollection<TInput>, filter: AsyncPredicate<TInput, IAsyncCollection<TInput>, TFilterOutput>, mapFn: AsyncMap<TFilterOutput, IAsyncCollection<TInput>, TMapOutput>, throwOnIndexOverflow: boolean);
11
- [Symbol.asyncIterator](): AsyncIterator<UpdatedItem<TInput, TFilterOutput, TMapOutput>>;
9
+ constructor(collection: IAsyncCollection<TInput>, predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>, TFilterOutput>, mapFn: AsyncMap<TFilterOutput, IAsyncCollection<TInput>, TMapOutput>);
10
+ [Symbol.asyncIterator](): AsyncIterator<ChangendItem<TInput, TFilterOutput, TMapOutput>>;
12
11
  }
@@ -1,4 +1,5 @@
1
- import { type AsyncIterableValue, type RecordItem } from "../../../contracts/collection/_module";
1
+ import { type AsyncIterableValue } from "../../../_shared/types";
2
+ import { type RecordItem } from "../../../_shared/types";
2
3
  /**
3
4
  * @internal
4
5
  */
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * @module Collections
3
3
  */
4
- import { type AsyncCollapse, type AsyncPredicate, type AsyncFindOrSettings, type AsyncFindSettings, type AsyncForEach, type AsyncGroupBySettings, type AsyncCountBySettings, type AsyncUniqueSettings, type AsyncIterableValue, type AsyncLazyable, type AsyncMap, type AsyncModifier, type AsyncReduceSettings, type AsyncTap, type AsyncTransform, type Comparator, type IAsyncCollection, type JoinSettings, type PageSettings, type RecordItem, type ReverseSettings, type SliceSettings, type SlidingSettings, type UpdatedItem } from "../../contracts/collection/_module";
5
- import { EnsureType } from "../../_shared/types";
4
+ import { type AsyncCollapse, type AsyncPredicate, type AsyncForEach, type AsyncMap, type AsyncModifier, type AsyncTap, type AsyncTransform, type Comparator, type IAsyncCollection, type ChangendItem, type AsyncReduce, type CrossJoinResult } from "../../contracts/collection/_module";
5
+ import { type AsyncIterableValue, type AsyncLazyable, type EnsureType } from "../../_shared/types";
6
+ import { type RecordItem } from "../../_shared/types";
6
7
  /**
7
8
  * All methods that return <i>{@link IAsyncCollection}</i> are executed lazly which means they will be executed when the <i>AsyncIterableCollection</i> is iterated with <i>forEach</i> method or "for await of" loop.
8
9
  * The rest of the methods are executed eagerly.
@@ -10,7 +11,6 @@ import { EnsureType } from "../../_shared/types";
10
11
  */
11
12
  export declare class AsyncIterableCollection<TInput> implements IAsyncCollection<TInput> {
12
13
  private iterable;
13
- private static THROW_ON_NUMBER_LIMIT;
14
14
  private static DEFAULT_CHUNK_SIZE;
15
15
  private static makeCollection;
16
16
  /**
@@ -19,32 +19,34 @@ export declare class AsyncIterableCollection<TInput> implements IAsyncCollection
19
19
  constructor(iterable?: AsyncIterableValue<TInput>);
20
20
  [Symbol.asyncIterator](): AsyncIterator<TInput>;
21
21
  toIterator(): AsyncIterator<TInput, void>;
22
- entries(throwOnIndexOverflow?: boolean): IAsyncCollection<RecordItem<number, TInput>>;
23
- keys(throwOnIndexOverflow?: boolean): IAsyncCollection<number>;
22
+ entries(): IAsyncCollection<RecordItem<number, TInput>>;
23
+ keys(): IAsyncCollection<number>;
24
24
  values(): IAsyncCollection<TInput>;
25
- filter<TOutput extends TInput>(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>, throwOnIndexOverflow?: boolean): IAsyncCollection<TOutput>;
26
- reject<TOutput extends TInput>(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>, throwOnIndexOverflow?: boolean): IAsyncCollection<Exclude<TInput, TOutput>>;
27
- map<TOutput>(mapFn: AsyncMap<TInput, IAsyncCollection<TInput>, TOutput>, throwOnIndexOverflow?: boolean): IAsyncCollection<TOutput>;
28
- reduce<TOutput = TInput>(settings: AsyncReduceSettings<TInput, IAsyncCollection<TInput>, TOutput>): Promise<TOutput>;
29
- join(settings?: JoinSettings): Promise<EnsureType<TInput, string>>;
25
+ filter<TOutput extends TInput>(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>): IAsyncCollection<TOutput>;
26
+ reject<TOutput extends TInput>(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>): IAsyncCollection<Exclude<TInput, TOutput>>;
27
+ map<TOutput>(mapFn: AsyncMap<TInput, IAsyncCollection<TInput>, TOutput>): IAsyncCollection<TOutput>;
28
+ reduce(reduceFn: AsyncReduce<TInput, IAsyncCollection<TInput>, TInput>): Promise<TInput>;
29
+ reduce(reduceFn: AsyncReduce<TInput, IAsyncCollection<TInput>, TInput>, initialValue: TInput): Promise<TInput>;
30
+ reduce<TOutput>(reduceFn: AsyncReduce<TInput, IAsyncCollection<TInput>, TOutput>, initialValue: TOutput): Promise<TOutput>;
31
+ join(separator?: string): Promise<EnsureType<TInput, string>>;
30
32
  collapse(): IAsyncCollection<AsyncCollapse<TInput>>;
31
- flatMap<TOutput>(mapFn: AsyncMap<TInput, IAsyncCollection<TInput>, Iterable<TOutput>>, throwOnIndexOverflow?: boolean): IAsyncCollection<TOutput>;
32
- update<TFilterOutput extends TInput, TMapOutput>(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>, TFilterOutput>, mapFn: AsyncMap<TFilterOutput, IAsyncCollection<TInput>, TMapOutput>, throwOnIndexOverflow?: boolean): IAsyncCollection<UpdatedItem<TInput, TFilterOutput, TMapOutput>>;
33
- page(settings: PageSettings): IAsyncCollection<TInput>;
33
+ flatMap<TOutput>(mapFn: AsyncMap<TInput, IAsyncCollection<TInput>, Iterable<TOutput>>): IAsyncCollection<TOutput>;
34
+ change<TFilterOutput extends TInput, TMapOutput>(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>, TFilterOutput>, mapFn: AsyncMap<TFilterOutput, IAsyncCollection<TInput>, TMapOutput>): IAsyncCollection<ChangendItem<TInput, TFilterOutput, TMapOutput>>;
35
+ page(page: number, pageSize: number): IAsyncCollection<TInput>;
34
36
  sum(): Promise<EnsureType<TInput, number>>;
35
37
  average(): Promise<EnsureType<TInput, number>>;
36
- median(throwOnIndexOverflow?: boolean): Promise<EnsureType<TInput, number>>;
38
+ median(): Promise<EnsureType<TInput, number>>;
37
39
  min(): Promise<EnsureType<TInput, number>>;
38
40
  max(): Promise<EnsureType<TInput, number>>;
39
- percentage(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): Promise<number>;
40
- some<TOutput extends TInput>(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>, throwOnIndexOverflow?: boolean): Promise<boolean>;
41
- every<TOutput extends TInput>(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>, throwOnIndexOverflow?: boolean): Promise<boolean>;
42
- take(limit: number, throwOnIndexOverflow?: boolean): IAsyncCollection<TInput>;
43
- takeUntil(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): IAsyncCollection<TInput>;
44
- takeWhile(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): IAsyncCollection<TInput>;
45
- skip(offset: number, throwOnIndexOverflow?: boolean): IAsyncCollection<TInput>;
46
- skipUntil(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): IAsyncCollection<TInput>;
47
- skipWhile(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): IAsyncCollection<TInput>;
41
+ percentage(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): Promise<number>;
42
+ some<TOutput extends TInput>(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>): Promise<boolean>;
43
+ every<TOutput extends TInput>(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>): Promise<boolean>;
44
+ take(limit: number): IAsyncCollection<TInput>;
45
+ takeUntil(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): IAsyncCollection<TInput>;
46
+ takeWhile(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): IAsyncCollection<TInput>;
47
+ skip(offset: number): IAsyncCollection<TInput>;
48
+ skipUntil(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): IAsyncCollection<TInput>;
49
+ skipWhile(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): IAsyncCollection<TInput>;
48
50
  when<TExtended = TInput>(condition: boolean, callback: AsyncModifier<IAsyncCollection<TInput>, IAsyncCollection<TExtended>>): IAsyncCollection<TInput | TExtended>;
49
51
  whenEmpty<TExtended = TInput>(callback: AsyncModifier<IAsyncCollection<TInput>, IAsyncCollection<TExtended>>): IAsyncCollection<TInput | TExtended>;
50
52
  whenNot<TExtended = TInput>(condition: boolean, callback: AsyncModifier<IAsyncCollection<TInput>, IAsyncCollection<TExtended>>): IAsyncCollection<TInput | TExtended>;
@@ -52,50 +54,50 @@ export declare class AsyncIterableCollection<TInput> implements IAsyncCollection
52
54
  pipe<TOutput = TInput>(callback: AsyncTransform<IAsyncCollection<TInput>, TOutput>): Promise<TOutput>;
53
55
  tap(callback: AsyncTap<IAsyncCollection<TInput>>): IAsyncCollection<TInput>;
54
56
  chunk(chunkSize: number): IAsyncCollection<IAsyncCollection<TInput>>;
55
- chunkWhile(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): IAsyncCollection<IAsyncCollection<TInput>>;
56
- split(chunkAmount: number, throwOnIndexOverflow?: boolean): IAsyncCollection<IAsyncCollection<TInput>>;
57
- partition(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): IAsyncCollection<IAsyncCollection<TInput>>;
58
- sliding(settings: SlidingSettings): IAsyncCollection<IAsyncCollection<TInput>>;
59
- groupBy<TOutput = TInput>(settings?: AsyncGroupBySettings<TInput, IAsyncCollection<TInput>, TOutput>): IAsyncCollection<RecordItem<TOutput, IAsyncCollection<TInput>>>;
60
- countBy<TOutput = TInput>(settings?: AsyncCountBySettings<TInput, IAsyncCollection<TInput>, TOutput>): IAsyncCollection<RecordItem<TOutput, number>>;
61
- unique<TOutput = TInput>(settings?: AsyncUniqueSettings<TInput, IAsyncCollection<TInput>, TOutput>): IAsyncCollection<TInput>;
57
+ chunkWhile(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): IAsyncCollection<IAsyncCollection<TInput>>;
58
+ split(chunkAmount: number): IAsyncCollection<IAsyncCollection<TInput>>;
59
+ partition(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): IAsyncCollection<IAsyncCollection<TInput>>;
60
+ sliding(chunkSize: number, step?: number): IAsyncCollection<IAsyncCollection<TInput>>;
61
+ groupBy<TOutput = TInput>(selectFn?: AsyncMap<TInput, IAsyncCollection<TInput>, TOutput>): IAsyncCollection<RecordItem<TOutput, IAsyncCollection<TInput>>>;
62
+ countBy<TOutput = TInput>(selectFn?: AsyncMap<TInput, IAsyncCollection<TInput>, TOutput>): IAsyncCollection<RecordItem<TOutput, number>>;
63
+ unique<TOutput = TInput>(selectFn?: AsyncMap<TInput, IAsyncCollection<TInput>, TOutput>): IAsyncCollection<TInput>;
62
64
  difference<TOutput = TInput>(iterable: AsyncIterableValue<TInput>, selectFn?: AsyncMap<TInput, IAsyncCollection<TInput>, TOutput>): IAsyncCollection<TInput>;
63
65
  repeat(amount: number): IAsyncCollection<TInput>;
64
66
  padStart<TExtended = TInput>(maxLength: number, fillItems: AsyncIterableValue<TExtended>): IAsyncCollection<TInput | TExtended>;
65
67
  padEnd<TExtended = TInput>(maxLength: number, fillItems: AsyncIterableValue<TExtended>): IAsyncCollection<TInput | TExtended>;
66
- slice(settings?: SliceSettings): IAsyncCollection<TInput>;
68
+ slice(start?: number, end?: number): IAsyncCollection<TInput>;
67
69
  prepend<TExtended = TInput>(iterable: AsyncIterableValue<TInput | TExtended>): IAsyncCollection<TInput | TExtended>;
68
70
  append<TExtended = TInput>(iterable: AsyncIterableValue<TInput | TExtended>): IAsyncCollection<TInput | TExtended>;
69
- insertBefore<TExtended = TInput>(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, iterable: AsyncIterableValue<TInput | TExtended>, throwOnIndexOverflow?: boolean): IAsyncCollection<TInput | TExtended>;
70
- insertAfter<TExtended = TInput>(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, iterable: AsyncIterableValue<TInput | TExtended>, throwOnIndexOverflow?: boolean): IAsyncCollection<TInput | TExtended>;
71
- crossJoin<TExtended = TInput>(...iterables: Array<AsyncIterableValue<TExtended>>): IAsyncCollection<IAsyncCollection<TInput | TExtended>>;
71
+ insertBefore<TExtended = TInput>(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>, iterable: AsyncIterableValue<TInput | TExtended>): IAsyncCollection<TInput | TExtended>;
72
+ insertAfter<TExtended = TInput>(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>, iterable: AsyncIterableValue<TInput | TExtended>): IAsyncCollection<TInput | TExtended>;
73
+ crossJoin<TExtended>(iterable: AsyncIterableValue<TExtended>): IAsyncCollection<CrossJoinResult<TInput, TExtended>>;
72
74
  zip<TExtended>(iterable: AsyncIterableValue<TExtended>): IAsyncCollection<RecordItem<TInput, TExtended>>;
73
75
  sort(comparator?: Comparator<TInput> | undefined): IAsyncCollection<TInput>;
74
- reverse(settings?: ReverseSettings): IAsyncCollection<TInput>;
75
- shuffle(): IAsyncCollection<TInput>;
76
- first<TOutput extends TInput>(settings?: AsyncFindSettings<TInput, IAsyncCollection<TInput>, TOutput>): Promise<TOutput | null>;
77
- firstOr<TOutput extends TInput, TExtended = TInput>(settings: AsyncFindOrSettings<TInput, IAsyncCollection<TInput>, TOutput, TExtended>): Promise<TOutput | TExtended>;
78
- firstOrFail<TOutput extends TInput>(settings?: AsyncFindSettings<TInput, IAsyncCollection<TInput>, TOutput>): Promise<TOutput>;
79
- last<TOutput extends TInput>(settings?: AsyncFindSettings<TInput, IAsyncCollection<TInput>, TOutput>): Promise<TOutput | null>;
80
- lastOr<TOutput extends TInput, TExtended = TInput>(settings: AsyncFindOrSettings<TInput, IAsyncCollection<TInput>, TOutput, TExtended>): Promise<TOutput | TExtended>;
81
- lastOrFail<TOutput extends TInput>(settings?: AsyncFindSettings<TInput, IAsyncCollection<TInput>, TOutput>): Promise<TOutput>;
82
- before(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): Promise<TInput | null>;
83
- beforeOr<TExtended = TInput>(defaultValue: AsyncLazyable<TExtended>, filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): Promise<TInput | TExtended>;
84
- beforeOrFail(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): Promise<TInput>;
85
- after(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): Promise<TInput | null>;
86
- afterOr<TExtended = TInput>(defaultValue: AsyncLazyable<TExtended>, filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): Promise<TInput | TExtended>;
87
- afterOrFail(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): Promise<TInput>;
88
- sole<TOutput extends TInput>(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>, throwOnIndexOverflow?: boolean): Promise<TOutput>;
76
+ reverse(chunkSize?: number): IAsyncCollection<TInput>;
77
+ shuffle(mathRandom?: () => number): IAsyncCollection<TInput>;
78
+ first<TOutput extends TInput>(predicateFn?: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>): Promise<TOutput | null>;
79
+ firstOr<TOutput extends TInput, TExtended = TInput>(defaultValue: AsyncLazyable<TExtended>, predicateFn?: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>): Promise<TOutput | TExtended>;
80
+ firstOrFail<TOutput extends TInput>(predicateFn?: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>): Promise<TOutput>;
81
+ last<TOutput extends TInput>(predicateFn?: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>): Promise<TOutput | null>;
82
+ lastOr<TOutput extends TInput, TExtended = TInput>(defaultValue: AsyncLazyable<TExtended>, predicateFn?: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>): Promise<TOutput | TExtended>;
83
+ lastOrFail<TOutput extends TInput>(predicateFn?: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>): Promise<TOutput>;
84
+ before(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): Promise<TInput | null>;
85
+ beforeOr<TExtended = TInput>(defaultValue: AsyncLazyable<TExtended>, predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): Promise<TInput | TExtended>;
86
+ beforeOrFail(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): Promise<TInput>;
87
+ after(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): Promise<TInput | null>;
88
+ afterOr<TExtended = TInput>(defaultValue: AsyncLazyable<TExtended>, predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): Promise<TInput | TExtended>;
89
+ afterOrFail(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): Promise<TInput>;
90
+ sole<TOutput extends TInput>(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>, TOutput>): Promise<TOutput>;
89
91
  nth(step: number): IAsyncCollection<TInput>;
90
92
  delay(timeInMs: number): IAsyncCollection<TInput>;
91
93
  abort(signal: AbortSignal): IAsyncCollection<TInput>;
92
94
  timeout(timeInMs: number): IAsyncCollection<TInput>;
93
- count(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): Promise<number>;
94
- size(throwOnIndexOverflow?: boolean): Promise<number>;
95
+ count(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): Promise<number>;
96
+ size(): Promise<number>;
95
97
  isEmpty(): Promise<boolean>;
96
98
  isNotEmpty(): Promise<boolean>;
97
- searchFirst(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): Promise<number>;
98
- searchLast(filter: AsyncPredicate<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): Promise<number>;
99
- forEach(callback: AsyncForEach<TInput, IAsyncCollection<TInput>>, throwOnIndexOverflow?: boolean): Promise<void>;
99
+ searchFirst(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): Promise<number>;
100
+ searchLast(predicateFn: AsyncPredicate<TInput, IAsyncCollection<TInput>>): Promise<number>;
101
+ forEach(callback: AsyncForEach<TInput, IAsyncCollection<TInput>>): Promise<void>;
100
102
  toArray(): Promise<TInput[]>;
101
103
  }
@@ -1,5 +1,5 @@
1
1
  export * from "../../../collection/iterable-collection/_shared/chunk-iterable";
2
- export * from "../../../collection/iterable-collection/_shared/chunk-whilte-iterable";
2
+ export * from "../../../collection/iterable-collection/_shared/chunk-while-iterable";
3
3
  export * from "../../../collection/iterable-collection/_shared/collapse-iterable";
4
4
  export * from "../../../collection/iterable-collection/_shared/count-by-iterable";
5
5
  export * from "../../../collection/iterable-collection/_shared/cross-join-iterable";
@@ -5,8 +5,7 @@ import { type Predicate, type ICollection } from "../../../contracts/collection/
5
5
  export declare class ChunkWhileIterable<TInput> implements Iterable<ICollection<TInput>> {
6
6
  private collection;
7
7
  private predicateFn;
8
- private throwOnIndexOverflow;
9
8
  private makeCollection;
10
- constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>>, throwOnIndexOverflow: boolean, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
9
+ constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>>, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
11
10
  [Symbol.iterator](): Iterator<ICollection<TInput>>;
12
11
  }
@@ -1,11 +1,11 @@
1
- import { type ICollection, type Map, type RecordItem } from "../../../contracts/collection/_module";
1
+ import { type ICollection, type Map } from "../../../contracts/collection/_module";
2
+ import { type RecordItem } from "../../../_shared/types";
2
3
  /**
3
4
  * @internal
4
5
  */
5
6
  export declare class CountByIterable<TInput, TOutput = TInput> implements Iterable<RecordItem<TOutput, number>> {
6
7
  private collection;
7
8
  private selectFn;
8
- private throwOnIndexOverflow;
9
- constructor(collection: ICollection<TInput>, selectFn: Map<TInput, ICollection<TInput>, TOutput>, throwOnIndexOverflow: boolean);
9
+ constructor(collection: ICollection<TInput>, selectFn?: Map<TInput, ICollection<TInput>, TOutput>);
10
10
  [Symbol.iterator](): Iterator<RecordItem<TOutput, number>>;
11
11
  }
@@ -1,11 +1,8 @@
1
- import { type ICollection } from "../../../contracts/collection/_module";
2
- /**
3
- * @internal
4
- */
5
- export declare class CrossJoinIterable<TInput, TExtended = TInput> implements Iterable<ICollection<TInput | TExtended>> {
1
+ import { CrossJoinResult, ICollection } from "../../../contracts/collection/_module";
2
+ export declare class CrossJoinIterable<TInput, TExtended = TInput> implements Iterable<CrossJoinResult<TInput, TExtended>> {
6
3
  private collection;
7
- private iterables;
4
+ private iterable;
8
5
  private makeCollection;
9
- constructor(collection: ICollection<TInput>, iterables: Array<Iterable<TExtended>>, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
10
- [Symbol.iterator](): Iterator<ICollection<TInput | TExtended>>;
6
+ constructor(collection: ICollection<TInput>, iterable: Iterable<TExtended>, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
7
+ [Symbol.iterator](): Iterator<CrossJoinResult<TInput, TExtended>>;
11
8
  }
@@ -1,10 +1,9 @@
1
- import { type RecordItem } from "../../../contracts/collection/_shared";
1
+ import { type RecordItem } from "../../../_shared/types";
2
2
  /**
3
3
  * @internal
4
4
  */
5
5
  export declare class EntriesIterable<TInput> implements Iterable<RecordItem<number, TInput>> {
6
6
  private iterable;
7
- private throwOnIndexOverflow;
8
- constructor(iterable: Iterable<TInput>, throwOnIndexOverflow: boolean);
7
+ constructor(iterable: Iterable<TInput>);
9
8
  [Symbol.iterator](): Iterator<RecordItem<number, TInput>>;
10
9
  }
@@ -5,7 +5,6 @@ import { type Predicate, type ICollection } from "../../../contracts/collection/
5
5
  export declare class FilterIterable<TInput, TOutput extends TInput> implements Iterable<TOutput> {
6
6
  private collection;
7
7
  private predicateFn;
8
- private throwOnIndexOverflow;
9
- constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>, TOutput>, throwOnIndexOverflow: boolean);
8
+ constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>, TOutput>);
10
9
  [Symbol.iterator](): Iterator<TOutput>;
11
10
  }
@@ -5,7 +5,6 @@ import { type ICollection, type Map } from "../../../contracts/collection/_modul
5
5
  export declare class FlatMapIterable<TInput, TOutput> implements Iterable<TOutput> {
6
6
  private collection;
7
7
  private mapFn;
8
- private throwOnIndexOverflow;
9
- constructor(collection: ICollection<TInput>, mapFn: Map<TInput, ICollection<TInput>, Iterable<TOutput>>, throwOnIndexOverflow: boolean);
8
+ constructor(collection: ICollection<TInput>, mapFn: Map<TInput, ICollection<TInput>, Iterable<TOutput>>);
10
9
  [Symbol.iterator](): Iterator<TOutput>;
11
10
  }
@@ -1,12 +1,12 @@
1
- import { type ICollection, type Map, type RecordItem } from "../../../contracts/collection/_module";
1
+ import { type ICollection, type Map } from "../../../contracts/collection/_module";
2
+ import { type RecordItem } from "../../../_shared/types";
2
3
  /**
3
4
  * @internal
4
5
  */
5
6
  export declare class GroupByIterable<TInput, TOutput = TInput> implements Iterable<RecordItem<TOutput, ICollection<TInput>>> {
6
7
  private collection;
7
8
  private selectFn;
8
- private throwOnIndexOverflow;
9
9
  private makeCollection;
10
- constructor(collection: ICollection<TInput>, selectFn: Map<TInput, ICollection<TInput>, TOutput>, throwOnIndexOverflow: boolean, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
10
+ constructor(collection: ICollection<TInput>, selectFn: Map<TInput, ICollection<TInput>, TOutput>, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
11
11
  [Symbol.iterator](): Iterator<RecordItem<TOutput, ICollection<TInput>>>;
12
12
  }
@@ -6,7 +6,6 @@ export declare class InsertAfterIterable<TInput, TExtended> implements Iterable<
6
6
  private collection;
7
7
  private predicateFn;
8
8
  private iterable;
9
- private throwOnIndexOverflow;
10
- constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>>, iterable: Iterable<TInput | TExtended>, throwOnIndexOverflow: boolean);
9
+ constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>>, iterable: Iterable<TInput | TExtended>);
11
10
  [Symbol.iterator](): Iterator<TInput | TExtended>;
12
11
  }
@@ -6,7 +6,6 @@ export declare class InsertBeforeIterable<TInput, TExtended> implements Iterable
6
6
  private collection;
7
7
  private predicateFn;
8
8
  private iterable;
9
- private throwOnIndexOverflow;
10
- constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>>, iterable: Iterable<TInput | TExtended>, throwOnIndexOverflow: boolean);
9
+ constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>>, iterable: Iterable<TInput | TExtended>);
11
10
  [Symbol.iterator](): Iterator<TInput | TExtended>;
12
11
  }
@@ -5,7 +5,6 @@ import { type ICollection, type Map } from "../../../contracts/collection/_modul
5
5
  export declare class MapIterable<TInput, TOutput> implements Iterable<TOutput> {
6
6
  private collection;
7
7
  private mapFn;
8
- private throwOnIndexOverflow;
9
- constructor(collection: ICollection<TInput>, mapFn: Map<TInput, ICollection<TInput>, TOutput>, throwOnIndexOverflow: boolean);
8
+ constructor(collection: ICollection<TInput>, mapFn: Map<TInput, ICollection<TInput>, TOutput>);
10
9
  [Symbol.iterator](): Iterator<TOutput>;
11
10
  }
@@ -5,8 +5,7 @@ import { type Predicate, type ICollection } from "../../../contracts/collection/
5
5
  export declare class PartionIterable<TInput> implements Iterable<ICollection<TInput>> {
6
6
  private collection;
7
7
  private predicateFn;
8
- private throwOnIndexOverflow;
9
8
  private makeCollection;
10
- constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>>, throwOnIndexOverflow: boolean, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
9
+ constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>>, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
11
10
  [Symbol.iterator](): Iterator<ICollection<TInput>>;
12
11
  }
@@ -5,8 +5,7 @@ import { type ICollection } from "../../../contracts/collection/_module";
5
5
  export declare class ReverseIterable<TInput> implements Iterable<TInput> {
6
6
  private collection;
7
7
  private chunkSize;
8
- private throwOnIndexOverflow;
9
8
  private makeCollection;
10
- constructor(collection: ICollection<TInput>, chunkSize: number, throwOnIndexOverflow: boolean, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
9
+ constructor(collection: ICollection<TInput>, chunkSize: number, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
11
10
  [Symbol.iterator](): Iterator<TInput>;
12
11
  }
@@ -3,6 +3,7 @@
3
3
  */
4
4
  export declare class ShuffleIterable<TInput> implements Iterable<TInput> {
5
5
  private iterable;
6
- constructor(iterable: Iterable<TInput>);
6
+ private readonly mathRandom;
7
+ constructor(iterable: Iterable<TInput>, mathRandom: () => number);
7
8
  [Symbol.iterator](): Iterator<TInput>;
8
9
  }
@@ -5,7 +5,6 @@ import { type ICollection } from "../../../contracts/collection/_module";
5
5
  export declare class SkipIterable<TInput> implements Iterable<TInput> {
6
6
  private collection;
7
7
  private offset;
8
- private throwOnIndexOverflow;
9
- constructor(collection: ICollection<TInput>, offset: number, throwOnIndexOverflow: boolean);
8
+ constructor(collection: ICollection<TInput>, offset: number);
10
9
  [Symbol.iterator](): Iterator<TInput>;
11
10
  }
@@ -5,7 +5,6 @@ import { type Predicate, type ICollection } from "../../../contracts/collection/
5
5
  export declare class SkipUntilIterable<TInput> implements Iterable<TInput> {
6
6
  private collection;
7
7
  private predicateFn;
8
- private throwOnIndexOverflow;
9
- constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>>, throwOnIndexOverflow: boolean);
8
+ constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>>);
10
9
  [Symbol.iterator](): Iterator<TInput>;
11
10
  }
@@ -6,7 +6,6 @@ export declare class SliceIterable<TInput> implements Iterable<TInput> {
6
6
  private collection;
7
7
  private start;
8
8
  private end;
9
- private throwOnIndexOverflow;
10
- constructor(collection: ICollection<TInput>, start: number | undefined, end: number | undefined, throwOnIndexOverflow: boolean);
9
+ constructor(collection: ICollection<TInput>, start: number | undefined, end: number | undefined);
11
10
  [Symbol.iterator](): Iterator<TInput>;
12
11
  }
@@ -6,7 +6,6 @@ export declare class SlidingIteralbe<TInput> implements Iterable<ICollection<TIn
6
6
  private collection;
7
7
  private chunkSize;
8
8
  private step;
9
- private throwOnIndexOverflow;
10
- constructor(collection: ICollection<TInput>, chunkSize: number, step: number, throwOnIndexOverflow: boolean);
9
+ constructor(collection: ICollection<TInput>, chunkSize: number, step: number);
11
10
  [Symbol.iterator](): Iterator<ICollection<TInput>>;
12
11
  }
@@ -5,8 +5,7 @@ import { type ICollection } from "../../../contracts/collection/_module";
5
5
  export declare class SplitIterable<TInput> implements Iterable<ICollection<TInput>> {
6
6
  private collection;
7
7
  private chunkAmount;
8
- private throwOnIndexOverflow;
9
8
  private makeCollection;
10
- constructor(collection: ICollection<TInput>, chunkAmount: number, throwOnIndexOverflow: boolean, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
9
+ constructor(collection: ICollection<TInput>, chunkAmount: number, makeCollection: <TInput>(iterable: Iterable<TInput>) => ICollection<TInput>);
11
10
  [Symbol.iterator](): Iterator<ICollection<TInput>>;
12
11
  }
@@ -5,7 +5,6 @@ import { type ICollection } from "../../../contracts/collection/_module";
5
5
  export declare class TakeIterable<TInput> implements Iterable<TInput> {
6
6
  private collection;
7
7
  private limit;
8
- private throwOnIndexOverflow;
9
- constructor(collection: ICollection<TInput>, limit: number, throwOnIndexOverflow: boolean);
8
+ constructor(collection: ICollection<TInput>, limit: number);
10
9
  [Symbol.iterator](): Iterator<TInput>;
11
10
  }
@@ -5,7 +5,6 @@ import { type Predicate, type ICollection } from "../../../contracts/collection/
5
5
  export declare class TakeUntilIterable<TInput> implements Iterable<TInput> {
6
6
  private collection;
7
7
  private predicateFn;
8
- private throwOnIndexOverflow;
9
- constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>>, throwOnIndexOverflow: boolean);
8
+ constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>>);
10
9
  [Symbol.iterator](): Iterator<TInput>;
11
10
  }
@@ -5,7 +5,6 @@ import { type ICollection, type Map } from "../../../contracts/collection/_modul
5
5
  export declare class UniqueIterable<TInput, TOutput> implements Iterable<TInput> {
6
6
  private collection;
7
7
  private callback;
8
- private throwOnIndexOverflow;
9
- constructor(collection: ICollection<TInput>, callback: Map<TInput, ICollection<TInput>, TOutput>, throwOnIndexOverflow: boolean);
8
+ constructor(collection: ICollection<TInput>, callback?: Map<TInput, ICollection<TInput>, TOutput>);
10
9
  [Symbol.iterator](): Iterator<TInput>;
11
10
  }
@@ -1,12 +1,11 @@
1
- import { type Predicate, type ICollection, type Map, type UpdatedItem } from "../../../contracts/collection/_module";
1
+ import { type Predicate, type ICollection, type Map, type ChangendItem } from "../../../contracts/collection/_module";
2
2
  /**
3
3
  * @internal
4
4
  */
5
- export declare class UpdateIterable<TInput, TFilterOutput extends TInput, TMapOutput> implements Iterable<UpdatedItem<TInput, TFilterOutput, TMapOutput>> {
5
+ export declare class UpdateIterable<TInput, TFilterOutput extends TInput, TMapOutput> implements Iterable<ChangendItem<TInput, TFilterOutput, TMapOutput>> {
6
6
  private collection;
7
7
  private predicateFn;
8
8
  private mapFn;
9
- private throwOnIndexOverflow;
10
- constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>, TFilterOutput>, mapFn: Map<TFilterOutput, ICollection<TInput>, TMapOutput>, throwOnIndexOverflow: boolean);
11
- [Symbol.iterator](): Iterator<UpdatedItem<TInput, TFilterOutput, TMapOutput>>;
9
+ constructor(collection: ICollection<TInput>, predicateFn: Predicate<TInput, ICollection<TInput>, TFilterOutput>, mapFn: Map<TFilterOutput, ICollection<TInput>, TMapOutput>);
10
+ [Symbol.iterator](): Iterator<ChangendItem<TInput, TFilterOutput, TMapOutput>>;
12
11
  }
@@ -1,4 +1,4 @@
1
- import { type RecordItem } from "../../../contracts/collection/_module";
1
+ import { type RecordItem } from "../../../_shared/types";
2
2
  /**
3
3
  * @internal
4
4
  */