@daiso-tech/core 0.41.0 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -1
- package/dist/cache/implementations/adapters/{_module-exports.d.ts → _module.d.ts} +5 -5
- package/dist/cache/implementations/adapters/{_module-exports.js → _module.js} +6 -6
- package/dist/cache/implementations/adapters/_module.js.map +1 -0
- package/dist/cache/implementations/adapters/kysely-cache-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/cache/implementations/adapters/kysely-cache-adapter/_module-exports.js.map +1 -0
- package/dist/cache/implementations/adapters/kysely-cache-adapter/kysely-cache-adapter.d.ts +6 -6
- package/dist/cache/implementations/adapters/kysely-cache-adapter/kysely-cache-adapter.js +3 -3
- package/dist/cache/implementations/adapters/memory-cache-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/cache/implementations/adapters/memory-cache-adapter/_module-exports.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 -2
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/_module-exports.js.map +1 -0
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter.d.ts +5 -5
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter.js +3 -3
- package/dist/cache/implementations/adapters/no-op-cache-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/cache/implementations/adapters/no-op-cache-adapter/_module-exports.js.map +1 -0
- package/dist/cache/implementations/adapters/no-op-cache-adapter/no-op-cache-adapter.d.ts +1 -1
- package/dist/cache/implementations/adapters/no-op-cache-adapter/no-op-cache-adapter.js +1 -1
- package/dist/cache/implementations/adapters/redis-cache-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/cache/implementations/adapters/redis-cache-adapter/_module-exports.js.map +1 -0
- package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter.d.ts +4 -4
- package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter.js +3 -3
- package/dist/cache/implementations/derivables/cache/cache.d.ts +10 -5
- package/dist/cache/implementations/derivables/cache/cache.js +10 -5
- package/dist/cache/implementations/derivables/cache/cache.js.map +1 -1
- package/dist/cache/implementations/derivables/cache-factory/cache-factory.d.ts +6 -4
- package/dist/cache/implementations/derivables/cache-factory/cache-factory.js +6 -4
- package/dist/cache/implementations/derivables/cache-factory/cache-factory.js.map +1 -1
- 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 +2 -2
- package/dist/cache/implementations/test-utilities/cache.test-suite.d.ts +1 -1
- package/dist/cache/implementations/test-utilities/cache.test-suite.js +1 -1
- package/dist/cache/implementations/test-utilities/database-cache-dapter.test-suite.d.ts +14 -7
- package/dist/cache/implementations/test-utilities/database-cache-dapter.test-suite.js +14 -7
- package/dist/cache/implementations/test-utilities/database-cache-dapter.test-suite.js.map +1 -1
- package/dist/event-bus/implementations/adapters/{_module-exports.d.ts → _module.d.ts} +3 -3
- package/dist/event-bus/implementations/adapters/{_module-exports.js → _module.js} +4 -4
- package/dist/event-bus/implementations/adapters/_module.js.map +1 -0
- package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/_module-exports.js.map +1 -0
- package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/memory-event-bus-adapter.d.ts +3 -3
- package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/memory-event-bus-adapter.js +3 -3
- package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/_module-exports.js.map +1 -0
- package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/no-op-event-bus-adapter.d.ts +1 -1
- package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/no-op-event-bus-adapter.js +1 -1
- package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/_module-exports.js.map +1 -0
- package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/redis-pub-sub-event-bus-adapter.d.ts +4 -4
- package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/redis-pub-sub-event-bus-adapter.js +4 -4
- 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/event-bus/event-bus.d.ts +1 -1
- package/dist/event-bus/implementations/derivables/event-bus/event-bus.js +1 -1
- package/dist/event-bus/implementations/derivables/event-bus-factory/event-bus-factory.d.ts +6 -4
- package/dist/event-bus/implementations/derivables/event-bus-factory/event-bus-factory.js +6 -4
- package/dist/event-bus/implementations/derivables/event-bus-factory/event-bus-factory.js.map +1 -1
- package/dist/lock/implementations/adapters/{_module-exports.d.ts → _module.d.ts} +5 -5
- package/dist/lock/implementations/adapters/{_module-exports.js → _module.js} +6 -6
- package/dist/lock/implementations/adapters/_module.js.map +1 -0
- package/dist/lock/implementations/adapters/kysely-lock-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/lock/implementations/adapters/kysely-lock-adapter/_module-exports.js.map +1 -0
- package/dist/lock/implementations/adapters/kysely-lock-adapter/kysely-lock-adapter.d.ts +5 -5
- package/dist/lock/implementations/adapters/kysely-lock-adapter/kysely-lock-adapter.js +2 -2
- package/dist/lock/implementations/adapters/memory-lock-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/lock/implementations/adapters/memory-lock-adapter/_module-exports.js.map +1 -0
- package/dist/lock/implementations/adapters/memory-lock-adapter/memory-lock-adapter.d.ts +4 -4
- package/dist/lock/implementations/adapters/memory-lock-adapter/memory-lock-adapter.js +3 -3
- package/dist/lock/implementations/adapters/mongodb-lock-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/lock/implementations/adapters/mongodb-lock-adapter/_module-exports.js.map +1 -0
- package/dist/lock/implementations/adapters/mongodb-lock-adapter/mongodb-lock-adapter.d.ts +4 -4
- package/dist/lock/implementations/adapters/mongodb-lock-adapter/mongodb-lock-adapter.js +2 -2
- package/dist/lock/implementations/adapters/no-op-lock-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/lock/implementations/adapters/no-op-lock-adapter/_module-exports.js.map +1 -0
- package/dist/lock/implementations/adapters/no-op-lock-adapter/no-op-lock-adapter.d.ts +1 -1
- package/dist/lock/implementations/adapters/no-op-lock-adapter/no-op-lock-adapter.js +1 -1
- package/dist/lock/implementations/adapters/redis-lock-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/lock/implementations/adapters/redis-lock-adapter/_module-exports.js.map +1 -0
- package/dist/lock/implementations/adapters/redis-lock-adapter/redis-lock-adapter.d.ts +2 -2
- package/dist/lock/implementations/adapters/redis-lock-adapter/redis-lock-adapter.js +2 -2
- package/dist/lock/implementations/derivables/lock-provider/lock-provider.d.ts +12 -8
- package/dist/lock/implementations/derivables/lock-provider/lock-provider.js +12 -8
- package/dist/lock/implementations/derivables/lock-provider/lock-provider.js.map +1 -1
- 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 +6 -6
- package/dist/lock/implementations/test-utilities/database-lock-adapter.test-suite.d.ts +15 -10
- package/dist/lock/implementations/test-utilities/database-lock-adapter.test-suite.js +16 -11
- 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 +1 -1
- package/dist/lock/implementations/test-utilities/lock-adapter.test-suite.js +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 +3 -3
- package/dist/semaphore/implementations/adapters/{_module-exports.d.ts → _module.d.ts} +5 -5
- package/dist/semaphore/implementations/adapters/{_module-exports.js → _module.js} +6 -6
- package/dist/semaphore/implementations/adapters/_module.js.map +1 -0
- package/dist/semaphore/implementations/adapters/kysely-semaphore-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/semaphore/implementations/adapters/kysely-semaphore-adapter/_module-exports.js.map +1 -0
- package/dist/semaphore/implementations/adapters/kysely-semaphore-adapter/kysely-semaphore-adapter.d.ts +6 -6
- package/dist/semaphore/implementations/adapters/kysely-semaphore-adapter/kysely-semaphore-adapter.js +2 -2
- package/dist/semaphore/implementations/adapters/memory-semaphore-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/semaphore/implementations/adapters/memory-semaphore-adapter/_module-exports.js.map +1 -0
- package/dist/semaphore/implementations/adapters/memory-semaphore-adapter/memory-semaphore-adapter.d.ts +4 -4
- package/dist/semaphore/implementations/adapters/memory-semaphore-adapter/memory-semaphore-adapter.js +3 -3
- package/dist/semaphore/implementations/adapters/mongodb-semaphore-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/semaphore/implementations/adapters/mongodb-semaphore-adapter/_module-exports.js.map +1 -0
- package/dist/semaphore/implementations/adapters/mongodb-semaphore-adapter/mongodb-semaphore-adapter.d.ts +5 -5
- package/dist/semaphore/implementations/adapters/mongodb-semaphore-adapter/mongodb-semaphore-adapter.js +2 -2
- package/dist/semaphore/implementations/adapters/no-op-semaphore-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/semaphore/implementations/adapters/no-op-semaphore-adapter/_module-exports.js.map +1 -0
- package/dist/semaphore/implementations/adapters/no-op-semaphore-adapter/no-op-semaphore-adapter.d.ts +1 -1
- package/dist/semaphore/implementations/adapters/no-op-semaphore-adapter/no-op-semaphore-adapter.js +1 -1
- package/dist/semaphore/implementations/adapters/redis-semaphore-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/semaphore/implementations/adapters/redis-semaphore-adapter/_module-exports.js.map +1 -0
- package/dist/semaphore/implementations/adapters/redis-semaphore-adapter/redis-semaphore-adapter.d.ts +1 -1
- package/dist/semaphore/implementations/adapters/redis-semaphore-adapter/redis-semaphore-adapter.js +1 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore-provider.d.ts +28 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore-provider.js +28 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider/semaphore-provider.js.map +1 -1
- package/dist/semaphore/implementations/derivables/semaphore-provider-factory/semaphore-provider-factory.d.ts +55 -0
- package/dist/semaphore/implementations/derivables/semaphore-provider-factory/semaphore-provider-factory.js +55 -0
- package/dist/semaphore/implementations/derivables/semaphore-provider-factory/semaphore-provider-factory.js.map +1 -1
- package/dist/semaphore/implementations/test-utilities/database-semaphore-adapter.test-suite.d.ts +15 -10
- package/dist/semaphore/implementations/test-utilities/database-semaphore-adapter.test-suite.js +15 -10
- 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 +1 -1
- package/dist/semaphore/implementations/test-utilities/semaphore-adapter.test-suite.js +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 +5 -5
- package/dist/semaphore/implementations/test-utilities/semaphore-provider.test-suite.js.map +1 -1
- package/dist/serde/implementations/adapters/{_module-exports.d.ts → _module.d.ts} +2 -2
- package/dist/serde/implementations/adapters/{_module-exports.js → _module.js} +3 -3
- package/dist/serde/implementations/adapters/_module.js.map +1 -0
- package/dist/serde/implementations/adapters/no-op-serde-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/serde/implementations/adapters/no-op-serde-adapter/_module-exports.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 +1 -1
- package/dist/serde/implementations/adapters/super-json-serde-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/serde/implementations/adapters/super-json-serde-adapter/_module-exports.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 +1 -1
- package/dist/serde/implementations/derivables/serde.d.ts +5 -5
- package/dist/serde/implementations/derivables/serde.js +5 -5
- 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 -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 -1
- package/dist/shared-lock/implementations/adapters/{_module-exports.d.ts → _module.d.ts} +5 -5
- package/dist/shared-lock/implementations/adapters/{_module-exports.js → _module.js} +6 -6
- package/dist/shared-lock/implementations/adapters/_module.js.map +1 -0
- package/dist/shared-lock/implementations/adapters/kysely-shared-lock-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/shared-lock/implementations/adapters/kysely-shared-lock-adapter/_module-exports.js.map +1 -0
- package/dist/shared-lock/implementations/adapters/kysely-shared-lock-adapter/kysely-shared-lock-adapter.d.ts +9 -9
- package/dist/shared-lock/implementations/adapters/kysely-shared-lock-adapter/kysely-shared-lock-adapter.js +4 -4
- package/dist/shared-lock/implementations/adapters/memory-shared-lock-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/shared-lock/implementations/adapters/memory-shared-lock-adapter/_module-exports.js.map +1 -0
- package/dist/shared-lock/implementations/adapters/memory-shared-lock-adapter/memory-shared-lock-adapter.d.ts +8 -8
- package/dist/shared-lock/implementations/adapters/memory-shared-lock-adapter/memory-shared-lock-adapter.js +5 -5
- package/dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/_module-exports.js.map +1 -0
- package/dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/mongodb-shared-lock-adapter.d.ts +9 -9
- package/dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/mongodb-shared-lock-adapter.js +4 -4
- package/dist/shared-lock/implementations/adapters/no-op-shared-lock-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/shared-lock/implementations/adapters/no-op-shared-lock-adapter/_module-exports.js.map +1 -0
- package/dist/shared-lock/implementations/adapters/no-op-shared-lock-adapter/no-op-shared-lock-adapter.d.ts +1 -1
- package/dist/shared-lock/implementations/adapters/no-op-shared-lock-adapter/no-op-shared-lock-adapter.js +1 -1
- package/dist/shared-lock/implementations/adapters/redis-shared-lock-adapter/{_module.js → _module-exports.js} +1 -1
- package/dist/shared-lock/implementations/adapters/redis-shared-lock-adapter/_module-exports.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 -3
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/shared-lock-provider.d.ts +15 -11
- package/dist/shared-lock/implementations/derivables/shared-lock-provider/shared-lock-provider.js +15 -11
- 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-factory/shared-lock-provider-factory.d.ts +14 -14
- package/dist/shared-lock/implementations/derivables/shared-lock-provider-factory/shared-lock-provider-factory.js +14 -14
- package/dist/shared-lock/implementations/test-utilities/database-shared-lock-adapter.test-suite.d.ts +17 -12
- package/dist/shared-lock/implementations/test-utilities/database-shared-lock-adapter.test-suite.js +17 -12
- 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 +1 -1
- package/dist/shared-lock/implementations/test-utilities/shared-lock-adapter.test-suite.js +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 +3 -3
- package/dist/utilities/_module-exports.d.ts +0 -1
- package/dist/utilities/_module-exports.js +0 -1
- package/dist/utilities/_module-exports.js.map +1 -1
- package/package.json +95 -19
- package/dist/cache/implementations/adapters/_module-exports.js.map +0 -1
- package/dist/cache/implementations/adapters/kysely-cache-adapter/_module.js.map +0 -1
- package/dist/cache/implementations/adapters/memory-cache-adapter/_module.js.map +0 -1
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/_module.js.map +0 -1
- package/dist/cache/implementations/adapters/no-op-cache-adapter/_module.js.map +0 -1
- package/dist/cache/implementations/adapters/redis-cache-adapter/_module.js.map +0 -1
- package/dist/event-bus/implementations/adapters/_module-exports.js.map +0 -1
- package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/_module.js.map +0 -1
- package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/_module.js.map +0 -1
- package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/_module.js.map +0 -1
- package/dist/lock/implementations/adapters/_module-exports.js.map +0 -1
- package/dist/lock/implementations/adapters/kysely-lock-adapter/_module.js.map +0 -1
- package/dist/lock/implementations/adapters/memory-lock-adapter/_module.js.map +0 -1
- package/dist/lock/implementations/adapters/mongodb-lock-adapter/_module.js.map +0 -1
- package/dist/lock/implementations/adapters/no-op-lock-adapter/_module.js.map +0 -1
- package/dist/lock/implementations/adapters/redis-lock-adapter/_module.js.map +0 -1
- package/dist/semaphore/implementations/adapters/_module-exports.js.map +0 -1
- package/dist/semaphore/implementations/adapters/kysely-semaphore-adapter/_module.js.map +0 -1
- package/dist/semaphore/implementations/adapters/memory-semaphore-adapter/_module.js.map +0 -1
- package/dist/semaphore/implementations/adapters/mongodb-semaphore-adapter/_module.js.map +0 -1
- package/dist/semaphore/implementations/adapters/no-op-semaphore-adapter/_module.js.map +0 -1
- package/dist/semaphore/implementations/adapters/redis-semaphore-adapter/_module.js.map +0 -1
- package/dist/serde/implementations/adapters/_module-exports.js.map +0 -1
- package/dist/serde/implementations/adapters/no-op-serde-adapter/_module.js.map +0 -1
- package/dist/serde/implementations/adapters/super-json-serde-adapter/_module.js.map +0 -1
- package/dist/shared-lock/implementations/adapters/_module-exports.js.map +0 -1
- package/dist/shared-lock/implementations/adapters/kysely-shared-lock-adapter/_module.js.map +0 -1
- package/dist/shared-lock/implementations/adapters/memory-shared-lock-adapter/_module.js.map +0 -1
- package/dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/_module.js.map +0 -1
- package/dist/shared-lock/implementations/adapters/no-op-shared-lock-adapter/_module.js.map +0 -1
- package/dist/shared-lock/implementations/adapters/redis-shared-lock-adapter/_module.js.map +0 -1
- package/dist/utilities/classes/_module.d.ts +0 -1
- package/dist/utilities/classes/_module.js +0 -2
- package/dist/utilities/classes/_module.js.map +0 -1
- package/dist/utilities/classes/kysely-table-name-transformer-plugin/_module.d.ts +0 -1
- package/dist/utilities/classes/kysely-table-name-transformer-plugin/_module.js +0 -2
- package/dist/utilities/classes/kysely-table-name-transformer-plugin/_module.js.map +0 -1
- package/dist/utilities/classes/kysely-table-name-transformer-plugin/kysely-table-name-transformer-plugin.d.ts +0 -13
- package/dist/utilities/classes/kysely-table-name-transformer-plugin/kysely-table-name-transformer-plugin.js +0 -51
- package/dist/utilities/classes/kysely-table-name-transformer-plugin/kysely-table-name-transformer-plugin.js.map +0 -1
- /package/dist/cache/implementations/adapters/kysely-cache-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/cache/implementations/adapters/memory-cache-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/cache/implementations/adapters/mongodb-cache-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/cache/implementations/adapters/no-op-cache-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/cache/implementations/adapters/redis-cache-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/lock/implementations/adapters/kysely-lock-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/lock/implementations/adapters/memory-lock-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/lock/implementations/adapters/mongodb-lock-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/lock/implementations/adapters/no-op-lock-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/lock/implementations/adapters/redis-lock-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/semaphore/implementations/adapters/kysely-semaphore-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/semaphore/implementations/adapters/memory-semaphore-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/semaphore/implementations/adapters/mongodb-semaphore-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/semaphore/implementations/adapters/no-op-semaphore-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/semaphore/implementations/adapters/redis-semaphore-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/serde/implementations/adapters/no-op-serde-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/serde/implementations/adapters/super-json-serde-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/shared-lock/implementations/adapters/kysely-shared-lock-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/shared-lock/implementations/adapters/memory-shared-lock-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/shared-lock/implementations/adapters/no-op-shared-lock-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
- /package/dist/shared-lock/implementations/adapters/redis-shared-lock-adapter/{_module.d.ts → _module-exports.d.ts} +0 -0
|
@@ -15,7 +15,7 @@ import { TimeSpan } from "../../../time-span/implementations/_module-exports.js"
|
|
|
15
15
|
* ```ts
|
|
16
16
|
* import { afterEach, beforeEach, describe, expect, test } from "vitest";
|
|
17
17
|
* import { sharedLockAdapterTestSuite } from "@daiso-tech/core/shared-lock/test-utilities";
|
|
18
|
-
* import { RedisSharedLockAdapter } from "@daiso-tech/core/shared-lock/
|
|
18
|
+
* import { RedisSharedLockAdapter } from "@daiso-tech/core/shared-lock/redis-shared-lock-adapter";
|
|
19
19
|
* import { Redis } from "ioredis";
|
|
20
20
|
* import {
|
|
21
21
|
* RedisContainer,
|
package/dist/shared-lock/implementations/test-utilities/shared-lock-provider.test-suite.d.ts
CHANGED
|
@@ -36,13 +36,13 @@ export type SharedLockProviderTestSuiteSettings = {
|
|
|
36
36
|
* @example
|
|
37
37
|
* ```ts
|
|
38
38
|
* import { describe, expect, test, beforeEach } from "vitest";
|
|
39
|
-
* import { MemorySharedLockAdapter } from "@daiso-tech/core/shared-lock/
|
|
39
|
+
* import { MemorySharedLockAdapter } from "@daiso-tech/core/shared-lock/memory-shared-lock-adapter";
|
|
40
40
|
* import { SharedLockProvider } from "@daiso-tech/core/shared-lock";
|
|
41
41
|
* import { EventBus } from "@daiso-tech/core/event-bus";
|
|
42
|
-
* import { MemoryEventBusAdapter } from "@daiso-tech/core/event-bus/
|
|
42
|
+
* import { MemoryEventBusAdapter } from "@daiso-tech/core/event-bus/memory-event-bus-adapter";
|
|
43
43
|
* import { sharedLockProviderTestSuite } from "@daiso-tech/core/shared-lock/test-utilities";
|
|
44
44
|
* import { Serde } from "@daiso-tech/core/serde";
|
|
45
|
-
* import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/
|
|
45
|
+
* import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/super-json-serde-adapter";
|
|
46
46
|
* import type { ISharedLockData } from "@daiso-tech/core/shared-lock/contracts";
|
|
47
47
|
*
|
|
48
48
|
* describe("class: SharedLockProvider", () => {
|
|
@@ -14,13 +14,13 @@ import { TimeSpan } from "../../../time-span/implementations/_module-exports.js"
|
|
|
14
14
|
* @example
|
|
15
15
|
* ```ts
|
|
16
16
|
* import { describe, expect, test, beforeEach } from "vitest";
|
|
17
|
-
* import { MemorySharedLockAdapter } from "@daiso-tech/core/shared-lock/
|
|
17
|
+
* import { MemorySharedLockAdapter } from "@daiso-tech/core/shared-lock/memory-shared-lock-adapter";
|
|
18
18
|
* import { SharedLockProvider } from "@daiso-tech/core/shared-lock";
|
|
19
19
|
* import { EventBus } from "@daiso-tech/core/event-bus";
|
|
20
|
-
* import { MemoryEventBusAdapter } from "@daiso-tech/core/event-bus/
|
|
20
|
+
* import { MemoryEventBusAdapter } from "@daiso-tech/core/event-bus/memory-event-bus-adapter";
|
|
21
21
|
* import { sharedLockProviderTestSuite } from "@daiso-tech/core/shared-lock/test-utilities";
|
|
22
22
|
* import { Serde } from "@daiso-tech/core/serde";
|
|
23
|
-
* import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/
|
|
23
|
+
* import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/super-json-serde-adapter";
|
|
24
24
|
* import type { ISharedLockData } from "@daiso-tech/core/shared-lock/contracts";
|
|
25
25
|
*
|
|
26
26
|
* describe("class: SharedLockProvider", () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_module-exports.js","sourceRoot":"","sources":["../../src/utilities/_module-exports.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"_module-exports.js","sourceRoot":"","sources":["../../src/utilities/_module-exports.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daiso-tech/core",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.42.0",
|
|
5
5
|
"author": "Yousif Abdulkarim",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"type": "module",
|
|
@@ -92,9 +92,25 @@
|
|
|
92
92
|
"types": "./dist/cache/contracts/_module-exports.d.ts",
|
|
93
93
|
"import": "./dist/cache/contracts/_module-exports.js"
|
|
94
94
|
},
|
|
95
|
-
"./cache/
|
|
96
|
-
"types": "./dist/cache/implementations/adapters/_module-exports.d.ts",
|
|
97
|
-
"import": "./dist/cache/implementations/adapters/_module-exports.js"
|
|
95
|
+
"./cache/kysely-cache-adapter": {
|
|
96
|
+
"types": "./dist/cache/implementations/adapters/kysely-cache-adapter/_module-exports.d.ts",
|
|
97
|
+
"import": "./dist/cache/implementations/adapters/kysely-cache-adapter/_module-exports.js"
|
|
98
|
+
},
|
|
99
|
+
"./cache/memory-cache-adapter": {
|
|
100
|
+
"types": "./dist/cache/implementations/adapters/memory-cache-adapter/_module-exports.d.ts",
|
|
101
|
+
"import": "./dist/cache/implementations/adapters/memory-cache-adapter/_module-exports.js"
|
|
102
|
+
},
|
|
103
|
+
"./cache/mongodb-cache-adapter": {
|
|
104
|
+
"types": "./dist/cache/implementations/adapters/mongodb-cache-adapter/_module-exports.d.ts",
|
|
105
|
+
"import": "./dist/cache/implementations/adapters/mongodb-cache-adapter/_module-exports.js"
|
|
106
|
+
},
|
|
107
|
+
"./cache/no-op-cache-adapter": {
|
|
108
|
+
"types": "./dist/cache/implementations/adapters/no-op-cache-adapter/_module-exports.d.ts",
|
|
109
|
+
"import": "./dist/cache/implementations/adapters/no-op-cache-adapter/_module-exports.js"
|
|
110
|
+
},
|
|
111
|
+
"./cache/redis-cache-adapter": {
|
|
112
|
+
"types": "./dist/cache/implementations/adapters/redis-cache-adapter/_module-exports.d.ts",
|
|
113
|
+
"import": "./dist/cache/implementations/adapters/redis-cache-adapter/_module-exports.js"
|
|
98
114
|
},
|
|
99
115
|
"./cache/test-utilities": {
|
|
100
116
|
"types": "./dist/cache/implementations/test-utilities/_module-exports.d.ts",
|
|
@@ -116,9 +132,17 @@
|
|
|
116
132
|
"types": "./dist/event-bus/contracts/_module-exports.d.ts",
|
|
117
133
|
"import": "./dist/event-bus/contracts/_module-exports.js"
|
|
118
134
|
},
|
|
119
|
-
"./event-bus/
|
|
120
|
-
"types": "./dist/event-bus/implementations/adapters/_module-exports.d.ts",
|
|
121
|
-
"import": "./dist/event-bus/implementations/adapters/_module-exports.js"
|
|
135
|
+
"./event-bus/memory-event-bus-adapter": {
|
|
136
|
+
"types": "./dist/event-bus/implementations/adapters/memory-event-bus-adapter/_module-exports.d.ts",
|
|
137
|
+
"import": "./dist/event-bus/implementations/adapters/memory-event-bus-adapter/_module-exports.js"
|
|
138
|
+
},
|
|
139
|
+
"./event-bus/no-op-event-bus-adapter": {
|
|
140
|
+
"types": "./dist/event-bus/implementations/adapters/no-op-event-bus-adapter/_module-exports.d.ts",
|
|
141
|
+
"import": "./dist/event-bus/implementations/adapters/no-op-event-bus-adapter/_module-exports.js"
|
|
142
|
+
},
|
|
143
|
+
"./event-bus/redis-pub-sub-event-bus-adapter": {
|
|
144
|
+
"types": "./dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/_module-exports.d.ts",
|
|
145
|
+
"import": "./dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/_module-exports.js"
|
|
122
146
|
},
|
|
123
147
|
"./event-bus/test-utilities": {
|
|
124
148
|
"types": "./dist/event-bus/implementations/test-utilities/_module-exports.d.ts",
|
|
@@ -136,9 +160,25 @@
|
|
|
136
160
|
"types": "./dist/lock/contracts/_module-exports.d.ts",
|
|
137
161
|
"import": "./dist/lock/contracts/_module-exports.js"
|
|
138
162
|
},
|
|
139
|
-
"./lock/
|
|
140
|
-
"types": "./dist/lock/implementations/adapters/_module-exports.d.ts",
|
|
141
|
-
"import": "./dist/lock/implementations/adapters/_module-exports.js"
|
|
163
|
+
"./lock/kysely-lock-adapter": {
|
|
164
|
+
"types": "./dist/lock/implementations/adapters/kysely-lock-adapter/_module-exports.d.ts",
|
|
165
|
+
"import": "./dist/lock/implementations/adapters/kysely-lock-adapter/_module-exports.js"
|
|
166
|
+
},
|
|
167
|
+
"./lock/memory-lock-adapter": {
|
|
168
|
+
"types": "./dist/lock/implementations/adapters/memory-lock-adapter/_module-exports.d.ts",
|
|
169
|
+
"import": "./dist/lock/implementations/adapters/memory-lock-adapter/_module-exports.js"
|
|
170
|
+
},
|
|
171
|
+
"./lock/mongodb-lock-adapter": {
|
|
172
|
+
"types": "./dist/lock/implementations/adapters/mongodb-lock-adapter/_module-exports.d.ts",
|
|
173
|
+
"import": "./dist/lock/implementations/adapters/mongodb-lock-adapter/_module-exports.js"
|
|
174
|
+
},
|
|
175
|
+
"./lock/no-op-lock-adapter": {
|
|
176
|
+
"types": "./dist/lock/implementations/adapters/no-op-lock-adapter/_module-exports.d.ts",
|
|
177
|
+
"import": "./dist/lock/implementations/adapters/no-op-lock-adapter/_module-exports.js"
|
|
178
|
+
},
|
|
179
|
+
"./lock/redis-lock-adapter": {
|
|
180
|
+
"types": "./dist/lock/implementations/adapters/redis-lock-adapter/_module-exports.d.ts",
|
|
181
|
+
"import": "./dist/lock/implementations/adapters/redis-lock-adapter/_module-exports.js"
|
|
142
182
|
},
|
|
143
183
|
"./lock/test-utilities": {
|
|
144
184
|
"types": "./dist/lock/implementations/test-utilities/_module-exports.d.ts",
|
|
@@ -160,9 +200,25 @@
|
|
|
160
200
|
"types": "./dist/semaphore/contracts/_module-exports.d.ts",
|
|
161
201
|
"import": "./dist/semaphore/contracts/_module-exports.js"
|
|
162
202
|
},
|
|
163
|
-
"./semaphore/
|
|
164
|
-
"types": "./dist/semaphore/implementations/adapters/_module-exports.d.ts",
|
|
165
|
-
"import": "./dist/semaphore/implementations/adapters/_module-exports.js"
|
|
203
|
+
"./semaphore/kysely-semaphore-adapter": {
|
|
204
|
+
"types": "./dist/semaphore/implementations/adapters/kysely-semaphore-adapter/_module-exports.d.ts",
|
|
205
|
+
"import": "./dist/semaphore/implementations/adapters/kysely-semaphore-adapter/_module-exports.js"
|
|
206
|
+
},
|
|
207
|
+
"./semaphore/memory-semaphore-adapter": {
|
|
208
|
+
"types": "./dist/semaphore/implementations/adapters/memory-semaphore-adapter/_module-exports.d.ts",
|
|
209
|
+
"import": "./dist/semaphore/implementations/adapters/memory-semaphore-adapter/_module-exports.js"
|
|
210
|
+
},
|
|
211
|
+
"./semaphore/mongodb-semaphore-adapter": {
|
|
212
|
+
"types": "./dist/semaphore/implementations/adapters/mongodb-semaphore-adapter/_module-exports.d.ts",
|
|
213
|
+
"import": "./dist/semaphore/implementations/adapters/mongodb-semaphore-adapter/_module-exports.js"
|
|
214
|
+
},
|
|
215
|
+
"./semaphore/no-op-semaphore-adapter": {
|
|
216
|
+
"types": "./dist/semaphore/implementations/adapters/no-op-semaphore-adapter/_module-exports.d.ts",
|
|
217
|
+
"import": "./dist/semaphore/implementations/adapters/no-op-semaphore-adapter/_module-exports.js"
|
|
218
|
+
},
|
|
219
|
+
"./semaphore/redis-semaphore-adapter": {
|
|
220
|
+
"types": "./dist/semaphore/implementations/adapters/redis-semaphore-adapter/_module-exports.d.ts",
|
|
221
|
+
"import": "./dist/semaphore/implementations/adapters/redis-semaphore-adapter/_module-exports.js"
|
|
166
222
|
},
|
|
167
223
|
"./semaphore/test-utilities": {
|
|
168
224
|
"types": "./dist/semaphore/implementations/test-utilities/_module-exports.d.ts",
|
|
@@ -176,9 +232,13 @@
|
|
|
176
232
|
"types": "./dist/serde/contracts/_module-exports.d.ts",
|
|
177
233
|
"import": "./dist/serde/contracts/_module-exports.js"
|
|
178
234
|
},
|
|
179
|
-
"./serde/
|
|
180
|
-
"types": "./dist/serde/implementations/adapters/_module-exports.d.ts",
|
|
181
|
-
"import": "./dist/serde/implementations/adapters/_module-exports.js"
|
|
235
|
+
"./serde/no-op-serde-adapter": {
|
|
236
|
+
"types": "./dist/serde/implementations/adapters/no-op-serde-adapter/_module-exports.d.ts",
|
|
237
|
+
"import": "./dist/serde/implementations/adapters/no-op-serde-adapter/_module-exports.js"
|
|
238
|
+
},
|
|
239
|
+
"./serde/super-json-serde-adapter": {
|
|
240
|
+
"types": "./dist/serde/implementations/adapters/super-json-serde-adapter/_module-exports.d.ts",
|
|
241
|
+
"import": "./dist/serde/implementations/adapters/super-json-serde-adapter/_module-exports.js"
|
|
182
242
|
},
|
|
183
243
|
"./serde/test-utilities": {
|
|
184
244
|
"types": "./dist/serde/implementations/test-utilities/_module-exports.d.ts",
|
|
@@ -188,9 +248,25 @@
|
|
|
188
248
|
"types": "./dist/shared-lock/contracts/_module-exports.d.ts",
|
|
189
249
|
"import": "./dist/shared-lock/contracts/_module-exports.js"
|
|
190
250
|
},
|
|
191
|
-
"./shared-lock/
|
|
192
|
-
"types": "./dist/shared-lock/implementations/adapters/_module-exports.d.ts",
|
|
193
|
-
"import": "./dist/shared-lock/implementations/adapters/_module-exports.js"
|
|
251
|
+
"./shared-lock/kysely-shared-lock-adapter": {
|
|
252
|
+
"types": "./dist/shared-lock/implementations/adapters/kysely-shared-lock-adapter/_module-exports.d.ts",
|
|
253
|
+
"import": "./dist/shared-lock/implementations/adapters/kysely-shared-lock-adapter/_module-exports.js"
|
|
254
|
+
},
|
|
255
|
+
"./shared-lock/memory-shared-lock-adapter": {
|
|
256
|
+
"types": "./dist/shared-lock/implementations/adapters/memory-shared-lock-adapter/_module-exports.d.ts",
|
|
257
|
+
"import": "./dist/shared-lock/implementations/adapters/memory-shared-lock-adapter/_module-exports.js"
|
|
258
|
+
},
|
|
259
|
+
"./shared-lock/mongodb-shared-lock-adapter": {
|
|
260
|
+
"types": "./dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/_module-exports.d.ts",
|
|
261
|
+
"import": "./dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/_module-exports.js"
|
|
262
|
+
},
|
|
263
|
+
"./shared-lock/no-op-shared-lock-adapter": {
|
|
264
|
+
"types": "./dist/shared-lock/implementations/adapters/no-op-shared-lock-adapter/_module-exports.d.ts",
|
|
265
|
+
"import": "./dist/shared-lock/implementations/adapters/no-op-shared-lock-adapter/_module-exports.js"
|
|
266
|
+
},
|
|
267
|
+
"./shared-lock/redis-shared-lock-adapter": {
|
|
268
|
+
"types": "./dist/shared-lock/implementations/adapters/redis-shared-lock-adapter/_module-exports.d.ts",
|
|
269
|
+
"import": "./dist/shared-lock/implementations/adapters/redis-shared-lock-adapter/_module-exports.js"
|
|
194
270
|
},
|
|
195
271
|
"./shared-lock/test-utilities": {
|
|
196
272
|
"types": "./dist/shared-lock/implementations/test-utilities/_module-exports.d.ts",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module-exports.js","sourceRoot":"","sources":["../../../../src/cache/implementations/adapters/_module-exports.ts"],"names":[],"mappings":"AAAA,cAAc,kEAAkE,CAAC;AACjF,cAAc,kEAAkE,CAAC;AACjF,cAAc,mEAAmE,CAAC;AAClF,cAAc,iEAAiE,CAAC;AAChF,cAAc,iEAAiE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/cache/implementations/adapters/kysely-cache-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,+EAA+E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/cache/implementations/adapters/memory-cache-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,+EAA+E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/cache/implementations/adapters/mongodb-cache-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,iFAAiF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/cache/implementations/adapters/no-op-cache-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,6EAA6E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/cache/implementations/adapters/redis-cache-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,6EAA6E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module-exports.js","sourceRoot":"","sources":["../../../../src/event-bus/implementations/adapters/_module-exports.ts"],"names":[],"mappings":"AAAA,cAAc,0EAA0E,CAAC;AACzF,cAAc,yEAAyE,CAAC;AACxF,cAAc,iFAAiF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/event-bus/implementations/adapters/memory-event-bus-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,2FAA2F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/event-bus/implementations/adapters/no-op-event-bus-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,yFAAyF,CAAC"}
|
package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/_module.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,yGAAyG,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module-exports.js","sourceRoot":"","sources":["../../../../src/lock/implementations/adapters/_module-exports.ts"],"names":[],"mappings":"AAAA,cAAc,gEAAgE,CAAC;AAC/E,cAAc,gEAAgE,CAAC;AAC/E,cAAc,iEAAiE,CAAC;AAChF,cAAc,+DAA+D,CAAC;AAC9E,cAAc,+DAA+D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/lock/implementations/adapters/kysely-lock-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,4EAA4E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/lock/implementations/adapters/memory-lock-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,4EAA4E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/lock/implementations/adapters/mongodb-lock-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,8EAA8E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/lock/implementations/adapters/no-op-lock-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,0EAA0E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/lock/implementations/adapters/redis-lock-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,0EAA0E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module-exports.js","sourceRoot":"","sources":["../../../../src/semaphore/implementations/adapters/_module-exports.ts"],"names":[],"mappings":"AAAA,cAAc,0EAA0E,CAAC;AACzF,cAAc,0EAA0E,CAAC;AACzF,cAAc,2EAA2E,CAAC;AAC1F,cAAc,yEAAyE,CAAC;AACxF,cAAc,yEAAyE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/semaphore/implementations/adapters/kysely-semaphore-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,2FAA2F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/semaphore/implementations/adapters/memory-semaphore-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,2FAA2F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/semaphore/implementations/adapters/mongodb-semaphore-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,6FAA6F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/semaphore/implementations/adapters/no-op-semaphore-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,yFAAyF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/semaphore/implementations/adapters/redis-semaphore-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,yFAAyF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module-exports.js","sourceRoot":"","sources":["../../../../src/serde/implementations/adapters/_module-exports.ts"],"names":[],"mappings":"AAAA,cAAc,iEAAiE,CAAC;AAChF,cAAc,sEAAsE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/serde/implementations/adapters/no-op-serde-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,6EAA6E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/serde/implementations/adapters/super-json-serde-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,uFAAuF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module-exports.js","sourceRoot":"","sources":["../../../../src/shared-lock/implementations/adapters/_module-exports.ts"],"names":[],"mappings":"AAAA,cAAc,8EAA8E,CAAC;AAC7F,cAAc,8EAA8E,CAAC;AAC7F,cAAc,+EAA+E,CAAC;AAC9F,cAAc,6EAA6E,CAAC;AAC5F,cAAc,6EAA6E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/shared-lock/implementations/adapters/kysely-shared-lock-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,iGAAiG,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/shared-lock/implementations/adapters/memory-shared-lock-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,iGAAiG,CAAC"}
|
package/dist/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/_module.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/shared-lock/implementations/adapters/mongodb-shared-lock-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,mGAAmG,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/shared-lock/implementations/adapters/no-op-shared-lock-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,+FAA+F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../../src/shared-lock/implementations/adapters/redis-shared-lock-adapter/_module.ts"],"names":[],"mappings":"AAAA,cAAc,+FAA+F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../utilities/classes/kysely-table-name-transformer-plugin/_module.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../src/utilities/classes/_module.ts"],"names":[],"mappings":"AAAA,cAAc,qEAAqE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../../utilities/classes/kysely-table-name-transformer-plugin/kysely-table-name-transformer-plugin.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/utilities/classes/kysely-table-name-transformer-plugin/_module.ts"],"names":[],"mappings":"AAAA,cAAc,kGAAkG,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module Utilities
|
|
3
|
-
*/
|
|
4
|
-
import type { KyselyPlugin, PluginTransformQueryArgs, PluginTransformResultArgs, QueryResult, RootOperationNode, UnknownRow } from "kysely";
|
|
5
|
-
/**
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
|
-
export declare class KyselyTableNameTransformerPlugin implements KyselyPlugin {
|
|
9
|
-
private readonly transformer;
|
|
10
|
-
constructor(tableNameMap: Record<string, string>);
|
|
11
|
-
transformQuery(args: PluginTransformQueryArgs): RootOperationNode;
|
|
12
|
-
transformResult(args: PluginTransformResultArgs): Promise<QueryResult<UnknownRow>>;
|
|
13
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module Utilities
|
|
3
|
-
*/
|
|
4
|
-
import { UnexpectedError } from "../../../utilities/errors.js";
|
|
5
|
-
import { OperationNodeTransformer } from "kysely";
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
|
-
class TableNameTransformer extends OperationNodeTransformer {
|
|
10
|
-
tableNameMap;
|
|
11
|
-
constructor(tableNameMap) {
|
|
12
|
-
super();
|
|
13
|
-
this.tableNameMap = tableNameMap;
|
|
14
|
-
}
|
|
15
|
-
transformTable(node) {
|
|
16
|
-
const transformedNode = super.transformTable(node);
|
|
17
|
-
return {
|
|
18
|
-
...transformedNode,
|
|
19
|
-
table: {
|
|
20
|
-
...transformedNode.table,
|
|
21
|
-
identifier: {
|
|
22
|
-
...transformedNode.table.identifier,
|
|
23
|
-
name: (() => {
|
|
24
|
-
const sqlTableName = transformedNode.table.identifier.name;
|
|
25
|
-
const mapedTableName = this.tableNameMap[sqlTableName];
|
|
26
|
-
if (mapedTableName === undefined) {
|
|
27
|
-
throw new UnexpectedError(`Table does not exist "${sqlTableName}"`);
|
|
28
|
-
}
|
|
29
|
-
return mapedTableName;
|
|
30
|
-
})(),
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
export class KyselyTableNameTransformerPlugin {
|
|
40
|
-
transformer;
|
|
41
|
-
constructor(tableNameMap) {
|
|
42
|
-
this.transformer = new TableNameTransformer(tableNameMap);
|
|
43
|
-
}
|
|
44
|
-
transformQuery(args) {
|
|
45
|
-
return this.transformer.transformNode(args.node);
|
|
46
|
-
}
|
|
47
|
-
transformResult(args) {
|
|
48
|
-
return Promise.resolve(args.result);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
//# sourceMappingURL=kysely-table-name-transformer-plugin.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kysely-table-name-transformer-plugin.js","sourceRoot":"","sources":["../../../../src/utilities/classes/kysely-table-name-transformer-plugin/kysely-table-name-transformer-plugin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAUxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,QAAQ,CAAC;AAElD;;GAEG;AACH,MAAM,oBAAqB,SAAQ,wBAAwB;IAC1B;IAA7B,YAA6B,YAAoC;QAC7D,KAAK,EAAE,CAAC;QADiB,iBAAY,GAAZ,YAAY,CAAwB;IAEjE,CAAC;IAEkB,cAAc,CAAC,IAAe;QAC7C,MAAM,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QACnD,OAAO;YACH,GAAG,eAAe;YAClB,KAAK,EAAE;gBACH,GAAG,eAAe,CAAC,KAAK;gBACxB,UAAU,EAAE;oBACR,GAAG,eAAe,CAAC,KAAK,CAAC,UAAU;oBACnC,IAAI,EAAE,CAAC,GAAG,EAAE;wBACR,MAAM,YAAY,GACd,eAAe,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;wBAC1C,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;wBACvD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;4BAC/B,MAAM,IAAI,eAAe,CACrB,yBAAyB,YAAY,GAAG,CAC3C,CAAC;wBACN,CAAC;wBACD,OAAO,cAAc,CAAC;oBAC1B,CAAC,CAAC,EAAE;iBACP;aACJ;SACJ,CAAC;IACN,CAAC;CACJ;AAED;;GAEG;AACH,MAAM,OAAO,gCAAgC;IACxB,WAAW,CAAuB;IAEnD,YAAY,YAAoC;QAC5C,IAAI,CAAC,WAAW,GAAG,IAAI,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAC9D,CAAC;IAED,cAAc,CAAC,IAA8B;QACzC,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrD,CAAC;IAED,eAAe,CACX,IAA+B;QAE/B,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxC,CAAC;CACJ"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/lock/implementations/adapters/no-op-lock-adapter/{_module.d.ts → _module-exports.d.ts}
RENAMED
|
File without changes
|
/package/dist/lock/implementations/adapters/redis-lock-adapter/{_module.d.ts → _module-exports.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|