@daiso-tech/core 0.6.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.
- package/dist/cjs/_module.js +6 -5
- package/dist/cjs/_module.js.map +1 -1
- package/dist/cjs/collection/contracts/_module.js +20 -0
- package/dist/cjs/collection/contracts/_module.js.map +1 -0
- package/dist/cjs/collection/contracts/_shared.js.map +1 -0
- package/dist/cjs/collection/contracts/async-collection.contract.js.map +1 -0
- package/dist/cjs/collection/contracts/collection.contract.js.map +1 -0
- package/dist/cjs/collection/implementations/_module.js +21 -0
- package/dist/cjs/collection/implementations/_module.js.map +1 -0
- package/dist/cjs/collection/implementations/_shared.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_module.js +18 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_module.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/_module.js +50 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/_module.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-chunk-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.js +22 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-count-by-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.js +35 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-entries-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-error-handler-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-filter-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-flat-map-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-group-by-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-insert-after-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-insert-before-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-map-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-pad-end-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-pad-start-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-partion-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-repeat-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-reverse-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-shuffle-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-skip-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-skip-until-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-slice-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-sliding-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-sort-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-split-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-take-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-take-until-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-tap-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-unique-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-update-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-when-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.js +37 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/async-iterable-collection.js +547 -0
- package/dist/cjs/collection/implementations/async-iterable-collection/async-iterable-collection.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_module.js +18 -0
- package/dist/cjs/collection/implementations/iterable-collection/_module.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/_module.js +49 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/_module.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/chunk-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/chunk-while-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/collapse-iterable.js +22 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/collapse-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/count-by-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/cross-join-iterable.js +37 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/cross-join-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/entries-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/filter-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/flat-map-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/group-by-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/insert-after-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/insert-before-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/map-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/merge-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/pad-end-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/pad-start-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/partion-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/repeat-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/reverse-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/shuffle-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/skip-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/skip-until-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/slice-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/sliding-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/sort-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/split-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/take-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/take-until-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/tap-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/unique-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/update-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/when-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/_shared/zip-iterable.js.map +1 -0
- package/dist/cjs/collection/implementations/iterable-collection/iterable-collection.js +493 -0
- package/dist/cjs/collection/implementations/iterable-collection/iterable-collection.js.map +1 -0
- package/dist/cjs/collection/implementations/list-collection/_module.js +18 -0
- package/dist/cjs/collection/implementations/list-collection/_module.js.map +1 -0
- package/dist/cjs/collection/implementations/list-collection/list-collection.js +627 -0
- package/dist/cjs/collection/implementations/list-collection/list-collection.js.map +1 -0
- package/dist/cjs/serializer/_module.js +5 -5
- package/dist/cjs/serializer/_module.js.map +1 -1
- package/dist/cjs/serializer/contracts/_module.js +18 -0
- package/dist/cjs/serializer/contracts/_module.js.map +1 -0
- package/dist/cjs/serializer/contracts/serializer.contract.js.map +1 -0
- package/dist/cjs/serializer/implementations/_module.js +22 -0
- package/dist/cjs/serializer/implementations/_module.js.map +1 -0
- package/dist/cjs/serializer/implementations/_shared/test-utilities/_module.js +18 -0
- package/dist/cjs/serializer/implementations/_shared/test-utilities/_module.js.map +1 -0
- package/dist/cjs/serializer/implementations/_shared/test-utilities/serializer.test-suite.js.map +1 -0
- package/dist/cjs/serializer/implementations/mongodb-serializer/_module.js +18 -0
- package/dist/cjs/serializer/implementations/mongodb-serializer/_module.js.map +1 -0
- package/dist/cjs/serializer/implementations/mongodb-serializer/mongodb-serializer.js +36 -0
- package/dist/cjs/serializer/implementations/mongodb-serializer/mongodb-serializer.js.map +1 -0
- package/dist/cjs/serializer/implementations/redis-serializer/_module.js +18 -0
- package/dist/cjs/serializer/implementations/redis-serializer/_module.js.map +1 -0
- package/dist/cjs/serializer/implementations/redis-serializer/redis-serializer.js +37 -0
- package/dist/cjs/serializer/implementations/redis-serializer/redis-serializer.js.map +1 -0
- package/dist/cjs/serializer/implementations/sql-serializer/_module.js +18 -0
- package/dist/cjs/serializer/implementations/sql-serializer/_module.js.map +1 -0
- package/dist/cjs/serializer/implementations/sql-serializer/sql-serializer.js +37 -0
- package/dist/cjs/serializer/implementations/sql-serializer/sql-serializer.js.map +1 -0
- package/dist/cjs/serializer/implementations/super-json-serializer/_module.js +18 -0
- package/dist/cjs/serializer/implementations/super-json-serializer/_module.js.map +1 -0
- package/dist/cjs/serializer/implementations/super-json-serializer/super-json-serializer.js +304 -0
- package/dist/cjs/serializer/implementations/super-json-serializer/super-json-serializer.js.map +1 -0
- package/dist/cjs/storage/contracts/_module.js +20 -0
- package/dist/cjs/storage/contracts/_module.js.map +1 -0
- package/dist/cjs/storage/contracts/_shared.js.map +1 -0
- package/dist/cjs/storage/contracts/storage-adapter.contract.js.map +1 -0
- package/dist/cjs/storage/contracts/storage.contract.js.map +1 -0
- package/dist/cjs/storage/implementations/_module.js +23 -0
- package/dist/cjs/storage/implementations/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/_shared/test-utilities/_module.js +18 -0
- package/dist/cjs/storage/implementations/_shared/test-utilities/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/_shared/test-utilities/storage-adapter-api.test-suite.js +300 -0
- package/dist/cjs/storage/implementations/_shared/test-utilities/storage-adapter-api.test-suite.js.map +1 -0
- package/dist/cjs/storage/implementations/_shared/test-utilities/storage-adapter-value.test-suite.js +1208 -0
- package/dist/cjs/storage/implementations/_shared/test-utilities/storage-adapter-value.test-suite.js.map +1 -0
- package/dist/cjs/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.js +10 -0
- package/dist/cjs/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.js.map +1 -0
- package/dist/cjs/storage/implementations/memory-storage-adapter/_module.js +18 -0
- package/dist/cjs/storage/implementations/memory-storage-adapter/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/memory-storage-adapter/memory-storage-adapter.js +85 -0
- package/dist/cjs/storage/implementations/memory-storage-adapter/memory-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/mongodb-storage-adapter/_module.js +6 -0
- package/dist/cjs/storage/implementations/mongodb-storage-adapter/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.js +203 -0
- package/dist/cjs/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/redis-storage-adapter/_module.js +18 -0
- package/dist/cjs/storage/implementations/redis-storage-adapter/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/redis-storage-adapter/redis-storage-adapter.js +228 -0
- package/dist/cjs/storage/implementations/redis-storage-adapter/redis-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/sqlite/_module.js +19 -0
- package/dist/cjs/storage/implementations/sqlite/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/sqlite/_shared/_module.js +18 -0
- package/dist/cjs/storage/implementations/sqlite/_shared/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.js +190 -0
- package/dist/cjs/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/sqlite/libsql-storage-adapter/_module.js +18 -0
- package/dist/cjs/storage/implementations/sqlite/libsql-storage-adapter/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.js +53 -0
- package/dist/cjs/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/sqlite/sqlite-storage-adapter/_module.js +18 -0
- package/dist/cjs/storage/implementations/sqlite/sqlite-storage-adapter/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js +52 -0
- package/dist/cjs/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/storage/_module.js +18 -0
- package/dist/cjs/storage/implementations/storage/_module.js.map +1 -0
- package/dist/cjs/storage/implementations/storage/storage.js +219 -0
- package/dist/cjs/storage/implementations/storage/storage.js.map +1 -0
- package/dist/cjs/storage/implementations/storage/with-namespace-storage-adapter.js +56 -0
- package/dist/cjs/storage/implementations/storage/with-namespace-storage-adapter.js.map +1 -0
- package/dist/cjs/storage/implementations/storage/with-validation-storage-adapter.js +48 -0
- package/dist/cjs/storage/implementations/storage/with-validation-storage-adapter.js.map +1 -0
- package/dist/cjs/utilities/_module.js +4 -0
- package/dist/cjs/utilities/_module.js.map +1 -1
- package/dist/cjs/utilities/async/_module.js +24 -0
- package/dist/cjs/utilities/async/_module.js.map +1 -0
- package/dist/cjs/utilities/async/_shared.js.map +1 -0
- package/dist/cjs/utilities/async/abortable/_module.js +18 -0
- package/dist/cjs/utilities/async/abortable/_module.js.map +1 -0
- package/dist/cjs/utilities/async/abortable/abortable.js +48 -0
- package/dist/cjs/utilities/async/abortable/abortable.js.map +1 -0
- package/dist/cjs/utilities/async/backof-policies/_module.js +21 -0
- package/dist/cjs/utilities/async/backof-policies/_module.js.map +1 -0
- package/dist/cjs/utilities/async/backof-policies/_shared.js.map +1 -0
- package/dist/cjs/utilities/async/backof-policies/constant-backoff-policy/_module.js +18 -0
- package/dist/cjs/utilities/async/backof-policies/constant-backoff-policy/_module.js.map +1 -0
- package/dist/cjs/utilities/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js +19 -0
- package/dist/cjs/utilities/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +1 -0
- package/dist/cjs/utilities/async/backof-policies/exponential-backoff-policy/_module.js +18 -0
- package/dist/cjs/utilities/async/backof-policies/exponential-backoff-policy/_module.js.map +1 -0
- package/dist/cjs/utilities/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +23 -0
- package/dist/cjs/utilities/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +1 -0
- package/dist/cjs/utilities/async/backof-policies/linear-backoff-policy/_module.js +18 -0
- package/dist/cjs/utilities/async/backof-policies/linear-backoff-policy/_module.js.map +1 -0
- package/dist/cjs/utilities/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js +23 -0
- package/dist/cjs/utilities/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +1 -0
- package/dist/cjs/utilities/async/backof-policies/polynomial-backoff-policy/_module.js +18 -0
- package/dist/cjs/utilities/async/backof-policies/polynomial-backoff-policy/_module.js.map +1 -0
- package/dist/cjs/utilities/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +23 -0
- package/dist/cjs/utilities/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +1 -0
- package/dist/cjs/utilities/async/delay/_module.js +18 -0
- package/dist/cjs/utilities/async/delay/_module.js.map +1 -0
- package/dist/cjs/utilities/async/delay/delay.js +24 -0
- package/dist/cjs/utilities/async/delay/delay.js.map +1 -0
- package/dist/cjs/utilities/async/lazy-promise/_module.js +18 -0
- package/dist/cjs/utilities/async/lazy-promise/_module.js.map +1 -0
- package/dist/cjs/utilities/async/lazy-promise/lazy-promise.js.map +1 -0
- package/dist/cjs/utilities/async/retry/_module.js +18 -0
- package/dist/cjs/utilities/async/retry/_module.js.map +1 -0
- package/dist/cjs/utilities/async/retry/retry.js +43 -0
- package/dist/cjs/utilities/async/retry/retry.js.map +1 -0
- package/dist/cjs/utilities/async/timeout/_module.js +18 -0
- package/dist/cjs/utilities/async/timeout/_module.js.map +1 -0
- package/dist/cjs/utilities/async/timeout/timeout.js +28 -0
- package/dist/cjs/utilities/async/timeout/timeout.js.map +1 -0
- package/dist/cjs/utilities/async-iterable/_module.js +23 -0
- package/dist/cjs/utilities/async-iterable/_module.js.map +1 -0
- package/dist/cjs/utilities/async-iterable/abortable-iterable/_module.js +18 -0
- package/dist/cjs/utilities/async-iterable/abortable-iterable/_module.js.map +1 -0
- package/dist/cjs/utilities/async-iterable/abortable-iterable/abortable-iterable.js +32 -0
- package/dist/cjs/utilities/async-iterable/abortable-iterable/abortable-iterable.js.map +1 -0
- package/dist/cjs/utilities/async-iterable/delay-iterable/_module.js +18 -0
- package/dist/cjs/utilities/async-iterable/delay-iterable/_module.js.map +1 -0
- package/dist/cjs/utilities/async-iterable/delay-iterable/delay-iterable.js +36 -0
- package/dist/cjs/utilities/async-iterable/delay-iterable/delay-iterable.js.map +1 -0
- package/dist/cjs/utilities/async-iterable/retry-iterable/_module.js +18 -0
- package/dist/cjs/utilities/async-iterable/retry-iterable/_module.js.map +1 -0
- package/dist/cjs/utilities/async-iterable/retry-iterable/retry-iterable.js +32 -0
- package/dist/cjs/utilities/async-iterable/retry-iterable/retry-iterable.js.map +1 -0
- package/dist/cjs/utilities/async-iterable/timeout-iterable/_module.js +18 -0
- package/dist/cjs/utilities/async-iterable/timeout-iterable/_module.js.map +1 -0
- package/dist/cjs/utilities/async-iterable/timeout-iterable/timeout-iterable.js +11 -0
- package/dist/cjs/utilities/async-iterable/timeout-iterable/timeout-iterable.js.map +1 -0
- package/dist/cjs/utilities/time-span/time-span.js +2 -2
- package/dist/cjs/utilities/time-span/time-span.js.map +1 -1
- package/dist/cjs/utilities/validation/_module.js +22 -0
- package/dist/cjs/utilities/validation/_module.js.map +1 -0
- package/dist/esm/_module.js +6 -5
- package/dist/esm/_module.js.map +1 -1
- package/dist/esm/collection/contracts/_module.js +4 -0
- package/dist/esm/collection/contracts/_module.js.map +1 -0
- package/dist/esm/collection/contracts/_shared.js.map +1 -0
- package/dist/esm/collection/contracts/async-collection.contract.js.map +1 -0
- package/dist/esm/collection/contracts/collection.contract.js.map +1 -0
- package/dist/esm/collection/implementations/_module.js +5 -0
- package/dist/esm/collection/implementations/_module.js.map +1 -0
- package/dist/esm/collection/implementations/_shared.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_module.js +2 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_module.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/_module.js +34 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/_module.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-chunk-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.js +18 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-count-by-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.js +31 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-entries-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-error-handler-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-filter-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-flat-map-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-group-by-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-insert-after-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-insert-before-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-map-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-pad-end-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-pad-start-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-partion-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-repeat-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-reverse-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-shuffle-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-skip-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-skip-until-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-slice-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-sliding-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-sort-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-split-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-take-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-take-until-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-tap-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-unique-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-update-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-when-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.js +33 -0
- package/dist/esm/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/async-iterable-collection/async-iterable-collection.js +543 -0
- package/dist/esm/collection/implementations/async-iterable-collection/async-iterable-collection.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_module.js +2 -0
- package/dist/esm/collection/implementations/iterable-collection/_module.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/_module.js +33 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/_module.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/chunk-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/chunk-while-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/collapse-iterable.js +18 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/collapse-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/count-by-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/cross-join-iterable.js +33 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/cross-join-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/entries-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/filter-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/flat-map-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/group-by-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/insert-after-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/insert-before-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/map-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/merge-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/pad-end-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/pad-start-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/partion-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/repeat-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/reverse-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/shuffle-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/skip-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/skip-until-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/slice-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/sliding-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/sort-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/split-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/take-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/take-until-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/tap-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/unique-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/update-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/when-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/_shared/zip-iterable.js.map +1 -0
- package/dist/esm/collection/implementations/iterable-collection/iterable-collection.js +489 -0
- package/dist/esm/collection/implementations/iterable-collection/iterable-collection.js.map +1 -0
- package/dist/esm/collection/implementations/list-collection/_module.js +2 -0
- package/dist/esm/collection/implementations/list-collection/_module.js.map +1 -0
- package/dist/esm/collection/implementations/list-collection/list-collection.js +623 -0
- package/dist/esm/collection/implementations/list-collection/list-collection.js.map +1 -0
- package/dist/esm/serializer/_module.js +5 -5
- package/dist/esm/serializer/_module.js.map +1 -1
- package/dist/esm/serializer/contracts/_module.js +2 -0
- package/dist/esm/serializer/contracts/_module.js.map +1 -0
- package/dist/esm/serializer/contracts/serializer.contract.js.map +1 -0
- package/dist/esm/serializer/implementations/_module.js +6 -0
- package/dist/esm/serializer/implementations/_module.js.map +1 -0
- package/dist/esm/serializer/implementations/_shared/test-utilities/_module.js +2 -0
- package/dist/esm/serializer/implementations/_shared/test-utilities/_module.js.map +1 -0
- package/dist/esm/serializer/implementations/_shared/test-utilities/serializer.test-suite.js.map +1 -0
- package/dist/esm/serializer/implementations/mongodb-serializer/_module.js +2 -0
- package/dist/esm/serializer/implementations/mongodb-serializer/_module.js.map +1 -0
- package/dist/esm/serializer/implementations/mongodb-serializer/mongodb-serializer.js +32 -0
- package/dist/esm/serializer/implementations/mongodb-serializer/mongodb-serializer.js.map +1 -0
- package/dist/esm/serializer/implementations/redis-serializer/_module.js +2 -0
- package/dist/esm/serializer/implementations/redis-serializer/_module.js.map +1 -0
- package/dist/esm/serializer/implementations/redis-serializer/redis-serializer.js +33 -0
- package/dist/esm/serializer/implementations/redis-serializer/redis-serializer.js.map +1 -0
- package/dist/esm/serializer/implementations/sql-serializer/_module.js +2 -0
- package/dist/esm/serializer/implementations/sql-serializer/_module.js.map +1 -0
- package/dist/esm/serializer/implementations/sql-serializer/sql-serializer.js +33 -0
- package/dist/esm/serializer/implementations/sql-serializer/sql-serializer.js.map +1 -0
- package/dist/esm/serializer/implementations/super-json-serializer/_module.js +2 -0
- package/dist/esm/serializer/implementations/super-json-serializer/_module.js.map +1 -0
- package/dist/esm/serializer/implementations/super-json-serializer/super-json-serializer.js +277 -0
- package/dist/esm/serializer/implementations/super-json-serializer/super-json-serializer.js.map +1 -0
- package/dist/esm/storage/contracts/_module.js +4 -0
- package/dist/esm/storage/contracts/_module.js.map +1 -0
- package/dist/esm/storage/contracts/_shared.js.map +1 -0
- package/dist/esm/storage/contracts/storage-adapter.contract.js.map +1 -0
- package/dist/esm/storage/contracts/storage.contract.js.map +1 -0
- package/dist/esm/storage/implementations/_module.js +7 -0
- package/dist/esm/storage/implementations/_module.js.map +1 -0
- package/dist/esm/storage/implementations/_shared/test-utilities/_module.js +2 -0
- package/dist/esm/storage/implementations/_shared/test-utilities/_module.js.map +1 -0
- package/dist/esm/storage/implementations/_shared/test-utilities/storage-adapter-api.test-suite.js +297 -0
- package/dist/esm/storage/implementations/_shared/test-utilities/storage-adapter-api.test-suite.js.map +1 -0
- package/dist/esm/storage/implementations/_shared/test-utilities/storage-adapter-value.test-suite.js +1205 -0
- package/dist/esm/storage/implementations/_shared/test-utilities/storage-adapter-value.test-suite.js.map +1 -0
- package/dist/esm/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.js +7 -0
- package/dist/esm/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.js.map +1 -0
- package/dist/esm/storage/implementations/memory-storage-adapter/_module.js +2 -0
- package/dist/esm/storage/implementations/memory-storage-adapter/_module.js.map +1 -0
- package/dist/esm/storage/implementations/memory-storage-adapter/memory-storage-adapter.js +81 -0
- package/dist/esm/storage/implementations/memory-storage-adapter/memory-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/mongodb-storage-adapter/_module.js +2 -0
- package/dist/esm/storage/implementations/mongodb-storage-adapter/_module.js.map +1 -0
- package/dist/esm/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.js +196 -0
- package/dist/esm/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/redis-storage-adapter/_module.js +2 -0
- package/dist/esm/storage/implementations/redis-storage-adapter/_module.js.map +1 -0
- package/dist/esm/storage/implementations/redis-storage-adapter/redis-storage-adapter.js +224 -0
- package/dist/esm/storage/implementations/redis-storage-adapter/redis-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/sqlite/_module.js +3 -0
- package/dist/esm/storage/implementations/sqlite/_module.js.map +1 -0
- package/dist/esm/storage/implementations/sqlite/_shared/_module.js +2 -0
- package/dist/esm/storage/implementations/sqlite/_shared/_module.js.map +1 -0
- package/dist/esm/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.js +186 -0
- package/dist/esm/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/sqlite/libsql-storage-adapter/_module.js +2 -0
- package/dist/esm/storage/implementations/sqlite/libsql-storage-adapter/_module.js.map +1 -0
- package/dist/esm/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.js +49 -0
- package/dist/esm/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/sqlite/sqlite-storage-adapter/_module.js +2 -0
- package/dist/esm/storage/implementations/sqlite/sqlite-storage-adapter/_module.js.map +1 -0
- package/dist/esm/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js +48 -0
- package/dist/esm/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/storage/_module.js +2 -0
- package/dist/esm/storage/implementations/storage/_module.js.map +1 -0
- package/dist/esm/storage/implementations/storage/storage.js +215 -0
- package/dist/esm/storage/implementations/storage/storage.js.map +1 -0
- package/dist/esm/storage/implementations/storage/with-namespace-storage-adapter.js +52 -0
- package/dist/esm/storage/implementations/storage/with-namespace-storage-adapter.js.map +1 -0
- package/dist/esm/storage/implementations/storage/with-validation-storage-adapter.js +44 -0
- package/dist/esm/storage/implementations/storage/with-validation-storage-adapter.js.map +1 -0
- package/dist/esm/utilities/_module.js +4 -0
- package/dist/esm/utilities/_module.js.map +1 -1
- package/dist/esm/utilities/async/_module.js +8 -0
- package/dist/esm/utilities/async/_module.js.map +1 -0
- package/dist/esm/utilities/async/_shared.js.map +1 -0
- package/dist/esm/utilities/async/abortable/_module.js +2 -0
- package/dist/esm/utilities/async/abortable/_module.js.map +1 -0
- package/dist/esm/utilities/async/abortable/abortable.js +45 -0
- package/dist/esm/utilities/async/abortable/abortable.js.map +1 -0
- package/dist/esm/utilities/async/backof-policies/_module.js +5 -0
- package/dist/esm/utilities/async/backof-policies/_module.js.map +1 -0
- package/dist/esm/utilities/async/backof-policies/_shared.js.map +1 -0
- package/dist/esm/utilities/async/backof-policies/constant-backoff-policy/_module.js +2 -0
- package/dist/esm/utilities/async/backof-policies/constant-backoff-policy/_module.js.map +1 -0
- package/dist/esm/utilities/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js +16 -0
- package/dist/esm/utilities/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +1 -0
- package/dist/esm/utilities/async/backof-policies/exponential-backoff-policy/_module.js +2 -0
- package/dist/esm/utilities/async/backof-policies/exponential-backoff-policy/_module.js.map +1 -0
- package/dist/esm/utilities/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +20 -0
- package/dist/esm/utilities/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +1 -0
- package/dist/esm/utilities/async/backof-policies/linear-backoff-policy/_module.js +2 -0
- package/dist/esm/utilities/async/backof-policies/linear-backoff-policy/_module.js.map +1 -0
- package/dist/esm/utilities/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js +20 -0
- package/dist/esm/utilities/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +1 -0
- package/dist/esm/utilities/async/backof-policies/polynomial-backoff-policy/_module.js +2 -0
- package/dist/esm/utilities/async/backof-policies/polynomial-backoff-policy/_module.js.map +1 -0
- package/dist/esm/utilities/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +20 -0
- package/dist/esm/utilities/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +1 -0
- package/dist/esm/utilities/async/delay/_module.js +2 -0
- package/dist/esm/utilities/async/delay/_module.js.map +1 -0
- package/dist/esm/utilities/async/delay/delay.js +21 -0
- package/dist/esm/utilities/async/delay/delay.js.map +1 -0
- package/dist/esm/utilities/async/lazy-promise/_module.js +2 -0
- package/dist/esm/utilities/async/lazy-promise/_module.js.map +1 -0
- package/dist/esm/utilities/async/lazy-promise/lazy-promise.js.map +1 -0
- package/dist/esm/utilities/async/retry/_module.js +2 -0
- package/dist/esm/utilities/async/retry/_module.js.map +1 -0
- package/dist/esm/utilities/async/retry/retry.js +40 -0
- package/dist/esm/utilities/async/retry/retry.js.map +1 -0
- package/dist/esm/utilities/async/timeout/_module.js +2 -0
- package/dist/esm/utilities/async/timeout/_module.js.map +1 -0
- package/dist/esm/utilities/async/timeout/timeout.js +25 -0
- package/dist/esm/utilities/async/timeout/timeout.js.map +1 -0
- package/dist/esm/utilities/async-iterable/_module.js +5 -0
- package/dist/esm/utilities/async-iterable/_module.js.map +1 -0
- package/dist/esm/utilities/async-iterable/abortable-iterable/_module.js +2 -0
- package/dist/esm/utilities/async-iterable/abortable-iterable/_module.js.map +1 -0
- package/dist/esm/utilities/async-iterable/abortable-iterable/abortable-iterable.js +29 -0
- package/dist/esm/utilities/async-iterable/abortable-iterable/abortable-iterable.js.map +1 -0
- package/dist/esm/utilities/async-iterable/delay-iterable/_module.js +2 -0
- package/dist/esm/utilities/async-iterable/delay-iterable/_module.js.map +1 -0
- package/dist/esm/utilities/async-iterable/delay-iterable/delay-iterable.js +33 -0
- package/dist/esm/utilities/async-iterable/delay-iterable/delay-iterable.js.map +1 -0
- package/dist/esm/utilities/async-iterable/retry-iterable/_module.js +2 -0
- package/dist/esm/utilities/async-iterable/retry-iterable/_module.js.map +1 -0
- package/dist/esm/utilities/async-iterable/retry-iterable/retry-iterable.js +29 -0
- package/dist/esm/utilities/async-iterable/retry-iterable/retry-iterable.js.map +1 -0
- package/dist/esm/utilities/async-iterable/timeout-iterable/_module.js +2 -0
- package/dist/esm/utilities/async-iterable/timeout-iterable/_module.js.map +1 -0
- package/dist/esm/utilities/async-iterable/timeout-iterable/timeout-iterable.js +8 -0
- package/dist/esm/utilities/async-iterable/timeout-iterable/timeout-iterable.js.map +1 -0
- package/dist/esm/utilities/time-span/time-span.js +2 -2
- package/dist/esm/utilities/time-span/time-span.js.map +1 -1
- package/dist/esm/utilities/validation/_module.js +17 -0
- package/dist/esm/utilities/validation/_module.js.map +1 -0
- package/dist/types/_module.d.ts +6 -5
- package/dist/types/collection/contracts/_module.d.ts +3 -0
- package/dist/types/collection/contracts/async-collection.contract.d.ts +1309 -0
- package/dist/types/collection/contracts/collection.contract.d.ts +1269 -0
- package/dist/types/collection/implementations/_module.d.ts +4 -0
- package/dist/types/collection/implementations/async-iterable-collection/_module.d.ts +1 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/_module.d.ts +33 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-chunk-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-chunk-while-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.d.ts +9 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-count-by-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-entries-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-filter-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-flat-map-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-group-by-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-insert-after-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-insert-before-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-map-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-pad-end-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-pad-start-iterable.d.ts +13 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-partion-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-repeat-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-reverse-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-shuffle-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-skip-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-skip-until-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-slice-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-sliding-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-sort-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-split-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-take-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-take-until-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-tap-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-unique-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-update-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-when-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/async-iterable-collection/async-iterable-collection.d.ts +105 -0
- package/dist/types/collection/implementations/iterable-collection/_module.d.ts +1 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/_module.d.ts +32 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/chunk-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/chunk-while-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/collapse-iterable.d.ts +9 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/count-by-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/cross-join-iterable.d.ts +8 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/entries-iterable.d.ts +9 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/filter-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/flat-map-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/group-by-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/insert-after-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/insert-before-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/map-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/pad-end-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/pad-start-iterable.d.ts +12 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/partion-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/repeat-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/reverse-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/skip-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/skip-until-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/slice-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/sliding-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/sort-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/split-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/take-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/take-until-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/tap-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/unique-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/update-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/when-iterable.d.ts +11 -0
- package/dist/types/collection/implementations/iterable-collection/_shared/zip-iterable.d.ts +10 -0
- package/dist/types/collection/implementations/iterable-collection/iterable-collection.d.ts +100 -0
- package/dist/types/collection/implementations/list-collection/_module.d.ts +1 -0
- package/dist/types/collection/implementations/list-collection/list-collection.d.ts +97 -0
- package/dist/types/serializer/_module.d.ts +5 -5
- package/dist/types/serializer/contracts/_module.d.ts +1 -0
- package/dist/types/serializer/implementations/_module.d.ts +5 -0
- package/dist/types/serializer/implementations/_shared/test-utilities/_module.d.ts +1 -0
- package/dist/types/serializer/implementations/_shared/test-utilities/serializer.test-suite.d.ts +18 -0
- package/dist/types/serializer/implementations/mongodb-serializer/_module.d.ts +1 -0
- package/dist/types/serializer/implementations/mongodb-serializer/mongodb-serializer.d.ts +13 -0
- package/dist/types/serializer/implementations/redis-serializer/_module.d.ts +1 -0
- package/dist/types/serializer/implementations/redis-serializer/redis-serializer.d.ts +13 -0
- package/dist/types/serializer/implementations/sql-serializer/_module.d.ts +1 -0
- package/dist/types/serializer/implementations/sql-serializer/sql-serializer.d.ts +13 -0
- package/dist/types/serializer/implementations/super-json-serializer/_module.d.ts +1 -0
- package/dist/types/serializer/implementations/super-json-serializer/super-json-serializer.d.ts +37 -0
- package/dist/types/storage/contracts/_module.d.ts +3 -0
- package/dist/types/storage/contracts/storage-adapter.contract.d.ts +53 -0
- package/dist/types/storage/contracts/storage.contract.d.ts +151 -0
- package/dist/types/storage/implementations/_module.d.ts +6 -0
- package/dist/types/storage/implementations/_shared/test-utilities/_module.d.ts +1 -0
- package/dist/types/storage/implementations/_shared/test-utilities/storage-adapter-api.test-suite.d.ts +20 -0
- package/dist/types/storage/implementations/_shared/test-utilities/storage-adapter-value.test-suite.d.ts +20 -0
- package/dist/types/storage/implementations/_shared/test-utilities/storage-adapter.test-suite.d.ts +20 -0
- package/dist/types/storage/implementations/memory-storage-adapter/_module.d.ts +1 -0
- package/dist/types/storage/implementations/memory-storage-adapter/memory-storage-adapter.d.ts +18 -0
- package/dist/types/storage/implementations/mongodb-storage-adapter/_module.d.ts +1 -0
- package/dist/types/storage/implementations/mongodb-storage-adapter/mongodb-storage-adapter.d.ts +43 -0
- package/dist/types/storage/implementations/redis-storage-adapter/_module.d.ts +1 -0
- package/dist/types/storage/implementations/redis-storage-adapter/redis-storage-adapter.d.ts +38 -0
- package/dist/types/storage/implementations/sqlite/_module.d.ts +2 -0
- package/dist/types/storage/implementations/sqlite/_shared/_module.d.ts +1 -0
- package/dist/types/storage/implementations/sqlite/_shared/base-sqlite-storage-adapter.d.ts +39 -0
- package/dist/types/storage/implementations/sqlite/libsql-storage-adapter/_module.d.ts +1 -0
- package/dist/types/storage/implementations/sqlite/libsql-storage-adapter/libsql-storage-adapter.d.ts +30 -0
- package/dist/types/storage/implementations/sqlite/sqlite-storage-adapter/_module.d.ts +1 -0
- package/dist/types/storage/implementations/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.d.ts +30 -0
- package/dist/types/storage/implementations/storage/_module.d.ts +1 -0
- package/dist/types/storage/implementations/storage/storage.d.ts +41 -0
- package/dist/types/storage/implementations/storage/with-namespace-storage-adapter.d.ts +25 -0
- package/dist/types/storage/implementations/storage/with-validation-storage-adapter.d.ts +19 -0
- package/dist/types/utilities/_module.d.ts +4 -0
- package/dist/types/utilities/async/_module.d.ts +7 -0
- package/dist/types/utilities/async/abortable/_module.d.ts +1 -0
- package/dist/types/utilities/async/abortable/abortable.d.ts +39 -0
- package/dist/types/utilities/async/backof-policies/_module.d.ts +5 -0
- package/dist/types/utilities/async/backof-policies/constant-backoff-policy/_module.d.ts +1 -0
- package/dist/types/utilities/async/backof-policies/constant-backoff-policy/constant-backoff-policy.d.ts +28 -0
- package/dist/types/utilities/async/backof-policies/exponential-backoff-policy/_module.d.ts +1 -0
- package/dist/types/utilities/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.d.ts +36 -0
- package/dist/types/utilities/async/backof-policies/linear-backoff-policy/_module.d.ts +1 -0
- package/dist/types/utilities/async/backof-policies/linear-backoff-policy/linear-backoff-policy.d.ts +32 -0
- package/dist/types/utilities/async/backof-policies/polynomial-backoff-policy/_module.d.ts +1 -0
- package/dist/types/utilities/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.d.ts +36 -0
- package/dist/types/utilities/async/delay/_module.d.ts +1 -0
- package/dist/types/utilities/async/delay/delay.d.ts +38 -0
- package/dist/types/utilities/async/lazy-promise/_module.d.ts +1 -0
- package/dist/types/utilities/async/retry/_module.d.ts +1 -0
- package/dist/types/utilities/async/retry/retry.d.ts +86 -0
- package/dist/types/utilities/async/timeout/_module.d.ts +1 -0
- package/dist/types/utilities/async/timeout/timeout.d.ts +40 -0
- package/dist/types/utilities/async-iterable/_module.d.ts +4 -0
- package/dist/types/utilities/async-iterable/abortable-iterable/_module.d.ts +1 -0
- package/dist/types/utilities/async-iterable/delay-iterable/_module.d.ts +1 -0
- package/dist/types/utilities/async-iterable/delay-iterable/delay-iterable.d.ts +57 -0
- package/dist/types/utilities/async-iterable/retry-iterable/_module.d.ts +1 -0
- package/dist/types/utilities/async-iterable/retry-iterable/retry-iterable.d.ts +86 -0
- package/dist/types/utilities/async-iterable/timeout-iterable/_module.d.ts +1 -0
- package/dist/types/utilities/async-iterable/timeout-iterable/timeout-iterable.d.ts +64 -0
- package/dist/types/utilities/time-span/time-span.d.ts +3 -3
- package/dist/types/utilities/validation/_module.d.ts +12 -0
- package/package.json +10 -6
- package/dist/cjs/async/_module.js +0 -30
- package/dist/cjs/async/_module.js.map +0 -1
- package/dist/cjs/async/_shared.js.map +0 -1
- package/dist/cjs/async/abortable/_module.js +0 -18
- package/dist/cjs/async/abortable/_module.js.map +0 -1
- package/dist/cjs/async/abortable/abortable.js +0 -48
- package/dist/cjs/async/abortable/abortable.js.map +0 -1
- package/dist/cjs/async/abortable-iterable/_module.js +0 -18
- package/dist/cjs/async/abortable-iterable/_module.js.map +0 -1
- package/dist/cjs/async/abortable-iterable/abortable-iterable.js +0 -32
- package/dist/cjs/async/abortable-iterable/abortable-iterable.js.map +0 -1
- package/dist/cjs/async/backof-policies/_module.js +0 -21
- package/dist/cjs/async/backof-policies/_module.js.map +0 -1
- package/dist/cjs/async/backof-policies/_shared.js.map +0 -1
- package/dist/cjs/async/backof-policies/constant-backoff-policy/_module.js +0 -18
- package/dist/cjs/async/backof-policies/constant-backoff-policy/_module.js.map +0 -1
- package/dist/cjs/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js +0 -19
- package/dist/cjs/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +0 -1
- package/dist/cjs/async/backof-policies/exponential-backoff-policy/_module.js +0 -18
- package/dist/cjs/async/backof-policies/exponential-backoff-policy/_module.js.map +0 -1
- package/dist/cjs/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +0 -23
- package/dist/cjs/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +0 -1
- package/dist/cjs/async/backof-policies/linear-backoff-policy/_module.js +0 -18
- package/dist/cjs/async/backof-policies/linear-backoff-policy/_module.js.map +0 -1
- package/dist/cjs/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js +0 -23
- package/dist/cjs/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +0 -1
- package/dist/cjs/async/backof-policies/polynomial-backoff-policy/_module.js +0 -18
- package/dist/cjs/async/backof-policies/polynomial-backoff-policy/_module.js.map +0 -1
- package/dist/cjs/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +0 -23
- package/dist/cjs/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +0 -1
- package/dist/cjs/async/delay/_module.js +0 -18
- package/dist/cjs/async/delay/_module.js.map +0 -1
- package/dist/cjs/async/delay/delay.js +0 -24
- package/dist/cjs/async/delay/delay.js.map +0 -1
- package/dist/cjs/async/delay-iterable/_module.js +0 -18
- package/dist/cjs/async/delay-iterable/_module.js.map +0 -1
- package/dist/cjs/async/delay-iterable/delay-iterable.js +0 -36
- package/dist/cjs/async/delay-iterable/delay-iterable.js.map +0 -1
- package/dist/cjs/async/lazy-promise/_module.js +0 -18
- package/dist/cjs/async/lazy-promise/_module.js.map +0 -1
- package/dist/cjs/async/lazy-promise/lazy-promise.js.map +0 -1
- package/dist/cjs/async/retry/_module.js +0 -18
- package/dist/cjs/async/retry/_module.js.map +0 -1
- package/dist/cjs/async/retry/retry.js +0 -43
- package/dist/cjs/async/retry/retry.js.map +0 -1
- package/dist/cjs/async/retry-iterable/_module.js +0 -18
- package/dist/cjs/async/retry-iterable/_module.js.map +0 -1
- package/dist/cjs/async/retry-iterable/retry-iterable.js +0 -32
- package/dist/cjs/async/retry-iterable/retry-iterable.js.map +0 -1
- package/dist/cjs/async/timeout/_module.js +0 -18
- package/dist/cjs/async/timeout/_module.js.map +0 -1
- package/dist/cjs/async/timeout/timeout.js +0 -28
- package/dist/cjs/async/timeout/timeout.js.map +0 -1
- package/dist/cjs/async/timeout-iterable/_module.js +0 -18
- package/dist/cjs/async/timeout-iterable/_module.js.map +0 -1
- package/dist/cjs/async/timeout-iterable/timeout-iterable.js +0 -11
- package/dist/cjs/async/timeout-iterable/timeout-iterable.js.map +0 -1
- package/dist/cjs/collection/_module.js +0 -21
- package/dist/cjs/collection/_module.js.map +0 -1
- package/dist/cjs/collection/_shared.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_module.js +0 -18
- package/dist/cjs/collection/async-iterable-collection/_module.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/_module.js +0 -50
- package/dist/cjs/collection/async-iterable-collection/_shared/_module.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-chunk-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-collapse-iterable.js +0 -22
- package/dist/cjs/collection/async-iterable-collection/_shared/async-collapse-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-count-by-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-cross-join-iterable.js +0 -35
- package/dist/cjs/collection/async-iterable-collection/_shared/async-cross-join-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-entries-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-error-handler-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-filter-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-flat-map-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-group-by-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-insert-after-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-insert-before-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-map-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-merge-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-pad-end-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-pad-start-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-partion-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-repeat-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-reverse-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-shuffle-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-skip-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-skip-until-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-slice-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-sliding-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-sort-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-split-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-take-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-take-until-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-tap-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-unique-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-update-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-when-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/_shared/async-zip-iterable.js +0 -37
- package/dist/cjs/collection/async-iterable-collection/_shared/async-zip-iterable.js.map +0 -1
- package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js +0 -547
- package/dist/cjs/collection/async-iterable-collection/async-iterable-collection.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_module.js +0 -18
- package/dist/cjs/collection/iterable-collection/_module.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/_module.js +0 -49
- package/dist/cjs/collection/iterable-collection/_shared/_module.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/chunk-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/chunk-while-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/collapse-iterable.js +0 -22
- package/dist/cjs/collection/iterable-collection/_shared/collapse-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/count-by-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/cross-join-iterable.js +0 -37
- package/dist/cjs/collection/iterable-collection/_shared/cross-join-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/entries-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/filter-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/flat-map-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/group-by-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/insert-after-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/insert-before-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/map-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/merge-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/pad-end-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/pad-start-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/partion-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/repeat-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/reverse-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/shuffle-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/skip-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/skip-until-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/slice-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/sliding-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/sort-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/split-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/take-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/take-until-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/tap-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/unique-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/update-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/when-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/_shared/zip-iterable.js.map +0 -1
- package/dist/cjs/collection/iterable-collection/iterable-collection.js +0 -493
- package/dist/cjs/collection/iterable-collection/iterable-collection.js.map +0 -1
- package/dist/cjs/collection/list-collection/_module.js +0 -18
- package/dist/cjs/collection/list-collection/_module.js.map +0 -1
- package/dist/cjs/collection/list-collection/list-collection.js +0 -627
- package/dist/cjs/collection/list-collection/list-collection.js.map +0 -1
- package/dist/cjs/contracts/_module.js +0 -20
- package/dist/cjs/contracts/_module.js.map +0 -1
- package/dist/cjs/contracts/collection/_module.js +0 -20
- package/dist/cjs/contracts/collection/_module.js.map +0 -1
- package/dist/cjs/contracts/collection/_shared.js.map +0 -1
- package/dist/cjs/contracts/collection/async-collection.contract.js.map +0 -1
- package/dist/cjs/contracts/collection/collection.contract.js.map +0 -1
- package/dist/cjs/contracts/serializer/_module.js +0 -18
- package/dist/cjs/contracts/serializer/_module.js.map +0 -1
- package/dist/cjs/contracts/serializer/serializer.contract.js.map +0 -1
- package/dist/cjs/contracts/storage/_module.js +0 -20
- package/dist/cjs/contracts/storage/_module.js.map +0 -1
- package/dist/cjs/contracts/storage/_shared.js.map +0 -1
- package/dist/cjs/contracts/storage/storage-adapter.contract.js.map +0 -1
- package/dist/cjs/contracts/storage/storage.contract.js.map +0 -1
- package/dist/cjs/serializer/_shared/test-utilities/_module.js +0 -18
- package/dist/cjs/serializer/_shared/test-utilities/_module.js.map +0 -1
- package/dist/cjs/serializer/_shared/test-utilities/serializer.test-suite.js.map +0 -1
- package/dist/cjs/serializer/mongodb-serializer/_module.js +0 -18
- package/dist/cjs/serializer/mongodb-serializer/_module.js.map +0 -1
- package/dist/cjs/serializer/mongodb-serializer/mongodb-serializer.js +0 -36
- package/dist/cjs/serializer/mongodb-serializer/mongodb-serializer.js.map +0 -1
- package/dist/cjs/serializer/redis-serializer/_module.js +0 -18
- package/dist/cjs/serializer/redis-serializer/_module.js.map +0 -1
- package/dist/cjs/serializer/redis-serializer/redis-serializer.js +0 -37
- package/dist/cjs/serializer/redis-serializer/redis-serializer.js.map +0 -1
- package/dist/cjs/serializer/sql-serializer/_module.js +0 -18
- package/dist/cjs/serializer/sql-serializer/_module.js.map +0 -1
- package/dist/cjs/serializer/sql-serializer/sql-serializer.js +0 -37
- package/dist/cjs/serializer/sql-serializer/sql-serializer.js.map +0 -1
- package/dist/cjs/serializer/super-json-serializer/_module.js +0 -18
- package/dist/cjs/serializer/super-json-serializer/_module.js.map +0 -1
- package/dist/cjs/serializer/super-json-serializer/super-json-serializer.js +0 -304
- package/dist/cjs/serializer/super-json-serializer/super-json-serializer.js.map +0 -1
- package/dist/cjs/storage/_module.js +0 -23
- package/dist/cjs/storage/_module.js.map +0 -1
- package/dist/cjs/storage/_shared/test-utilities/_module.js +0 -18
- package/dist/cjs/storage/_shared/test-utilities/_module.js.map +0 -1
- package/dist/cjs/storage/_shared/test-utilities/storage-api.test-suite.js +0 -572
- package/dist/cjs/storage/_shared/test-utilities/storage-api.test-suite.js.map +0 -1
- package/dist/cjs/storage/_shared/test-utilities/storage-namespace.test-suite.js +0 -241
- package/dist/cjs/storage/_shared/test-utilities/storage-namespace.test-suite.js.map +0 -1
- package/dist/cjs/storage/_shared/test-utilities/storage-value.test-suite.js +0 -4172
- package/dist/cjs/storage/_shared/test-utilities/storage-value.test-suite.js.map +0 -1
- package/dist/cjs/storage/_shared/test-utilities/storage.test-suite.js +0 -12
- package/dist/cjs/storage/_shared/test-utilities/storage.test-suite.js.map +0 -1
- package/dist/cjs/storage/memory-storage-adapter/_module.js +0 -18
- package/dist/cjs/storage/memory-storage-adapter/_module.js.map +0 -1
- package/dist/cjs/storage/memory-storage-adapter/memory-storage-adapter.js +0 -85
- package/dist/cjs/storage/memory-storage-adapter/memory-storage-adapter.js.map +0 -1
- package/dist/cjs/storage/mongodb-storage-adapter/_module.js +0 -6
- package/dist/cjs/storage/mongodb-storage-adapter/_module.js.map +0 -1
- package/dist/cjs/storage/mongodb-storage-adapter/mongodb-storage-adapter.js +0 -203
- package/dist/cjs/storage/mongodb-storage-adapter/mongodb-storage-adapter.js.map +0 -1
- package/dist/cjs/storage/namespace-storage-adapter.js +0 -56
- package/dist/cjs/storage/namespace-storage-adapter.js.map +0 -1
- package/dist/cjs/storage/redis-storage-adapter/_module.js +0 -18
- package/dist/cjs/storage/redis-storage-adapter/_module.js.map +0 -1
- package/dist/cjs/storage/redis-storage-adapter/redis-storage-adapter.js +0 -228
- package/dist/cjs/storage/redis-storage-adapter/redis-storage-adapter.js.map +0 -1
- package/dist/cjs/storage/sqlite/_module.js +0 -19
- package/dist/cjs/storage/sqlite/_module.js.map +0 -1
- package/dist/cjs/storage/sqlite/_shared/_module.js +0 -18
- package/dist/cjs/storage/sqlite/_shared/_module.js.map +0 -1
- package/dist/cjs/storage/sqlite/_shared/base-sqlite-storage-adapter.js +0 -190
- package/dist/cjs/storage/sqlite/_shared/base-sqlite-storage-adapter.js.map +0 -1
- package/dist/cjs/storage/sqlite/libsql-storage-adapter/_module.js +0 -18
- package/dist/cjs/storage/sqlite/libsql-storage-adapter/_module.js.map +0 -1
- package/dist/cjs/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.js +0 -53
- package/dist/cjs/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.js.map +0 -1
- package/dist/cjs/storage/sqlite/sqlite-storage-adapter/_module.js +0 -18
- package/dist/cjs/storage/sqlite/sqlite-storage-adapter/_module.js.map +0 -1
- package/dist/cjs/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js +0 -52
- package/dist/cjs/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js.map +0 -1
- package/dist/cjs/storage/storage.js +0 -217
- package/dist/cjs/storage/storage.js.map +0 -1
- package/dist/esm/async/_module.js +0 -12
- package/dist/esm/async/_module.js.map +0 -1
- package/dist/esm/async/_shared.js.map +0 -1
- package/dist/esm/async/abortable/_module.js +0 -2
- package/dist/esm/async/abortable/_module.js.map +0 -1
- package/dist/esm/async/abortable/abortable.js +0 -45
- package/dist/esm/async/abortable/abortable.js.map +0 -1
- package/dist/esm/async/abortable-iterable/_module.js +0 -2
- package/dist/esm/async/abortable-iterable/_module.js.map +0 -1
- package/dist/esm/async/abortable-iterable/abortable-iterable.js +0 -29
- package/dist/esm/async/abortable-iterable/abortable-iterable.js.map +0 -1
- package/dist/esm/async/backof-policies/_module.js +0 -5
- package/dist/esm/async/backof-policies/_module.js.map +0 -1
- package/dist/esm/async/backof-policies/_shared.js.map +0 -1
- package/dist/esm/async/backof-policies/constant-backoff-policy/_module.js +0 -2
- package/dist/esm/async/backof-policies/constant-backoff-policy/_module.js.map +0 -1
- package/dist/esm/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js +0 -16
- package/dist/esm/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js.map +0 -1
- package/dist/esm/async/backof-policies/exponential-backoff-policy/_module.js +0 -2
- package/dist/esm/async/backof-policies/exponential-backoff-policy/_module.js.map +0 -1
- package/dist/esm/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +0 -20
- package/dist/esm/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +0 -1
- package/dist/esm/async/backof-policies/linear-backoff-policy/_module.js +0 -2
- package/dist/esm/async/backof-policies/linear-backoff-policy/_module.js.map +0 -1
- package/dist/esm/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js +0 -20
- package/dist/esm/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js.map +0 -1
- package/dist/esm/async/backof-policies/polynomial-backoff-policy/_module.js +0 -2
- package/dist/esm/async/backof-policies/polynomial-backoff-policy/_module.js.map +0 -1
- package/dist/esm/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +0 -20
- package/dist/esm/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +0 -1
- package/dist/esm/async/delay/_module.js +0 -2
- package/dist/esm/async/delay/_module.js.map +0 -1
- package/dist/esm/async/delay/delay.js +0 -21
- package/dist/esm/async/delay/delay.js.map +0 -1
- package/dist/esm/async/delay-iterable/_module.js +0 -2
- package/dist/esm/async/delay-iterable/_module.js.map +0 -1
- package/dist/esm/async/delay-iterable/delay-iterable.js +0 -33
- package/dist/esm/async/delay-iterable/delay-iterable.js.map +0 -1
- package/dist/esm/async/lazy-promise/_module.js +0 -2
- package/dist/esm/async/lazy-promise/_module.js.map +0 -1
- package/dist/esm/async/lazy-promise/lazy-promise.js.map +0 -1
- package/dist/esm/async/retry/_module.js +0 -2
- package/dist/esm/async/retry/_module.js.map +0 -1
- package/dist/esm/async/retry/retry.js +0 -40
- package/dist/esm/async/retry/retry.js.map +0 -1
- package/dist/esm/async/retry-iterable/_module.js +0 -2
- package/dist/esm/async/retry-iterable/_module.js.map +0 -1
- package/dist/esm/async/retry-iterable/retry-iterable.js +0 -29
- package/dist/esm/async/retry-iterable/retry-iterable.js.map +0 -1
- package/dist/esm/async/timeout/_module.js +0 -2
- package/dist/esm/async/timeout/_module.js.map +0 -1
- package/dist/esm/async/timeout/timeout.js +0 -25
- package/dist/esm/async/timeout/timeout.js.map +0 -1
- package/dist/esm/async/timeout-iterable/_module.js +0 -2
- package/dist/esm/async/timeout-iterable/_module.js.map +0 -1
- package/dist/esm/async/timeout-iterable/timeout-iterable.js +0 -8
- package/dist/esm/async/timeout-iterable/timeout-iterable.js.map +0 -1
- package/dist/esm/collection/_module.js +0 -5
- package/dist/esm/collection/_module.js.map +0 -1
- package/dist/esm/collection/_shared.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_module.js +0 -2
- package/dist/esm/collection/async-iterable-collection/_module.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/_module.js +0 -34
- package/dist/esm/collection/async-iterable-collection/_shared/_module.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-collapse-iterable.js +0 -18
- package/dist/esm/collection/async-iterable-collection/_shared/async-collapse-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-count-by-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-cross-join-iterable.js +0 -31
- package/dist/esm/collection/async-iterable-collection/_shared/async-cross-join-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-entries-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-error-handler-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-filter-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-flat-map-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-group-by-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-insert-after-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-insert-before-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-map-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-merge-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-pad-end-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-pad-start-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-partion-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-repeat-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-reverse-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-shuffle-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-skip-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-skip-until-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-slice-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-sliding-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-sort-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-split-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-take-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-take-until-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-tap-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-unique-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-update-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-when-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/_shared/async-zip-iterable.js +0 -33
- package/dist/esm/collection/async-iterable-collection/_shared/async-zip-iterable.js.map +0 -1
- package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js +0 -543
- package/dist/esm/collection/async-iterable-collection/async-iterable-collection.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_module.js +0 -2
- package/dist/esm/collection/iterable-collection/_module.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/_module.js +0 -33
- package/dist/esm/collection/iterable-collection/_shared/_module.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/chunk-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/chunk-while-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/collapse-iterable.js +0 -18
- package/dist/esm/collection/iterable-collection/_shared/collapse-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/count-by-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/cross-join-iterable.js +0 -33
- package/dist/esm/collection/iterable-collection/_shared/cross-join-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/entries-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/filter-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/flat-map-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/group-by-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/insert-after-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/insert-before-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/map-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/merge-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/pad-end-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/pad-start-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/partion-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/repeat-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/reverse-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/shuffle-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/skip-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/skip-until-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/slice-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/sliding-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/sort-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/split-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/take-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/take-until-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/tap-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/unique-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/update-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/when-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/_shared/zip-iterable.js.map +0 -1
- package/dist/esm/collection/iterable-collection/iterable-collection.js +0 -489
- package/dist/esm/collection/iterable-collection/iterable-collection.js.map +0 -1
- package/dist/esm/collection/list-collection/_module.js +0 -2
- package/dist/esm/collection/list-collection/_module.js.map +0 -1
- package/dist/esm/collection/list-collection/list-collection.js +0 -623
- package/dist/esm/collection/list-collection/list-collection.js.map +0 -1
- package/dist/esm/contracts/_module.js +0 -4
- package/dist/esm/contracts/_module.js.map +0 -1
- package/dist/esm/contracts/collection/_module.js +0 -4
- package/dist/esm/contracts/collection/_module.js.map +0 -1
- package/dist/esm/contracts/collection/_shared.js.map +0 -1
- package/dist/esm/contracts/collection/async-collection.contract.js.map +0 -1
- package/dist/esm/contracts/collection/collection.contract.js.map +0 -1
- package/dist/esm/contracts/serializer/_module.js +0 -2
- package/dist/esm/contracts/serializer/_module.js.map +0 -1
- package/dist/esm/contracts/serializer/serializer.contract.js.map +0 -1
- package/dist/esm/contracts/storage/_module.js +0 -4
- package/dist/esm/contracts/storage/_module.js.map +0 -1
- package/dist/esm/contracts/storage/_shared.js.map +0 -1
- package/dist/esm/contracts/storage/storage-adapter.contract.js.map +0 -1
- package/dist/esm/contracts/storage/storage.contract.js.map +0 -1
- package/dist/esm/serializer/_shared/test-utilities/_module.js +0 -2
- package/dist/esm/serializer/_shared/test-utilities/_module.js.map +0 -1
- package/dist/esm/serializer/_shared/test-utilities/serializer.test-suite.js.map +0 -1
- package/dist/esm/serializer/mongodb-serializer/_module.js +0 -2
- package/dist/esm/serializer/mongodb-serializer/_module.js.map +0 -1
- package/dist/esm/serializer/mongodb-serializer/mongodb-serializer.js +0 -32
- package/dist/esm/serializer/mongodb-serializer/mongodb-serializer.js.map +0 -1
- package/dist/esm/serializer/redis-serializer/_module.js +0 -2
- package/dist/esm/serializer/redis-serializer/_module.js.map +0 -1
- package/dist/esm/serializer/redis-serializer/redis-serializer.js +0 -33
- package/dist/esm/serializer/redis-serializer/redis-serializer.js.map +0 -1
- package/dist/esm/serializer/sql-serializer/_module.js +0 -2
- package/dist/esm/serializer/sql-serializer/_module.js.map +0 -1
- package/dist/esm/serializer/sql-serializer/sql-serializer.js +0 -33
- package/dist/esm/serializer/sql-serializer/sql-serializer.js.map +0 -1
- package/dist/esm/serializer/super-json-serializer/_module.js +0 -2
- package/dist/esm/serializer/super-json-serializer/_module.js.map +0 -1
- package/dist/esm/serializer/super-json-serializer/super-json-serializer.js +0 -277
- package/dist/esm/serializer/super-json-serializer/super-json-serializer.js.map +0 -1
- package/dist/esm/storage/_module.js +0 -7
- package/dist/esm/storage/_module.js.map +0 -1
- package/dist/esm/storage/_shared/test-utilities/_module.js +0 -2
- package/dist/esm/storage/_shared/test-utilities/_module.js.map +0 -1
- package/dist/esm/storage/_shared/test-utilities/storage-api.test-suite.js +0 -569
- package/dist/esm/storage/_shared/test-utilities/storage-api.test-suite.js.map +0 -1
- package/dist/esm/storage/_shared/test-utilities/storage-namespace.test-suite.js +0 -238
- package/dist/esm/storage/_shared/test-utilities/storage-namespace.test-suite.js.map +0 -1
- package/dist/esm/storage/_shared/test-utilities/storage-value.test-suite.js +0 -4169
- package/dist/esm/storage/_shared/test-utilities/storage-value.test-suite.js.map +0 -1
- package/dist/esm/storage/_shared/test-utilities/storage.test-suite.js +0 -9
- package/dist/esm/storage/_shared/test-utilities/storage.test-suite.js.map +0 -1
- package/dist/esm/storage/memory-storage-adapter/_module.js +0 -2
- package/dist/esm/storage/memory-storage-adapter/_module.js.map +0 -1
- package/dist/esm/storage/memory-storage-adapter/memory-storage-adapter.js +0 -81
- package/dist/esm/storage/memory-storage-adapter/memory-storage-adapter.js.map +0 -1
- package/dist/esm/storage/mongodb-storage-adapter/_module.js +0 -2
- package/dist/esm/storage/mongodb-storage-adapter/_module.js.map +0 -1
- package/dist/esm/storage/mongodb-storage-adapter/mongodb-storage-adapter.js +0 -196
- package/dist/esm/storage/mongodb-storage-adapter/mongodb-storage-adapter.js.map +0 -1
- package/dist/esm/storage/namespace-storage-adapter.js +0 -52
- package/dist/esm/storage/namespace-storage-adapter.js.map +0 -1
- package/dist/esm/storage/redis-storage-adapter/_module.js +0 -2
- package/dist/esm/storage/redis-storage-adapter/_module.js.map +0 -1
- package/dist/esm/storage/redis-storage-adapter/redis-storage-adapter.js +0 -224
- package/dist/esm/storage/redis-storage-adapter/redis-storage-adapter.js.map +0 -1
- package/dist/esm/storage/sqlite/_module.js +0 -3
- package/dist/esm/storage/sqlite/_module.js.map +0 -1
- package/dist/esm/storage/sqlite/_shared/_module.js +0 -2
- package/dist/esm/storage/sqlite/_shared/_module.js.map +0 -1
- package/dist/esm/storage/sqlite/_shared/base-sqlite-storage-adapter.js +0 -186
- package/dist/esm/storage/sqlite/_shared/base-sqlite-storage-adapter.js.map +0 -1
- package/dist/esm/storage/sqlite/libsql-storage-adapter/_module.js +0 -2
- package/dist/esm/storage/sqlite/libsql-storage-adapter/_module.js.map +0 -1
- package/dist/esm/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.js +0 -49
- package/dist/esm/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.js.map +0 -1
- package/dist/esm/storage/sqlite/sqlite-storage-adapter/_module.js +0 -2
- package/dist/esm/storage/sqlite/sqlite-storage-adapter/_module.js.map +0 -1
- package/dist/esm/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js +0 -48
- package/dist/esm/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.js.map +0 -1
- package/dist/esm/storage/storage.js +0 -213
- package/dist/esm/storage/storage.js.map +0 -1
- package/dist/types/async/_module.d.ts +0 -11
- package/dist/types/async/abortable/_module.d.ts +0 -1
- package/dist/types/async/abortable/abortable.d.ts +0 -39
- package/dist/types/async/abortable-iterable/_module.d.ts +0 -1
- package/dist/types/async/backof-policies/_module.d.ts +0 -5
- package/dist/types/async/backof-policies/constant-backoff-policy/_module.d.ts +0 -1
- package/dist/types/async/backof-policies/constant-backoff-policy/constant-backoff-policy.d.ts +0 -28
- package/dist/types/async/backof-policies/exponential-backoff-policy/_module.d.ts +0 -1
- package/dist/types/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.d.ts +0 -36
- package/dist/types/async/backof-policies/linear-backoff-policy/_module.d.ts +0 -1
- package/dist/types/async/backof-policies/linear-backoff-policy/linear-backoff-policy.d.ts +0 -32
- package/dist/types/async/backof-policies/polynomial-backoff-policy/_module.d.ts +0 -1
- package/dist/types/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.d.ts +0 -36
- package/dist/types/async/delay/_module.d.ts +0 -1
- package/dist/types/async/delay/delay.d.ts +0 -38
- package/dist/types/async/delay-iterable/_module.d.ts +0 -1
- package/dist/types/async/delay-iterable/delay-iterable.d.ts +0 -57
- package/dist/types/async/lazy-promise/_module.d.ts +0 -1
- package/dist/types/async/retry/_module.d.ts +0 -1
- package/dist/types/async/retry/retry.d.ts +0 -86
- package/dist/types/async/retry-iterable/_module.d.ts +0 -1
- package/dist/types/async/retry-iterable/retry-iterable.d.ts +0 -86
- package/dist/types/async/timeout/_module.d.ts +0 -1
- package/dist/types/async/timeout/timeout.d.ts +0 -40
- package/dist/types/async/timeout-iterable/_module.d.ts +0 -1
- package/dist/types/async/timeout-iterable/timeout-iterable.d.ts +0 -64
- package/dist/types/collection/_module.d.ts +0 -4
- package/dist/types/collection/async-iterable-collection/_module.d.ts +0 -1
- package/dist/types/collection/async-iterable-collection/_shared/_module.d.ts +0 -33
- package/dist/types/collection/async-iterable-collection/_shared/async-chunk-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-chunk-while-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-collapse-iterable.d.ts +0 -9
- package/dist/types/collection/async-iterable-collection/_shared/async-count-by-iterable.d.ts +0 -11
- package/dist/types/collection/async-iterable-collection/_shared/async-cross-join-iterable.d.ts +0 -13
- package/dist/types/collection/async-iterable-collection/_shared/async-entries-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-filter-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-flat-map-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-group-by-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-insert-after-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-insert-before-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-map-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-merge-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-pad-end-iterable.d.ts +0 -13
- package/dist/types/collection/async-iterable-collection/_shared/async-pad-start-iterable.d.ts +0 -13
- package/dist/types/collection/async-iterable-collection/_shared/async-partion-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-repeat-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-reverse-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-shuffle-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-skip-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-skip-until-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-slice-iterable.d.ts +0 -11
- package/dist/types/collection/async-iterable-collection/_shared/async-sliding-iterable.d.ts +0 -11
- package/dist/types/collection/async-iterable-collection/_shared/async-sort-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-split-iterable.d.ts +0 -12
- package/dist/types/collection/async-iterable-collection/_shared/async-take-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-take-until-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-tap-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-unique-iterable.d.ts +0 -10
- package/dist/types/collection/async-iterable-collection/_shared/async-update-iterable.d.ts +0 -11
- package/dist/types/collection/async-iterable-collection/_shared/async-when-iterable.d.ts +0 -11
- package/dist/types/collection/async-iterable-collection/_shared/async-zip-iterable.d.ts +0 -11
- package/dist/types/collection/async-iterable-collection/async-iterable-collection.d.ts +0 -105
- package/dist/types/collection/iterable-collection/_module.d.ts +0 -1
- package/dist/types/collection/iterable-collection/_shared/_module.d.ts +0 -32
- package/dist/types/collection/iterable-collection/_shared/chunk-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/chunk-while-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/collapse-iterable.d.ts +0 -9
- package/dist/types/collection/iterable-collection/_shared/count-by-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/cross-join-iterable.d.ts +0 -8
- package/dist/types/collection/iterable-collection/_shared/entries-iterable.d.ts +0 -9
- package/dist/types/collection/iterable-collection/_shared/filter-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/flat-map-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/group-by-iterable.d.ts +0 -12
- package/dist/types/collection/iterable-collection/_shared/insert-after-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/insert-before-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/map-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/pad-end-iterable.d.ts +0 -12
- package/dist/types/collection/iterable-collection/_shared/pad-start-iterable.d.ts +0 -12
- package/dist/types/collection/iterable-collection/_shared/partion-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/repeat-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/reverse-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/skip-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/skip-until-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/slice-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/sliding-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/sort-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/split-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/take-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/take-until-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/tap-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/unique-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/_shared/update-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/when-iterable.d.ts +0 -11
- package/dist/types/collection/iterable-collection/_shared/zip-iterable.d.ts +0 -10
- package/dist/types/collection/iterable-collection/iterable-collection.d.ts +0 -100
- package/dist/types/collection/list-collection/_module.d.ts +0 -1
- package/dist/types/collection/list-collection/list-collection.d.ts +0 -97
- package/dist/types/contracts/_module.d.ts +0 -3
- package/dist/types/contracts/collection/_module.d.ts +0 -3
- package/dist/types/contracts/collection/async-collection.contract.d.ts +0 -1309
- package/dist/types/contracts/collection/collection.contract.d.ts +0 -1269
- package/dist/types/contracts/serializer/_module.d.ts +0 -1
- package/dist/types/contracts/storage/_module.d.ts +0 -3
- package/dist/types/contracts/storage/storage-adapter.contract.d.ts +0 -53
- package/dist/types/contracts/storage/storage.contract.d.ts +0 -148
- package/dist/types/serializer/_shared/test-utilities/_module.d.ts +0 -1
- package/dist/types/serializer/_shared/test-utilities/serializer.test-suite.d.ts +0 -18
- package/dist/types/serializer/mongodb-serializer/_module.d.ts +0 -1
- package/dist/types/serializer/mongodb-serializer/mongodb-serializer.d.ts +0 -13
- package/dist/types/serializer/redis-serializer/_module.d.ts +0 -1
- package/dist/types/serializer/redis-serializer/redis-serializer.d.ts +0 -13
- package/dist/types/serializer/sql-serializer/_module.d.ts +0 -1
- package/dist/types/serializer/sql-serializer/sql-serializer.d.ts +0 -13
- package/dist/types/serializer/super-json-serializer/_module.d.ts +0 -1
- package/dist/types/serializer/super-json-serializer/super-json-serializer.d.ts +0 -37
- package/dist/types/storage/_module.d.ts +0 -6
- package/dist/types/storage/_shared/test-utilities/_module.d.ts +0 -1
- package/dist/types/storage/_shared/test-utilities/storage-api.test-suite.d.ts +0 -20
- package/dist/types/storage/_shared/test-utilities/storage-namespace.test-suite.d.ts +0 -20
- package/dist/types/storage/_shared/test-utilities/storage-value.test-suite.d.ts +0 -20
- package/dist/types/storage/_shared/test-utilities/storage.test-suite.d.ts +0 -20
- package/dist/types/storage/memory-storage-adapter/_module.d.ts +0 -1
- package/dist/types/storage/memory-storage-adapter/memory-storage-adapter.d.ts +0 -18
- package/dist/types/storage/mongodb-storage-adapter/_module.d.ts +0 -1
- package/dist/types/storage/mongodb-storage-adapter/mongodb-storage-adapter.d.ts +0 -43
- package/dist/types/storage/namespace-storage-adapter.d.ts +0 -25
- package/dist/types/storage/redis-storage-adapter/_module.d.ts +0 -1
- package/dist/types/storage/redis-storage-adapter/redis-storage-adapter.d.ts +0 -38
- package/dist/types/storage/sqlite/_module.d.ts +0 -2
- package/dist/types/storage/sqlite/_shared/_module.d.ts +0 -1
- package/dist/types/storage/sqlite/_shared/base-sqlite-storage-adapter.d.ts +0 -39
- package/dist/types/storage/sqlite/libsql-storage-adapter/_module.d.ts +0 -1
- package/dist/types/storage/sqlite/libsql-storage-adapter/libsql-storage-adapter.d.ts +0 -30
- package/dist/types/storage/sqlite/sqlite-storage-adapter/_module.d.ts +0 -1
- package/dist/types/storage/sqlite/sqlite-storage-adapter/sqlite-storage-adapter.d.ts +0 -30
- package/dist/types/storage/storage.d.ts +0 -39
- /package/dist/cjs/{contracts/collection → collection/contracts}/_shared.js +0 -0
- /package/dist/cjs/{contracts/collection → collection/contracts}/async-collection.contract.js +0 -0
- /package/dist/cjs/{contracts/collection → collection/contracts}/collection.contract.js +0 -0
- /package/dist/cjs/collection/{_shared.js → implementations/_shared.js} +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-chunk-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-chunk-while-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-count-by-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-entries-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-error-handler-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-filter-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-flat-map-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-group-by-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-insert-after-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-insert-before-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-map-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-merge-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-pad-end-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-pad-start-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-partion-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-repeat-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-reverse-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-shuffle-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-skip-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-skip-until-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-slice-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-sliding-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-sort-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-split-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-take-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-take-until-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-tap-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-unique-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-update-iterable.js +0 -0
- /package/dist/cjs/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-when-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/chunk-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/chunk-while-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/count-by-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/entries-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/filter-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/flat-map-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/group-by-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/insert-after-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/insert-before-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/map-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/merge-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/pad-end-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/pad-start-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/partion-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/repeat-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/reverse-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/shuffle-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/skip-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/skip-until-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/slice-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/sliding-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/sort-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/split-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/take-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/take-until-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/tap-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/unique-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/update-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/when-iterable.js +0 -0
- /package/dist/cjs/collection/{iterable-collection → implementations/iterable-collection}/_shared/zip-iterable.js +0 -0
- /package/dist/cjs/{contracts/serializer → serializer/contracts}/serializer.contract.js +0 -0
- /package/dist/cjs/serializer/{_shared → implementations/_shared}/test-utilities/serializer.test-suite.js +0 -0
- /package/dist/cjs/{contracts/storage → storage/contracts}/_shared.js +0 -0
- /package/dist/cjs/{contracts/storage → storage/contracts}/storage-adapter.contract.js +0 -0
- /package/dist/cjs/{contracts/storage → storage/contracts}/storage.contract.js +0 -0
- /package/dist/cjs/{async → utilities/async}/_shared.js +0 -0
- /package/dist/cjs/{async → utilities/async}/backof-policies/_shared.js +0 -0
- /package/dist/cjs/{async → utilities/async}/lazy-promise/lazy-promise.js +0 -0
- /package/dist/esm/{contracts/collection → collection/contracts}/_shared.js +0 -0
- /package/dist/esm/{contracts/collection → collection/contracts}/async-collection.contract.js +0 -0
- /package/dist/esm/{contracts/collection → collection/contracts}/collection.contract.js +0 -0
- /package/dist/esm/collection/{_shared.js → implementations/_shared.js} +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-chunk-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-chunk-while-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-count-by-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-entries-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-error-handler-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-filter-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-flat-map-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-group-by-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-insert-after-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-insert-before-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-map-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-merge-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-pad-end-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-pad-start-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-partion-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-repeat-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-reverse-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-shuffle-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-skip-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-skip-until-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-slice-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-sliding-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-sort-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-split-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-take-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-take-until-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-tap-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-unique-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-update-iterable.js +0 -0
- /package/dist/esm/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-when-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/chunk-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/chunk-while-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/count-by-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/entries-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/filter-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/flat-map-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/group-by-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/insert-after-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/insert-before-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/map-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/merge-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/pad-end-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/pad-start-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/partion-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/repeat-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/reverse-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/shuffle-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/skip-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/skip-until-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/slice-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/sliding-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/sort-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/split-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/take-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/take-until-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/tap-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/unique-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/update-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/when-iterable.js +0 -0
- /package/dist/esm/collection/{iterable-collection → implementations/iterable-collection}/_shared/zip-iterable.js +0 -0
- /package/dist/esm/{contracts/serializer → serializer/contracts}/serializer.contract.js +0 -0
- /package/dist/esm/serializer/{_shared → implementations/_shared}/test-utilities/serializer.test-suite.js +0 -0
- /package/dist/esm/{contracts/storage → storage/contracts}/_shared.js +0 -0
- /package/dist/esm/{contracts/storage → storage/contracts}/storage-adapter.contract.js +0 -0
- /package/dist/esm/{contracts/storage → storage/contracts}/storage.contract.js +0 -0
- /package/dist/esm/{async → utilities/async}/_shared.js +0 -0
- /package/dist/esm/{async → utilities/async}/backof-policies/_shared.js +0 -0
- /package/dist/esm/{async → utilities/async}/lazy-promise/lazy-promise.js +0 -0
- /package/dist/types/{contracts/collection → collection/contracts}/_shared.d.ts +0 -0
- /package/dist/types/collection/{_shared.d.ts → implementations/_shared.d.ts} +0 -0
- /package/dist/types/collection/{async-iterable-collection → implementations/async-iterable-collection}/_shared/async-error-handler-iterable.d.ts +0 -0
- /package/dist/types/collection/{iterable-collection → implementations/iterable-collection}/_shared/merge-iterable.d.ts +0 -0
- /package/dist/types/collection/{iterable-collection → implementations/iterable-collection}/_shared/shuffle-iterable.d.ts +0 -0
- /package/dist/types/{contracts/serializer → serializer/contracts}/serializer.contract.d.ts +0 -0
- /package/dist/types/{contracts/storage → storage/contracts}/_shared.d.ts +0 -0
- /package/dist/types/{async → utilities/async}/_shared.d.ts +0 -0
- /package/dist/types/{async → utilities/async}/backof-policies/_shared.d.ts +0 -0
- /package/dist/types/{async → utilities/async}/lazy-promise/lazy-promise.d.ts +0 -0
- /package/dist/types/{async → utilities/async-iterable}/abortable-iterable/abortable-iterable.d.ts +0 -0
|
@@ -0,0 +1,627 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListCollection = void 0;
|
|
4
|
+
const _shared_1 = require("../../../collection/implementations/_shared");
|
|
5
|
+
const _module_1 = require("../../../collection/contracts/_module");
|
|
6
|
+
const utilities_1 = require("../../../_shared/utilities");
|
|
7
|
+
class ListCollection {
|
|
8
|
+
array;
|
|
9
|
+
constructor(iterable = []) {
|
|
10
|
+
this.array = [...iterable];
|
|
11
|
+
}
|
|
12
|
+
*[Symbol.iterator]() {
|
|
13
|
+
yield* this.array;
|
|
14
|
+
}
|
|
15
|
+
toIterator() {
|
|
16
|
+
return this[Symbol.iterator]();
|
|
17
|
+
}
|
|
18
|
+
entries() {
|
|
19
|
+
return new ListCollection(this.array.entries());
|
|
20
|
+
}
|
|
21
|
+
keys() {
|
|
22
|
+
return new ListCollection(this.array.keys());
|
|
23
|
+
}
|
|
24
|
+
values() {
|
|
25
|
+
return new ListCollection(this);
|
|
26
|
+
}
|
|
27
|
+
filter(predicateFn) {
|
|
28
|
+
return new ListCollection(this.array.filter((item, index) => predicateFn(item, index, this)));
|
|
29
|
+
}
|
|
30
|
+
reject(predicateFn) {
|
|
31
|
+
return new ListCollection(this.array.filter((item, index) => !predicateFn(item, index, this)));
|
|
32
|
+
}
|
|
33
|
+
map(mapFn) {
|
|
34
|
+
return new ListCollection(this.array.map((item, index) => mapFn(item, index, this)));
|
|
35
|
+
}
|
|
36
|
+
reduce(reduceFn, initialValue) {
|
|
37
|
+
if (initialValue === undefined && this.isEmpty()) {
|
|
38
|
+
throw new _module_1.TypeCollectionError("Reduce of empty array must be inputed a initial value");
|
|
39
|
+
}
|
|
40
|
+
if (initialValue !== undefined) {
|
|
41
|
+
return this.array.reduce((initialValue, item, index) => reduceFn(initialValue, item, index, this), initialValue);
|
|
42
|
+
}
|
|
43
|
+
return this.array.reduce((initialValue, item, index) => {
|
|
44
|
+
const reduce = reduceFn;
|
|
45
|
+
return reduce(initialValue, item, index, this);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
join(separator = ",") {
|
|
49
|
+
for (const item of this) {
|
|
50
|
+
if (typeof item !== "string") {
|
|
51
|
+
throw new _module_1.TypeCollectionError("Item type is invalid must be string");
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return this.array.join(separator);
|
|
55
|
+
}
|
|
56
|
+
collapse() {
|
|
57
|
+
const items = [];
|
|
58
|
+
for (const item of this.array) {
|
|
59
|
+
if ((0, _shared_1.isIterable)(item)) {
|
|
60
|
+
items.push(...item);
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
items.push(item);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return new ListCollection(items);
|
|
67
|
+
}
|
|
68
|
+
flatMap(mapFn) {
|
|
69
|
+
return new ListCollection(this.array.flatMap((item, index) => [...mapFn(item, index, this)]));
|
|
70
|
+
}
|
|
71
|
+
change(predicateFn, mapFn) {
|
|
72
|
+
return new ListCollection(this.array.map((item, index) => {
|
|
73
|
+
if (predicateFn(item, index, this)) {
|
|
74
|
+
return mapFn(item, index, this);
|
|
75
|
+
}
|
|
76
|
+
return item;
|
|
77
|
+
}));
|
|
78
|
+
}
|
|
79
|
+
page(page, pageSize) {
|
|
80
|
+
if (page < 0) {
|
|
81
|
+
return this.skip(page * pageSize).take(pageSize);
|
|
82
|
+
}
|
|
83
|
+
return this.skip((page - 1) * pageSize).take(pageSize);
|
|
84
|
+
}
|
|
85
|
+
sum() {
|
|
86
|
+
if (this.isEmpty()) {
|
|
87
|
+
throw new _module_1.EmptyCollectionError("Collection is empty therby operation cannot be performed");
|
|
88
|
+
}
|
|
89
|
+
return this.reduce((sum, item) => {
|
|
90
|
+
if (typeof item !== "number") {
|
|
91
|
+
throw new _module_1.TypeCollectionError("Item type is invalid must be number");
|
|
92
|
+
}
|
|
93
|
+
return sum + item;
|
|
94
|
+
}, 0);
|
|
95
|
+
}
|
|
96
|
+
average() {
|
|
97
|
+
if (this.isEmpty()) {
|
|
98
|
+
throw new _module_1.EmptyCollectionError("Collection is empty therby operation cannot be performed");
|
|
99
|
+
}
|
|
100
|
+
return (this.sum() / this.size());
|
|
101
|
+
}
|
|
102
|
+
median() {
|
|
103
|
+
if (this.isEmpty()) {
|
|
104
|
+
throw new _module_1.EmptyCollectionError("Collection is empty therby operation cannot be performed");
|
|
105
|
+
}
|
|
106
|
+
const nbrs = this.array.map((item) => {
|
|
107
|
+
if (typeof item !== "number") {
|
|
108
|
+
throw new _module_1.TypeCollectionError("Item type is invalid must be number");
|
|
109
|
+
}
|
|
110
|
+
return item;
|
|
111
|
+
}), index = Math.floor(this.array.length / 2), isEven = this.array.length % 2 === 0, a = nbrs[index];
|
|
112
|
+
if (a === undefined) {
|
|
113
|
+
throw new _module_1.UnexpectedCollectionError("Is in invalid state");
|
|
114
|
+
}
|
|
115
|
+
const b = nbrs[index - 1];
|
|
116
|
+
if (isEven) {
|
|
117
|
+
if (b === undefined) {
|
|
118
|
+
throw new _module_1.UnexpectedCollectionError("Is in invalid state");
|
|
119
|
+
}
|
|
120
|
+
return ((a + b) / 2);
|
|
121
|
+
}
|
|
122
|
+
return a;
|
|
123
|
+
}
|
|
124
|
+
min() {
|
|
125
|
+
if (this.isEmpty()) {
|
|
126
|
+
throw new _module_1.EmptyCollectionError("Collection is empty therby operation cannot be performed");
|
|
127
|
+
}
|
|
128
|
+
let min = 0;
|
|
129
|
+
for (const item of this.array) {
|
|
130
|
+
if (typeof item !== "number") {
|
|
131
|
+
throw new _module_1.TypeCollectionError("Item type is invalid must be number");
|
|
132
|
+
}
|
|
133
|
+
if (min === 0) {
|
|
134
|
+
min = item;
|
|
135
|
+
}
|
|
136
|
+
else if (min > item) {
|
|
137
|
+
min = item;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
return min;
|
|
141
|
+
}
|
|
142
|
+
max() {
|
|
143
|
+
if (this.isEmpty()) {
|
|
144
|
+
throw new _module_1.EmptyCollectionError("Collection is empty therby operation cannot be performed");
|
|
145
|
+
}
|
|
146
|
+
let max = 0;
|
|
147
|
+
for (const item of this.array) {
|
|
148
|
+
if (typeof item !== "number") {
|
|
149
|
+
throw new _module_1.TypeCollectionError("Item type is invalid must be number");
|
|
150
|
+
}
|
|
151
|
+
if (max === 0) {
|
|
152
|
+
max = item;
|
|
153
|
+
}
|
|
154
|
+
else if (max < item) {
|
|
155
|
+
max = item;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
return max;
|
|
159
|
+
}
|
|
160
|
+
percentage(predicateFn) {
|
|
161
|
+
if (this.isEmpty()) {
|
|
162
|
+
throw new _module_1.EmptyCollectionError("Collection is empty therby operation cannot be performed");
|
|
163
|
+
}
|
|
164
|
+
return (this.count(predicateFn) / this.size()) * 100;
|
|
165
|
+
}
|
|
166
|
+
some(predicateFn) {
|
|
167
|
+
return this.array.some((item, index) => predicateFn(item, index, this));
|
|
168
|
+
}
|
|
169
|
+
every(predicateFn) {
|
|
170
|
+
return this.array.every((item, index) => predicateFn(item, index, this));
|
|
171
|
+
}
|
|
172
|
+
take(limit) {
|
|
173
|
+
return new ListCollection(this.array.slice(0, limit));
|
|
174
|
+
}
|
|
175
|
+
takeUntil(predicateFn) {
|
|
176
|
+
const items = [];
|
|
177
|
+
for (const [index, item] of this.array.entries()) {
|
|
178
|
+
if (predicateFn(item, index, this)) {
|
|
179
|
+
break;
|
|
180
|
+
}
|
|
181
|
+
items.push(item);
|
|
182
|
+
}
|
|
183
|
+
return new ListCollection(items);
|
|
184
|
+
}
|
|
185
|
+
takeWhile(predicateFn) {
|
|
186
|
+
return this.takeUntil((...arguments_) => !predicateFn(...arguments_));
|
|
187
|
+
}
|
|
188
|
+
skip(offset) {
|
|
189
|
+
return new ListCollection(this.array.slice(offset));
|
|
190
|
+
}
|
|
191
|
+
skipUntil(predicateFn) {
|
|
192
|
+
let hasMatched = false;
|
|
193
|
+
const items = [];
|
|
194
|
+
for (const [index, item] of this.array.entries()) {
|
|
195
|
+
if (!hasMatched) {
|
|
196
|
+
hasMatched = predicateFn(item, index, this);
|
|
197
|
+
}
|
|
198
|
+
if (hasMatched) {
|
|
199
|
+
items.push(item);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
return new ListCollection(items);
|
|
203
|
+
}
|
|
204
|
+
skipWhile(predicateFn) {
|
|
205
|
+
return this.skipUntil((...arguments_) => !predicateFn(...arguments_));
|
|
206
|
+
}
|
|
207
|
+
when(condition, callback) {
|
|
208
|
+
if (condition) {
|
|
209
|
+
return callback(this);
|
|
210
|
+
}
|
|
211
|
+
return this;
|
|
212
|
+
}
|
|
213
|
+
whenEmpty(callback) {
|
|
214
|
+
return this.when(this.isEmpty(), callback);
|
|
215
|
+
}
|
|
216
|
+
whenNot(condition, callback) {
|
|
217
|
+
return this.when(!condition, callback);
|
|
218
|
+
}
|
|
219
|
+
whenNotEmpty(callback) {
|
|
220
|
+
return this.when(this.isNotEmpty(), callback);
|
|
221
|
+
}
|
|
222
|
+
pipe(callback) {
|
|
223
|
+
return callback(this);
|
|
224
|
+
}
|
|
225
|
+
tap(callback) {
|
|
226
|
+
callback(this);
|
|
227
|
+
return new ListCollection(this);
|
|
228
|
+
}
|
|
229
|
+
chunk(chunkSize) {
|
|
230
|
+
const chunks = [];
|
|
231
|
+
for (let index = 0; index < this.size(); index += chunkSize) {
|
|
232
|
+
chunks.push(new ListCollection(this.array.slice(index, index + chunkSize)));
|
|
233
|
+
}
|
|
234
|
+
return new ListCollection(chunks);
|
|
235
|
+
}
|
|
236
|
+
chunkWhile(predicateFn) {
|
|
237
|
+
let currentChunk = new ListCollection([]);
|
|
238
|
+
const chunks = [];
|
|
239
|
+
for (const [index, item] of this.array.entries()) {
|
|
240
|
+
if (index === 0) {
|
|
241
|
+
currentChunk = currentChunk.append([item]);
|
|
242
|
+
}
|
|
243
|
+
else if (predicateFn(item, index, currentChunk)) {
|
|
244
|
+
currentChunk = currentChunk.append([item]);
|
|
245
|
+
}
|
|
246
|
+
else {
|
|
247
|
+
chunks.push(currentChunk);
|
|
248
|
+
currentChunk = new ListCollection([item]);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
chunks.push(currentChunk);
|
|
252
|
+
return new ListCollection(chunks);
|
|
253
|
+
}
|
|
254
|
+
split(chunkAmount) {
|
|
255
|
+
const size = this.size(), minChunkSize = Math.floor(size / chunkAmount), restSize = size % chunkAmount, chunkSizes = Array.from({
|
|
256
|
+
length: chunkAmount,
|
|
257
|
+
}).fill(minChunkSize);
|
|
258
|
+
for (let index = 1; index <= restSize; index++) {
|
|
259
|
+
const chunkIndex = (index - 1) % chunkAmount;
|
|
260
|
+
if (chunkSizes[chunkIndex]) {
|
|
261
|
+
chunkSizes[chunkIndex] = chunkSizes[chunkIndex] + 1;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
let end = 0, start = 0;
|
|
265
|
+
const chunks = [];
|
|
266
|
+
for (const chunkSize of chunkSizes) {
|
|
267
|
+
end += chunkSize;
|
|
268
|
+
chunks.push(new ListCollection(this.array.slice(start, end)));
|
|
269
|
+
start += chunkSize;
|
|
270
|
+
}
|
|
271
|
+
return new ListCollection(chunks);
|
|
272
|
+
}
|
|
273
|
+
partition(predicateFn) {
|
|
274
|
+
const chunkA = [], chunkB = [];
|
|
275
|
+
for (const [index, item] of this.array.entries()) {
|
|
276
|
+
if (predicateFn(item, index, this)) {
|
|
277
|
+
chunkA.push(item);
|
|
278
|
+
}
|
|
279
|
+
else {
|
|
280
|
+
chunkB.push(item);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
return new ListCollection([
|
|
284
|
+
new ListCollection(chunkA),
|
|
285
|
+
new ListCollection(chunkB),
|
|
286
|
+
]);
|
|
287
|
+
}
|
|
288
|
+
sliding(chunkSize, step = chunkSize - 1) {
|
|
289
|
+
let chunks = new ListCollection([]);
|
|
290
|
+
if (step <= 0) {
|
|
291
|
+
return new ListCollection([]);
|
|
292
|
+
}
|
|
293
|
+
for (let index = 0; index < this.size(); index += step) {
|
|
294
|
+
const start = index;
|
|
295
|
+
const end = index + chunkSize;
|
|
296
|
+
chunks = chunks.append([this.slice(start, end)]);
|
|
297
|
+
if (end >= this.size()) {
|
|
298
|
+
break;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
return chunks;
|
|
302
|
+
}
|
|
303
|
+
groupBy(selectFn = (item) => item) {
|
|
304
|
+
const map = new Map();
|
|
305
|
+
for (const [index, item] of this.array.entries()) {
|
|
306
|
+
const key = selectFn(item, index, this);
|
|
307
|
+
let collection = map.get(key);
|
|
308
|
+
if (collection === undefined) {
|
|
309
|
+
collection = new ListCollection([]);
|
|
310
|
+
map.set(key, collection);
|
|
311
|
+
}
|
|
312
|
+
map.set(key, collection.append([item]));
|
|
313
|
+
}
|
|
314
|
+
return new ListCollection(map);
|
|
315
|
+
}
|
|
316
|
+
countBy(selectFn = (item) => item) {
|
|
317
|
+
const map = new Map();
|
|
318
|
+
for (const [index, item] of this.array.entries()) {
|
|
319
|
+
const key = selectFn(item, index, this);
|
|
320
|
+
if (!map.has(key)) {
|
|
321
|
+
map.set(key, 0);
|
|
322
|
+
}
|
|
323
|
+
const counter = map.get(key);
|
|
324
|
+
if (counter !== undefined) {
|
|
325
|
+
map.set(key, counter + 1);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
return new ListCollection(map);
|
|
329
|
+
}
|
|
330
|
+
unique(selectFn = (item) => item) {
|
|
331
|
+
const set = new Set([]), items = [];
|
|
332
|
+
for (const [index, item] of this.array.entries()) {
|
|
333
|
+
const item_ = selectFn(item, index, this);
|
|
334
|
+
if (!set.has(item_)) {
|
|
335
|
+
items.push(item);
|
|
336
|
+
}
|
|
337
|
+
set.add(item_);
|
|
338
|
+
}
|
|
339
|
+
return new ListCollection(items);
|
|
340
|
+
}
|
|
341
|
+
difference(iterable, selectFn = (item) => item) {
|
|
342
|
+
const differenceCollection = new ListCollection(iterable);
|
|
343
|
+
return this.filter((item, index, collection) => {
|
|
344
|
+
return !differenceCollection.some((matchItem, matchIndex, matchCollection) => {
|
|
345
|
+
return (selectFn(item, index, collection) ===
|
|
346
|
+
selectFn(matchItem, matchIndex, matchCollection));
|
|
347
|
+
});
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
repeat(amount) {
|
|
351
|
+
let collection = new ListCollection([]);
|
|
352
|
+
for (let index = 0; index < amount; index++) {
|
|
353
|
+
collection = collection.append(this);
|
|
354
|
+
}
|
|
355
|
+
return collection;
|
|
356
|
+
}
|
|
357
|
+
padStart(maxLength, fillItems) {
|
|
358
|
+
const fillItemsArray = [...fillItems];
|
|
359
|
+
const size = this.size();
|
|
360
|
+
const repeat = Math.floor((maxLength - size) / fillItemsArray.length);
|
|
361
|
+
const resultItemsArray = [];
|
|
362
|
+
for (let index = 0; index < repeat; index++) {
|
|
363
|
+
resultItemsArray.push(...fillItemsArray);
|
|
364
|
+
}
|
|
365
|
+
const restAmount = maxLength - (repeat * fillItemsArray.length + size);
|
|
366
|
+
for (let index = 0; index < restAmount; index++) {
|
|
367
|
+
const fillItem = fillItemsArray[index];
|
|
368
|
+
if (fillItem) {
|
|
369
|
+
resultItemsArray.push(fillItem);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
resultItemsArray.push(...this);
|
|
373
|
+
return new ListCollection(resultItemsArray);
|
|
374
|
+
}
|
|
375
|
+
padEnd(maxLength, fillItems) {
|
|
376
|
+
const fillItemsArray = [...fillItems];
|
|
377
|
+
const size = this.size();
|
|
378
|
+
const repeat = Math.floor((maxLength - size) / fillItemsArray.length);
|
|
379
|
+
const resultItemsArray = [];
|
|
380
|
+
for (let index = 0; index < repeat; index++) {
|
|
381
|
+
resultItemsArray.push(...fillItemsArray);
|
|
382
|
+
}
|
|
383
|
+
const restAmount = maxLength - (repeat * fillItemsArray.length + size);
|
|
384
|
+
for (let index = 0; index < restAmount; index++) {
|
|
385
|
+
const fillItem = fillItemsArray[index];
|
|
386
|
+
if (fillItem) {
|
|
387
|
+
resultItemsArray.push(fillItem);
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
resultItemsArray.unshift(...this);
|
|
391
|
+
return new ListCollection(resultItemsArray);
|
|
392
|
+
}
|
|
393
|
+
slice(start, end) {
|
|
394
|
+
return new ListCollection(this.array.slice(start, end));
|
|
395
|
+
}
|
|
396
|
+
prepend(iterable) {
|
|
397
|
+
return new ListCollection([...iterable, ...this.array]);
|
|
398
|
+
}
|
|
399
|
+
append(iterable) {
|
|
400
|
+
return new ListCollection([...this.array, ...iterable]);
|
|
401
|
+
}
|
|
402
|
+
insertBefore(predicateFn, iterable) {
|
|
403
|
+
const index = this.array.findIndex((item, index) => predicateFn(item, index, this));
|
|
404
|
+
if (index === -1) {
|
|
405
|
+
return new ListCollection(this.array);
|
|
406
|
+
}
|
|
407
|
+
const newArray = [...this.array];
|
|
408
|
+
newArray.splice(index, 0, ...iterable);
|
|
409
|
+
return new ListCollection(newArray);
|
|
410
|
+
}
|
|
411
|
+
insertAfter(predicateFn, iterable) {
|
|
412
|
+
const index = this.array.findIndex((item, index) => predicateFn(item, index, this));
|
|
413
|
+
if (index === -1) {
|
|
414
|
+
return new ListCollection(this.array);
|
|
415
|
+
}
|
|
416
|
+
const firstPart = this.array.slice(0, index + 1), lastPart = this.array.slice(index + 1);
|
|
417
|
+
return new ListCollection([
|
|
418
|
+
...firstPart,
|
|
419
|
+
...iterable,
|
|
420
|
+
...lastPart,
|
|
421
|
+
]);
|
|
422
|
+
}
|
|
423
|
+
crossJoin(iterable) {
|
|
424
|
+
const array = [
|
|
425
|
+
[...this],
|
|
426
|
+
[...iterable],
|
|
427
|
+
]
|
|
428
|
+
.reduce((a, b) => {
|
|
429
|
+
return a
|
|
430
|
+
.map((x) => {
|
|
431
|
+
return b.map((y) => {
|
|
432
|
+
return [...x, y];
|
|
433
|
+
});
|
|
434
|
+
})
|
|
435
|
+
.reduce((c, b) => [...c, ...b], []);
|
|
436
|
+
}, [[]])
|
|
437
|
+
.map((combination) => {
|
|
438
|
+
return combination.reduce((a, b) => {
|
|
439
|
+
return [...a, ...((0, _shared_1.isIterable)(b) ? b : [b])];
|
|
440
|
+
}, []);
|
|
441
|
+
});
|
|
442
|
+
return new ListCollection(array);
|
|
443
|
+
}
|
|
444
|
+
zip(iterable) {
|
|
445
|
+
const iterableArray = [...iterable];
|
|
446
|
+
let size = iterableArray.length;
|
|
447
|
+
if (size > this.size()) {
|
|
448
|
+
size = this.size();
|
|
449
|
+
}
|
|
450
|
+
const items = [];
|
|
451
|
+
for (let index = 0; index < size; index++) {
|
|
452
|
+
const itemA = this.array[index], itemB = iterableArray[index];
|
|
453
|
+
if (itemA === undefined || itemB === undefined) {
|
|
454
|
+
continue;
|
|
455
|
+
}
|
|
456
|
+
items.push([itemA, itemB]);
|
|
457
|
+
}
|
|
458
|
+
return new ListCollection(items);
|
|
459
|
+
}
|
|
460
|
+
sort(comparator) {
|
|
461
|
+
return new ListCollection(this.array.sort(comparator));
|
|
462
|
+
}
|
|
463
|
+
reverse(_chunkSize) {
|
|
464
|
+
return new ListCollection([...this.array].reverse());
|
|
465
|
+
}
|
|
466
|
+
shuffle(mathRandom = Math.random) {
|
|
467
|
+
const newArray = [...this.array];
|
|
468
|
+
for (let i = newArray.length - 1; i > 0; i--) {
|
|
469
|
+
const j = Math.floor(mathRandom() * (i + 1));
|
|
470
|
+
const temp = newArray[i];
|
|
471
|
+
if (newArray[j] !== undefined) {
|
|
472
|
+
newArray[i] = newArray[j];
|
|
473
|
+
}
|
|
474
|
+
if (temp !== undefined) {
|
|
475
|
+
newArray[j] = temp;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
return new ListCollection(newArray);
|
|
479
|
+
}
|
|
480
|
+
first(predicateFn) {
|
|
481
|
+
return this.firstOr(null, predicateFn);
|
|
482
|
+
}
|
|
483
|
+
firstOr(defaultValue, predicateFn) {
|
|
484
|
+
if (predicateFn) {
|
|
485
|
+
for (const [index, item] of this.array.entries()) {
|
|
486
|
+
if (predicateFn(item, index, this)) {
|
|
487
|
+
return item;
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
else {
|
|
492
|
+
const firstItem = this.array[0];
|
|
493
|
+
if (firstItem) {
|
|
494
|
+
return firstItem;
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
return (0, utilities_1.simplifyLazyable)(defaultValue);
|
|
498
|
+
}
|
|
499
|
+
firstOrFail(predicateFn) {
|
|
500
|
+
const item = this.first(predicateFn);
|
|
501
|
+
if (item === null) {
|
|
502
|
+
throw new _module_1.ItemNotFoundCollectionError("Item was not found");
|
|
503
|
+
}
|
|
504
|
+
return item;
|
|
505
|
+
}
|
|
506
|
+
last(predicateFn) {
|
|
507
|
+
return this.lastOr(null, predicateFn);
|
|
508
|
+
}
|
|
509
|
+
lastOr(defaultValue, predicateFn) {
|
|
510
|
+
if (predicateFn) {
|
|
511
|
+
let matchedItem = null;
|
|
512
|
+
for (const [index, item] of this.array.entries()) {
|
|
513
|
+
if (predicateFn(item, index, this)) {
|
|
514
|
+
matchedItem = item;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
if (matchedItem) {
|
|
518
|
+
return matchedItem;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
else {
|
|
522
|
+
const lastItem = this.array.at(-1);
|
|
523
|
+
if (lastItem) {
|
|
524
|
+
return lastItem;
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
return (0, utilities_1.simplifyLazyable)(defaultValue);
|
|
528
|
+
}
|
|
529
|
+
lastOrFail(predicateFn) {
|
|
530
|
+
const item = this.last(predicateFn);
|
|
531
|
+
if (item === null) {
|
|
532
|
+
throw new _module_1.ItemNotFoundCollectionError("Item was not found");
|
|
533
|
+
}
|
|
534
|
+
return item;
|
|
535
|
+
}
|
|
536
|
+
before(predicateFn) {
|
|
537
|
+
return this.beforeOr(null, predicateFn);
|
|
538
|
+
}
|
|
539
|
+
beforeOr(defaultValue, predicateFn) {
|
|
540
|
+
for (const [index, item] of this.array.entries()) {
|
|
541
|
+
const beforeItem = this.array[index - 1];
|
|
542
|
+
if (predicateFn(item, index, this) && beforeItem !== undefined) {
|
|
543
|
+
return beforeItem;
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
return (0, utilities_1.simplifyLazyable)(defaultValue);
|
|
547
|
+
}
|
|
548
|
+
beforeOrFail(predicateFn) {
|
|
549
|
+
const item = this.before(predicateFn);
|
|
550
|
+
if (item === null) {
|
|
551
|
+
throw new _module_1.ItemNotFoundCollectionError("Item was not found");
|
|
552
|
+
}
|
|
553
|
+
return item;
|
|
554
|
+
}
|
|
555
|
+
after(predicateFn) {
|
|
556
|
+
return this.afterOr(null, predicateFn);
|
|
557
|
+
}
|
|
558
|
+
afterOr(defaultValue, predicateFn) {
|
|
559
|
+
for (const [index, item] of this.array.entries()) {
|
|
560
|
+
const beforeItem = this.array[index + 1];
|
|
561
|
+
if (predicateFn(item, index, this) && beforeItem !== undefined) {
|
|
562
|
+
return beforeItem;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
return (0, utilities_1.simplifyLazyable)(defaultValue);
|
|
566
|
+
}
|
|
567
|
+
afterOrFail(predicateFn) {
|
|
568
|
+
const item = this.after(predicateFn);
|
|
569
|
+
if (item === null) {
|
|
570
|
+
throw new _module_1.ItemNotFoundCollectionError("Item was not found");
|
|
571
|
+
}
|
|
572
|
+
return item;
|
|
573
|
+
}
|
|
574
|
+
sole(predicateFn) {
|
|
575
|
+
const matchedItems = [];
|
|
576
|
+
for (const [index, item] of this.array.entries()) {
|
|
577
|
+
if (predicateFn(item, index, this)) {
|
|
578
|
+
matchedItems.push(item);
|
|
579
|
+
}
|
|
580
|
+
if (matchedItems.length > 1) {
|
|
581
|
+
throw new _module_1.MultipleItemsFoundCollectionError("Multiple items were found");
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
const [matchedItem] = matchedItems;
|
|
585
|
+
if (matchedItem === undefined) {
|
|
586
|
+
throw new _module_1.ItemNotFoundCollectionError("Item was not found");
|
|
587
|
+
}
|
|
588
|
+
return matchedItem;
|
|
589
|
+
}
|
|
590
|
+
nth(step) {
|
|
591
|
+
return this.filter((_item, index) => index % step === 0);
|
|
592
|
+
}
|
|
593
|
+
count(predicateFn) {
|
|
594
|
+
return this.filter(predicateFn).size();
|
|
595
|
+
}
|
|
596
|
+
size() {
|
|
597
|
+
return this.array.length;
|
|
598
|
+
}
|
|
599
|
+
isEmpty() {
|
|
600
|
+
return this.array.length === 0;
|
|
601
|
+
}
|
|
602
|
+
isNotEmpty() {
|
|
603
|
+
return this.array.length !== 0;
|
|
604
|
+
}
|
|
605
|
+
searchFirst(predicateFn) {
|
|
606
|
+
return this.array.findIndex((item, index) => predicateFn(item, index, this));
|
|
607
|
+
}
|
|
608
|
+
searchLast(predicateFn) {
|
|
609
|
+
let matchedIndex = -1;
|
|
610
|
+
for (const [index, item] of this.array.entries()) {
|
|
611
|
+
if (predicateFn(item, index, this)) {
|
|
612
|
+
matchedIndex = index;
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
return matchedIndex;
|
|
616
|
+
}
|
|
617
|
+
forEach(callback) {
|
|
618
|
+
for (const [index, item] of this.array.entries()) {
|
|
619
|
+
callback(item, index, this);
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
toArray() {
|
|
623
|
+
return [...this.array];
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
exports.ListCollection = ListCollection;
|
|
627
|
+
//# sourceMappingURL=list-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-collection.js","sourceRoot":"","sources":["../../../../../src/collection/implementations/list-collection/list-collection.ts"],"names":[],"mappings":";;;AAIA,kEAAkE;AAClE,4DAkBwC;AAGxC,mDAAuD;AAMvD,MAAa,cAAc;IACf,KAAK,CAAW;IAKxB,YAAY,WAA6B,EAAE;QACvC,IAAI,CAAC,KAAK,GAAG,CAAC,GAAG,QAAQ,CAAC,CA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B,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC;YAC/C,IAAI,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC;gBACjC,YAAY,GAAG,KAAK,CAAC;YACzB,CAAC;QACL,CAAC;QACD,OAAO,YAAY,CAAC;IACxB,CAAC;IAED,OAAO,CAAC,QAA8C;QAClD,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC;YAC/C,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;QAChC,CAAC;IACL,CAAC;IAED,OAAO;QACH,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;IAC3B,CAAC;CACJ;AAn4BD,wCAm4BC"}
|
|
@@ -14,9 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../serializer/_shared/test-utilities/_module"), exports);
|
|
18
|
-
__exportStar(require("../serializer/mongodb-serializer/_module"), exports);
|
|
19
|
-
__exportStar(require("../serializer/redis-serializer/_module"), exports);
|
|
20
|
-
__exportStar(require("../serializer/sql-serializer/_module"), exports);
|
|
21
|
-
__exportStar(require("../serializer/super-json-serializer/_module"), exports);
|
|
17
|
+
__exportStar(require("../serializer/implementations/_shared/test-utilities/_module"), exports);
|
|
18
|
+
__exportStar(require("../serializer/implementations/mongodb-serializer/_module"), exports);
|
|
19
|
+
__exportStar(require("../serializer/implementations/redis-serializer/_module"), exports);
|
|
20
|
+
__exportStar(require("../serializer/implementations/sql-serializer/_module"), exports);
|
|
21
|
+
__exportStar(require("../serializer/implementations/super-json-serializer/_module"), exports);
|
|
22
22
|
//# sourceMappingURL=_module.js.map
|