@daiso-tech/core 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (275) hide show
  1. package/README.md +10 -0
  2. package/dist/async/utilities/delay/delay.d.ts +1 -12
  3. package/dist/async/utilities/delay/delay.js +1 -12
  4. package/dist/async/utilities/delay/delay.js.map +1 -1
  5. package/dist/async/utilities/lazy-promise/lazy-promise.d.ts +99 -65
  6. package/dist/async/utilities/lazy-promise/lazy-promise.js +151 -111
  7. package/dist/async/utilities/lazy-promise/lazy-promise.js.map +1 -1
  8. package/dist/cache/contracts/_module-exports.d.ts +1 -0
  9. package/dist/cache/contracts/_module-exports.js +1 -0
  10. package/dist/cache/contracts/_module-exports.js.map +1 -1
  11. package/dist/cache/contracts/cache-adapter.contract.d.ts +19 -21
  12. package/dist/cache/contracts/cache-adapter.contract.js +1 -4
  13. package/dist/cache/contracts/cache-adapter.contract.js.map +1 -1
  14. package/dist/cache/contracts/cache-factory.contract.d.ts +1 -1
  15. package/dist/cache/contracts/cache.contract.d.ts +52 -88
  16. package/dist/cache/contracts/cache.contract.js +1 -2
  17. package/dist/cache/contracts/cache.contract.js.map +1 -1
  18. package/dist/cache/contracts/cache.errors.js +2 -5
  19. package/dist/cache/contracts/cache.errors.js.map +1 -1
  20. package/dist/cache/contracts/cache.events.d.ts +10 -10
  21. package/dist/cache/contracts/cache.events.js +2 -5
  22. package/dist/cache/contracts/cache.events.js.map +1 -1
  23. package/dist/cache/contracts/database-cache-adapter.contract.d.ts +89 -0
  24. package/dist/cache/contracts/database-cache-adapter.contract.js +5 -0
  25. package/dist/cache/contracts/database-cache-adapter.contract.js.map +1 -0
  26. package/dist/cache/implementations/adapters/_module-exports.d.ts +0 -1
  27. package/dist/cache/implementations/adapters/_module-exports.js +0 -1
  28. package/dist/cache/implementations/adapters/_module-exports.js.map +1 -1
  29. package/dist/cache/implementations/adapters/{kysely-sqlite-cache-adapter → kysely-cache-adapter}/_module.d.ts +1 -1
  30. package/dist/cache/implementations/adapters/kysely-cache-adapter/_module.js +2 -0
  31. package/dist/cache/implementations/adapters/kysely-cache-adapter/_module.js.map +1 -0
  32. package/dist/cache/implementations/adapters/kysely-cache-adapter/kysely-cache-adapter.d.ts +73 -0
  33. package/dist/cache/implementations/adapters/kysely-cache-adapter/kysely-cache-adapter.js +224 -0
  34. package/dist/cache/implementations/adapters/kysely-cache-adapter/kysely-cache-adapter.js.map +1 -0
  35. package/dist/cache/implementations/adapters/libsql-cache-adapter/libsql-cache-adapter.d.ts +29 -39
  36. package/dist/cache/implementations/adapters/libsql-cache-adapter/libsql-cache-adapter.js +45 -54
  37. package/dist/cache/implementations/adapters/libsql-cache-adapter/libsql-cache-adapter.js.map +1 -1
  38. package/dist/cache/implementations/adapters/memory-cache-adapter/memory-cache-adapter.d.ts +17 -33
  39. package/dist/cache/implementations/adapters/memory-cache-adapter/memory-cache-adapter.js +43 -52
  40. package/dist/cache/implementations/adapters/memory-cache-adapter/memory-cache-adapter.js.map +1 -1
  41. package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter-serde.d.ts +13 -0
  42. package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter-serde.js +38 -0
  43. package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter-serde.js.map +1 -0
  44. package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter.d.ts +27 -33
  45. package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter.js +145 -197
  46. package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter.js.map +1 -1
  47. package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter-serde.d.ts +13 -0
  48. package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter-serde.js +39 -0
  49. package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter-serde.js.map +1 -0
  50. package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter.d.ts +16 -22
  51. package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter.js +51 -132
  52. package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter.js.map +1 -1
  53. package/dist/cache/implementations/adapters/redis-cache-adapter/utilities.d.ts +13 -0
  54. package/dist/cache/implementations/adapters/redis-cache-adapter/utilities.js +69 -0
  55. package/dist/cache/implementations/adapters/redis-cache-adapter/utilities.js.map +1 -0
  56. package/dist/cache/implementations/adapters/sqlite-cache-adapter/sqlite-cache-adapter.d.ts +29 -40
  57. package/dist/cache/implementations/adapters/sqlite-cache-adapter/sqlite-cache-adapter.js +46 -55
  58. package/dist/cache/implementations/adapters/sqlite-cache-adapter/sqlite-cache-adapter.js.map +1 -1
  59. package/dist/cache/implementations/derivables/_module-exports.d.ts +1 -1
  60. package/dist/cache/implementations/derivables/_module-exports.js +1 -1
  61. package/dist/cache/implementations/derivables/_module-exports.js.map +1 -1
  62. package/dist/cache/implementations/derivables/cache/_module.d.ts +1 -0
  63. package/dist/cache/implementations/derivables/cache/_module.js +1 -0
  64. package/dist/cache/implementations/derivables/cache/_module.js.map +1 -1
  65. package/dist/cache/implementations/derivables/cache/cache.d.ts +122 -565
  66. package/dist/cache/implementations/derivables/cache/cache.js +342 -854
  67. package/dist/cache/implementations/derivables/cache/cache.js.map +1 -1
  68. package/dist/cache/implementations/derivables/cache/database-cache-adapter.d.ts +21 -0
  69. package/dist/cache/implementations/derivables/cache/database-cache-adapter.js +110 -0
  70. package/dist/cache/implementations/derivables/cache/database-cache-adapter.js.map +1 -0
  71. package/dist/cache/implementations/derivables/cache/is-database-cache-adapter.d.ts +9 -0
  72. package/dist/cache/implementations/derivables/cache/is-database-cache-adapter.js +20 -0
  73. package/dist/cache/implementations/derivables/cache/is-database-cache-adapter.js.map +1 -0
  74. package/dist/cache/implementations/derivables/cache-factory/cache-factory.d.ts +65 -104
  75. package/dist/cache/implementations/derivables/cache-factory/cache-factory.js +101 -85
  76. package/dist/cache/implementations/derivables/cache-factory/cache-factory.js.map +1 -1
  77. package/dist/cache/implementations/test-utilities/_module-exports.d.ts +1 -0
  78. package/dist/cache/implementations/test-utilities/_module-exports.js +1 -0
  79. package/dist/cache/implementations/test-utilities/_module-exports.js.map +1 -1
  80. package/dist/cache/implementations/test-utilities/cache-adapter.test-suite.d.ts +9 -11
  81. package/dist/cache/implementations/test-utilities/cache-adapter.test-suite.js +246 -247
  82. package/dist/cache/implementations/test-utilities/cache-adapter.test-suite.js.map +1 -1
  83. package/dist/cache/implementations/test-utilities/cache.test-suite.d.ts +16 -30
  84. package/dist/cache/implementations/test-utilities/cache.test-suite.js +271 -996
  85. package/dist/cache/implementations/test-utilities/cache.test-suite.js.map +1 -1
  86. package/dist/cache/implementations/test-utilities/database-cache-dapter.test-suite.d.ts +60 -0
  87. package/dist/cache/implementations/test-utilities/database-cache-dapter.test-suite.js +698 -0
  88. package/dist/cache/implementations/test-utilities/database-cache-dapter.test-suite.js.map +1 -0
  89. package/dist/collection/contracts/async-collection.contract.d.ts +2 -3
  90. package/dist/collection/contracts/async-collection.contract.js +1 -12
  91. package/dist/collection/contracts/async-collection.contract.js.map +1 -1
  92. package/dist/collection/contracts/collection.contract.d.ts +1 -1
  93. package/dist/collection/contracts/collection.errors.d.ts +1 -1
  94. package/dist/collection/contracts/collection.errors.js +3 -6
  95. package/dist/collection/contracts/collection.errors.js.map +1 -1
  96. package/dist/collection/implementations/_shared.d.ts +4 -4
  97. package/dist/collection/implementations/_shared.js +6 -9
  98. package/dist/collection/implementations/_shared.js.map +1 -1
  99. package/dist/collection/implementations/async-iterable-collection/_shared/async-delay-iterable.js +2 -2
  100. package/dist/collection/implementations/async-iterable-collection/_shared/async-delay-iterable.js.map +1 -1
  101. package/dist/collection/implementations/async-iterable-collection/async-iterable-collection.d.ts +1 -1
  102. package/dist/collection/implementations/async-iterable-collection/async-iterable-collection.js +6 -5
  103. package/dist/collection/implementations/async-iterable-collection/async-iterable-collection.js.map +1 -1
  104. package/dist/collection/implementations/iterable-collection/iterable-collection.d.ts +1 -1
  105. package/dist/collection/implementations/iterable-collection/iterable-collection.js +1 -1
  106. package/dist/collection/implementations/list-collection/list-collection.d.ts +1 -1
  107. package/dist/collection/implementations/list-collection/list-collection.js +1 -1
  108. package/dist/event-bus/contracts/event-bus-adapter.contract.d.ts +0 -9
  109. package/dist/event-bus/contracts/event-bus.contract.d.ts +5 -5
  110. package/dist/event-bus/contracts/event-bus.contract.js.map +1 -1
  111. package/dist/event-bus/contracts/event-bus.errors.js +2 -5
  112. package/dist/event-bus/contracts/event-bus.errors.js.map +1 -1
  113. package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/memory-event-bus-adapter.d.ts +9 -29
  114. package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/memory-event-bus-adapter.js +14 -35
  115. package/dist/event-bus/implementations/adapters/memory-event-bus-adapter/memory-event-bus-adapter.js.map +1 -1
  116. package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/no-op-event-bus-adapter.d.ts +1 -3
  117. package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/no-op-event-bus-adapter.js +1 -7
  118. package/dist/event-bus/implementations/adapters/no-op-event-bus-adapter/no-op-event-bus-adapter.js.map +1 -1
  119. package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/redis-pub-sub-event-bus-adapter.d.ts +8 -15
  120. package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/redis-pub-sub-event-bus-adapter.js +15 -34
  121. package/dist/event-bus/implementations/adapters/redis-pub-sub-event-bus-adapter/redis-pub-sub-event-bus-adapter.js.map +1 -1
  122. package/dist/event-bus/implementations/derivables/event-bus/event-bus.d.ts +78 -267
  123. package/dist/event-bus/implementations/derivables/event-bus/event-bus.js +119 -323
  124. package/dist/event-bus/implementations/derivables/event-bus/event-bus.js.map +1 -1
  125. package/dist/event-bus/implementations/derivables/event-bus/listener-store.d.ts +13 -0
  126. package/dist/event-bus/implementations/derivables/event-bus/listener-store.js +42 -0
  127. package/dist/event-bus/implementations/derivables/event-bus/listener-store.js.map +1 -0
  128. package/dist/event-bus/implementations/derivables/event-bus-factory/event-bus-factory.d.ts +70 -96
  129. package/dist/event-bus/implementations/derivables/event-bus-factory/event-bus-factory.js +100 -90
  130. package/dist/event-bus/implementations/derivables/event-bus-factory/event-bus-factory.js.map +1 -1
  131. package/dist/event-bus/implementations/test-utilities/event-bus-adapter.test-suite.d.ts +2 -48
  132. package/dist/event-bus/implementations/test-utilities/event-bus-adapter.test-suite.js +31 -122
  133. package/dist/event-bus/implementations/test-utilities/event-bus-adapter.test-suite.js.map +1 -1
  134. package/dist/event-bus/implementations/test-utilities/event-bus.test-suite.d.ts +2 -50
  135. package/dist/event-bus/implementations/test-utilities/event-bus.test-suite.js +41 -89
  136. package/dist/event-bus/implementations/test-utilities/event-bus.test-suite.js.map +1 -1
  137. package/dist/lock/contracts/database-lock-adapter.contract.d.ts +0 -9
  138. package/dist/lock/contracts/lock-adapter.contract.d.ts +0 -9
  139. package/dist/lock/contracts/lock-provider.contract.d.ts +1 -1
  140. package/dist/lock/contracts/lock.errors.js +2 -5
  141. package/dist/lock/contracts/lock.errors.js.map +1 -1
  142. package/dist/lock/contracts/lock.events.js +2 -5
  143. package/dist/lock/contracts/lock.events.js.map +1 -1
  144. package/dist/lock/implementations/adapters/kysely-lock-adapter/kysely-lock-adapter.d.ts +0 -5
  145. package/dist/lock/implementations/adapters/kysely-lock-adapter/kysely-lock-adapter.js +2 -21
  146. package/dist/lock/implementations/adapters/kysely-lock-adapter/kysely-lock-adapter.js.map +1 -1
  147. package/dist/lock/implementations/adapters/libsql-lock-adapter/libsql-lock-adapter.d.ts +11 -16
  148. package/dist/lock/implementations/adapters/libsql-lock-adapter/libsql-lock-adapter.js +11 -20
  149. package/dist/lock/implementations/adapters/libsql-lock-adapter/libsql-lock-adapter.js.map +1 -1
  150. package/dist/lock/implementations/adapters/memory-lock-adapter/memory-lock-adapter.d.ts +7 -26
  151. package/dist/lock/implementations/adapters/memory-lock-adapter/memory-lock-adapter.js +7 -35
  152. package/dist/lock/implementations/adapters/memory-lock-adapter/memory-lock-adapter.js.map +1 -1
  153. package/dist/lock/implementations/adapters/mongodb-lock-adapter/mongodb-lock-adapter.d.ts +13 -20
  154. package/dist/lock/implementations/adapters/mongodb-lock-adapter/mongodb-lock-adapter.js +13 -37
  155. package/dist/lock/implementations/adapters/mongodb-lock-adapter/mongodb-lock-adapter.js.map +1 -1
  156. package/dist/lock/implementations/adapters/redis-lock-adapter/redis-lock-adapter.d.ts +4 -22
  157. package/dist/lock/implementations/adapters/redis-lock-adapter/redis-lock-adapter.js +4 -31
  158. package/dist/lock/implementations/adapters/redis-lock-adapter/redis-lock-adapter.js.map +1 -1
  159. package/dist/lock/implementations/adapters/sqlite-lock-adapter/sqlite-lock-adapter.d.ts +12 -17
  160. package/dist/lock/implementations/adapters/sqlite-lock-adapter/sqlite-lock-adapter.js +12 -21
  161. package/dist/lock/implementations/adapters/sqlite-lock-adapter/sqlite-lock-adapter.js.map +1 -1
  162. package/dist/lock/implementations/derivables/lock-provider/database-lock-adapter.d.ts +0 -2
  163. package/dist/lock/implementations/derivables/lock-provider/database-lock-adapter.js +2 -8
  164. package/dist/lock/implementations/derivables/lock-provider/database-lock-adapter.js.map +1 -1
  165. package/dist/lock/implementations/derivables/lock-provider/is-database-lock-adapter.d.ts +9 -0
  166. package/dist/lock/implementations/derivables/lock-provider/is-database-lock-adapter.js +17 -0
  167. package/dist/lock/implementations/derivables/lock-provider/is-database-lock-adapter.js.map +1 -0
  168. package/dist/lock/implementations/derivables/lock-provider/lock-provider.d.ts +115 -372
  169. package/dist/lock/implementations/derivables/lock-provider/lock-provider.js +197 -455
  170. package/dist/lock/implementations/derivables/lock-provider/lock-provider.js.map +1 -1
  171. package/dist/lock/implementations/derivables/lock-provider/lock-serde-transformer.d.ts +15 -17
  172. package/dist/lock/implementations/derivables/lock-provider/lock-serde-transformer.js +42 -40
  173. package/dist/lock/implementations/derivables/lock-provider/lock-serde-transformer.js.map +1 -1
  174. package/dist/lock/implementations/derivables/lock-provider/lock-state.d.ts +3 -3
  175. package/dist/lock/implementations/derivables/lock-provider/lock-state.js.map +1 -1
  176. package/dist/lock/implementations/derivables/lock-provider/lock.d.ts +30 -754
  177. package/dist/lock/implementations/derivables/lock-provider/lock.js +94 -812
  178. package/dist/lock/implementations/derivables/lock-provider/lock.js.map +1 -1
  179. package/dist/lock/implementations/derivables/lock-provider-factory/lock-provider-factory.d.ts +58 -161
  180. package/dist/lock/implementations/derivables/lock-provider-factory/lock-provider-factory.js +116 -122
  181. package/dist/lock/implementations/derivables/lock-provider-factory/lock-provider-factory.js.map +1 -1
  182. package/dist/lock/implementations/test-utilities/database-lock-adapter.test-suite.d.ts +4 -5
  183. package/dist/lock/implementations/test-utilities/database-lock-adapter.test-suite.js +172 -247
  184. package/dist/lock/implementations/test-utilities/database-lock-adapter.test-suite.js.map +1 -1
  185. package/dist/lock/implementations/test-utilities/lock-adapter.test-suite.d.ts +5 -8
  186. package/dist/lock/implementations/test-utilities/lock-adapter.test-suite.js +93 -98
  187. package/dist/lock/implementations/test-utilities/lock-adapter.test-suite.js.map +1 -1
  188. package/dist/lock/implementations/test-utilities/lock-provider.test-suite.d.ts +15 -20
  189. package/dist/lock/implementations/test-utilities/lock-provider.test-suite.js +133 -137
  190. package/dist/lock/implementations/test-utilities/lock-provider.test-suite.js.map +1 -1
  191. package/dist/serde/implementations/adapters/mongodb-serde/mongodb-serde.js +1 -2
  192. package/dist/serde/implementations/adapters/mongodb-serde/mongodb-serde.js.map +1 -1
  193. package/dist/serde/implementations/adapters/no-op-serde-adapter/no-op-serde-adapter.d.ts +2 -2
  194. package/dist/serde/implementations/adapters/no-op-serde-adapter/no-op-serde-adapter.js +1 -1
  195. package/dist/serde/implementations/adapters/redis-serde/redis-serde.js +1 -2
  196. package/dist/serde/implementations/adapters/redis-serde/redis-serde.js.map +1 -1
  197. package/dist/serde/implementations/adapters/sql-serde/sql-serde.js +1 -2
  198. package/dist/serde/implementations/adapters/sql-serde/sql-serde.js.map +1 -1
  199. package/dist/serde/implementations/adapters/super-json-serde-adapter/super-json-serde-adapter.d.ts +2 -2
  200. package/dist/serde/implementations/adapters/super-json-serde-adapter/super-json-serde-adapter.js +2 -2
  201. package/dist/serde/implementations/adapters/super-json-serde-adapter/super-json-serde-adapter.js.map +1 -1
  202. package/dist/serde/implementations/derivables/serde.d.ts +14 -14
  203. package/dist/serde/implementations/derivables/serde.js +14 -15
  204. package/dist/serde/implementations/derivables/serde.js.map +1 -1
  205. package/dist/serde/implementations/test-utilities/flexible-serde-adapter.test-suite.d.ts +4 -4
  206. package/dist/serde/implementations/test-utilities/flexible-serde-adapter.test-suite.js +3 -3
  207. package/dist/serde/implementations/test-utilities/flexible-serde.test-suite.d.ts +5 -5
  208. package/dist/serde/implementations/test-utilities/flexible-serde.test-suite.js +4 -4
  209. package/dist/utilities/_module-exports.d.ts +1 -2
  210. package/dist/utilities/_module-exports.js +1 -2
  211. package/dist/utilities/_module-exports.js.map +1 -1
  212. package/dist/utilities/classes/_module.d.ts +4 -0
  213. package/dist/utilities/classes/_module.js +5 -0
  214. package/dist/utilities/classes/_module.js.map +1 -0
  215. package/dist/utilities/classes/key-prefixer/_module.d.ts +2 -0
  216. package/dist/utilities/classes/key-prefixer/_module.js +3 -0
  217. package/dist/utilities/classes/key-prefixer/_module.js.map +1 -0
  218. package/dist/utilities/classes/key-prefixer/key-prefixer.contract.d.ts +28 -0
  219. package/dist/utilities/classes/key-prefixer/key-prefixer.contract.js +5 -0
  220. package/dist/utilities/classes/key-prefixer/key-prefixer.contract.js.map +1 -0
  221. package/dist/utilities/classes/key-prefixer/key-prefixer.d.ts +73 -0
  222. package/dist/utilities/classes/key-prefixer/key-prefixer.js +135 -0
  223. package/dist/utilities/classes/key-prefixer/key-prefixer.js.map +1 -0
  224. package/dist/utilities/classes/kysely-table-name-transformer-plugin/_module.d.ts +1 -0
  225. package/dist/utilities/classes/kysely-table-name-transformer-plugin/_module.js +2 -0
  226. package/dist/utilities/classes/kysely-table-name-transformer-plugin/_module.js.map +1 -0
  227. package/dist/utilities/classes/kysely-table-name-transformer-plugin/kysely-table-name-transformer-plugin.js.map +1 -0
  228. package/dist/utilities/classes/pipeline/_module.d.ts +1 -0
  229. package/dist/utilities/classes/pipeline/_module.js +2 -0
  230. package/dist/utilities/classes/pipeline/_module.js.map +1 -0
  231. package/dist/utilities/{pipeline → classes/pipeline}/pipeline.d.ts +3 -2
  232. package/dist/utilities/{pipeline → classes/pipeline}/pipeline.js +3 -2
  233. package/dist/utilities/classes/pipeline/pipeline.js.map +1 -0
  234. package/dist/utilities/classes/time-span/_module.d.ts +1 -0
  235. package/dist/utilities/classes/time-span/_module.js +2 -0
  236. package/dist/utilities/classes/time-span/_module.js.map +1 -0
  237. package/dist/utilities/{time-span → classes/time-span}/time-span.d.ts +2 -1
  238. package/dist/utilities/{time-span → classes/time-span}/time-span.js +1 -0
  239. package/dist/utilities/classes/time-span/time-span.js.map +1 -0
  240. package/dist/utilities/contracts/_module.d.ts +2 -1
  241. package/dist/utilities/contracts/_module.js +2 -1
  242. package/dist/utilities/contracts/_module.js.map +1 -1
  243. package/dist/utilities/contracts/prunable.contract.d.ts +11 -0
  244. package/dist/utilities/contracts/prunable.contract.js +5 -0
  245. package/dist/utilities/contracts/prunable.contract.js.map +1 -0
  246. package/dist/utilities/functions.d.ts +30 -2
  247. package/dist/utilities/functions.js +66 -4
  248. package/dist/utilities/functions.js.map +1 -1
  249. package/dist/utilities/types.d.ts +47 -14
  250. package/package.json +14 -13
  251. package/dist/cache/implementations/adapters/kysely-sqlite-cache-adapter/_module.js +0 -2
  252. package/dist/cache/implementations/adapters/kysely-sqlite-cache-adapter/_module.js.map +0 -1
  253. package/dist/cache/implementations/adapters/kysely-sqlite-cache-adapter/kysely-sqlite-cache-adapter.d.ts +0 -61
  254. package/dist/cache/implementations/adapters/kysely-sqlite-cache-adapter/kysely-sqlite-cache-adapter.js +0 -318
  255. package/dist/cache/implementations/adapters/kysely-sqlite-cache-adapter/kysely-sqlite-cache-adapter.js.map +0 -1
  256. package/dist/cache/implementations/adapters/no-op-cache-adapter/_module.d.ts +0 -1
  257. package/dist/cache/implementations/adapters/no-op-cache-adapter/_module.js +0 -2
  258. package/dist/cache/implementations/adapters/no-op-cache-adapter/_module.js.map +0 -1
  259. package/dist/cache/implementations/adapters/no-op-cache-adapter/no-op-cache-adapter.d.ts +0 -22
  260. package/dist/cache/implementations/adapters/no-op-cache-adapter/no-op-cache-adapter.js +0 -39
  261. package/dist/cache/implementations/adapters/no-op-cache-adapter/no-op-cache-adapter.js.map +0 -1
  262. package/dist/utilities/kysely/_module.d.ts +0 -1
  263. package/dist/utilities/kysely/_module.js +0 -2
  264. package/dist/utilities/kysely/_module.js.map +0 -1
  265. package/dist/utilities/kysely/kysely-table-name-transformer-plugin.js.map +0 -1
  266. package/dist/utilities/pipeline/_module.d.ts +0 -1
  267. package/dist/utilities/pipeline/_module.js +0 -2
  268. package/dist/utilities/pipeline/_module.js.map +0 -1
  269. package/dist/utilities/pipeline/pipeline.js.map +0 -1
  270. package/dist/utilities/time-span/_module.d.ts +0 -1
  271. package/dist/utilities/time-span/_module.js +0 -2
  272. package/dist/utilities/time-span/_module.js.map +0 -1
  273. package/dist/utilities/time-span/time-span.js.map +0 -1
  274. /package/dist/utilities/{kysely → classes/kysely-table-name-transformer-plugin}/kysely-table-name-transformer-plugin.d.ts +0 -0
  275. /package/dist/utilities/{kysely → classes/kysely-table-name-transformer-plugin}/kysely-table-name-transformer-plugin.js +0 -0
