@daiso-tech/core 0.42.0 → 0.43.2
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/README.md +18 -8
- package/dist/backoff-policies/_module-exports.d.ts +5 -4
- package/dist/backoff-policies/_module-exports.js +5 -4
- package/dist/backoff-policies/_module-exports.js.map +1 -1
- package/dist/backoff-policies/_module.d.ts +7 -0
- package/dist/backoff-policies/_module.js +8 -0
- package/dist/backoff-policies/_module.js.map +1 -0
- package/dist/backoff-policies/_shared.d.ts +8 -3
- package/dist/backoff-policies/_shared.js +57 -2
- package/dist/backoff-policies/_shared.js.map +1 -1
- package/dist/backoff-policies/backoffs-lua.d.ts +7 -0
- package/dist/backoff-policies/backoffs-lua.js +78 -0
- package/dist/backoff-policies/backoffs-lua.js.map +1 -0
- package/dist/backoff-policies/constant-backoff/_module.d.ts +1 -0
- package/dist/backoff-policies/constant-backoff/_module.js +2 -0
- package/dist/backoff-policies/constant-backoff/_module.js.map +1 -0
- package/dist/backoff-policies/constant-backoff/constant-backoff.d.ts +53 -0
- package/dist/backoff-policies/constant-backoff/constant-backoff.js +54 -0
- package/dist/backoff-policies/constant-backoff/constant-backoff.js.map +1 -0
- package/dist/backoff-policies/exponential-backoff/_module.d.ts +1 -0
- package/dist/backoff-policies/exponential-backoff/_module.js +2 -0
- package/dist/backoff-policies/exponential-backoff/_module.js.map +1 -0
- package/dist/backoff-policies/exponential-backoff/exponential-backoff.d.ts +68 -0
- package/dist/backoff-policies/exponential-backoff/exponential-backoff.js +59 -0
- package/dist/backoff-policies/exponential-backoff/exponential-backoff.js.map +1 -0
- package/dist/backoff-policies/linear-backoff/_module.d.ts +1 -0
- package/dist/backoff-policies/linear-backoff/_module.js +2 -0
- package/dist/backoff-policies/linear-backoff/_module.js.map +1 -0
- package/dist/backoff-policies/linear-backoff/linear-backoff.d.ts +63 -0
- package/dist/backoff-policies/linear-backoff/linear-backoff.js +57 -0
- package/dist/backoff-policies/linear-backoff/linear-backoff.js.map +1 -0
- package/dist/backoff-policies/polynomial-backoff/_module.d.ts +1 -0
- package/dist/backoff-policies/polynomial-backoff/_module.js +2 -0
- package/dist/backoff-policies/polynomial-backoff/_module.js.map +1 -0
- package/dist/backoff-policies/polynomial-backoff/polynomial-backoff.d.ts +68 -0
- package/dist/backoff-policies/polynomial-backoff/polynomial-backoff.js +59 -0
- package/dist/backoff-policies/polynomial-backoff/polynomial-backoff.js.map +1 -0
- package/dist/backoff-policies/types.d.ts +83 -0
- package/dist/backoff-policies/types.js +18 -0
- package/dist/backoff-policies/types.js.map +1 -0
- package/dist/cache/contracts/_module-exports.d.ts +5 -4
- package/dist/cache/contracts/_module-exports.js +0 -4
- package/dist/cache/contracts/_module-exports.js.map +1 -1
- package/dist/cache/contracts/_module.d.ts +7 -0
- package/dist/cache/contracts/_module.js +3 -0
- package/dist/cache/contracts/_module.js.map +1 -0
- package/dist/cache/contracts/cache-adapter.contract.d.ts +1 -1
- package/dist/cache/contracts/cache-adapter.contract.js +4 -1
- package/dist/cache/contracts/cache-adapter.contract.js.map +1 -1
- package/dist/cache/contracts/cache-factory.contract.d.ts +1 -1
- package/dist/cache/contracts/cache-factory.contract.js +2 -1
- package/dist/cache/contracts/cache-factory.contract.js.map +1 -1
- package/dist/cache/contracts/cache.contract.d.ts +79 -76
- package/dist/cache/contracts/cache.contract.js +10 -1
- package/dist/cache/contracts/cache.contract.js.map +1 -1
- package/dist/cache/contracts/cache.errors.d.ts +22 -0
- package/dist/cache/contracts/cache.errors.js +29 -0
- package/dist/cache/contracts/cache.errors.js.map +1 -1
- package/dist/cache/contracts/cache.events.d.ts +19 -22
- package/dist/cache/contracts/cache.events.js +8 -1
- package/dist/cache/contracts/cache.events.js.map +1 -1
- package/dist/cache/contracts/types.d.ts +18 -0
- package/dist/cache/contracts/types.js +7 -0
- package/dist/cache/contracts/types.js.map +1 -0
- package/dist/cache/implementations/adapters/_module.d.ts +5 -5
- package/dist/cache/implementations/adapters/_module.js +5 -5
- package/dist/cache/implementations/adapters/_module.js.map +1 -1
- package/dist/cache/implementations/adapters/kysely-cache-adapter/_module.d.ts +1 -0
- package/dist/cache/implementations/adapters/kysely-cache-adapter/_module.js +2 -0
- package/dist/cache/implementations/adapters/kysely-cache-adapter/_module.js.map +1 -0
- package/dist/cache/implementations/adapters/kysely-cache-adapter/kysely-cache-adapter.d.ts +14 -7
- package/dist/cache/implementations/adapters/kysely-cache-adapter/kysely-cache-adapter.js +13 -5
- package/dist/cache/implementations/adapters/kysely-cache-adapter/kysely-cache-adapter.js.map +1 -1
- package/dist/cache/implementations/adapters/memory-cache-adapter/_module.d.ts +1 -0
- package/dist/cache/implementations/adapters/memory-cache-adapter/_module.js +2 -0
- package/dist/cache/implementations/adapters/memory-cache-adapter/_module.js.map +1 -0
- package/dist/cache/implementations/adapters/memory-cache-adapter/memory-cache-adapter.d.ts +2 -2
- package/dist/cache/implementations/adapters/memory-cache-adapter/memory-cache-adapter.js +2 -1
- package/dist/cache/implementations/adapters/memory-cache-adapter/memory-cache-adapter.js.map +1 -1
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/_module.d.ts +1 -0
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/_module.js +2 -0
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/_module.js.map +1 -0
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter-serde.d.ts +1 -1
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter-serde.js +1 -1
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter-serde.js.map +1 -1
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter.d.ts +5 -6
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter.js +8 -5
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter.js.map +1 -1
- package/dist/cache/implementations/adapters/no-op-cache-adapter/_module.d.ts +1 -0
- package/dist/cache/implementations/adapters/no-op-cache-adapter/_module.js +2 -0
- package/dist/cache/implementations/adapters/no-op-cache-adapter/_module.js.map +1 -0
- package/dist/cache/implementations/adapters/no-op-cache-adapter/no-op-cache-adapter.d.ts +2 -2
- package/dist/cache/implementations/adapters/no-op-cache-adapter/no-op-cache-adapter.js +2 -1
- package/dist/cache/implementations/adapters/no-op-cache-adapter/no-op-cache-adapter.js.map +1 -1
- package/dist/cache/implementations/adapters/redis-cache-adapter/_module.d.ts +1 -0
- package/dist/cache/implementations/adapters/redis-cache-adapter/_module.js +2 -0
- package/dist/cache/implementations/adapters/redis-cache-adapter/_module.js.map +1 -0
- package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter-serde.d.ts +1 -1
- package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter-serde.js +1 -1
- package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter-serde.js.map +1 -1
- package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter.d.ts +3 -3
- package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter.js +6 -2
- package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter.js.map +1 -1
- package/dist/cache/implementations/adapters/redis-cache-adapter/utilities.js +1 -1
- package/dist/cache/implementations/adapters/redis-cache-adapter/utilities.js.map +1 -1
- package/dist/cache/implementations/derivables/_module.d.ts +2 -0
- package/dist/cache/implementations/derivables/_module.js +3 -0
- package/dist/cache/implementations/derivables/_module.js.map +1 -0
- package/dist/cache/implementations/derivables/cache/_module.d.ts +1 -0
- package/dist/cache/implementations/derivables/cache/_module.js +1 -0
- package/dist/cache/implementations/derivables/cache/_module.js.map +1 -1
- package/dist/cache/implementations/derivables/cache/cache.d.ts +44 -39
- package/dist/cache/implementations/derivables/cache/cache.js +139 -78
- package/dist/cache/implementations/derivables/cache/cache.js.map +1 -1
- package/dist/cache/implementations/derivables/cache/database-cache-adapter.d.ts +2 -2
- package/dist/cache/implementations/derivables/cache/database-cache-adapter.js +2 -1
- package/dist/cache/implementations/derivables/cache/database-cache-adapter.js.map +1 -1
- package/dist/cache/implementations/derivables/cache/is-database-cache-adapter.d.ts +2 -3
- package/dist/cache/implementations/derivables/cache/is-database-cache-adapter.js +9 -2
- package/dist/cache/implementations/derivables/cache/is-database-cache-adapter.js.map +1 -1
- package/dist/cache/implementations/derivables/cache/resolve-cache-adapter.d.ts +8 -0
- package/dist/cache/implementations/derivables/cache/resolve-cache-adapter.js +16 -0
- package/dist/cache/implementations/derivables/cache/resolve-cache-adapter.js.map +1 -0
- package/dist/cache/implementations/derivables/cache-factory/cache-factory.d.ts +8 -7
- package/dist/cache/implementations/derivables/cache-factory/cache-factory.js +13 -2
- package/dist/cache/implementations/derivables/cache-factory/cache-factory.js.map +1 -1
- package/dist/cache/implementations/test-utilities/_module.d.ts +3 -0
- package/dist/cache/implementations/test-utilities/_module.js +4 -0
- package/dist/cache/implementations/test-utilities/_module.js.map +1 -0
- package/dist/cache/implementations/test-utilities/cache-adapter.test-suite.d.ts +2 -2
- package/dist/cache/implementations/test-utilities/cache-adapter.test-suite.js +4 -4
- package/dist/cache/implementations/test-utilities/cache-adapter.test-suite.js.map +1 -1
- package/dist/cache/implementations/test-utilities/cache.test-suite.d.ts +6 -2
- package/dist/cache/implementations/test-utilities/cache.test-suite.js +1479 -607
- package/dist/cache/implementations/test-utilities/cache.test-suite.js.map +1 -1
- package/dist/cache/implementations/test-utilities/database-cache-dapter.test-suite.d.ts +2 -2
- package/dist/cache/implementations/test-utilities/database-cache-dapter.test-suite.js +3 -3
- package/dist/cache/implementations/test-utilities/database-cache-dapter.test-suite.js.map +1 -1
- package/dist/circuit-breaker/contracts/_module-exports.d.ts +9 -0
- package/dist/circuit-breaker/contracts/_module-exports.js +6 -0
- package/dist/circuit-breaker/contracts/_module-exports.js.map +1 -0
- package/dist/circuit-breaker/contracts/_module.d.ts +9 -0
- package/dist/circuit-breaker/contracts/_module.js +6 -0
- package/dist/circuit-breaker/contracts/_module.js.map +1 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-adapter.contract.d.ts +45 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-adapter.contract.js +7 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-adapter.contract.js.map +1 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-policy.contract.d.ts +114 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-policy.contract.js +41 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-policy.contract.js.map +1 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-provider-factory.contract.d.ts +19 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-provider-factory.contract.js +10 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-provider-factory.contract.js.map +1 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-provider.contract.d.ts +63 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-provider.contract.js +19 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-provider.contract.js.map +1 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-state.contract.d.ts +20 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-state.contract.js +15 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-state.contract.js.map +1 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-storage-adapter.contract.d.ts +52 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-storage-adapter.contract.js +5 -0
- package/dist/circuit-breaker/contracts/circuit-breaker-storage-adapter.contract.js.map +1 -0
- package/dist/circuit-breaker/contracts/circuit-breaker.contract.d.ts +40 -0
- package/dist/circuit-breaker/contracts/circuit-breaker.contract.js +9 -0
- package/dist/circuit-breaker/contracts/circuit-breaker.contract.js.map +1 -0
- package/dist/circuit-breaker/contracts/circuit-breaker.errors.d.ts +49 -0
- package/dist/circuit-breaker/contracts/circuit-breaker.errors.js +61 -0
- package/dist/circuit-breaker/contracts/circuit-breaker.errors.js.map +1 -0
- package/dist/circuit-breaker/contracts/circuit-breaker.events.d.ts +96 -0
- package/dist/circuit-breaker/contracts/circuit-breaker.events.js +20 -0
- package/dist/circuit-breaker/contracts/circuit-breaker.events.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/_module.d.ts +7 -0
- package/dist/circuit-breaker/implementations/adapters/_module.js +8 -0
- package/dist/circuit-breaker/implementations/adapters/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/_module-exports.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/_module-exports.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/_module-exports.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/_module.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/_module.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/circuit-breaker-policy.d.ts +65 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/circuit-breaker-policy.js +128 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/circuit-breaker-policy.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/circuit-breaker-state-manager.d.ts +18 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/circuit-breaker-state-manager.js +57 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/circuit-breaker-state-manager.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/circuit-breaker-storage.d.ts +17 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/circuit-breaker-storage.js +40 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/circuit-breaker-storage.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/database-circuit-breaker-adapter.d.ts +59 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/database-circuit-breaker-adapter.js +57 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/database-circuit-breaker-adapter.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/types.d.ts +12 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/types.js +6 -0
- package/dist/circuit-breaker/implementations/adapters/database-circuit-breaker-adapter/types.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/kysely-circuit-breaker-storage-adapter/_module-exports.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/kysely-circuit-breaker-storage-adapter/_module-exports.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/kysely-circuit-breaker-storage-adapter/_module-exports.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/kysely-circuit-breaker-storage-adapter/_module.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/kysely-circuit-breaker-storage-adapter/_module.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/kysely-circuit-breaker-storage-adapter/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/kysely-circuit-breaker-storage-adapter/kysely-circuit-breaker-storage-adapter.d.ts +81 -0
- package/dist/circuit-breaker/implementations/adapters/kysely-circuit-breaker-storage-adapter/kysely-circuit-breaker-storage-adapter.js +149 -0
- package/dist/circuit-breaker/implementations/adapters/kysely-circuit-breaker-storage-adapter/kysely-circuit-breaker-storage-adapter.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/memory-circuit-breaker-storage-adapter/_module-exports.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/memory-circuit-breaker-storage-adapter/_module-exports.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/memory-circuit-breaker-storage-adapter/_module-exports.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/memory-circuit-breaker-storage-adapter/_module.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/memory-circuit-breaker-storage-adapter/_module.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/memory-circuit-breaker-storage-adapter/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/memory-circuit-breaker-storage-adapter/memory-circuit-breaker-storage-adapter.d.ts +42 -0
- package/dist/circuit-breaker/implementations/adapters/memory-circuit-breaker-storage-adapter/memory-circuit-breaker-storage-adapter.js +60 -0
- package/dist/circuit-breaker/implementations/adapters/memory-circuit-breaker-storage-adapter/memory-circuit-breaker-storage-adapter.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/mongodb-circuit-breaker-storage-adapter/_module-exports.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/mongodb-circuit-breaker-storage-adapter/_module-exports.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/mongodb-circuit-breaker-storage-adapter/_module-exports.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/mongodb-circuit-breaker-storage-adapter/_module.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/mongodb-circuit-breaker-storage-adapter/_module.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/mongodb-circuit-breaker-storage-adapter/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/mongodb-circuit-breaker-storage-adapter/mongodb-circuit-breaker-storage-adapter.d.ts +80 -0
- package/dist/circuit-breaker/implementations/adapters/mongodb-circuit-breaker-storage-adapter/mongodb-circuit-breaker-storage-adapter.js +115 -0
- package/dist/circuit-breaker/implementations/adapters/mongodb-circuit-breaker-storage-adapter/mongodb-circuit-breaker-storage-adapter.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-adapter/_module-exports.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-adapter/_module-exports.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-adapter/_module-exports.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-adapter/_module.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-adapter/_module.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-adapter/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-adapter/no-op-circuit-breaker-adapter.d.ts +16 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-adapter/no-op-circuit-breaker-adapter.js +32 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-adapter/no-op-circuit-breaker-adapter.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-storage-adapter/_module-exports.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-storage-adapter/_module-exports.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-storage-adapter/_module-exports.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-storage-adapter/_module.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-storage-adapter/_module.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-storage-adapter/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-storage-adapter/no-op-circuit-breaker-storage-adapter.d.ts +16 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-storage-adapter/no-op-circuit-breaker-storage-adapter.js +24 -0
- package/dist/circuit-breaker/implementations/adapters/no-op-circuit-breaker-storage-adapter/no-op-circuit-breaker-storage-adapter.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/_module-exports.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/_module-exports.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/_module-exports.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/_module.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/_module.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/_module.d.ts +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/_module.js +2 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-factory-lua.d.ts +4 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-factory-lua.js +76 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-factory-lua.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-lua.d.ts +7 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-lua.js +34 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-lua.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-policy-lua.d.ts +7 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-policy-lua.js +144 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-policy-lua.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-state-manager-lua.d.ts +7 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-state-manager-lua.js +64 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-state-manager-lua.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-storage-lua.d.ts +7 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-storage-lua.js +39 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/circuit-breaker-storage-lua.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/consecutive-breaker-lua.d.ts +7 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/consecutive-breaker-lua.js +75 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/consecutive-breaker-lua.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/count-breaker-lua.d.ts +7 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/count-breaker-lua.js +136 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/count-breaker-lua.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/sampling-breaker-lua.d.ts +7 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/sampling-breaker-lua.js +153 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/lua/sampling-breaker-lua.js.map +1 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/redis-circuit-breaker-adapter.d.ts +68 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/redis-circuit-breaker-adapter.js +131 -0
- package/dist/circuit-breaker/implementations/adapters/redis-circuit-breaker-adapter/redis-circuit-breaker-adapter.js.map +1 -0
- package/dist/circuit-breaker/implementations/derivables/_module-exports.d.ts +2 -0
- package/dist/circuit-breaker/implementations/derivables/_module-exports.js +3 -0
- package/dist/circuit-breaker/implementations/derivables/_module-exports.js.map +1 -0
- package/dist/circuit-breaker/implementations/derivables/_module.d.ts +2 -0
- package/dist/circuit-breaker/implementations/derivables/_module.js +3 -0
- package/dist/circuit-breaker/implementations/derivables/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/_module.d.ts +1 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/_module.js +2 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/circuit-breaker-provider.d.ts +154 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/circuit-breaker-provider.js +138 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/circuit-breaker-provider.js.map +1 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/circuit-breaker-serde-transformer.d.ts +41 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/circuit-breaker-serde-transformer.js +77 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/circuit-breaker-serde-transformer.js.map +1 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/circuit-breaker.d.ts +62 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/circuit-breaker.js +201 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider/circuit-breaker.js.map +1 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider-factory/_module.d.ts +2 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider-factory/_module.js +3 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider-factory/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider-factory/circuit-breaker-provider-factory.d.ts +108 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider-factory/circuit-breaker-provider-factory.js +140 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider-factory/circuit-breaker-provider-factory.js.map +1 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider-factory/database-circuit-breaker-provider-factory.d.ts +137 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider-factory/database-circuit-breaker-provider-factory.js +164 -0
- package/dist/circuit-breaker/implementations/derivables/circuit-breaker-provider-factory/database-circuit-breaker-provider-factory.js.map +1 -0
- package/dist/circuit-breaker/implementations/policies/_module-exports.d.ts +5 -0
- package/dist/circuit-breaker/implementations/policies/_module-exports.js +6 -0
- package/dist/circuit-breaker/implementations/policies/_module-exports.js.map +1 -0
- package/dist/circuit-breaker/implementations/policies/_module.d.ts +5 -0
- package/dist/circuit-breaker/implementations/policies/_module.js +6 -0
- package/dist/circuit-breaker/implementations/policies/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/policies/_shared.d.ts +12 -0
- package/dist/circuit-breaker/implementations/policies/_shared.js +50 -0
- package/dist/circuit-breaker/implementations/policies/_shared.js.map +1 -0
- package/dist/circuit-breaker/implementations/policies/consecutive-breaker/_module.d.ts +1 -0
- package/dist/circuit-breaker/implementations/policies/consecutive-breaker/_module.js +2 -0
- package/dist/circuit-breaker/implementations/policies/consecutive-breaker/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/policies/consecutive-breaker/consecutive-breaker.d.ts +51 -0
- package/dist/circuit-breaker/implementations/policies/consecutive-breaker/consecutive-breaker.js +85 -0
- package/dist/circuit-breaker/implementations/policies/consecutive-breaker/consecutive-breaker.js.map +1 -0
- package/dist/circuit-breaker/implementations/policies/count-breaker/_module.d.ts +1 -0
- package/dist/circuit-breaker/implementations/policies/count-breaker/_module.js +2 -0
- package/dist/circuit-breaker/implementations/policies/count-breaker/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/policies/count-breaker/count-breaker.d.ts +74 -0
- package/dist/circuit-breaker/implementations/policies/count-breaker/count-breaker.js +130 -0
- package/dist/circuit-breaker/implementations/policies/count-breaker/count-breaker.js.map +1 -0
- package/dist/circuit-breaker/implementations/policies/sampling-breaker/_module.d.ts +1 -0
- package/dist/circuit-breaker/implementations/policies/sampling-breaker/_module.js +2 -0
- package/dist/circuit-breaker/implementations/policies/sampling-breaker/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/policies/sampling-breaker/sampling-breaker.d.ts +112 -0
- package/dist/circuit-breaker/implementations/policies/sampling-breaker/sampling-breaker.js +159 -0
- package/dist/circuit-breaker/implementations/policies/sampling-breaker/sampling-breaker.js.map +1 -0
- package/dist/circuit-breaker/implementations/policies/types.d.ts +51 -0
- package/dist/circuit-breaker/implementations/policies/types.js +16 -0
- package/dist/circuit-breaker/implementations/policies/types.js.map +1 -0
- package/dist/circuit-breaker/implementations/test-utilities/_module-exports.d.ts +4 -0
- package/dist/circuit-breaker/implementations/test-utilities/_module-exports.js +5 -0
- package/dist/circuit-breaker/implementations/test-utilities/_module-exports.js.map +1 -0
- package/dist/circuit-breaker/implementations/test-utilities/_module.d.ts +4 -0
- package/dist/circuit-breaker/implementations/test-utilities/_module.js +5 -0
- package/dist/circuit-breaker/implementations/test-utilities/_module.js.map +1 -0
- package/dist/circuit-breaker/implementations/test-utilities/circuit-breaker-storage-adapter.test-suite.d.ts +45 -0
- package/dist/circuit-breaker/implementations/test-utilities/circuit-breaker-storage-adapter.test-suite.js +110 -0
- package/dist/circuit-breaker/implementations/test-utilities/circuit-breaker-storage-adapter.test-suite.js.map +1 -0
- package/dist/circuit-breaker/implementations/test-utilities/consecutive-breaker.test-suite.d.ts +60 -0
- package/dist/circuit-breaker/implementations/test-utilities/consecutive-breaker.test-suite.js +453 -0
- package/dist/circuit-breaker/implementations/test-utilities/consecutive-breaker.test-suite.js.map +1 -0
- package/dist/circuit-breaker/implementations/test-utilities/count-breaker.test-suite.d.ts +60 -0
- package/dist/circuit-breaker/implementations/test-utilities/count-breaker.test-suite.js +703 -0
- package/dist/circuit-breaker/implementations/test-utilities/count-breaker.test-suite.js.map +1 -0
- package/dist/circuit-breaker/implementations/test-utilities/sampling-breaker.test-suite.d.ts +60 -0
- package/dist/circuit-breaker/implementations/test-utilities/sampling-breaker.test-suite.js +94 -0
- package/dist/circuit-breaker/implementations/test-utilities/sampling-breaker.test-suite.js.map +1 -0
- package/dist/collection/contracts/_module-exports.d.ts +3 -3
- package/dist/collection/contracts/_module-exports.js +0 -3
- package/dist/collection/contracts/_module-exports.js.map +1 -1
- package/dist/collection/contracts/_module.d.ts +4 -0
- package/dist/collection/contracts/_module.js +2 -0
- package/dist/collection/contracts/_module.js.map +1 -0
- package/dist/collection/contracts/_shared/_module.d.ts +11 -11
- package/dist/collection/contracts/_shared/_module.js +1 -11
- package/dist/collection/contracts/_shared/_module.js.map +1 -1
- package/dist/collection/contracts/_shared/compartor.type.d.ts +1 -1
- package/dist/collection/contracts/_shared/compartor.type.js +1 -1
- package/dist/collection/contracts/_shared/compartor.type.js.map +1 -1
- package/dist/collection/contracts/_shared/foreach.type.d.ts +1 -1
- package/dist/collection/contracts/_shared/foreach.type.js +1 -1
- package/dist/collection/contracts/_shared/foreach.type.js.map +1 -1
- package/dist/collection/contracts/_shared/map.type.d.ts +1 -1
- package/dist/collection/contracts/_shared/map.type.js +1 -1
- package/dist/collection/contracts/_shared/map.type.js.map +1 -1
- package/dist/collection/contracts/_shared/modifier.type.d.ts +1 -1
- package/dist/collection/contracts/_shared/modifier.type.js +1 -1
- package/dist/collection/contracts/_shared/modifier.type.js.map +1 -1
- package/dist/collection/contracts/_shared/predicate.type.d.ts +1 -1
- package/dist/collection/contracts/_shared/predicate.type.js +1 -1
- package/dist/collection/contracts/_shared/predicate.type.js.map +1 -1
- package/dist/collection/contracts/_shared/reduce.type.d.ts +1 -1
- package/dist/collection/contracts/_shared/reduce.type.js +1 -1
- package/dist/collection/contracts/_shared/reduce.type.js.map +1 -1
- package/dist/collection/contracts/_shared/tap.type.d.ts +1 -1
- package/dist/collection/contracts/_shared/tap.type.js +1 -1
- package/dist/collection/contracts/_shared/tap.type.js.map +1 -1
- package/dist/collection/contracts/_shared/transform.type.d.ts +1 -1
- package/dist/collection/contracts/_shared/transform.type.js +1 -1
- package/dist/collection/contracts/_shared/transform.type.js.map +1 -1
- package/dist/collection/contracts/async-collection.contract.d.ts +54 -54
- package/dist/collection/contracts/async-collection.contract.js +5 -1
- package/dist/collection/contracts/async-collection.contract.js.map +1 -1
- package/dist/collection/contracts/collection.contract.d.ts +12 -12
- package/dist/collection/contracts/collection.contract.js +5 -1
- package/dist/collection/contracts/collection.contract.js.map +1 -1
- package/dist/collection/contracts/collection.errors.d.ts +18 -10
- package/dist/collection/contracts/collection.errors.js +24 -13
- package/dist/collection/contracts/collection.errors.js.map +1 -1
- package/dist/collection/implementations/_module.d.ts +4 -0
- package/dist/collection/implementations/_module.js +5 -0
- package/dist/collection/implementations/_module.js.map +1 -0
- package/dist/collection/implementations/_shared.d.ts +0 -23
- package/dist/collection/implementations/_shared.js +0 -41
- package/dist/collection/implementations/_shared.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-chunk-iterable.d.ts +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-chunk-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-chunk-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-chunk-while-iterable.d.ts +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-chunk-while-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-chunk-while-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-count-by-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-count-by-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-count-by-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.d.ts +2 -3
- package/dist/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.js +3 -4
- package/dist/collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-entries-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-entries-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-entries-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-filter-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-filter-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-filter-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-flat-map-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-flat-map-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-flat-map-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-group-by-iterable.d.ts +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-group-by-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-group-by-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-insert-after-iterable.d.ts +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-insert-after-iterable.js +3 -3
- package/dist/collection/implementations/async-iterable-collection/_shared/async-insert-after-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-insert-before-iterable.d.ts +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-insert-before-iterable.js +3 -3
- package/dist/collection/implementations/async-iterable-collection/_shared/async-insert-before-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-map-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-map-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-map-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.js +4 -5
- package/dist/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-pad-end-iterable.d.ts +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-pad-end-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-pad-end-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-pad-start-iterable.d.ts +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-pad-start-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-pad-start-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-partion-iterable.d.ts +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-partion-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-partion-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-repeat-iterable.d.ts +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-repeat-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-repeat-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-reverse-iterable.d.ts +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-reverse-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-reverse-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-shuffle-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-shuffle-iterable.js +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-shuffle-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-skip-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-skip-iterable.js +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-skip-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-skip-until-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-skip-until-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-skip-until-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-slice-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-slice-iterable.js +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-slice-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-sliding-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-sliding-iterable.js +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-sliding-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-sort-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-sort-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-sort-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-split-iterable.d.ts +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-split-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-split-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-take-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-take-iterable.js +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-take-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-take-until-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-take-until-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-take-until-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-tap-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-tap-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-tap-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-unique-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-unique-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-unique-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-update-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-update-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-update-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-validate-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-validate-iterable.js +4 -0
- package/dist/collection/implementations/async-iterable-collection/_shared/async-validate-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-when-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-when-iterable.js +2 -2
- package/dist/collection/implementations/async-iterable-collection/_shared/async-when-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.d.ts +1 -1
- package/dist/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.js +3 -16
- package/dist/collection/implementations/async-iterable-collection/_shared/async-zip-iterable.js.map +1 -1
- package/dist/collection/implementations/async-iterable-collection/async-iterable-collection.d.ts +43 -44
- package/dist/collection/implementations/async-iterable-collection/async-iterable-collection.js +32 -32
- package/dist/collection/implementations/async-iterable-collection/async-iterable-collection.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/chunk-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/chunk-iterable.js +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/chunk-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/chunk-while-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/chunk-while-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/chunk-while-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/collapse-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/collapse-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/collapse-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/count-by-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/count-by-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/count-by-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/cross-join-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/cross-join-iterable.js +2 -1
- package/dist/collection/implementations/iterable-collection/_shared/cross-join-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/filter-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/filter-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/filter-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/flat-map-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/flat-map-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/flat-map-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/group-by-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/group-by-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/group-by-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/insert-after-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/insert-after-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/insert-after-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/insert-before-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/insert-before-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/insert-before-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/map-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/map-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/map-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/merge-iterable.d.ts +2 -1
- package/dist/collection/implementations/iterable-collection/_shared/merge-iterable.js +3 -2
- package/dist/collection/implementations/iterable-collection/_shared/merge-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/pad-end-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/pad-end-iterable.js +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/pad-end-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/pad-start-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/pad-start-iterable.js +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/pad-start-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/partion-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/partion-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/partion-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/repeat-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/repeat-iterable.js +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/repeat-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/reverse-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/reverse-iterable.js +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/reverse-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/skip-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/skip-iterable.js +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/skip-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/skip-until-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/skip-until-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/skip-until-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/slice-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/slice-iterable.js +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/slice-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/sliding-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/sliding-iterable.js +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/sliding-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/sort-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/sort-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/sort-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/split-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/split-iterable.js +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/split-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/take-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/take-iterable.js +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/take-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/take-until-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/take-until-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/take-until-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/tap-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/tap-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/tap-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/unique-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/unique-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/unique-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/update-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/update-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/update-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/validate-iterable.d.ts +4 -1
- package/dist/collection/implementations/iterable-collection/_shared/validate-iterable.js +2 -1
- package/dist/collection/implementations/iterable-collection/_shared/validate-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/when-iterable.d.ts +1 -1
- package/dist/collection/implementations/iterable-collection/_shared/when-iterable.js +2 -2
- package/dist/collection/implementations/iterable-collection/_shared/when-iterable.js.map +1 -1
- package/dist/collection/implementations/iterable-collection/iterable-collection.d.ts +17 -18
- package/dist/collection/implementations/iterable-collection/iterable-collection.js +39 -40
- package/dist/collection/implementations/iterable-collection/iterable-collection.js.map +1 -1
- package/dist/collection/implementations/list-collection/list-collection.d.ts +16 -17
- package/dist/collection/implementations/list-collection/list-collection.js +45 -41
- package/dist/collection/implementations/list-collection/list-collection.js.map +1 -1
- package/dist/event-bus/contracts/_module-exports.d.ts +3 -3
- package/dist/event-bus/contracts/_module-exports.js +1 -3
- package/dist/event-bus/contracts/_module-exports.js.map +1 -1
- package/dist/event-bus/contracts/_module.d.ts +3 -0
- package/dist/event-bus/contracts/_module.js +2 -0
- package/dist/event-bus/contracts/_module.js.map +1 -0
- package/dist/event-bus/contracts/event-bus-adapter.contract.d.ts +21 -8
- package/dist/event-bus/contracts/event-bus-adapter.contract.js +1 -1
- package/dist/event-bus/contracts/event-bus-adapter.contract.js.map +1 -1
- package/dist/event-bus/contracts/event-bus-factory.contract.d.ts +1 -1
- package/dist/event-bus/contracts/event-bus-factory.contract.js +2 -1
- package/dist/event-bus/contracts/event-bus-factory.contract.js.map +1 -1
- package/dist/event-bus/contracts/event-bus.contract.d.ts +12 -12
- package/dist/event-bus/contracts/event-bus.contract.js +3 -1
- package/dist/event-bus/contracts/event-bus.contract.js.map +1 -1
- package/dist/event-bus/implementations/adapters/_module.d.ts +3 -3
- package/dist/event-bus/implementations/adapters/_module.js +3 -3
- package/dist/event-bus/implementations/adapters/_module.js.map +1 -1
- package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/_module.d.ts +1 -0
- package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/_module.js +2 -0
- package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/_module.js.map +1 -0
- package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/memory-event-bus-adapter.d.ts +1 -1
- package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/memory-event-bus-adapter.js +1 -0
- package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/memory-event-bus-adapter.js.map +1 -1
- package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/_module.d.ts +1 -0
- package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/_module.js +2 -0
- package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/_module.js.map +1 -0
- package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/no-op-event-bus-adapter.d.ts +1 -2
- package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/no-op-event-bus-adapter.js +1 -0
- package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/no-op-event-bus-adapter.js.map +1 -1
- package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/_module.d.ts +1 -0
- package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/_module.js +2 -0
- package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/_module.js.map +1 -0
- package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/redis-pub-sub-event-bus-adapter.d.ts +3 -3
- package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/redis-pub-sub-event-bus-adapter.js +4 -2
- package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/redis-pub-sub-event-bus-adapter.js.map +1 -1
- package/dist/event-bus/implementations/derivables/_module.d.ts +2 -0
- package/dist/event-bus/implementations/derivables/_module.js +3 -0
- package/dist/event-bus/implementations/derivables/_module.js.map +1 -0
- package/dist/event-bus/implementations/derivables/event-bus/event-bus.d.ts +11 -13
- package/dist/event-bus/implementations/derivables/event-bus/event-bus.js +7 -6
- package/dist/event-bus/implementations/derivables/event-bus/event-bus.js.map +1 -1
- package/dist/event-bus/implementations/derivables/event-bus/listener-store.d.ts +1 -1
- package/dist/event-bus/implementations/derivables/event-bus/listener-store.js +2 -1
- package/dist/event-bus/implementations/derivables/event-bus/listener-store.js.map +1 -1
- package/dist/event-bus/implementations/derivables/event-bus-factory/event-bus-factory.d.ts +3 -3
- package/dist/event-bus/implementations/derivables/event-bus-factory/event-bus-factory.js +4 -3
- package/dist/event-bus/implementations/derivables/event-bus-factory/event-bus-factory.js.map +1 -1
- package/dist/event-bus/implementations/test-utilities/_module.d.ts +2 -0
- package/dist/event-bus/implementations/test-utilities/_module.js +3 -0
- package/dist/event-bus/implementations/test-utilities/_module.js.map +1 -0
- package/dist/event-bus/implementations/test-utilities/event-bus-adapter.test-suite.d.ts +2 -2
- package/dist/event-bus/implementations/test-utilities/event-bus-adapter.test-suite.js +4 -3
- package/dist/event-bus/implementations/test-utilities/event-bus-adapter.test-suite.js.map +1 -1
- package/dist/event-bus/implementations/test-utilities/event-bus.test-suite.d.ts +2 -2
- package/dist/event-bus/implementations/test-utilities/event-bus.test-suite.js +6 -6
- package/dist/event-bus/implementations/test-utilities/event-bus.test-suite.js.map +1 -1
- package/dist/hooks/_module-exports.d.ts +1 -1
- package/dist/hooks/_module-exports.js +0 -1
- package/dist/hooks/_module-exports.js.map +1 -1
- package/dist/hooks/_module.d.ts +3 -0
- package/dist/hooks/_module.js +3 -0
- package/dist/hooks/_module.js.map +1 -0
- package/dist/hooks/async-hooks.d.ts +3 -3
- package/dist/hooks/async-hooks.js +8 -5
- package/dist/hooks/async-hooks.js.map +1 -1
- package/dist/hooks/hooks.d.ts +2 -2
- package/dist/hooks/hooks.js +2 -1
- package/dist/hooks/hooks.js.map +1 -1
- package/dist/lock/contracts/_module-exports.d.ts +6 -6
- package/dist/lock/contracts/_module-exports.js +0 -6
- package/dist/lock/contracts/_module-exports.js.map +1 -1
- package/dist/lock/contracts/_module.d.ts +9 -0
- package/dist/lock/contracts/_module.js +4 -0
- package/dist/lock/contracts/_module.js.map +1 -0
- package/dist/lock/contracts/database-lock-adapter.contract.d.ts +8 -3
- package/dist/lock/contracts/database-lock-adapter.contract.js +1 -1
- package/dist/lock/contracts/database-lock-adapter.contract.js.map +1 -1
- package/dist/lock/contracts/lock-adapter.contract.d.ts +1 -1
- package/dist/lock/contracts/lock-adapter.contract.js +3 -1
- package/dist/lock/contracts/lock-adapter.contract.js.map +1 -1
- package/dist/lock/contracts/lock-provider-factory.contract.d.ts +1 -1
- package/dist/lock/contracts/lock-provider-factory.contract.js +2 -1
- package/dist/lock/contracts/lock-provider-factory.contract.js.map +1 -1
- package/dist/lock/contracts/lock-provider.contract.d.ts +4 -8
- package/dist/lock/contracts/lock-provider.contract.js +4 -1
- package/dist/lock/contracts/lock-provider.contract.js.map +1 -1
- package/dist/lock/contracts/lock-state.contract.d.ts +2 -2
- package/dist/lock/contracts/lock-state.contract.js +1 -0
- package/dist/lock/contracts/lock-state.contract.js.map +1 -1
- package/dist/lock/contracts/lock.contract.d.ts +18 -27
- package/dist/lock/contracts/lock.contract.js +5 -1
- package/dist/lock/contracts/lock.contract.js.map +1 -1
- package/dist/lock/contracts/lock.errors.d.ts +19 -0
- package/dist/lock/contracts/lock.errors.js +25 -0
- package/dist/lock/contracts/lock.errors.js.map +1 -1
- package/dist/lock/contracts/lock.events.d.ts +1 -1
- package/dist/lock/contracts/lock.events.js +2 -0
- package/dist/lock/contracts/lock.events.js.map +1 -1
- package/dist/lock/contracts/types.d.ts +2 -2
- package/dist/lock/contracts/types.js +2 -1
- package/dist/lock/contracts/types.js.map +1 -1
- package/dist/lock/implementations/adapters/_module.d.ts +5 -5
- package/dist/lock/implementations/adapters/_module.js +5 -5
- package/dist/lock/implementations/adapters/_module.js.map +1 -1
- package/dist/lock/implementations/adapters/kysely-lock-adapter/_module.d.ts +1 -0
- package/dist/lock/implementations/adapters/kysely-lock-adapter/_module.js +2 -0
- package/dist/lock/implementations/adapters/kysely-lock-adapter/_module.js.map +1 -0
- package/dist/lock/implementations/adapters/kysely-lock-adapter/kysely-lock-adapter.d.ts +8 -13
- package/dist/lock/implementations/adapters/kysely-lock-adapter/kysely-lock-adapter.js +9 -8
- package/dist/lock/implementations/adapters/kysely-lock-adapter/kysely-lock-adapter.js.map +1 -1
- package/dist/lock/implementations/adapters/memory-lock-adapter/_module.d.ts +1 -0
- package/dist/lock/implementations/adapters/memory-lock-adapter/_module.js +2 -0
- package/dist/lock/implementations/adapters/memory-lock-adapter/_module.js.map +1 -0
- package/dist/lock/implementations/adapters/memory-lock-adapter/memory-lock-adapter.d.ts +7 -4
- package/dist/lock/implementations/adapters/memory-lock-adapter/memory-lock-adapter.js +7 -1
- package/dist/lock/implementations/adapters/memory-lock-adapter/memory-lock-adapter.js.map +1 -1
- package/dist/lock/implementations/adapters/mongodb-lock-adapter/_module.d.ts +1 -0
- package/dist/lock/implementations/adapters/mongodb-lock-adapter/_module.js +2 -0
- package/dist/lock/implementations/adapters/mongodb-lock-adapter/_module.js.map +1 -0
- package/dist/lock/implementations/adapters/mongodb-lock-adapter/mongodb-lock-adapter.d.ts +4 -5
- package/dist/lock/implementations/adapters/mongodb-lock-adapter/mongodb-lock-adapter.js +4 -1
- package/dist/lock/implementations/adapters/mongodb-lock-adapter/mongodb-lock-adapter.js.map +1 -1
- package/dist/lock/implementations/adapters/no-op-lock-adapter/_module.d.ts +1 -0
- package/dist/lock/implementations/adapters/no-op-lock-adapter/_module.js +2 -0
- package/dist/lock/implementations/adapters/no-op-lock-adapter/_module.js.map +1 -0
- package/dist/lock/implementations/adapters/no-op-lock-adapter/no-op-lock-adapter.d.ts +2 -2
- package/dist/lock/implementations/adapters/no-op-lock-adapter/no-op-lock-adapter.js +2 -0
- package/dist/lock/implementations/adapters/no-op-lock-adapter/no-op-lock-adapter.js.map +1 -1
- package/dist/lock/implementations/adapters/redis-lock-adapter/_module.d.ts +1 -0
- package/dist/lock/implementations/adapters/redis-lock-adapter/_module.js +2 -0
- package/dist/lock/implementations/adapters/redis-lock-adapter/_module.js.map +1 -0
- package/dist/lock/implementations/adapters/redis-lock-adapter/redis-lock-adapter.d.ts +3 -4
- package/dist/lock/implementations/adapters/redis-lock-adapter/redis-lock-adapter.js +3 -0
- package/dist/lock/implementations/adapters/redis-lock-adapter/redis-lock-adapter.js.map +1 -1
- package/dist/lock/implementations/derivables/_module.d.ts +2 -0
- package/dist/lock/implementations/derivables/_module.js +3 -0
- package/dist/lock/implementations/derivables/_module.js.map +1 -0
- package/dist/lock/implementations/derivables/lock-provider/_module.d.ts +1 -0
- package/dist/lock/implementations/derivables/lock-provider/_module.js +1 -0
- package/dist/lock/implementations/derivables/lock-provider/_module.js.map +1 -1
- package/dist/lock/implementations/derivables/lock-provider/database-lock-adapter.d.ts +2 -2
- package/dist/lock/implementations/derivables/lock-provider/database-lock-adapter.js +5 -3
- package/dist/lock/implementations/derivables/lock-provider/database-lock-adapter.js.map +1 -1
- package/dist/lock/implementations/derivables/lock-provider/is-database-lock-adapter.d.ts +1 -2
- package/dist/lock/implementations/derivables/lock-provider/is-database-lock-adapter.js +4 -0
- package/dist/lock/implementations/derivables/lock-provider/is-database-lock-adapter.js.map +1 -1
- package/dist/lock/implementations/derivables/lock-provider/lock-provider.d.ts +29 -18
- package/dist/lock/implementations/derivables/lock-provider/lock-provider.js +19 -14
- package/dist/lock/implementations/derivables/lock-provider/lock-provider.js.map +1 -1
- package/dist/lock/implementations/derivables/lock-provider/lock-serde-transformer.d.ts +6 -6
- package/dist/lock/implementations/derivables/lock-provider/lock-serde-transformer.js +6 -2
- package/dist/lock/implementations/derivables/lock-provider/lock-serde-transformer.js.map +1 -1
- package/dist/lock/implementations/derivables/lock-provider/lock.d.ts +19 -23
- package/dist/lock/implementations/derivables/lock-provider/lock.js +13 -37
- package/dist/lock/implementations/derivables/lock-provider/lock.js.map +1 -1
- package/dist/lock/implementations/derivables/lock-provider/resolve-lock-adapter.d.ts +8 -0
- package/dist/lock/implementations/derivables/lock-provider/{resolve-database-lock-adapter.js → resolve-lock-adapter.js} +7 -3
- package/dist/lock/implementations/derivables/lock-provider/resolve-lock-adapter.js.map +1 -0
- package/dist/lock/implementations/derivables/lock-provider-factory/lock-provider-factory.d.ts +6 -6
- package/dist/lock/implementations/derivables/lock-provider-factory/lock-provider-factory.js +9 -2
- package/dist/lock/implementations/derivables/lock-provider-factory/lock-provider-factory.js.map +1 -1
- package/dist/lock/implementations/test-utilities/_module.d.ts +3 -0
- package/dist/lock/implementations/test-utilities/_module.js +4 -0
- package/dist/lock/implementations/test-utilities/_module.js.map +1 -0
- package/dist/lock/implementations/test-utilities/database-lock-adapter.test-suite.d.ts +2 -2
- package/dist/lock/implementations/test-utilities/database-lock-adapter.test-suite.js +3 -3
- package/dist/lock/implementations/test-utilities/database-lock-adapter.test-suite.js.map +1 -1
- package/dist/lock/implementations/test-utilities/lock-adapter.test-suite.d.ts +2 -2
- package/dist/lock/implementations/test-utilities/lock-adapter.test-suite.js +4 -4
- package/dist/lock/implementations/test-utilities/lock-adapter.test-suite.js.map +1 -1
- package/dist/lock/implementations/test-utilities/lock-provider.test-suite.d.ts +3 -3
- package/dist/lock/implementations/test-utilities/lock-provider.test-suite.js +6 -541
- package/dist/lock/implementations/test-utilities/lock-provider.test-suite.js.map +1 -1
- package/dist/namespace/_module.d.ts +1 -0
- package/dist/namespace/_module.js +2 -0
- package/dist/namespace/_module.js.map +1 -0
- package/dist/namespace/namespace.d.ts +1 -1
- package/dist/namespace/namespace.js +1 -1
- package/dist/namespace/namespace.js.map +1 -1
- package/dist/rate-limiter/contracts/_module-exports.d.ts +9 -0
- package/dist/rate-limiter/contracts/_module-exports.js +4 -0
- package/dist/rate-limiter/contracts/_module-exports.js.map +1 -0
- package/dist/rate-limiter/contracts/_module.d.ts +9 -0
- package/dist/rate-limiter/contracts/_module.js +4 -0
- package/dist/rate-limiter/contracts/_module.js.map +1 -0
- package/dist/rate-limiter/contracts/rate-limiter-adapter.contract.d.ts +36 -0
- package/dist/rate-limiter/contracts/rate-limiter-adapter.contract.js +7 -0
- package/dist/rate-limiter/contracts/rate-limiter-adapter.contract.js.map +1 -0
- package/dist/rate-limiter/contracts/rate-limiter-policy.contract.d.ts +28 -0
- package/dist/rate-limiter/contracts/rate-limiter-policy.contract.js +5 -0
- package/dist/rate-limiter/contracts/rate-limiter-policy.contract.js.map +1 -0
- package/dist/rate-limiter/contracts/rate-limiter-provider-factory.contract.d.ts +19 -0
- package/dist/rate-limiter/contracts/rate-limiter-provider-factory.contract.js +10 -0
- package/dist/rate-limiter/contracts/rate-limiter-provider-factory.contract.js.map +1 -0
- package/dist/rate-limiter/contracts/rate-limiter-provider.contract.d.ts +39 -0
- package/dist/rate-limiter/contracts/rate-limiter-provider.contract.js +8 -0
- package/dist/rate-limiter/contracts/rate-limiter-provider.contract.js.map +1 -0
- package/dist/rate-limiter/contracts/rate-limiter-state.contract.d.ts +48 -0
- package/dist/rate-limiter/contracts/rate-limiter-state.contract.js +14 -0
- package/dist/rate-limiter/contracts/rate-limiter-state.contract.js.map +1 -0
- package/dist/rate-limiter/contracts/rate-limiter-storage-adapter.contract.d.ts +65 -0
- package/dist/rate-limiter/contracts/rate-limiter-storage-adapter.contract.js +5 -0
- package/dist/rate-limiter/contracts/rate-limiter-storage-adapter.contract.js.map +1 -0
- package/dist/rate-limiter/contracts/rate-limiter.contract.d.ts +46 -0
- package/dist/rate-limiter/contracts/rate-limiter.contract.js +10 -0
- package/dist/rate-limiter/contracts/rate-limiter.contract.js.map +1 -0
- package/dist/rate-limiter/contracts/rate-limiter.errors.d.ts +34 -0
- package/dist/rate-limiter/contracts/rate-limiter.errors.js +40 -0
- package/dist/rate-limiter/contracts/rate-limiter.errors.js.map +1 -0
- package/dist/rate-limiter/contracts/rate-limiter.events.d.ts +74 -0
- package/dist/rate-limiter/contracts/rate-limiter.events.js +17 -0
- package/dist/rate-limiter/contracts/rate-limiter.events.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/_module.d.ts +7 -0
- package/dist/rate-limiter/implementations/adapters/_module.js +8 -0
- package/dist/rate-limiter/implementations/adapters/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/_module-exports.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/_module-exports.js +2 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/_module-exports.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/_module.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/_module.js +2 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/database-rate-limiter-adapter.d.ts +56 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/database-rate-limiter-adapter.js +75 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/database-rate-limiter-adapter.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/rate-limiter-policy.d.ts +48 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/rate-limiter-policy.js +69 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/rate-limiter-policy.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/rate-limiter-state-manager.d.ts +15 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/rate-limiter-state-manager.js +33 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/rate-limiter-state-manager.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/rate-limiter-storage.d.ts +45 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/rate-limiter-storage.js +59 -0
- package/dist/rate-limiter/implementations/adapters/database-rate-limiter-adapter/rate-limiter-storage.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/kysely-rate-limiter-storage-adapter/_module-exports.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/kysely-rate-limiter-storage-adapter/_module-exports.js +2 -0
- package/dist/rate-limiter/implementations/adapters/kysely-rate-limiter-storage-adapter/_module-exports.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/kysely-rate-limiter-storage-adapter/_module.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/kysely-rate-limiter-storage-adapter/_module.js +2 -0
- package/dist/rate-limiter/implementations/adapters/kysely-rate-limiter-storage-adapter/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/kysely-rate-limiter-storage-adapter/kysely-rate-limiter-storage-adapter.d.ts +95 -0
- package/dist/rate-limiter/implementations/adapters/kysely-rate-limiter-storage-adapter/kysely-rate-limiter-storage-adapter.js +186 -0
- package/dist/rate-limiter/implementations/adapters/kysely-rate-limiter-storage-adapter/kysely-rate-limiter-storage-adapter.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/memory-rate-limiter-storage-adapter/_module-exports.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/memory-rate-limiter-storage-adapter/_module-exports.js +2 -0
- package/dist/rate-limiter/implementations/adapters/memory-rate-limiter-storage-adapter/_module-exports.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/memory-rate-limiter-storage-adapter/_module.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/memory-rate-limiter-storage-adapter/_module.js +2 -0
- package/dist/rate-limiter/implementations/adapters/memory-rate-limiter-storage-adapter/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/memory-rate-limiter-storage-adapter/memory-rate-limiter-storage-adapter.d.ts +37 -0
- package/dist/rate-limiter/implementations/adapters/memory-rate-limiter-storage-adapter/memory-rate-limiter-storage-adapter.js +71 -0
- package/dist/rate-limiter/implementations/adapters/memory-rate-limiter-storage-adapter/memory-rate-limiter-storage-adapter.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/mongodb-rate-limiter-storage-adapter/_module-exports.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/mongodb-rate-limiter-storage-adapter/_module-exports.js +2 -0
- package/dist/rate-limiter/implementations/adapters/mongodb-rate-limiter-storage-adapter/_module-exports.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/mongodb-rate-limiter-storage-adapter/_module.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/mongodb-rate-limiter-storage-adapter/_module.js +2 -0
- package/dist/rate-limiter/implementations/adapters/mongodb-rate-limiter-storage-adapter/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/mongodb-rate-limiter-storage-adapter/mongodb-rate-limiter-storage-adapter.d.ts +77 -0
- package/dist/rate-limiter/implementations/adapters/mongodb-rate-limiter-storage-adapter/mongodb-rate-limiter-storage-adapter.js +126 -0
- package/dist/rate-limiter/implementations/adapters/mongodb-rate-limiter-storage-adapter/mongodb-rate-limiter-storage-adapter.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-adapter/_module-exports.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-adapter/_module-exports.js +2 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-adapter/_module-exports.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-adapter/_module.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-adapter/_module.js +2 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-adapter/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-adapter/no-op-rate-limiter-adapter.d.ts +13 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-adapter/no-op-rate-limiter-adapter.js +29 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-adapter/no-op-rate-limiter-adapter.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-storage-adapter/_module-exports.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-storage-adapter/_module-exports.js +2 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-storage-adapter/_module-exports.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-storage-adapter/_module.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-storage-adapter/_module.js +2 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-storage-adapter/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-storage-adapter/no-op-rate-limiter-storage-adapter.d.ts +16 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-storage-adapter/no-op-rate-limiter-storage-adapter.js +33 -0
- package/dist/rate-limiter/implementations/adapters/no-op-rate-limiter-storage-adapter/no-op-rate-limiter-storage-adapter.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/_module-exports.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/_module-exports.js +2 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/_module-exports.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/_module.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/_module.js +2 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/_module.d.ts +1 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/_module.js +2 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/fixed-window-limiter-lua.d.ts +7 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/fixed-window-limiter-lua.js +55 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/fixed-window-limiter-lua.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-factory-lua.d.ts +4 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-factory-lua.js +71 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-factory-lua.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-lua.d.ts +4 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-lua.js +29 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-lua.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-policy-lua.d.ts +7 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-policy-lua.js +82 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-policy-lua.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-state-manager-lua.d.ts +7 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-state-manager-lua.js +51 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-state-manager-lua.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-storage-lua.d.ts +7 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-storage-lua.js +59 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/rate-limiter-storage-lua.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/sliding-window-limiter-lua.d.ts +7 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/sliding-window-limiter-lua.js +113 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/lua/sliding-window-limiter-lua.js.map +1 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/redis-rate-limiter-adapter.d.ts +64 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/redis-rate-limiter-adapter.js +95 -0
- package/dist/rate-limiter/implementations/adapters/redis-rate-limiter-adapter/redis-rate-limiter-adapter.js.map +1 -0
- package/dist/rate-limiter/implementations/derivables/_module-exports.d.ts +2 -0
- package/dist/rate-limiter/implementations/derivables/_module-exports.js +3 -0
- package/dist/rate-limiter/implementations/derivables/_module-exports.js.map +1 -0
- package/dist/rate-limiter/implementations/derivables/_module.d.ts +2 -0
- package/dist/rate-limiter/implementations/derivables/_module.js +3 -0
- package/dist/rate-limiter/implementations/derivables/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider/_module.d.ts +1 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider/_module.js +2 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider/rate-limiter-provider.d.ts +114 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider/rate-limiter-provider.js +104 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider/rate-limiter-provider.js.map +1 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider/rate-limiter.d.ts +41 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider/rate-limiter.js +160 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider/rate-limiter.js.map +1 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider-factory/_module.d.ts +2 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider-factory/_module.js +3 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider-factory/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider-factory/database-rate-limiter-provider-factory.d.ts +135 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider-factory/database-rate-limiter-provider-factory.js +156 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider-factory/database-rate-limiter-provider-factory.js.map +1 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider-factory/rate-limiter-provider-factory.d.ts +106 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider-factory/rate-limiter-provider-factory.js +132 -0
- package/dist/rate-limiter/implementations/derivables/rate-limiter-provider-factory/rate-limiter-provider-factory.js.map +1 -0
- package/dist/rate-limiter/implementations/policies/_module-exports.d.ts +4 -0
- package/dist/rate-limiter/implementations/policies/_module-exports.js +5 -0
- package/dist/rate-limiter/implementations/policies/_module-exports.js.map +1 -0
- package/dist/rate-limiter/implementations/policies/_module.d.ts +4 -0
- package/dist/rate-limiter/implementations/policies/_module.js +5 -0
- package/dist/rate-limiter/implementations/policies/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/policies/_shared.d.ts +12 -0
- package/dist/rate-limiter/implementations/policies/_shared.js +37 -0
- package/dist/rate-limiter/implementations/policies/_shared.js.map +1 -0
- package/dist/rate-limiter/implementations/policies/fixed-window-limiter/_module.d.ts +1 -0
- package/dist/rate-limiter/implementations/policies/fixed-window-limiter/_module.js +2 -0
- package/dist/rate-limiter/implementations/policies/fixed-window-limiter/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/policies/fixed-window-limiter/fixed-window-limiter.d.ts +74 -0
- package/dist/rate-limiter/implementations/policies/fixed-window-limiter/fixed-window-limiter.js +73 -0
- package/dist/rate-limiter/implementations/policies/fixed-window-limiter/fixed-window-limiter.js.map +1 -0
- package/dist/rate-limiter/implementations/policies/sliding-window-limiter/_module.d.ts +1 -0
- package/dist/rate-limiter/implementations/policies/sliding-window-limiter/_module.js +2 -0
- package/dist/rate-limiter/implementations/policies/sliding-window-limiter/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/policies/sliding-window-limiter/sliding-window-limiter.d.ts +86 -0
- package/dist/rate-limiter/implementations/policies/sliding-window-limiter/sliding-window-limiter.js +106 -0
- package/dist/rate-limiter/implementations/policies/sliding-window-limiter/sliding-window-limiter.js.map +1 -0
- package/dist/rate-limiter/implementations/policies/types.d.ts +47 -0
- package/dist/rate-limiter/implementations/policies/types.js +14 -0
- package/dist/rate-limiter/implementations/policies/types.js.map +1 -0
- package/dist/rate-limiter/implementations/test-utilities/_module-exports.d.ts +3 -0
- package/dist/rate-limiter/implementations/test-utilities/_module-exports.js +4 -0
- package/dist/rate-limiter/implementations/test-utilities/_module-exports.js.map +1 -0
- package/dist/rate-limiter/implementations/test-utilities/_module.d.ts +3 -0
- package/dist/rate-limiter/implementations/test-utilities/_module.js +4 -0
- package/dist/rate-limiter/implementations/test-utilities/_module.js.map +1 -0
- package/dist/rate-limiter/implementations/test-utilities/fixed-window-limiter.test-suite.d.ts +60 -0
- package/dist/rate-limiter/implementations/test-utilities/fixed-window-limiter.test-suite.js +90 -0
- package/dist/rate-limiter/implementations/test-utilities/fixed-window-limiter.test-suite.js.map +1 -0
- package/dist/rate-limiter/implementations/test-utilities/rate-limiter-storage-adapter.test-suite.d.ts +45 -0
- package/dist/rate-limiter/implementations/test-utilities/rate-limiter-storage-adapter.test-suite.js +102 -0
- package/dist/rate-limiter/implementations/test-utilities/rate-limiter-storage-adapter.test-suite.js.map +1 -0
- package/dist/rate-limiter/implementations/test-utilities/sliding-window-limiter.test-suite.d.ts +60 -0
- package/dist/rate-limiter/implementations/test-utilities/sliding-window-limiter.test-suite.js +91 -0
- package/dist/rate-limiter/implementations/test-utilities/sliding-window-limiter.test-suite.js.map +1 -0
- package/dist/resilience/_module.d.ts +2 -0
- package/dist/resilience/_module.js +3 -0
- package/dist/resilience/_module.js.map +1 -0
- package/dist/resilience/middlewares/dynamic/dynamic.middleware.d.ts +2 -2
- package/dist/resilience/middlewares/dynamic/dynamic.middleware.js +2 -1
- package/dist/resilience/middlewares/dynamic/dynamic.middleware.js.map +1 -1
- package/dist/resilience/middlewares/fallback/_module.d.ts +1 -1
- package/dist/resilience/middlewares/fallback/_module.js +0 -1
- package/dist/resilience/middlewares/fallback/_module.js.map +1 -1
- package/dist/resilience/middlewares/fallback/fallback.middleware.d.ts +3 -25
- package/dist/resilience/middlewares/fallback/fallback.middleware.js +6 -32
- package/dist/resilience/middlewares/fallback/fallback.middleware.js.map +1 -1
- package/dist/resilience/middlewares/fallback/fallback.types.d.ts +4 -6
- package/dist/resilience/middlewares/fallback/fallback.types.js +2 -2
- package/dist/resilience/middlewares/fallback/fallback.types.js.map +1 -1
- package/dist/resilience/middlewares/observe/_module.d.ts +1 -1
- package/dist/resilience/middlewares/observe/_module.js +0 -1
- package/dist/resilience/middlewares/observe/_module.js.map +1 -1
- package/dist/resilience/middlewares/observe/observe.middleware.d.ts +3 -39
- package/dist/resilience/middlewares/observe/observe.middleware.js +5 -57
- package/dist/resilience/middlewares/observe/observe.middleware.js.map +1 -1
- package/dist/resilience/middlewares/observe/observe.types.d.ts +4 -5
- package/dist/resilience/middlewares/observe/observe.types.js +3 -1
- package/dist/resilience/middlewares/observe/observe.types.js.map +1 -1
- package/dist/resilience/middlewares/retry/_module.d.ts +1 -1
- package/dist/resilience/middlewares/retry/_module.js +0 -1
- package/dist/resilience/middlewares/retry/_module.js.map +1 -1
- package/dist/resilience/middlewares/retry/retry.middleware.d.ts +3 -33
- package/dist/resilience/middlewares/retry/retry.middleware.js +9 -40
- package/dist/resilience/middlewares/retry/retry.middleware.js.map +1 -1
- package/dist/resilience/middlewares/retry/retry.types.d.ts +7 -9
- package/dist/resilience/middlewares/retry/retry.types.js +4 -3
- package/dist/resilience/middlewares/retry/retry.types.js.map +1 -1
- package/dist/resilience/middlewares/timeout/_module.d.ts +1 -1
- package/dist/resilience/middlewares/timeout/_module.js +0 -1
- package/dist/resilience/middlewares/timeout/_module.js.map +1 -1
- package/dist/resilience/middlewares/timeout/timeout.middleware.d.ts +2 -2
- package/dist/resilience/middlewares/timeout/timeout.middleware.js +4 -2
- package/dist/resilience/middlewares/timeout/timeout.middleware.js.map +1 -1
- package/dist/resilience/middlewares/timeout/timeout.type.d.ts +4 -4
- package/dist/resilience/middlewares/timeout/timeout.type.js +4 -1
- package/dist/resilience/middlewares/timeout/timeout.type.js.map +1 -1
- package/dist/resilience/utilities/timeout-and-fail/timeout-and-fail.d.ts +1 -1
- package/dist/resilience/utilities/timeout-and-fail/timeout-and-fail.js +1 -1
- package/dist/resilience/utilities/timeout-and-fail/timeout-and-fail.js.map +1 -1
- package/dist/semaphore/contracts/_module-exports.d.ts +6 -6
- package/dist/semaphore/contracts/_module-exports.js +0 -6
- package/dist/semaphore/contracts/_module-exports.js.map +1 -1
- package/dist/semaphore/contracts/_module.d.ts +9 -0
- package/dist/semaphore/contracts/_module.js +4 -0
- package/dist/semaphore/contracts/_module.js.map +1 -0
- package/dist/semaphore/contracts/database-semaphore-adapter.contract.d.ts +1 -1
- package/dist/semaphore/contracts/database-semaphore-adapter.contract.js +1 -1
- package/dist/semaphore/contracts/database-semaphore-adapter.contract.js.map +1 -1
- package/dist/semaphore/contracts/semaphore-adapter.contract.d.ts +1 -1
- package/dist/semaphore/contracts/semaphore-adapter.contract.js +3 -1
- package/dist/semaphore/contracts/semaphore-adapter.contract.js.map +1 -1
- package/dist/semaphore/contracts/semaphore-provider-factory.contract.d.ts +1 -1
- package/dist/semaphore/contracts/semaphore-provider-factory.contract.js +2 -1
- package/dist/semaphore/contracts/semaphore-provider-factory.contract.js.map +1 -1
- package/dist/semaphore/contracts/semaphore-provider.contract.d.ts +4 -8
- package/dist/semaphore/contracts/semaphore-provider.contract.js +4 -1
- package/dist/semaphore/contracts/semaphore-provider.contract.js.map +1 -1
- package/dist/semaphore/contracts/semaphore-state.contract.d.ts +2 -2
- package/dist/semaphore/contracts/semaphore-state.contract.js +1 -0
- package/dist/semaphore/contracts/semaphore-state.contract.js.map +1 -1
- package/dist/semaphore/contracts/semaphore.contract.d.ts +18 -28
- package/dist/semaphore/contracts/semaphore.contract.js +5 -1
- package/dist/semaphore/contracts/semaphore.contract.js.map +1 -1
- package/dist/semaphore/contracts/semaphore.errors.d.ts +19 -0
- package/dist/semaphore/contracts/semaphore.errors.js +25 -0
- package/dist/semaphore/contracts/semaphore.errors.js.map +1 -1
- package/dist/semaphore/contracts/semaphore.events.d.ts +1 -1
- package/dist/semaphore/contracts/semaphore.events.js +1 -0
- package/dist/semaphore/contracts/semaphore.events.js.map +1 -1
- package/dist/semaphore/contracts/types.d.ts +2 -2
- package/dist/semaphore/contracts/types.js +2 -1
- package/dist/semaphore/contracts/types.js.map +1 -1
- package/dist/semaphore/implementations/adapters/_module.d.ts +5 -5
- package/dist/semaphore/implementations/adapters/_module.js +5 -5
- package/dist/semaphore/implementations/adapters/_module.js.map +1 -1
- package/dist/semaphore/implementations/adapters/kysely-semaphore-adapter/_module.d.ts +1 -0
- package/dist/semaphore/implementations/adapters/kysely-semaphore-adapter/_module.js +2 -0
- package/dist/semaphore/implementations/adapters/kysely-semaphore-adapter/_module.js.map +1 -0
- package/dist/semaphore/implementations/adapters/kysely-semaphore-adapter/kysely-semaphore-adapter.d.ts +12 -5
- package/dist/semaphore/implementations/adapters/kysely-semaphore-adapter/kysely-semaphore-adapter.js +11 -4
- package/dist/semaphore/implementations/adapters/kysely-semaphore-adapter/kysely-semaphore-adapter.js.map +1 -1
- package/dist/semaphore/implementations/adapters/memory-semaphore-adapter/_module.d.ts +1 -0
- package/dist/semaphore/implementations/adapters/memory-semaphore-adapter/_module.js +2 -0
- package/dist/semaphore/implementations/adapters/memory-semaphore-adapter/_module.js.map +1 -0
- package/dist/semaphore/implementations/adapters/memory-semaphore-adapter/memory-semaphore-adapter.d.ts +9 -4
- package/dist/semaphore/implementations/adapters/memory-semaphore-adapter/memory-semaphore-adapter.js +19 -1
- package/dist/semaphore/implementations/adapters/memory-semaphore-adapter/memory-semaphore-adapter.js.map +1 -1
- package/dist/semaphore/implementations/adapters/mongodb-semaphore-adapter/_module.d.ts +1 -0
- package/dist/semaphore/implementations/adapters/mongodb-semaphore-adapter/_module.js +2 -0
- package/dist/semaphore/implementations/adapters/mongodb-semaphore-adapter/_module.js.map +1 -0
- package/dist/semaphore/implementations/adapters/mongodb-semaphore-adapter/mongodb-semaphore-adapter.d.ts +8 -5
- package/dist/semaphore/implementations/adapters/mongodb-semaphore-adapter/mongodb-semaphore-adapter.js +7 -3
- package/dist/semaphore/implementations/adapters/mongodb-semaphore-adapter/mongodb-semaphore-adapter.js.map +1 -1
- package/dist/semaphore/implementations/adapters/no-op-semaphore-adapter/_module.d.ts +1 -0
- package/dist/semaphore/implementations/adapters/no-op-semaphore-adapter/_module.js +2 -0
- package/dist/semaphore/implementations/adapters/no-op-semaphore-adapter/_module.js.map +1 -0
- package/dist/semaphore/implementations/adapters/no-op-semaphore-adapter/no-op-semaphore-adapter.d.ts +2 -2
- package/dist/semaphore/implementations/adapters/no-op-semaphore-adapter/no-op-semaphore-adapter.js +2 -0
- package/dist/semaphore/implementations/adapters/no-op-semaphore-adapter/no-op-semaphore-adapter.js.map +1 -1
- package/dist/semaphore/implementations/adapters/redis-semaphore-adapter/_module.d.ts +1 -0
- package/dist/semaphore/implementations/adapters/redis-semaphore-adapter/_module.js +2 -0
- package/dist/semaphore/implementations/adapters/redis-semaphore-adapter/_module.js.map +1 -0
- package/dist/semaphore/implementations/adapters/redis-semaphore-adapter/redis-semaphore-adapter.d.ts +3 -3
- package/dist/semaphore/implementations/adapters/redis-semaphore-adapter/redis-semaphore-adapter.js +3 -0
- package/dist/semaphore/implementations/adapters/redis-semaphore-adapter/redis-semaphore-adapter.js.map +1 -1
- package/dist/semaphore/implementations/derivables/_module-exports.d.ts +1 -1
- package/dist/semaphore/implementations/derivables/_module-exports.js +0 -1
- package/dist/semaphore/implementations/derivables/_module-exports.js.map +1 -1
- package/dist/semaphore/implementations/derivables/_module.d.ts +2 -0
- package/dist/semaphore/implementations/derivables/_module.js +2 -0
- package/dist/semaphore/implementations/derivables/_module.js.map +1 -0
- package/dist/semaphore/implementations/derivables/semaphore-provider/database-semaphore-adapter.d.ts +2 -2
- package/dist/semaphore/implementations/derivables/semaphore-provider/database-semaphore-adapter.js +3 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider/database-semaphore-adapter.js.map +1 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider/is-database-semaphore-adapter.d.ts +1 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider/is-database-semaphore-adapter.js +4 -0
- package/dist/semaphore/implementations/derivables/semaphore-provider/is-database-semaphore-adapter.js.map +1 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider/resolve-semaphore-adapter.d.ts +8 -0
- package/dist/semaphore/implementations/derivables/semaphore-provider/{resolve-database-semaphore-adapter.js → resolve-semaphore-adapter.js} +4 -3
- package/dist/semaphore/implementations/derivables/semaphore-provider/resolve-semaphore-adapter.js.map +1 -0
- package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore-provider.d.ts +30 -18
- package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore-provider.js +19 -12
- package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore-provider.js.map +1 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore-serde-transformer.d.ts +6 -6
- package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore-serde-transformer.js +6 -3
- package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore-serde-transformer.js.map +1 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore.d.ts +19 -23
- package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore.js +13 -36
- package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore.js.map +1 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider-factory/_module.d.ts +1 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider-factory/_module.js +1 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider-factory/_module.js.map +1 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider-factory/semaphore-provider-factory.d.ts +5 -5
- package/dist/semaphore/implementations/derivables/semaphore-provider-factory/semaphore-provider-factory.js +9 -2
- package/dist/semaphore/implementations/derivables/semaphore-provider-factory/semaphore-provider-factory.js.map +1 -1
- package/dist/semaphore/implementations/test-utilities/_module.d.ts +3 -0
- package/dist/semaphore/implementations/test-utilities/_module.js +4 -0
- package/dist/semaphore/implementations/test-utilities/_module.js.map +1 -0
- package/dist/semaphore/implementations/test-utilities/database-semaphore-adapter.test-suite.d.ts +2 -2
- package/dist/semaphore/implementations/test-utilities/database-semaphore-adapter.test-suite.js +3 -2
- package/dist/semaphore/implementations/test-utilities/database-semaphore-adapter.test-suite.js.map +1 -1
- package/dist/semaphore/implementations/test-utilities/semaphore-adapter.test-suite.d.ts +3 -3
- package/dist/semaphore/implementations/test-utilities/semaphore-adapter.test-suite.js +5 -5
- package/dist/semaphore/implementations/test-utilities/semaphore-adapter.test-suite.js.map +1 -1
- package/dist/semaphore/implementations/test-utilities/semaphore-provider.test-suite.d.ts +3 -3
- package/dist/semaphore/implementations/test-utilities/semaphore-provider.test-suite.js +76 -805
- package/dist/semaphore/implementations/test-utilities/semaphore-provider.test-suite.js.map +1 -1
- package/dist/serde/contracts/_module-exports.d.ts +5 -5
- package/dist/serde/contracts/_module-exports.js +0 -5
- package/dist/serde/contracts/_module-exports.js.map +1 -1
- package/dist/serde/contracts/_module.d.ts +6 -0
- package/dist/serde/contracts/_module.js +2 -0
- package/dist/serde/contracts/_module.js.map +1 -0
- package/dist/serde/contracts/flexible-serde-adapter.contract.d.ts +1 -1
- package/dist/serde/contracts/flexible-serde-adapter.contract.js +1 -1
- package/dist/serde/contracts/flexible-serde-adapter.contract.js.map +1 -1
- package/dist/serde/contracts/flexible-serde.contract.d.ts +2 -2
- package/dist/serde/contracts/flexible-serde.contract.js +2 -1
- package/dist/serde/contracts/flexible-serde.contract.js.map +1 -1
- package/dist/serde/contracts/serde.contract.d.ts +2 -2
- package/dist/serde/contracts/serde.contract.js +2 -1
- package/dist/serde/contracts/serde.contract.js.map +1 -1
- package/dist/serde/contracts/serde.errors.d.ts +12 -0
- package/dist/serde/contracts/serde.errors.js +16 -0
- package/dist/serde/contracts/serde.errors.js.map +1 -1
- package/dist/serde/implementations/adapters/_module.d.ts +2 -2
- package/dist/serde/implementations/adapters/_module.js +2 -2
- package/dist/serde/implementations/adapters/_module.js.map +1 -1
- package/dist/serde/implementations/adapters/no-op-serde-adapter/_module.d.ts +1 -0
- package/dist/serde/implementations/adapters/no-op-serde-adapter/_module.js +2 -0
- package/dist/serde/implementations/adapters/no-op-serde-adapter/_module.js.map +1 -0
- package/dist/serde/implementations/adapters/no-op-serde-adapter/no-op-serde-adapter.d.ts +1 -1
- package/dist/serde/implementations/adapters/no-op-serde-adapter/no-op-serde-adapter.js +4 -0
- package/dist/serde/implementations/adapters/no-op-serde-adapter/no-op-serde-adapter.js.map +1 -1
- package/dist/serde/implementations/adapters/super-json-serde-adapter/_module.d.ts +1 -0
- package/dist/serde/implementations/adapters/super-json-serde-adapter/_module.js +2 -0
- package/dist/serde/implementations/adapters/super-json-serde-adapter/_module.js.map +1 -0
- package/dist/serde/implementations/adapters/super-json-serde-adapter/super-json-serde-adapter.d.ts +1 -1
- package/dist/serde/implementations/adapters/super-json-serde-adapter/super-json-serde-adapter.js +3 -3
- package/dist/serde/implementations/adapters/super-json-serde-adapter/super-json-serde-adapter.js.map +1 -1
- package/dist/serde/implementations/derivables/_module.d.ts +1 -0
- package/dist/serde/implementations/derivables/_module.js +2 -0
- package/dist/serde/implementations/derivables/_module.js.map +1 -0
- package/dist/serde/implementations/derivables/serde-transformers.d.ts +2 -2
- package/dist/serde/implementations/derivables/serde-transformers.js +5 -1
- package/dist/serde/implementations/derivables/serde-transformers.js.map +1 -1
- package/dist/serde/implementations/derivables/serde.d.ts +2 -2
- package/dist/serde/implementations/derivables/serde.js +2 -1
- package/dist/serde/implementations/derivables/serde.js.map +1 -1
- package/dist/serde/implementations/test-utilities/_module.d.ts +2 -0
- package/dist/serde/implementations/test-utilities/_module.js +3 -0
- package/dist/serde/implementations/test-utilities/_module.js.map +1 -0
- package/dist/serde/implementations/test-utilities/flexible-serde-adapter.test-suite.d.ts +1 -1
- package/dist/serde/implementations/test-utilities/flexible-serde-adapter.test-suite.js +1 -0
- package/dist/serde/implementations/test-utilities/flexible-serde-adapter.test-suite.js.map +1 -1
- package/dist/serde/implementations/test-utilities/flexible-serde.test-suite.d.ts +1 -1
- package/dist/serde/implementations/test-utilities/flexible-serde.test-suite.js +1 -0
- package/dist/serde/implementations/test-utilities/flexible-serde.test-suite.js.map +1 -1
- package/dist/shared-lock/contracts/_module-exports.d.ts +7 -7
- package/dist/shared-lock/contracts/_module-exports.js +0 -7
- package/dist/shared-lock/contracts/_module-exports.js.map +1 -1
- package/dist/shared-lock/contracts/_module.d.ts +10 -0
- package/dist/shared-lock/contracts/_module.js +4 -0
- package/dist/shared-lock/contracts/_module.js.map +1 -0
- package/dist/shared-lock/contracts/database-shared-lock-adapter.contract.d.ts +1 -1
- package/dist/shared-lock/contracts/database-shared-lock-adapter.contract.js +1 -1
- package/dist/shared-lock/contracts/database-shared-lock-adapter.contract.js.map +1 -1
- package/dist/shared-lock/contracts/shared-lock-adapter.contract.d.ts +1 -1
- package/dist/shared-lock/contracts/shared-lock-adapter.contract.js +3 -1
- package/dist/shared-lock/contracts/shared-lock-adapter.contract.js.map +1 -1
- package/dist/shared-lock/contracts/shared-lock-provider-factory.contract.d.ts +1 -1
- package/dist/shared-lock/contracts/shared-lock-provider-factory.contract.js +2 -1
- package/dist/shared-lock/contracts/shared-lock-provider-factory.contract.js.map +1 -1
- package/dist/shared-lock/contracts/shared-lock-provider.contract.d.ts +4 -8
- package/dist/shared-lock/contracts/shared-lock-provider.contract.js +4 -1
- package/dist/shared-lock/contracts/shared-lock-provider.contract.js.map +1 -1
- package/dist/shared-lock/contracts/shared-lock-state.contract.d.ts +3 -3
- package/dist/shared-lock/contracts/shared-lock-state.contract.js +1 -0
- package/dist/shared-lock/contracts/shared-lock-state.contract.js.map +1 -1
- package/dist/shared-lock/contracts/shared-lock.contract.d.ts +33 -51
- package/dist/shared-lock/contracts/shared-lock.contract.js +5 -0
- package/dist/shared-lock/contracts/shared-lock.contract.js.map +1 -1
- package/dist/shared-lock/contracts/shared-lock.errors.d.ts +37 -0
- package/dist/shared-lock/contracts/shared-lock.errors.js +52 -0
- package/dist/shared-lock/contracts/shared-lock.errors.js.map +1 -1
- package/dist/shared-lock/contracts/shared-lock.events.d.ts +1 -1
- package/dist/shared-lock/contracts/shared-lock.events.js +1 -0
- package/dist/shared-lock/contracts/shared-lock.events.js.map +1 -1
- package/dist/shared-lock/contracts/types.d.ts +2 -2
- package/dist/shared-lock/contracts/types.js +2 -1
- package/dist/shared-lock/contracts/types.js.map +1 -1
- package/dist/shared-lock/implementations/adapters/_module.d.ts +5 -5
- package/dist/shared-lock/implementations/adapters/_module.js +5 -5
- package/dist/shared-lock/implementations/adapters/_module.js.map +1 -1
- package/dist/shared-lock/implementations/adapters/kysely-shared-lock-adapter/_module.d.ts +1 -0
- package/dist/shared-lock/implementations/adapters/kysely-shared-lock-adapter/_module.js +2 -0
- package/dist/shared-lock/implementations/adapters/kysely-shared-lock-adapter/_module.js.map +1 -0
- package/dist/shared-lock/implementations/adapters/kysely-shared-lock-adapter/kysely-shared-lock-adapter.d.ts +12 -5
- package/dist/shared-lock/implementations/adapters/kysely-shared-lock-adapter/kysely-shared-lock-adapter.js +11 -4
- package/dist/shared-lock/implementations/adapters/kysely-shared-lock-adapter/kysely-shared-lock-adapter.js.map +1 -1
- package/dist/shared-lock/implementations/adapters/memory-shared-lock-adapter/_module.d.ts +1 -0
- package/dist/shared-lock/implementations/adapters/memory-shared-lock-adapter/_module.js +2 -0
- package/dist/shared-lock/implementations/adapters/memory-shared-lock-adapter/_module.js.map +1 -0
- package/dist/shared-lock/implementations/adapters/memory-shared-lock-adapter/memory-shared-lock-adapter.d.ts +7 -4
- package/dist/shared-lock/implementations/adapters/memory-shared-lock-adapter/memory-shared-lock-adapter.js +7 -2
- package/dist/shared-lock/implementations/adapters/memory-shared-lock-adapter/memory-shared-lock-adapter.js.map +1 -1
- package/dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/_module.d.ts +1 -0
- package/dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/_module.js +2 -0
- package/dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/_module.js.map +1 -0
- package/dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/mongodb-shared-lock-adapter.d.ts +6 -6
- package/dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/mongodb-shared-lock-adapter.js +6 -4
- package/dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/mongodb-shared-lock-adapter.js.map +1 -1
- package/dist/shared-lock/implementations/adapters/no-op-shared-lock-adapter/_module.d.ts +1 -0
- package/dist/shared-lock/implementations/adapters/no-op-shared-lock-adapter/_module.js +2 -0
- package/dist/shared-lock/implementations/adapters/no-op-shared-lock-adapter/_module.js.map +1 -0
- package/dist/shared-lock/implementations/adapters/no-op-shared-lock-adapter/no-op-shared-lock-adapter.d.ts +2 -2
- package/dist/shared-lock/implementations/adapters/no-op-shared-lock-adapter/no-op-shared-lock-adapter.js +2 -0
- package/dist/shared-lock/implementations/adapters/no-op-shared-lock-adapter/no-op-shared-lock-adapter.js.map +1 -1
- package/dist/shared-lock/implementations/adapters/redis-shared-lock-adapter/_module.d.ts +1 -0
- package/dist/shared-lock/implementations/adapters/redis-shared-lock-adapter/_module.js +2 -0
- package/dist/shared-lock/implementations/adapters/redis-shared-lock-adapter/_module.js.map +1 -0
- package/dist/shared-lock/implementations/adapters/redis-shared-lock-adapter/redis-shared-lock-adapter.d.ts +3 -3
- package/dist/shared-lock/implementations/adapters/redis-shared-lock-adapter/redis-shared-lock-adapter.js +3 -0
- package/dist/shared-lock/implementations/adapters/redis-shared-lock-adapter/redis-shared-lock-adapter.js.map +1 -1
- package/dist/shared-lock/implementations/derivables/_module.d.ts +2 -0
- package/dist/shared-lock/implementations/derivables/_module.js +3 -0
- package/dist/shared-lock/implementations/derivables/_module.js.map +1 -0
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/database-shared-lock-adapter.d.ts +2 -3
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/database-shared-lock-adapter.js +6 -3
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/database-shared-lock-adapter.js.map +1 -1
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/is-database-shared-lock-adapter.d.ts +1 -1
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/is-database-shared-lock-adapter.js +1 -0
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/is-database-shared-lock-adapter.js.map +1 -1
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/resolve-shared-lock-adapter.d.ts +8 -0
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/{resolve-database-shared-lock-adapter.js → resolve-shared-lock-adapter.js} +4 -3
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/resolve-shared-lock-adapter.js.map +1 -0
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/shared-lock-provider.d.ts +29 -17
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/shared-lock-provider.js +18 -12
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/shared-lock-provider.js.map +1 -1
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/shared-lock-serde-transformer.d.ts +6 -6
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/shared-lock-serde-transformer.js +6 -3
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/shared-lock-serde-transformer.js.map +1 -1
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/shared-lock.d.ts +31 -35
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/shared-lock.js +17 -68
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/shared-lock.js.map +1 -1
- package/dist/shared-lock/implementations/derivables/shared-lock-provider-factory/shared-lock-provider-factory.d.ts +6 -6
- package/dist/shared-lock/implementations/derivables/shared-lock-provider-factory/shared-lock-provider-factory.js +9 -2
- package/dist/shared-lock/implementations/derivables/shared-lock-provider-factory/shared-lock-provider-factory.js.map +1 -1
- package/dist/shared-lock/implementations/test-utilities/_module.d.ts +3 -0
- package/dist/shared-lock/implementations/test-utilities/_module.js +4 -0
- package/dist/shared-lock/implementations/test-utilities/_module.js.map +1 -0
- package/dist/shared-lock/implementations/test-utilities/database-shared-lock-adapter.test-suite.d.ts +3 -3
- package/dist/shared-lock/implementations/test-utilities/database-shared-lock-adapter.test-suite.js +7 -1
- package/dist/shared-lock/implementations/test-utilities/database-shared-lock-adapter.test-suite.js.map +1 -1
- package/dist/shared-lock/implementations/test-utilities/shared-lock-adapter.test-suite.d.ts +2 -2
- package/dist/shared-lock/implementations/test-utilities/shared-lock-adapter.test-suite.js +4 -4
- package/dist/shared-lock/implementations/test-utilities/shared-lock-adapter.test-suite.js.map +1 -1
- package/dist/shared-lock/implementations/test-utilities/shared-lock-provider.test-suite.d.ts +3 -3
- package/dist/shared-lock/implementations/test-utilities/shared-lock-provider.test-suite.js +1005 -2495
- package/dist/shared-lock/implementations/test-utilities/shared-lock-provider.test-suite.js.map +1 -1
- package/dist/task/contracts/_module-exports.d.ts +1 -0
- package/dist/task/contracts/_module-exports.js +2 -0
- package/dist/task/contracts/_module-exports.js.map +1 -0
- package/dist/task/contracts/_module.d.ts +1 -0
- package/dist/task/contracts/_module.js +2 -0
- package/dist/task/contracts/_module.js.map +1 -0
- package/dist/task/contracts/task.contract.d.ts +20 -0
- package/dist/task/contracts/task.contract.js +6 -0
- package/dist/task/contracts/task.contract.js.map +1 -0
- package/dist/task/implementations/_module-exports.d.ts +1 -0
- package/dist/task/implementations/_module-exports.js +2 -0
- package/dist/task/implementations/_module-exports.js.map +1 -0
- package/dist/task/implementations/_module.d.ts +1 -0
- package/dist/task/implementations/_module.js +2 -0
- package/dist/task/implementations/_module.js.map +1 -0
- package/dist/task/implementations/abort-and-fail.js.map +1 -0
- package/dist/task/{task.d.ts → implementations/task.d.ts} +27 -25
- package/dist/task/{task.js → implementations/task.js} +19 -10
- package/dist/task/implementations/task.js.map +1 -0
- package/dist/time-span/contracts/_module.d.ts +1 -0
- package/dist/time-span/contracts/_module.js +2 -0
- package/dist/time-span/contracts/_module.js.map +1 -0
- package/dist/time-span/implementations/_module.d.ts +1 -0
- package/dist/time-span/implementations/_module.js +2 -0
- package/dist/time-span/implementations/_module.js.map +1 -0
- package/dist/time-span/implementations/time-span.d.ts +3 -3
- package/dist/time-span/implementations/time-span.js +4 -2
- package/dist/time-span/implementations/time-span.js.map +1 -1
- package/dist/utilities/_module-exports.d.ts +2 -2
- package/dist/utilities/_module-exports.js +0 -2
- package/dist/utilities/_module-exports.js.map +1 -1
- package/dist/utilities/_module.d.ts +5 -0
- package/dist/utilities/_module.js +4 -0
- package/dist/utilities/_module.js.map +1 -0
- package/dist/utilities/contracts/_module.d.ts +5 -5
- package/dist/utilities/contracts/_module.js +1 -5
- package/dist/utilities/contracts/_module.js.map +1 -1
- package/dist/utilities/errors.d.ts +2 -10
- package/dist/utilities/errors.js +2 -13
- package/dist/utilities/errors.js.map +1 -1
- package/dist/utilities/functions/_module.d.ts +9 -2
- package/dist/utilities/functions/_module.js +9 -2
- package/dist/utilities/functions/_module.js.map +1 -1
- package/dist/utilities/functions/array-like-to-iterable.d.ts +7 -0
- package/dist/utilities/functions/array-like-to-iterable.js +20 -0
- package/dist/utilities/functions/array-like-to-iterable.js.map +1 -0
- package/dist/utilities/functions/error-policy.d.ts +7 -7
- package/dist/utilities/functions/error-policy.js +17 -28
- package/dist/utilities/functions/error-policy.js.map +1 -1
- package/dist/utilities/functions/invokable.d.ts +2 -2
- package/dist/utilities/functions/invokable.js +3 -1
- package/dist/utilities/functions/invokable.js.map +1 -1
- package/dist/utilities/functions/is-array-like.d.ts +7 -0
- package/dist/utilities/functions/is-array-like.js +17 -0
- package/dist/utilities/functions/is-array-like.js.map +1 -0
- package/dist/utilities/functions/is-async-iterable.d.ts +7 -0
- package/dist/utilities/functions/is-async-iterable.js +14 -0
- package/dist/utilities/functions/is-async-iterable.js.map +1 -0
- package/dist/utilities/functions/is-class.d.ts +1 -1
- package/dist/utilities/functions/is-class.js +1 -0
- package/dist/utilities/functions/is-class.js.map +1 -1
- package/dist/utilities/functions/is-iterable.d.ts +7 -0
- package/dist/utilities/functions/is-iterable.js +13 -0
- package/dist/utilities/functions/is-iterable.js.map +1 -0
- package/dist/utilities/functions/is-standard-schema.d.ts +1 -1
- package/dist/utilities/functions/is-standard-schema.js +1 -0
- package/dist/utilities/functions/is-standard-schema.js.map +1 -1
- package/dist/utilities/functions/iterable-to-async-iterable.d.ts +7 -0
- package/dist/utilities/functions/iterable-to-async-iterable.js +17 -0
- package/dist/utilities/functions/iterable-to-async-iterable.js.map +1 -0
- package/dist/utilities/functions/lazy.d.ts +4 -4
- package/dist/utilities/functions/lazy.js +5 -3
- package/dist/utilities/functions/lazy.js.map +1 -1
- package/dist/utilities/functions/resolve-async-iterable-value.d.ts +8 -0
- package/dist/utilities/functions/resolve-async-iterable-value.js +21 -0
- package/dist/utilities/functions/resolve-async-iterable-value.js.map +1 -0
- package/dist/utilities/functions/resolve-iterable-value.d.ts +8 -0
- package/dist/utilities/functions/resolve-iterable-value.js +16 -0
- package/dist/utilities/functions/resolve-iterable-value.js.map +1 -0
- package/dist/utilities/functions/resolve-one-or-more.js +1 -1
- package/dist/utilities/functions/resolve-one-or-more.js.map +1 -1
- package/dist/utilities/functions/validate.d.ts +1 -1
- package/dist/utilities/functions/validate.js +1 -0
- package/dist/utilities/functions/validate.js.map +1 -1
- package/dist/utilities/functions/with-jitter.d.ts +15 -0
- package/dist/utilities/functions/with-jitter.js +14 -0
- package/dist/utilities/functions/with-jitter.js.map +1 -0
- package/dist/utilities/types/_module.d.ts +4 -4
- package/dist/utilities/types/_module.js +1 -4
- package/dist/utilities/types/_module.js.map +1 -1
- package/dist/utilities/types/async-iterable-value.type.d.ts +6 -1
- package/package.json +113 -10
- package/dist/backoff-policies/constant-backoff-policy/_module.d.ts +0 -1
- package/dist/backoff-policies/constant-backoff-policy/_module.js +0 -2
- package/dist/backoff-policies/constant-backoff-policy/_module.js.map +0 -1
- package/dist/backoff-policies/constant-backoff-policy/constant-backoff-policy.d.ts +0 -30
- package/dist/backoff-policies/constant-backoff-policy/constant-backoff-policy.js +0 -29
- package/dist/backoff-policies/constant-backoff-policy/constant-backoff-policy.js.map +0 -1
- package/dist/backoff-policies/exponential-backoff-policy/_module.d.ts +0 -1
- package/dist/backoff-policies/exponential-backoff-policy/_module.js +0 -2
- package/dist/backoff-policies/exponential-backoff-policy/_module.js.map +0 -1
- package/dist/backoff-policies/exponential-backoff-policy/exponential-backoff-policy.d.ts +0 -38
- package/dist/backoff-policies/exponential-backoff-policy/exponential-backoff-policy.js +0 -30
- package/dist/backoff-policies/exponential-backoff-policy/exponential-backoff-policy.js.map +0 -1
- package/dist/backoff-policies/linear-backoff-policy/_module.d.ts +0 -1
- package/dist/backoff-policies/linear-backoff-policy/_module.js +0 -2
- package/dist/backoff-policies/linear-backoff-policy/_module.js.map +0 -1
- package/dist/backoff-policies/linear-backoff-policy/linear-backoff-policy.d.ts +0 -34
- package/dist/backoff-policies/linear-backoff-policy/linear-backoff-policy.js +0 -30
- package/dist/backoff-policies/linear-backoff-policy/linear-backoff-policy.js.map +0 -1
- package/dist/backoff-policies/polynomial-backoff-policy/_module.d.ts +0 -1
- package/dist/backoff-policies/polynomial-backoff-policy/_module.js +0 -2
- package/dist/backoff-policies/polynomial-backoff-policy/_module.js.map +0 -1
- package/dist/backoff-policies/polynomial-backoff-policy/polynomial-backoff-policy.d.ts +0 -38
- package/dist/backoff-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +0 -30
- package/dist/backoff-policies/polynomial-backoff-policy/polynomial-backoff-policy.js.map +0 -1
- package/dist/lock/implementations/derivables/lock-provider/resolve-database-lock-adapter.d.ts +0 -9
- package/dist/lock/implementations/derivables/lock-provider/resolve-database-lock-adapter.js.map +0 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider/resolve-database-semaphore-adapter.d.ts +0 -8
- package/dist/semaphore/implementations/derivables/semaphore-provider/resolve-database-semaphore-adapter.js.map +0 -1
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/resolve-database-shared-lock-adapter.d.ts +0 -8
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/resolve-database-shared-lock-adapter.js.map +0 -1
- package/dist/task/_module-exports.d.ts +0 -1
- package/dist/task/_module-exports.js +0 -2
- package/dist/task/_module-exports.js.map +0 -1
- package/dist/task/abort-and-fail.js.map +0 -1
- package/dist/task/task.js.map +0 -1
- package/dist/utilities/functions/result.d.ts +0 -91
- package/dist/utilities/functions/result.js +0 -59
- package/dist/utilities/functions/result.js.map +0 -1
- /package/dist/task/{abort-and-fail.d.ts → implementations/abort-and-fail.d.ts} +0 -0
- /package/dist/task/{abort-and-fail.js → implementations/abort-and-fail.js} +0 -0
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module Cache
|
|
3
3
|
*/
|
|
4
|
-
import
|
|
5
|
-
import { type ICache, type
|
|
6
|
-
import type
|
|
7
|
-
import { type
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import type
|
|
11
|
-
import type
|
|
12
|
-
import { Namespace } from "../../../../namespace/_module-exports.js";
|
|
4
|
+
import { type StandardSchemaV1 } from "@standard-schema/spec";
|
|
5
|
+
import { type ICache, type CacheEventMap, type CacheWriteSettings } from "../../../../cache/contracts/_module.js";
|
|
6
|
+
import { type CacheAdapterVariants } from "../../../../cache/contracts/types.js";
|
|
7
|
+
import { type IEventBus, type Unsubscribe, type EventListener } from "../../../../event-bus/contracts/_module.js";
|
|
8
|
+
import { Namespace } from "../../../../namespace/_module.js";
|
|
9
|
+
import { type ITask } from "../../../../task/contracts/_module.js";
|
|
10
|
+
import { type ITimeSpan } from "../../../../time-span/contracts/_module.js";
|
|
11
|
+
import { type AsyncLazyable, type NoneFunc } from "../../../../utilities/_module.js";
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* IMPORT_PATH: `"@daiso-tech/core/cache"`
|
|
@@ -38,10 +37,10 @@ export type CacheSettingsBase<TType = unknown> = {
|
|
|
38
37
|
* @default
|
|
39
38
|
* ```ts
|
|
40
39
|
* import { EventBus } from "@daiso-tech/core/event-bus";
|
|
41
|
-
* import {
|
|
40
|
+
* import { NoOpEventBusAdapter } from "@daiso-tech/core/event-bus/no-op-event-bus-adapter";
|
|
42
41
|
*
|
|
43
42
|
* new EventBus({
|
|
44
|
-
* adapter: new
|
|
43
|
+
* adapter: new NoOpEventBusAdapter()
|
|
45
44
|
* })
|
|
46
45
|
* ```
|
|
47
46
|
*/
|
|
@@ -51,13 +50,13 @@ export type CacheSettingsBase<TType = unknown> = {
|
|
|
51
50
|
* @default null
|
|
52
51
|
*/
|
|
53
52
|
defaultTtl?: ITimeSpan | null;
|
|
53
|
+
/**
|
|
54
|
+
* You can pass jitter value to ensure the backoff will not execute at the same time.
|
|
55
|
+
* If you pas null you can disable the jitrter.
|
|
56
|
+
* @default 0.2
|
|
57
|
+
*/
|
|
58
|
+
defaultJitter?: number | null;
|
|
54
59
|
};
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* IMPORT_PATH: `"@daiso-tech/core/cache"`
|
|
58
|
-
* @group Derivables
|
|
59
|
-
*/
|
|
60
|
-
export type CacheAdapterVariants<TType> = ICacheAdapter<TType> | IDatabaseCacheAdapter<TType>;
|
|
61
60
|
/**
|
|
62
61
|
*
|
|
63
62
|
* IMPORT_PATH: `"@daiso-tech/core/cache"`
|
|
@@ -84,6 +83,7 @@ export declare class Cache<TType = unknown> implements ICache<TType> {
|
|
|
84
83
|
private readonly namespace;
|
|
85
84
|
private readonly schema;
|
|
86
85
|
private readonly shouldValidateOutput;
|
|
86
|
+
private readonly defaultJitter;
|
|
87
87
|
/**
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
@@ -93,7 +93,6 @@ export declare class Cache<TType = unknown> implements ICache<TType> {
|
|
|
93
93
|
* import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/super-json-serde-adapter"
|
|
94
94
|
* import Sqlite from "better-sqlite3";
|
|
95
95
|
* import { Cache } from "@daiso-tech/core/cache";
|
|
96
|
-
* import { Namespace } from "@daiso-tech/core/namespace";
|
|
97
96
|
* import { Kysely, SqliteDialect } from "kysely";
|
|
98
97
|
*
|
|
99
98
|
* const database = new Sqlite("local.db");
|
|
@@ -119,45 +118,51 @@ export declare class Cache<TType = unknown> implements ICache<TType> {
|
|
|
119
118
|
* You can listen to the following {@link CacheEventMap | `CacheEventMap`} of the {@link ICache | `ICache`} instance.
|
|
120
119
|
* To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
|
|
121
120
|
*/
|
|
122
|
-
addListener<TEventName extends keyof CacheEventMap<TType>>(eventName: TEventName, listener: EventListener<CacheEventMap<TType>[TEventName]>):
|
|
121
|
+
addListener<TEventName extends keyof CacheEventMap<TType>>(eventName: TEventName, listener: EventListener<CacheEventMap<TType>[TEventName]>): ITask<void>;
|
|
123
122
|
/**
|
|
124
123
|
* You can listen to the following {@link CacheEventMap | `CacheEventMap`} of the {@link ICache | `ICache`} instance.
|
|
125
124
|
* To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
|
|
126
125
|
*/
|
|
127
|
-
removeListener<TEventName extends keyof CacheEventMap<TType>>(eventName: TEventName, listener: EventListener<CacheEventMap<TType>[TEventName]>):
|
|
126
|
+
removeListener<TEventName extends keyof CacheEventMap<TType>>(eventName: TEventName, listener: EventListener<CacheEventMap<TType>[TEventName]>): ITask<void>;
|
|
128
127
|
/**
|
|
129
128
|
* You can listen to the following {@link CacheEventMap | `CacheEventMap`} of the {@link ICache | `ICache`} instance.
|
|
130
129
|
* To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
|
|
131
130
|
*/
|
|
132
|
-
listenOnce<TEventName extends keyof CacheEventMap<TType>>(eventName: TEventName, listener: EventListener<CacheEventMap<TType>[TEventName]>):
|
|
131
|
+
listenOnce<TEventName extends keyof CacheEventMap<TType>>(eventName: TEventName, listener: EventListener<CacheEventMap<TType>[TEventName]>): ITask<void>;
|
|
133
132
|
/**
|
|
134
133
|
* You can listen to the following {@link CacheEventMap | `CacheEventMap`} of the {@link ICache | `ICache`} instance.
|
|
135
134
|
* To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
|
|
136
135
|
*/
|
|
137
|
-
|
|
136
|
+
asTask<TEventName extends keyof CacheEventMap<TType>>(eventName: TEventName): ITask<CacheEventMap<TType>[TEventName]>;
|
|
138
137
|
/**
|
|
139
138
|
* You can listen to the following {@link CacheEventMap | `CacheEventMap`} of the {@link ICache | `ICache`} instance.
|
|
140
139
|
* To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
|
|
141
140
|
*/
|
|
142
|
-
subscribeOnce<TEventName extends keyof CacheEventMap<TType>>(eventName: TEventName, listener: EventListener<CacheEventMap<TType>[TEventName]>):
|
|
141
|
+
subscribeOnce<TEventName extends keyof CacheEventMap<TType>>(eventName: TEventName, listener: EventListener<CacheEventMap<TType>[TEventName]>): ITask<Unsubscribe>;
|
|
143
142
|
/**
|
|
144
143
|
* You can listen to the following {@link CacheEventMap | `CacheEventMap`} of the {@link ICache | `ICache`} instance.
|
|
145
144
|
* To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
|
|
146
145
|
*/
|
|
147
|
-
subscribe<TEventName extends keyof CacheEventMap<TType>>(eventName: TEventName, listener: EventListener<CacheEventMap<TType>[TEventName]>):
|
|
148
|
-
exists(key: string):
|
|
149
|
-
missing(key: string):
|
|
150
|
-
get(key: string):
|
|
151
|
-
getOrFail(key: string):
|
|
152
|
-
getAndRemove(key: string):
|
|
153
|
-
getOr(key: string, defaultValue: AsyncLazyable<NoneFunc<TType>>):
|
|
154
|
-
getOrAdd(key: string, valueToAdd: AsyncLazyable<NoneFunc<TType>>,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
146
|
+
subscribe<TEventName extends keyof CacheEventMap<TType>>(eventName: TEventName, listener: EventListener<CacheEventMap<TType>[TEventName]>): ITask<Unsubscribe>;
|
|
147
|
+
exists(key: string): ITask<boolean>;
|
|
148
|
+
missing(key: string): ITask<boolean>;
|
|
149
|
+
get(key: string): ITask<TType | null>;
|
|
150
|
+
getOrFail(key: string): ITask<TType>;
|
|
151
|
+
getAndRemove(key: string): ITask<TType | null>;
|
|
152
|
+
getOr(key: string, defaultValue: AsyncLazyable<NoneFunc<TType>>): ITask<TType>;
|
|
153
|
+
getOrAdd(key: string, valueToAdd: AsyncLazyable<NoneFunc<TType>>, settings?: CacheWriteSettings): ITask<TType>;
|
|
154
|
+
private resolveCacheWriteSettings;
|
|
155
|
+
add(key: string, value: TType, settings?: CacheWriteSettings): ITask<boolean>;
|
|
156
|
+
addOrFail(key: string, value: TType, settings?: CacheWriteSettings): ITask<void>;
|
|
157
|
+
put(key: string, value: TType, settings?: CacheWriteSettings): ITask<boolean>;
|
|
158
|
+
update(key: string, value: TType): ITask<boolean>;
|
|
159
|
+
updateOrFail(key: string, value: TType): ITask<void>;
|
|
160
|
+
increment(key: string, value?: Extract<TType, number>): ITask<boolean>;
|
|
161
|
+
incrementOrFail(key: string, value?: Extract<TType, number>): ITask<void>;
|
|
162
|
+
decrement(key: string, value?: Extract<TType, number>): ITask<boolean>;
|
|
163
|
+
decrementOrFail(key: string, value?: Extract<TType, number>): ITask<void>;
|
|
164
|
+
remove(key: string): ITask<boolean>;
|
|
165
|
+
removeOrFail(key: string): ITask<void>;
|
|
166
|
+
removeMany(keys: Iterable<string>): ITask<boolean>;
|
|
167
|
+
clear(): ITask<void>;
|
|
163
168
|
}
|
|
@@ -2,17 +2,19 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @module Cache
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
6
|
-
import { KeyNotFoundCacheError } from "../../../../cache/contracts/_module
|
|
7
|
-
import {
|
|
8
|
-
import {} from "../../../../
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
5
|
+
import {} from "@standard-schema/spec";
|
|
6
|
+
import { CACHE_EVENTS, KeyNotFoundCacheError, KeyExistsCacheError, } from "../../../../cache/contracts/_module.js";
|
|
7
|
+
import {} from "../../../../cache/contracts/types.js";
|
|
8
|
+
import { resolveCacheAdapter } from "../../../../cache/implementations/derivables/cache/resolve-cache-adapter.js";
|
|
9
|
+
import {} from "../../../../event-bus/contracts/_module.js";
|
|
10
|
+
import { NoOpEventBusAdapter } from "../../../../event-bus/implementations/adapters/_module.js";
|
|
11
|
+
import { EventBus } from "../../../../event-bus/implementations/derivables/_module.js";
|
|
12
|
+
import { Namespace } from "../../../../namespace/_module.js";
|
|
13
|
+
import {} from "../../../../task/contracts/_module.js";
|
|
14
|
+
import { Task } from "../../../../task/implementations/_module.js";
|
|
15
|
+
import {} from "../../../../time-span/contracts/_module.js";
|
|
16
|
+
import { TimeSpan } from "../../../../time-span/implementations/_module.js";
|
|
17
|
+
import { resolveAsyncLazyable, validate, withJitter, } from "../../../../utilities/_module.js";
|
|
16
18
|
/**
|
|
17
19
|
*
|
|
18
20
|
* IMPORT_PATH: `"@daiso-tech/core/cache"`
|
|
@@ -31,6 +33,7 @@ export class Cache {
|
|
|
31
33
|
namespace;
|
|
32
34
|
schema;
|
|
33
35
|
shouldValidateOutput;
|
|
36
|
+
defaultJitter;
|
|
34
37
|
/**
|
|
35
38
|
*
|
|
36
39
|
* @example
|
|
@@ -40,7 +43,6 @@ export class Cache {
|
|
|
40
43
|
* import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/super-json-serde-adapter"
|
|
41
44
|
* import Sqlite from "better-sqlite3";
|
|
42
45
|
* import { Cache } from "@daiso-tech/core/cache";
|
|
43
|
-
* import { Namespace } from "@daiso-tech/core/namespace";
|
|
44
46
|
* import { Kysely, SqliteDialect } from "kysely";
|
|
45
47
|
*
|
|
46
48
|
* const database = new Sqlite("local.db");
|
|
@@ -63,20 +65,16 @@ export class Cache {
|
|
|
63
65
|
*/
|
|
64
66
|
constructor(settings) {
|
|
65
67
|
const { shouldValidateOutput = true, schema, namespace = DEFAULT_CACHE_NAMESPACE, adapter, eventBus = new EventBus({
|
|
66
|
-
adapter: new
|
|
67
|
-
}), defaultTtl = null, } = settings;
|
|
68
|
+
adapter: new NoOpEventBusAdapter(),
|
|
69
|
+
}), defaultTtl = null, defaultJitter = 0.2, } = settings;
|
|
68
70
|
this.shouldValidateOutput = shouldValidateOutput;
|
|
69
71
|
this.schema = schema;
|
|
70
72
|
this.namespace = namespace;
|
|
71
73
|
this.defaultTtl =
|
|
72
74
|
defaultTtl === null ? null : TimeSpan.fromTimeSpan(defaultTtl);
|
|
73
75
|
this.eventBus = eventBus;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
this.adapter = adapter;
|
|
79
|
-
}
|
|
76
|
+
this.adapter = resolveCacheAdapter(adapter);
|
|
77
|
+
this.defaultJitter = defaultJitter;
|
|
80
78
|
}
|
|
81
79
|
/**
|
|
82
80
|
* You can listen to the following {@link CacheEventMap | `CacheEventMap`} of the {@link ICache | `ICache`} instance.
|
|
@@ -103,8 +101,8 @@ export class Cache {
|
|
|
103
101
|
* You can listen to the following {@link CacheEventMap | `CacheEventMap`} of the {@link ICache | `ICache`} instance.
|
|
104
102
|
* To understand how this method works, refer to {@link IEventListenable | `IEventListenable `}.
|
|
105
103
|
*/
|
|
106
|
-
|
|
107
|
-
return this.eventBus.
|
|
104
|
+
asTask(eventName) {
|
|
105
|
+
return this.eventBus.asTask(eventName);
|
|
108
106
|
}
|
|
109
107
|
/**
|
|
110
108
|
* You can listen to the following {@link CacheEventMap | `CacheEventMap`} of the {@link ICache | `ICache`} instance.
|
|
@@ -143,14 +141,14 @@ export class Cache {
|
|
|
143
141
|
if (value === null) {
|
|
144
142
|
this.eventBus
|
|
145
143
|
.dispatch(CACHE_EVENTS.NOT_FOUND, {
|
|
146
|
-
key: keyObj
|
|
144
|
+
key: keyObj,
|
|
147
145
|
})
|
|
148
146
|
.detach();
|
|
149
147
|
}
|
|
150
148
|
else {
|
|
151
149
|
this.eventBus
|
|
152
150
|
.dispatch(CACHE_EVENTS.FOUND, {
|
|
153
|
-
key: keyObj
|
|
151
|
+
key: keyObj,
|
|
154
152
|
value,
|
|
155
153
|
})
|
|
156
154
|
.detach();
|
|
@@ -173,7 +171,7 @@ export class Cache {
|
|
|
173
171
|
return new Task(async () => {
|
|
174
172
|
const value = await this.get(key);
|
|
175
173
|
if (value === null) {
|
|
176
|
-
throw
|
|
174
|
+
throw KeyNotFoundCacheError.create(this.namespace.create(key));
|
|
177
175
|
}
|
|
178
176
|
return value;
|
|
179
177
|
});
|
|
@@ -189,21 +187,14 @@ export class Cache {
|
|
|
189
187
|
if (value === null) {
|
|
190
188
|
this.eventBus
|
|
191
189
|
.dispatch(CACHE_EVENTS.NOT_FOUND, {
|
|
192
|
-
key: keyObj
|
|
190
|
+
key: keyObj,
|
|
193
191
|
})
|
|
194
192
|
.detach();
|
|
195
193
|
}
|
|
196
194
|
else {
|
|
197
195
|
this.eventBus
|
|
198
|
-
.dispatch(CACHE_EVENTS.
|
|
199
|
-
key: keyObj
|
|
200
|
-
value,
|
|
201
|
-
})
|
|
202
|
-
.detach();
|
|
203
|
-
this.eventBus
|
|
204
|
-
.dispatch(CACHE_EVENTS.WRITTEN, {
|
|
205
|
-
type: "removed",
|
|
206
|
-
key: keyObj.get(),
|
|
196
|
+
.dispatch(CACHE_EVENTS.REMOVED, {
|
|
197
|
+
key: keyObj,
|
|
207
198
|
})
|
|
208
199
|
.detach();
|
|
209
200
|
}
|
|
@@ -231,31 +222,68 @@ export class Cache {
|
|
|
231
222
|
return value;
|
|
232
223
|
});
|
|
233
224
|
}
|
|
234
|
-
getOrAdd(key, valueToAdd,
|
|
225
|
+
getOrAdd(key, valueToAdd, settings) {
|
|
235
226
|
return new Task(async () => {
|
|
236
|
-
const
|
|
227
|
+
const ttl = this.resolveCacheWriteSettings(settings);
|
|
228
|
+
const keyObj = this.namespace.create(key);
|
|
229
|
+
const value = await this.adapter.get(keyObj.toString());
|
|
230
|
+
if (this.shouldValidateOutput && value !== null) {
|
|
231
|
+
await validate(this.schema, value);
|
|
232
|
+
}
|
|
237
233
|
if (value === null) {
|
|
238
|
-
const
|
|
239
|
-
await this.
|
|
240
|
-
|
|
234
|
+
const resolvedValueToAdd = await resolveAsyncLazyable(valueToAdd);
|
|
235
|
+
await validate(this.schema, resolvedValueToAdd);
|
|
236
|
+
const hasAdded = await this.adapter.add(keyObj.toString(), resolvedValueToAdd, ttl);
|
|
237
|
+
if (hasAdded) {
|
|
238
|
+
this.eventBus
|
|
239
|
+
.dispatch(CACHE_EVENTS.ADDED, {
|
|
240
|
+
key: keyObj,
|
|
241
|
+
value: resolvedValueToAdd,
|
|
242
|
+
ttl,
|
|
243
|
+
})
|
|
244
|
+
.detach();
|
|
245
|
+
}
|
|
246
|
+
return resolvedValueToAdd;
|
|
247
|
+
}
|
|
248
|
+
else {
|
|
249
|
+
this.eventBus
|
|
250
|
+
.dispatch(CACHE_EVENTS.FOUND, {
|
|
251
|
+
key: keyObj,
|
|
252
|
+
value,
|
|
253
|
+
})
|
|
254
|
+
.detach();
|
|
241
255
|
}
|
|
242
256
|
return value;
|
|
243
257
|
});
|
|
244
258
|
}
|
|
245
|
-
|
|
259
|
+
resolveCacheWriteSettings(settings = {}) {
|
|
260
|
+
const { ttl = this.defaultTtl, jitter = this.defaultJitter, _mathRandom = Math.random, } = settings;
|
|
261
|
+
if (ttl === null) {
|
|
262
|
+
return null;
|
|
263
|
+
}
|
|
264
|
+
const ttlAsTimeSpan = TimeSpan.fromTimeSpan(ttl);
|
|
265
|
+
if (jitter === null) {
|
|
266
|
+
return ttlAsTimeSpan;
|
|
267
|
+
}
|
|
268
|
+
return TimeSpan.fromMilliseconds(withJitter({
|
|
269
|
+
jitter,
|
|
270
|
+
randomValue: _mathRandom(),
|
|
271
|
+
value: ttlAsTimeSpan.toMilliseconds(),
|
|
272
|
+
}));
|
|
273
|
+
}
|
|
274
|
+
add(key, value, settings) {
|
|
246
275
|
return new Task(async () => {
|
|
247
|
-
const
|
|
276
|
+
const ttl = this.resolveCacheWriteSettings(settings);
|
|
248
277
|
const keyObj = this.namespace.create(key);
|
|
249
278
|
try {
|
|
250
279
|
await validate(this.schema, value);
|
|
251
|
-
const hasAdded = await this.adapter.add(keyObj.toString(), value,
|
|
280
|
+
const hasAdded = await this.adapter.add(keyObj.toString(), value, ttl);
|
|
252
281
|
if (hasAdded) {
|
|
253
282
|
this.eventBus
|
|
254
|
-
.dispatch(CACHE_EVENTS.
|
|
255
|
-
|
|
256
|
-
key: keyObj.get(),
|
|
283
|
+
.dispatch(CACHE_EVENTS.ADDED, {
|
|
284
|
+
key: keyObj,
|
|
257
285
|
value,
|
|
258
|
-
ttl
|
|
286
|
+
ttl,
|
|
259
287
|
})
|
|
260
288
|
.detach();
|
|
261
289
|
}
|
|
@@ -274,29 +302,35 @@ export class Cache {
|
|
|
274
302
|
}
|
|
275
303
|
});
|
|
276
304
|
}
|
|
277
|
-
|
|
305
|
+
addOrFail(key, value, settings) {
|
|
306
|
+
return new Task(async () => {
|
|
307
|
+
const isNotFound = await this.add(key, value, settings);
|
|
308
|
+
if (!isNotFound) {
|
|
309
|
+
throw KeyExistsCacheError.create(this.namespace.create(key));
|
|
310
|
+
}
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
put(key, value, settings) {
|
|
278
314
|
return new Task(async () => {
|
|
279
|
-
const
|
|
315
|
+
const ttl = this.resolveCacheWriteSettings(settings);
|
|
280
316
|
const keyObj = this.namespace.create(key);
|
|
281
317
|
try {
|
|
282
318
|
await validate(this.schema, value);
|
|
283
|
-
const hasUpdated = await this.adapter.put(keyObj.toString(), value,
|
|
319
|
+
const hasUpdated = await this.adapter.put(keyObj.toString(), value, ttl);
|
|
284
320
|
if (hasUpdated) {
|
|
285
321
|
this.eventBus
|
|
286
|
-
.dispatch(CACHE_EVENTS.
|
|
287
|
-
|
|
288
|
-
key: keyObj.get(),
|
|
322
|
+
.dispatch(CACHE_EVENTS.UPDATED, {
|
|
323
|
+
key: keyObj,
|
|
289
324
|
value,
|
|
290
325
|
})
|
|
291
326
|
.detach();
|
|
292
327
|
}
|
|
293
328
|
else {
|
|
294
329
|
this.eventBus
|
|
295
|
-
.dispatch(CACHE_EVENTS.
|
|
296
|
-
|
|
297
|
-
key: keyObj.get(),
|
|
330
|
+
.dispatch(CACHE_EVENTS.ADDED, {
|
|
331
|
+
key: keyObj,
|
|
298
332
|
value,
|
|
299
|
-
ttl
|
|
333
|
+
ttl,
|
|
300
334
|
})
|
|
301
335
|
.detach();
|
|
302
336
|
}
|
|
@@ -323,9 +357,8 @@ export class Cache {
|
|
|
323
357
|
const hasUpdated = await this.adapter.update(keyObj.toString(), value);
|
|
324
358
|
if (hasUpdated) {
|
|
325
359
|
this.eventBus
|
|
326
|
-
.dispatch(CACHE_EVENTS.
|
|
327
|
-
|
|
328
|
-
key: keyObj.get(),
|
|
360
|
+
.dispatch(CACHE_EVENTS.UPDATED, {
|
|
361
|
+
key: keyObj,
|
|
329
362
|
value,
|
|
330
363
|
})
|
|
331
364
|
.detach();
|
|
@@ -333,7 +366,7 @@ export class Cache {
|
|
|
333
366
|
else {
|
|
334
367
|
this.eventBus
|
|
335
368
|
.dispatch(CACHE_EVENTS.NOT_FOUND, {
|
|
336
|
-
key: keyObj
|
|
369
|
+
key: keyObj,
|
|
337
370
|
})
|
|
338
371
|
.detach();
|
|
339
372
|
}
|
|
@@ -352,25 +385,31 @@ export class Cache {
|
|
|
352
385
|
}
|
|
353
386
|
});
|
|
354
387
|
}
|
|
355
|
-
|
|
388
|
+
updateOrFail(key, value) {
|
|
389
|
+
return new Task(async () => {
|
|
390
|
+
const isFound = await this.update(key, value);
|
|
391
|
+
if (!isFound) {
|
|
392
|
+
throw KeyNotFoundCacheError.create(this.namespace.create(key));
|
|
393
|
+
}
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
increment(key, value = 1) {
|
|
356
397
|
return new Task(async () => {
|
|
357
398
|
const keyObj = this.namespace.create(key);
|
|
358
399
|
try {
|
|
359
400
|
const hasUpdated = await this.adapter.increment(keyObj.toString(), value);
|
|
360
401
|
if (hasUpdated && value > 0) {
|
|
361
402
|
this.eventBus
|
|
362
|
-
.dispatch(CACHE_EVENTS.
|
|
363
|
-
|
|
364
|
-
key: keyObj.get(),
|
|
403
|
+
.dispatch(CACHE_EVENTS.INCREMENTED, {
|
|
404
|
+
key: keyObj,
|
|
365
405
|
value,
|
|
366
406
|
})
|
|
367
407
|
.detach();
|
|
368
408
|
}
|
|
369
409
|
if (hasUpdated && value < 0) {
|
|
370
410
|
this.eventBus
|
|
371
|
-
.dispatch(CACHE_EVENTS.
|
|
372
|
-
|
|
373
|
-
key: keyObj.get(),
|
|
411
|
+
.dispatch(CACHE_EVENTS.DECREMENTED, {
|
|
412
|
+
key: keyObj,
|
|
374
413
|
value: -value,
|
|
375
414
|
})
|
|
376
415
|
.detach();
|
|
@@ -378,7 +417,7 @@ export class Cache {
|
|
|
378
417
|
if (!hasUpdated) {
|
|
379
418
|
this.eventBus
|
|
380
419
|
.dispatch(CACHE_EVENTS.NOT_FOUND, {
|
|
381
|
-
key: keyObj
|
|
420
|
+
key: keyObj,
|
|
382
421
|
})
|
|
383
422
|
.detach();
|
|
384
423
|
}
|
|
@@ -397,11 +436,27 @@ export class Cache {
|
|
|
397
436
|
}
|
|
398
437
|
});
|
|
399
438
|
}
|
|
400
|
-
|
|
439
|
+
incrementOrFail(key, value) {
|
|
440
|
+
return new Task(async () => {
|
|
441
|
+
const isFound = await this.increment(key, value);
|
|
442
|
+
if (!isFound) {
|
|
443
|
+
throw KeyNotFoundCacheError.create(this.namespace.create(key));
|
|
444
|
+
}
|
|
445
|
+
});
|
|
446
|
+
}
|
|
447
|
+
decrement(key, value = 1) {
|
|
401
448
|
return new Task(async () => {
|
|
402
449
|
return await this.increment(key, -value);
|
|
403
450
|
});
|
|
404
451
|
}
|
|
452
|
+
decrementOrFail(key, value) {
|
|
453
|
+
return new Task(async () => {
|
|
454
|
+
const isFound = await this.decrement(key, value);
|
|
455
|
+
if (!isFound) {
|
|
456
|
+
throw KeyNotFoundCacheError.create(this.namespace.create(key));
|
|
457
|
+
}
|
|
458
|
+
});
|
|
459
|
+
}
|
|
405
460
|
remove(key) {
|
|
406
461
|
return new Task(async () => {
|
|
407
462
|
const keyObj = this.namespace.create(key);
|
|
@@ -411,16 +466,15 @@ export class Cache {
|
|
|
411
466
|
]);
|
|
412
467
|
if (hasRemoved) {
|
|
413
468
|
this.eventBus
|
|
414
|
-
.dispatch(CACHE_EVENTS.
|
|
415
|
-
|
|
416
|
-
key: keyObj.get(),
|
|
469
|
+
.dispatch(CACHE_EVENTS.REMOVED, {
|
|
470
|
+
key: keyObj,
|
|
417
471
|
})
|
|
418
472
|
.detach();
|
|
419
473
|
}
|
|
420
474
|
else {
|
|
421
475
|
this.eventBus
|
|
422
476
|
.dispatch(CACHE_EVENTS.NOT_FOUND, {
|
|
423
|
-
key: keyObj
|
|
477
|
+
key: keyObj,
|
|
424
478
|
})
|
|
425
479
|
.detach();
|
|
426
480
|
}
|
|
@@ -438,6 +492,14 @@ export class Cache {
|
|
|
438
492
|
}
|
|
439
493
|
});
|
|
440
494
|
}
|
|
495
|
+
removeOrFail(key) {
|
|
496
|
+
return new Task(async () => {
|
|
497
|
+
const isFound = await this.remove(key);
|
|
498
|
+
if (!isFound) {
|
|
499
|
+
throw KeyNotFoundCacheError.create(this.namespace.create(key));
|
|
500
|
+
}
|
|
501
|
+
});
|
|
502
|
+
}
|
|
441
503
|
removeMany(keys) {
|
|
442
504
|
return new Task(async () => {
|
|
443
505
|
const keysArr = [...keys];
|
|
@@ -449,10 +511,9 @@ export class Cache {
|
|
|
449
511
|
const hasRemovedAtLeastOne = await this.adapter.removeMany(keyObjArr.map((keyObj) => keyObj.toString()));
|
|
450
512
|
if (hasRemovedAtLeastOne) {
|
|
451
513
|
const events = keyObjArr.map((keyObj) => [
|
|
452
|
-
CACHE_EVENTS.
|
|
514
|
+
CACHE_EVENTS.REMOVED,
|
|
453
515
|
{
|
|
454
|
-
|
|
455
|
-
key: keyObj.get(),
|
|
516
|
+
key: keyObj,
|
|
456
517
|
},
|
|
457
518
|
]);
|
|
458
519
|
for (const [eventName, event] of events) {
|
|
@@ -463,7 +524,7 @@ export class Cache {
|
|
|
463
524
|
const events = keyObjArr.map((keyObj) => [
|
|
464
525
|
CACHE_EVENTS.NOT_FOUND,
|
|
465
526
|
{
|
|
466
|
-
key: keyObj
|
|
527
|
+
key: keyObj,
|
|
467
528
|
},
|
|
468
529
|
]);
|
|
469
530
|
for (const [eventName, event] of events) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache.js","sourceRoot":"","sources":["../../../../../src/cache/implementations/derivables/cache/cache.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D;;GAEG;AAQH,OAAO,EACH,YAAY,GAGf,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAEhF,O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I,CAAC,QAAQ,CAAC,QAAQ,CAClC,YAAY,CAAC,OAAO,EACpB,EAAE,CACL,CAAC;gBACF,MAAM,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC;gBAChE,OAAO,CAAC,MAAM,EAAE,CAAC;YACrB,CAAC;YAAC,OAAO,KAAc,EAAE,CAAC;gBACtB,IAAI,CAAC,QAAQ;qBACR,QAAQ,CAAC,YAAY,CAAC,gBAAgB,EAAE;oBACrC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI;oBACvB,KAAK;iBACR,CAAC;qBACD,MAAM,EAAE,CAAC;gBACd,MAAM,KAAK,CAAC;YAChB,CAAC;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
1
|
+
{"version":3,"file":"cache.js","sourceRoot":"","sources":["../../../../../src/cache/implementations/derivables/cache/cache.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D;;GAEG;AAEH,OAAO,EAAyB,MAAM,uBAAuB,CAAC;AAE9D,OAAO,EACH,YAAY,EAGZ,qBAAqB,EAIrB,mBAAmB,GAEtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAA6B,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mEAAmE,CAAC;AACxG,OAAO,EAMN,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAc,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,mCAAmC,CAAC;AACzD,OAAO,EAAkB,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAC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heAdapter, type ICacheAdapter } from "../../../../cache/contracts/_module
|
|
5
|
-
import type
|
|
4
|
+
import { type IDatabaseCacheAdapter, type ICacheAdapter } from "../../../../cache/contracts/_module.js";
|
|
5
|
+
import { type TimeSpan } from "../../../../time-span/implementations/_module.js";
|
|
6
6
|
/**
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|