@@ -7,7 +7,7 @@ import { ArrayBufferSerdeTransformer, BufferSerdeTransformer, Uint8ArraySerdeTra
7
7
  /**
8
8
  * <i>Serde</i> class can be derived from any <i>{@link IFlexibleSerdeAdapter}</i>.
9
9
  *
10
- * IMPORT_PATH: ```"@daiso-tech/core/serde/implementations/deriavables"```
10
+ * IMPORT_PATH: ```"@daiso-tech/core/serde/deriavables"```
11
11
  * @group Derivables
12
12
  */
13
13
  export class Serde {
@@ -16,8 +16,8 @@ export class Serde {
16
16
  * @example
17
17
  * ```ts
18
18
  * import type { IFlexibleSerde } from "@daiso-tech/core/serde/contracts";
19
- * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/implementations/adapters";
20
- * import { Serde } from "@daiso-tech/core/serde/implementations/derivables";
19
+ * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/adapters";
20
+ * import { Serde } from "@daiso-tech/core/serde";
21
21
  *
22
22
  * const serde: IFlexibleSerde = new Serde(new SuperJsonSerdeAdapter());
23
23
  * ```
@@ -96,8 +96,8 @@ export class Serde {
96
96
  * @example
97
97
  * ```ts
98
98
  * import type { IFlexibleSerde } from "@daiso-tech/core/serde/contracts";
99
- * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/implementations/adapters";
100
- * import { Serde } from "@daiso-tech/core/serde/implementations/derivables";
99
+ * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/adapters";
100
+ * import { Serde } from "@daiso-tech/core/serde";
101
101
  *
102
102
  * const serde: IFlexibleSerde = new Serde(new SuperJsonSerdeAdapter());
103
103
  *
@@ -115,8 +115,8 @@ export class Serde {
115
115
  * @example
116
116
  * ```ts
117
117
  * import type { IFlexibleSerde } from "@daiso-tech/core/serde/contracts";
118
- * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/implementations/adapters";
119
- * import { Serde } from "@daiso-tech/core/serde/implementations/derivables";
118
+ * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/adapters";
119
+ * import { Serde } from "@daiso-tech/core/serde";
120
120
  *
121
121
  * const serde: IFlexibleSerde = new Serde(new SuperJsonSerdeAdapter());
122
122
  *
@@ -137,8 +137,8 @@ export class Serde {
137
137
  * @example
138
138
  * ```ts
139
139
  * import type { IFlexibleSerde } from "@daiso-tech/core/serde/contracts";
140
- * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/implementations/adapters";
141
- * import { Serde } from "@daiso-tech/core/serde/implementations/derivables";
140
+ * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/adapters";
141
+ * import { Serde } from "@daiso-tech/core/serde";
142
142
  * import { BaseEvent } from "@daiso-tech/core/event-bus/contracts";
143
143
  *
144
144
  * const serde: IFlexibleSerde = new Serde(new SuperJsonSerdeAdapter());
@@ -181,8 +181,8 @@ export class Serde {
181
181
  * @example
182
182
  * ```ts
183
183
  * import type { IFlexibleSerde } from "@daiso-tech/core/serde/contracts";
184
- * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/implementations/adapters";
185
- * import { Serde } from "@daiso-tech/core/serde/implementations/derivables";
184
+ * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/adapters";
185
+ * import { Serde } from "@daiso-tech/core/serde";
186
186
  * import { ISerializable } from "@daiso-tech/core/serde/contracts";
187
187
  *
188
188
  * const serde: IFlexibleSerde = new Serde(new SuperJsonSerdeAdapter());
@@ -244,8 +244,8 @@ export class Serde {
244
244
  * @example
245
245
  * ```ts
246
246
  * import type { IFlexibleSerde } from "@daiso-tech/core/serde/contracts";
247
- * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/implementations/adapters";
248
- * import { Serde } from "@daiso-tech/core/serde/implementations/derivables";
247
+ * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/adapters";
248
+ * import { Serde } from "@daiso-tech/core/serde";
249
249
  *
250
250
  * const serde: IFlexibleSerde = new Serde(new SuperJsonSerdeAdapter());
251
251
  *
@@ -304,8 +304,7 @@ export class Serde {
304
304
  registerCustom(transformer, prefix) {
305
305
  let name = resolveOneOrMoreStr(transformer.name);
306
306
  if (prefix !== undefined) {
307
- prefix = resolveOneOrMoreStr(prefix);
308
- name = resolveOneOrMoreStr([prefix, name]);
307
+ name = resolveOneOrMoreStr([resolveOneOrMoreStr(prefix), name]);
309
308
  }
310
309
  this.serdeAdapter.registerCustom({
311
310
  name,
@@ -1 +1 @@
1
- {"version":3,"file":"serde.js","sourceRoot":"","sources":["../../../../src/serde/implementations/derivables/serde.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EACH,kBAAkB,EAClB,mBAAmB,GACtB,MAAM,gCAAgC,CAAC;AASxC,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EACH,2BAA2B,EAC3B,sBAAsB,EACtB,0BAA0B,EAC1B,yBAAyB,EACzB,2BAA2B,EAC3B,0BAA0B,EAC1B,2BAA2B,EAC3B,0BAA0B,EAC1B,8BAA8B,EAC9B,6BAA6B,EAC7B,4BAA4B,EAC5B,4BAA4B,EAC5B,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,oBAAoB,EACpB,mBAAmB,EACnB,+BAA+B,GAClC,MAAM,0DAA0D,CAAC;AAuHlE;;;;;GAKG;AACH,MAAM,OAAO,KAAK;IAcO;IAXrB;;;;;;;;;OASG;IACH,YACqB,YAAqD,EACtE,WAA0B,EAAE;QADX,iBAAY,GAAZ,YAAY,CAAyC;QAGtE,MAAM,EACF,uBAAuB,GAAG,IAAI,EAC9B,kBAAkB,GAAG,IAAI,EACzB,sBAAsB,GAAG,IAAI,EAC7B,qBAAqB,GAAG,IAAI,EAC5B,uBAAuB,GAAG,IAAI,EAC9B,sBAAsB,GAAG,IAAI,EAC7B,uBAAuB,GAAG,IAAI,EAC9B,sBAAsB,GAAG,IAAI,EAC7B,0BAA0B,GAAG,IAAI,EACjC,yBAAyB,GAAG,IAAI,EAChC,wBAAwB,GAAG,IAAI,EAC/B,wBAAwB,GAAG,IAAI,EAC/B,eAAe,GAAG,IAAI,EACtB,eAAe,GAAG,IAAI,EACtB,kBAAkB,GAAG,IAAI,EACzB,eAAe,GAAG,IAAI,EACtB,oBAAoB,GAAG,IAAI,EAC3B,kBAAkB,GAAG,IAAI,EACzB,gBAAgB,GAAG,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4DG;IACH,cAAc,CACV,WAAsE,EACtE,MAA0B;QAE1B,IAAI,IAAI,GAAG,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACvB,MAAM,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;YACrC,IAAI,GAAG,mBAAmB,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;QAC/C,CAAC;QACD,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC;YAC7B,IAAI;YACJ,YAAY,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,CAAC;YACxD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,KAAK,CAAC;YAClD,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,WAAW,CAAC,KAAK,CAAC;SACzD,CAAC,CAAC;QACH,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ"}
1
+ {"version":3,"file":"serde.js","sourceRoot":"","sources":["../../../../src/serde/implementations/derivables/serde.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EACH,kBAAkB,EAClB,mBAAmB,GACtB,MAAM,gCAAgC,CAAC;AASxC,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EACH,2BAA2B,EAC3B,sBAAsB,EACtB,0BAA0B,EAC1B,yBAAyB,EACzB,2BAA2B,EAC3B,0BAA0B,EAC1B,2BAA2B,EAC3B,0BAA0B,EAC1B,8BAA8B,EAC9B,6BAA6B,EAC7B,4BAA4B,EAC5B,4BAA4B,EAC5B,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,wBAAwB,EACxB,yBAAyB,EACzB,s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AAE,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,KAAK,CAAC;YAClD,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,WAAW,CAAC,KAAK,CAAC;SACzD,CAAC,CAAC;QACH,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ"}
@@ -5,7 +5,7 @@ import { type TestAPI, type ExpectStatic } from "vitest";
5
5
  import type { IFlexibleSerdeAdapter } from "../../../serde/contracts/_module-exports.js";
6
6
  /**
7
7
  *
8
- * IMPORT_PATH: ```"@daiso-tech/core/serde/implementations/test-utilities"```
8
+ * IMPORT_PATH: ```"@daiso-tech/core/serde/test-utilities"```
9
9
  * @group Test utilities
10
10
  */
11
11
  export type FlexibleSerdeAdapterSuiteSettings = {
@@ -16,13 +16,13 @@ export type FlexibleSerdeAdapterSuiteSettings = {
16
16
  /**
17
17
  * The <i>flexibleSerdeAdapterTestSuite</i> function simplifies the process of testing your custom implementation of <i>{@link IFlexibleSerdeAdapter}</i> with <i>vitest</i>.
18
18
  *
19
- * IMPORT_PATH: ```"@daiso-tech/core/serde/implementations/test-utilities"```
19
+ * IMPORT_PATH: ```"@daiso-tech/core/serde/test-utilities"```
20
20
  * @group Test utilities
21
21
  * @example
22
22
  * ```ts
23
23
  * import { describe, expect, test } from "vitest";
24
- * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/implementations/adapters";
25
- * import { flexibleSerdeAdapterTestSuite } from "@daiso-tech/core/serde/implementations/test-utilities";
24
+ * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/adapters";
25
+ * import { flexibleSerdeAdapterTestSuite } from "@daiso-tech/core/serde/test-utilities";
26
26
  *
27
27
  * describe("class: SuperJsonSerdeAdapter", () => {
28
28
  * flexibleSerdeAdapterTestSuite({
@@ -5,13 +5,13 @@ import { beforeEach } from "vitest";
5
5
  /**
6
6
  * The <i>flexibleSerdeAdapterTestSuite</i> function simplifies the process of testing your custom implementation of <i>{@link IFlexibleSerdeAdapter}</i> with <i>vitest</i>.
7
7
  *
8
- * IMPORT_PATH: ```"@daiso-tech/core/serde/implementations/test-utilities"```
8
+ * IMPORT_PATH: ```"@daiso-tech/core/serde/test-utilities"```
9
9
  * @group Test utilities
10
10
  * @example
11
11
  * ```ts
12
12
  * import { describe, expect, test } from "vitest";
13
- * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/implementations/adapters";
14
- * import { flexibleSerdeAdapterTestSuite } from "@daiso-tech/core/serde/implementations/test-utilities";
13
+ * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/adapters";
14
+ * import { flexibleSerdeAdapterTestSuite } from "@daiso-tech/core/serde/test-utilities";
15
15
  *
16
16
  * describe("class: SuperJsonSerdeAdapter", () => {
17
17
  * flexibleSerdeAdapterTestSuite({
@@ -5,7 +5,7 @@ import { type TestAPI, type ExpectStatic } from "vitest";
5
5
  import type { IFlexibleSerde } from "../../../serde/contracts/_module-exports.js";
6
6
  /**
7
7
  *
8
- * IMPORT_PATH: ```"@daiso-tech/core/serde/implementations/test-utilities"```
8
+ * IMPORT_PATH: ```"@daiso-tech/core/serde/test-utilities"```
9
9
  * @group Test utilities
10
10
  */
11
11
  export type FlexibleSerdeSuiteSettings = {
@@ -16,14 +16,14 @@ export type FlexibleSerdeSuiteSettings = {
16
16
  /**
17
17
  * The <i>flexibleSerdeTestSuite</i> function simplifies the process of testing your custom implementation of <i>{@link IFlexibleSerde}</i> with <i>vitest</i>.
18
18
  *
19
- * IMPORT_PATH: ```"@daiso-tech/core/serde/implementations/test-utilities"```
19
+ * IMPORT_PATH: ```"@daiso-tech/core/serde/test-utilities"```
20
20
  * @group Test utilities
21
21
  * @example
22
22
  * ```ts
23
23
  * import { describe, test, expect } from "vitest";
24
- * import { Serde } from "@daiso-tech/core/serde/implementations/derivables";
25
- * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/implementations/adapters";
26
- * import { flexibleSerdeTestSuite } from "@daiso-tech/core/serde/implementations/test-utilities";
24
+ * import { Serde } from "@daiso-tech/core/serde";
25
+ * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/adapters";
26
+ * import { flexibleSerdeTestSuite } from "@daiso-tech/core/serde/test-utilities";
27
27
  *
28
28
  * describe("class: Serde", () => {
29
29
  * flexibleSerdeTestSuite({
@@ -5,14 +5,14 @@ import { beforeEach } from "vitest";
5
5
  /**
6
6
  * The <i>flexibleSerdeTestSuite</i> function simplifies the process of testing your custom implementation of <i>{@link IFlexibleSerde}</i> with <i>vitest</i>.
7
7
  *
8
- * IMPORT_PATH: ```"@daiso-tech/core/serde/implementations/test-utilities"```
8
+ * IMPORT_PATH: ```"@daiso-tech/core/serde/test-utilities"```
9
9
  * @group Test utilities
10
10
  * @example
11
11
  * ```ts
12
12
  * import { describe, test, expect } from "vitest";
13
- * import { Serde } from "@daiso-tech/core/serde/implementations/derivables";
14
- * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/implementations/adapters";
15
- * import { flexibleSerdeTestSuite } from "@daiso-tech/core/serde/implementations/test-utilities";
13
+ * import { Serde } from "@daiso-tech/core/serde";
14
+ * import { SuperJsonSerdeAdapter } from "@daiso-tech/core/serde/adapters";
15
+ * import { flexibleSerdeTestSuite } from "@daiso-tech/core/serde/test-utilities";
16
16
  *
17
17
  * describe("class: Serde", () => {
18
18
  * flexibleSerdeTestSuite({
@@ -1,6 +1,5 @@
1
+ export * from "../utilities/classes/_module.js";
1
2
  export * from "../utilities/contracts/_module.js";
2
- export * from "../utilities/kysely/_module.js";
3
- export * from "../utilities/time-span/_module.js";
4
3
  export * from "../utilities/_constants.js";
5
4
  export * from "../utilities/errors.js";
6
5
  export * from "../utilities/types.js";
@@ -1,6 +1,5 @@
1
+ export * from "../utilities/classes/_module.js";
1
2
  export * from "../utilities/contracts/_module.js";
2
- export * from "../utilities/kysely/_module.js";
3
- export * from "../utilities/time-span/_module.js";
4
3
  export * from "../utilities/_constants.js";
5
4
  export * from "../utilities/errors.js";
6
5
  export * from "../utilities/types.js";
@@ -1 +1 @@
1
- {"version":3,"file":"_module-exports.js","sourceRoot":"","sources":["../../src/utilities/_module-exports.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"_module-exports.js","sourceRoot":"","sources":["../../src/utilities/_module-exports.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "../../utilities/classes/key-prefixer/_module.js";
2
+ export * from "../../utilities/classes/kysely-table-name-transformer-plugin/_module.js";
3
+ export * from "../../utilities/classes/pipeline/_module.js";
4
+ export * from "../../utilities/classes/time-span/_module.js";
@@ -0,0 +1,5 @@
1
+ export * from "../../utilities/classes/key-prefixer/_module.js";
2
+ export * from "../../utilities/classes/kysely-table-name-transformer-plugin/_module.js";
3
+ export * from "../../utilities/classes/pipeline/_module.js";
4
+ export * from "../../utilities/classes/time-span/_module.js";
5
+ //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../src/utilities/classes/_module.ts"],"names":[],"mappings":"AAAA,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qEAAqE,CAAC;AACpF,cAAc,yCAAyC,CAAC;AACxD,cAAc,0CAA0C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "../../../utilities/classes/key-prefixer/key-prefixer.contract.js";
2
+ export * from "../../../utilities/classes/key-prefixer/key-prefixer.js";
@@ -0,0 +1,3 @@
1
+ export * from "../../../utilities/classes/key-prefixer/key-prefixer.contract.js";
2
+ export * from "../../../utilities/classes/key-prefixer/key-prefixer.js";
3
+ //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/utilities/classes/key-prefixer/_module.ts"],"names":[],"mappings":"AAAA,cAAc,2DAA2D,CAAC;AAC1E,cAAc,kDAAkD,CAAC"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * @module Utilities
3
+ */
4
+ import type { OneOrMore } from "../../../utilities/types.js";
5
+ /**
6
+ *
7
+ * IMPORT_PATH: ```"@daiso-tech/core/utilities"```
8
+ * @group KeyPrefixer
9
+ */
10
+ export type IKey = {
11
+ readonly original: OneOrMore<string>;
12
+ readonly resolved: string;
13
+ readonly prefixed: string;
14
+ };
15
+ /**
16
+ *
17
+ * IMPORT_PATH: ```"@daiso-tech/core/utilities"```
18
+ * @group KeyPrefixer
19
+ */
20
+ export type IKeyPrefixer = {
21
+ readonly originalGroup: OneOrMore<string> | null;
22
+ readonly resolvedGroup: string | null;
23
+ readonly originalRootPrefix: OneOrMore<string>;
24
+ readonly resolvedRootPrefix: string;
25
+ readonly keyPrefix: string;
26
+ create(key: OneOrMore<string>): IKey;
27
+ withGroup(group: OneOrMore<string>): IKeyPrefixer;
28
+ };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @module Utilities
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=key-prefixer.contract.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key-prefixer.contract.js","sourceRoot":"","sources":["../../../../src/utilities/classes/key-prefixer/key-prefixer.contract.ts"],"names":[],"mappings":"AAAA;;GAEG"}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * @module Utilities
3
+ */
4
+ import type { AtLeastOne, OneOrMore } from "../../../utilities/types.js";
5
+ import type { IKey, IKeyPrefixer } from "../../../utilities/classes/key-prefixer/key-prefixer.contract.js";
6
+ /**
7
+ * @internal
8
+ */
9
+ type KeySettings = {
10
+ prefixArr: AtLeastOne<string>;
11
+ key: OneOrMore<string>;
12
+ identifierDelimeter: string;
13
+ keyDelimeter: string;
14
+ };
15
+ /**
16
+ *
17
+ * IMPORT_PATH: ```"@daiso-tech/core/utilities"```
18
+ * @group KeyPrefixer
19
+ */
20
+ declare class Key implements IKey {
21
+ private readonly prefixArr;
22
+ private readonly key;
23
+ private readonly identifierDelimeter;
24
+ private readonly keyDelimeter;
25
+ /**
26
+ *
27
+ * @internal
28
+ */
29
+ constructor(settings: KeySettings);
30
+ get original(): OneOrMore<string>;
31
+ get resolved(): string;
32
+ get prefixed(): string;
33
+ }
34
+ /**
35
+ *
36
+ * IMPORT_PATH: ```"@daiso-tech/core/utilities"```
37
+ * @group KeyPrefixer
38
+ */
39
+ export type KeyPrefixerSettings = {
40
+ identifierDelimeter?: string;
41
+ keyDelimeter?: string;
42
+ keyIdentifier?: string;
43
+ rootIdentifier?: string;
44
+ groupIdentifier?: string;
45
+ };
46
+ /**
47
+ *
48
+ * IMPORT_PATH: ```"@daiso-tech/core/utilities"```
49
+ * @group KeyPrefixer
50
+ */
51
+ export declare class KeyPrefixer implements IKeyPrefixer {
52
+ private readonly _rootPrefix;
53
+ private _group;
54
+ private readonly identifierDelimeter;
55
+ private readonly keyDelimeter;
56
+ private readonly rootIdentifier;
57
+ private readonly groupIdentifier;
58
+ private readonly keyIdentifier;
59
+ constructor(_rootPrefix: OneOrMore<string>, settings?: KeyPrefixerSettings);
60
+ get originalGroup(): OneOrMore<string> | null;
61
+ get resolvedGroup(): string | null;
62
+ get originalRootPrefix(): OneOrMore<string>;
63
+ get resolvedRootPrefix(): string;
64
+ private validate;
65
+ private getKeyPrefixArray;
66
+ get keyPrefix(): string;
67
+ /**
68
+ * Chaining this method multiple times will have no effect.
69
+ */
70
+ withGroup(group: OneOrMore<string>): KeyPrefixer;
71
+ create(key: OneOrMore<string>): Key;
72
+ }
73
+ export {};
@@ -0,0 +1,135 @@
1
+ /**
2
+ * @module Utilities
3
+ */
4
+ import { resolveOneOrMoreStr } from "../../../utilities/functions.js";
5
+ /**
6
+ *
7
+ * IMPORT_PATH: ```"@daiso-tech/core/utilities"```
8
+ * @group KeyPrefixer
9
+ */
10
+ class Key {
11
+ prefixArr;
12
+ key;
13
+ identifierDelimeter;
14
+ keyDelimeter;
15
+ /**
16
+ *
17
+ * @internal
18
+ */
19
+ constructor(settings) {
20
+ const { prefixArr, key, identifierDelimeter, keyDelimeter } = settings;
21
+ this.prefixArr = prefixArr;
22
+ this.key = key;
23
+ this.identifierDelimeter = identifierDelimeter;
24
+ this.keyDelimeter = keyDelimeter;
25
+ }
26
+ get original() {
27
+ return this.key;
28
+ }
29
+ get resolved() {
30
+ return resolveOneOrMoreStr(this.key);
31
+ }
32
+ get prefixed() {
33
+ return resolveOneOrMoreStr([
34
+ ...this.prefixArr,
35
+ resolveOneOrMoreStr(this.key, this.keyDelimeter),
36
+ ], this.identifierDelimeter);
37
+ }
38
+ }
39
+ /**
40
+ *
41
+ * IMPORT_PATH: ```"@daiso-tech/core/utilities"```
42
+ * @group KeyPrefixer
43
+ */
44
+ export class KeyPrefixer {
45
+ _rootPrefix;
46
+ _group = null;
47
+ identifierDelimeter;
48
+ keyDelimeter;
49
+ rootIdentifier;
50
+ groupIdentifier;
51
+ keyIdentifier;
52
+ constructor(_rootPrefix, settings = {}) {
53
+ this._rootPrefix = _rootPrefix;
54
+ const { identifierDelimeter = ":", keyDelimeter = "/", keyIdentifier = "_ky", rootIdentifier = "_rt", groupIdentifier = "_gp", } = settings;
55
+ this.rootIdentifier = rootIdentifier;
56
+ this.groupIdentifier = groupIdentifier;
57
+ this.keyIdentifier = keyIdentifier;
58
+ this.identifierDelimeter = identifierDelimeter;
59
+ this.keyDelimeter = keyDelimeter;
60
+ this.validate(this._rootPrefix);
61
+ if (this._group !== null) {
62
+ this.validate(this._group);
63
+ }
64
+ }
65
+ get originalGroup() {
66
+ return this._group;
67
+ }
68
+ get resolvedGroup() {
69
+ if (this._group === null) {
70
+ return null;
71
+ }
72
+ return resolveOneOrMoreStr(this._group);
73
+ }
74
+ get originalRootPrefix() {
75
+ return this.originalRootPrefix;
76
+ }
77
+ get resolvedRootPrefix() {
78
+ return resolveOneOrMoreStr(this._rootPrefix);
79
+ }
80
+ validate(key) {
81
+ const resolvedKey = resolveOneOrMoreStr(key);
82
+ if (resolvedKey.includes(this.rootIdentifier)) {
83
+ throw new Error("!!__MESSAGE__!!");
84
+ }
85
+ if (resolvedKey.includes(this.groupIdentifier)) {
86
+ throw new Error("!!__MESSAGE__!!");
87
+ }
88
+ if (resolvedKey.includes(this.keyIdentifier)) {
89
+ throw new Error("!!__MESSAGE__!!");
90
+ }
91
+ }
92
+ getKeyPrefixArray() {
93
+ let array = [
94
+ this.rootIdentifier,
95
+ resolveOneOrMoreStr(this._rootPrefix, this.keyDelimeter),
96
+ ];
97
+ if (this._group !== null) {
98
+ array = [
99
+ ...array,
100
+ this.groupIdentifier,
101
+ resolveOneOrMoreStr(this._group, this.keyDelimeter),
102
+ ];
103
+ }
104
+ return [...array, this.keyIdentifier];
105
+ }
106
+ get keyPrefix() {
107
+ return resolveOneOrMoreStr(this.getKeyPrefixArray(), this.identifierDelimeter);
108
+ }
109
+ /**
110
+ * Chaining this method multiple times will have no effect.
111
+ */
112
+ withGroup(group) {
113
+ const keyProvider = new KeyPrefixer(this._rootPrefix, {
114
+ identifierDelimeter: this.identifierDelimeter,
115
+ keyDelimeter: this.keyDelimeter,
116
+ rootIdentifier: this.rootIdentifier,
117
+ groupIdentifier: this.groupIdentifier,
118
+ keyIdentifier: this.keyIdentifier,
119
+ });
120
+ if (keyProvider._group === null) {
121
+ keyProvider._group = group;
122
+ }
123
+ return keyProvider;
124
+ }
125
+ create(key) {
126
+ this.validate(key);
127
+ return new Key({
128
+ key,
129
+ keyDelimeter: this.keyDelimeter,
130
+ identifierDelimeter: this.identifierDelimeter,
131
+ prefixArr: this.getKeyPrefixArray(),
132
+ });
133
+ }
134
+ }
135
+ //# sourceMappingURL=key-prefixer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key-prefixer.js","sourceRoot":"","sources":["../../../../src/utilities/classes/key-prefixer/key-prefixer.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAiB/D;;;;GAIG;AACH,MAAM,GAAG;IACY,SAAS,CAAqB;IAC9B,GAAG,CAAoB;IACvB,mBAAmB,CAAS;IAC5B,YAAY,CAAS;IAEtC;;;OAGG;IACH,YAAY,QAAqB;QAC7B,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,mBAAmB,EAAE,YAAY,EAAE,GAAG,QAAQ,CAAC;QACvE,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,CAAC;IAED,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,GAAG,CAAC;IACpB,CAAC;IAED,IAAI,QAAQ;QACR,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACzC,CAAC;IAED,IAAI,QAAQ;QACR,OAAO,mBAAmB,CACtB;YACI,GAAG,IAAI,CAAC,SAAS;YACjB,mBAAmB,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC;SACnD,EACD,IAAI,CAAC,mBAAmB,CAC3B,CAAC;IACN,CAAC;CACJ;AAeD;;;;GAIG;AACH,MAAM,OAAO,WAAW;IASC;IARb,MAAM,GAA6B,IAAI,CAAC;IAC/B,mBAAmB,CAAS;IAC5B,YAAY,CAAS;IACrB,cAAc,CAAS;IACvB,eAAe,CAAS;IACxB,aAAa,CAAS;IAEvC,YACqB,WAA8B,EAC/C,WAAgC,EAAE;QADjB,gBAAW,GAAX,WAAW,CAAmB;QAG/C,MAAM,E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AC;IAED,MAAM,CAAC,GAAsB;QACzB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACnB,OAAO,IAAI,GAAG,CAAC;YACX,GAAG;YACH,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;YAC7C,SAAS,EAAE,IAAI,CAAC,iBAAiB,EAAE;SACtC,CAAC,CAAC;IACP,CAAC;CACJ"}
@@ -0,0 +1 @@
1
+ export * from "../../../utilities/classes/kysely-table-name-transformer-plugin/kysely-table-name-transformer-plugin.js";
@@ -0,0 +1,2 @@
1
+ export * from "../../../utilities/classes/kysely-table-name-transformer-plugin/kysely-table-name-transformer-plugin.js";
2
+ //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/utilities/classes/kysely-table-name-transformer-plugin/_module.ts"],"names":[],"mappings":"AAAA,cAAc,kGAAkG,CAAC"}
@@ -0,0 +1 @@
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;AAWH,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,KAAK,CACX,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"}
@@ -0,0 +1 @@
1
+ export * from "../../../utilities/classes/pipeline/pipeline.js";
@@ -0,0 +1,2 @@
1
+ export * from "../../../utilities/classes/pipeline/pipeline.js";
2
+ //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/utilities/classes/pipeline/_module.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC"}
@@ -1,14 +1,15 @@
1
1
  /**
2
2
  * @module Utilities
3
3
  */
4
- import { LazyPromise } from "../../async/_module-exports.js";
5
- import type { AsyncLazyable, IInvokableObject, Invokable } from "../../utilities/types.js";
4
+ import { LazyPromise } from "../../../async/_module-exports.js";
5
+ import type { AsyncLazyable, IInvokableObject, Invokable } from "../../../utilities/types.js";
6
6
  /**
7
7
  * The <i>Pipeline</i> class provides a convenient way to pipe multiple functions and <i>{@link IInvokableObject}</i>,
8
8
  * giving each functions and <i>{@link IInvokableObject}</i> the opportunity to inspect or modify the input.
9
9
  * Pipeline class is immutable meaning you can extend it without causing problems.
10
10
  *
11
11
  * IMPORT_PATH: ```"@daiso-tech/core/utilities"```
12
+ * @group Pipeline
12
13
  */
13
14
  export declare class Pipeline<TInitial, TPrev = TInitial, TCurrent = TPrev> implements IInvokableObject<AsyncLazyable<TInitial>, TCurrent> {
14
15
  /**
@@ -1,14 +1,15 @@
1
1
  /**
2
2
  * @module Utilities
3
3
  */
4
- import { LazyPromise } from "../../async/_module-exports.js";
5
- import { resolveAsyncLazyable } from "../../utilities/functions.js";
4
+ import { LazyPromise } from "../../../async/_module-exports.js";
5
+ import { resolveAsyncLazyable } from "../../../utilities/functions.js";
6
6
  /**
7
7
  * The <i>Pipeline</i> class provides a convenient way to pipe multiple functions and <i>{@link IInvokableObject}</i>,
8
8
  * giving each functions and <i>{@link IInvokableObject}</i> the opportunity to inspect or modify the input.
9
9
  * Pipeline class is immutable meaning you can extend it without causing problems.
10
10
  *
11
11
  * IMPORT_PATH: ```"@daiso-tech/core/utilities"```
12
+ * @group Pipeline
12
13
  */
13
14
  export class Pipeline {
14
15
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../../../src/utilities/classes/pipeline/pipeline.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAMzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE;;;;;;;GAOG;AACH,MAAM,OAAO,QAAQ;IAGjB;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,MAAM,CAAC,KAAK;QACR,OAAO,IAAI,QAAQ,EAAE,CAAC;IAC1B,CAAC;IAEO,MAAM,CAAC,KAAK,CAAC,OAAO,CACxB,KAAa,EACb,IAAgC;QAEhC,IAAI,OAAO,IAAI,KAAK,UAAU,EAAE,CAAC;YAC7B,OAAO,MAAM,IAAI,CAAC,KAAK,CAAC,CAAC;QAC7B,CAAC;QACD,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAEgB,KAAK,GAA0B,EAAE,CAAC;IAEnD,YAAoB,IAA0B;QAC1C,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACrB,IAAI,CAAC,KAAK,GAAG,CAAC,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACvC,CAAC;IACL,CAAC;IAED,IAAI,CACA,IAAgC;QAEhC,OAAO,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;IAED,MAAM,CAAC,KAA8B;QACjC,OAAO,IAAI,WAAW,CAAC,KAAK,IAAI,EAAE;YAC9B,MAAM,CAAC,IAAI,EAAE,GAAG,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;YACpC,MAAM,aAAa,GAAG,MAAM,oBAAoB,CAAC,KAAK,CAAC,CAAC;YACxD,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;gBACrB,+DAA+D;gBAC/D,OAAO,aAAoB,CAAC;YAChC,CAAC;YACD,mEAAmE;YACnE,IAAI,MAAM,GAAa,MAAM,QAAQ,CAAC,OAAO,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;YACnE,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;gBACvB,mEAAmE;gBACnE,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;YACjD,CAAC;YACD,OAAO,MAAM,CAAC;QAClB,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"}
@@ -0,0 +1 @@
1
+ export * from "../../../utilities/classes/time-span/time-span.js";
@@ -0,0 +1,2 @@
1
+ export * from "../../../utilities/classes/time-span/time-span.js";
2
+ //# sourceMappingURL=_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_module.js","sourceRoot":"","sources":["../../../../src/utilities/classes/time-span/_module.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC"}
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * @module Utilities
3
3
  */
4
- import type { ISerializable } from "../../serde/contracts/_module-exports.js";
4
+ import type { ISerializable } from "../../../serde/contracts/_module-exports.js";
5
5
  /**
6
6
  * The <i>TimeSpan</i> class is used for representing time interval that is the difference between two times measured in a number of days, hours, minutes, and seconds.
7
7
  * <i>TimeSpan</i> cannot be negative.
8
8
  *
9
9
  * IMPORT_PATH: ```"@daiso-tech/core/utilities"```
10
+ * @group TimeSpan
10
11
  */
11
12
  export declare class TimeSpan implements ISerializable<number> {
12
13
  private readonly milliseconds;
@@ -6,6 +6,7 @@
6
6
  * <i>TimeSpan</i> cannot be negative.
7
7
  *
8
8
  * IMPORT_PATH: ```"@daiso-tech/core/utilities"```
9
+ * @group TimeSpan
9
10
  */
10
11
  export class TimeSpan {
11
12
  milliseconds;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-span.js","sourceRoot":"","sources":["../../../../src/utilities/classes/time-span/time-span.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;;;;;GAMG;AACH,MAAM,OAAO,QAAQ;IAUoB;IAT7B,MAAM,CAAC,oBAAoB,GAAG,IAAI,CAAC;IACnC,MAAM,CAAC,oBAAoB,GAAG,EAAE,GAAG,QAAQ,CAAC,oBAAoB,CAAC;IACjE,MAAM,CAAC,kBAAkB,GAAG,EAAE,GAAG,QAAQ,CAAC,oBAAoB,CAAC;IAC/D,MAAM,CAAC,iBAAiB,GAAG,EAAE,GAAG,QAAQ,CAAC,kBAAkB,CAAC;IAEpE,MAAM,CAAC,WAAW,CAAC,QAAgB;QAC/B,OAAO,IAAI,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IAED,YAAqC,eAAuB,CAAC;QAAxB,iBAAY,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