@graphrefly/graphrefly 0.44.0 → 0.45.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 (420) hide show
  1. package/README.md +21 -17
  2. package/dist/compat/index.cjs +20 -10
  3. package/dist/compat/index.cjs.map +1 -0
  4. package/dist/compat/index.d.cts +1 -22
  5. package/dist/compat/index.d.ts +1 -22
  6. package/dist/compat/index.js +3 -1
  7. package/dist/compat/index.js.map +1 -0
  8. package/dist/compat/jotai/index.cjs +21 -1
  9. package/dist/compat/jotai/index.cjs.map +1 -0
  10. package/dist/compat/jotai/index.d.cts +1 -2
  11. package/dist/compat/jotai/index.d.ts +1 -2
  12. package/dist/compat/jotai/index.js +3 -1
  13. package/dist/compat/jotai/index.js.map +1 -0
  14. package/dist/compat/nanostores/index.cjs +21 -1
  15. package/dist/compat/nanostores/index.cjs.map +1 -0
  16. package/dist/compat/nanostores/index.d.cts +1 -2
  17. package/dist/compat/nanostores/index.d.ts +1 -2
  18. package/dist/compat/nanostores/index.js +3 -1
  19. package/dist/compat/nanostores/index.js.map +1 -0
  20. package/dist/compat/nestjs/index.cjs +20 -10
  21. package/dist/compat/nestjs/index.cjs.map +1 -0
  22. package/dist/compat/nestjs/index.d.cts +1 -13
  23. package/dist/compat/nestjs/index.d.ts +1 -13
  24. package/dist/compat/nestjs/index.js +3 -1
  25. package/dist/compat/nestjs/index.js.map +1 -0
  26. package/dist/compat/react/index.cjs +21 -1
  27. package/dist/compat/react/index.cjs.map +1 -0
  28. package/dist/compat/react/index.d.cts +1 -2
  29. package/dist/compat/react/index.d.ts +1 -2
  30. package/dist/compat/react/index.js +3 -1
  31. package/dist/compat/react/index.js.map +1 -0
  32. package/dist/compat/solid/index.cjs +21 -1
  33. package/dist/compat/solid/index.cjs.map +1 -0
  34. package/dist/compat/solid/index.d.cts +1 -2
  35. package/dist/compat/solid/index.d.ts +1 -2
  36. package/dist/compat/solid/index.js +3 -1
  37. package/dist/compat/solid/index.js.map +1 -0
  38. package/dist/compat/svelte/index.cjs +21 -1
  39. package/dist/compat/svelte/index.cjs.map +1 -0
  40. package/dist/compat/svelte/index.d.cts +1 -2
  41. package/dist/compat/svelte/index.d.ts +1 -2
  42. package/dist/compat/svelte/index.js +3 -1
  43. package/dist/compat/svelte/index.js.map +1 -0
  44. package/dist/compat/vue/index.cjs +21 -1
  45. package/dist/compat/vue/index.cjs.map +1 -0
  46. package/dist/compat/vue/index.d.cts +1 -3
  47. package/dist/compat/vue/index.d.ts +1 -3
  48. package/dist/compat/vue/index.js +3 -1
  49. package/dist/compat/vue/index.js.map +1 -0
  50. package/dist/compat/zustand/index.cjs +21 -3
  51. package/dist/compat/zustand/index.cjs.map +1 -0
  52. package/dist/compat/zustand/index.d.cts +1 -6
  53. package/dist/compat/zustand/index.d.ts +1 -6
  54. package/dist/compat/zustand/index.js +3 -1
  55. package/dist/compat/zustand/index.js.map +1 -0
  56. package/dist/core/index.cjs +21 -1
  57. package/dist/core/index.cjs.map +1 -0
  58. package/dist/core/index.d.cts +1 -3
  59. package/dist/core/index.d.ts +1 -3
  60. package/dist/core/index.js +3 -1
  61. package/dist/core/index.js.map +1 -0
  62. package/dist/extra/browser.cjs +21 -1
  63. package/dist/extra/browser.cjs.map +1 -0
  64. package/dist/extra/browser.d.cts +1 -4
  65. package/dist/extra/browser.d.ts +1 -4
  66. package/dist/extra/browser.js +3 -1
  67. package/dist/extra/browser.js.map +1 -0
  68. package/dist/extra/index.cjs +20 -19
  69. package/dist/extra/index.cjs.map +1 -0
  70. package/dist/extra/index.d.cts +1 -17
  71. package/dist/extra/index.d.ts +1 -17
  72. package/dist/extra/index.js +3 -1
  73. package/dist/extra/index.js.map +1 -0
  74. package/dist/extra/node.cjs +21 -2
  75. package/dist/extra/node.cjs.map +1 -0
  76. package/dist/extra/node.d.cts +1 -187
  77. package/dist/extra/node.d.ts +1 -187
  78. package/dist/extra/node.js +3 -2
  79. package/dist/extra/node.js.map +1 -0
  80. package/dist/extra/operators.cjs +21 -1
  81. package/dist/extra/operators.cjs.map +1 -0
  82. package/dist/extra/operators.d.cts +1 -958
  83. package/dist/extra/operators.d.ts +1 -958
  84. package/dist/extra/operators.js +3 -1
  85. package/dist/extra/operators.js.map +1 -0
  86. package/dist/extra/reactive.cjs +21 -1
  87. package/dist/extra/reactive.cjs.map +1 -0
  88. package/dist/extra/reactive.d.cts +1 -353
  89. package/dist/extra/reactive.d.ts +1 -353
  90. package/dist/extra/reactive.js +3 -1
  91. package/dist/extra/reactive.js.map +1 -0
  92. package/dist/extra/render/index.cjs +21 -5
  93. package/dist/extra/render/index.cjs.map +1 -0
  94. package/dist/extra/render/index.d.cts +1 -183
  95. package/dist/extra/render/index.d.ts +1 -183
  96. package/dist/extra/render/index.js +3 -1
  97. package/dist/extra/render/index.js.map +1 -0
  98. package/dist/extra/sources.cjs +21 -3
  99. package/dist/extra/sources.cjs.map +1 -0
  100. package/dist/extra/sources.d.cts +1 -584
  101. package/dist/extra/sources.d.ts +1 -584
  102. package/dist/extra/sources.js +3 -1
  103. package/dist/extra/sources.js.map +1 -0
  104. package/dist/extra/storage-browser.cjs +21 -1
  105. package/dist/extra/storage-browser.cjs.map +1 -0
  106. package/dist/extra/storage-browser.d.cts +1 -37
  107. package/dist/extra/storage-browser.d.ts +1 -37
  108. package/dist/extra/storage-browser.js +3 -1
  109. package/dist/extra/storage-browser.js.map +1 -0
  110. package/dist/extra/storage-core.cjs +21 -1
  111. package/dist/extra/storage-core.cjs.map +1 -0
  112. package/dist/extra/storage-core.d.cts +1 -28
  113. package/dist/extra/storage-core.d.ts +1 -28
  114. package/dist/extra/storage-core.js +3 -1
  115. package/dist/extra/storage-core.js.map +1 -0
  116. package/dist/extra/storage-node.cjs +20 -0
  117. package/dist/extra/storage-node.cjs.map +1 -0
  118. package/dist/extra/storage-node.d.cts +1 -2
  119. package/dist/extra/storage-node.d.ts +1 -2
  120. package/dist/extra/storage-node.js +3 -0
  121. package/dist/extra/storage-node.js.map +1 -0
  122. package/dist/extra/storage-tiers-browser.cjs +21 -1
  123. package/dist/extra/storage-tiers-browser.cjs.map +1 -0
  124. package/dist/extra/storage-tiers-browser.d.cts +1 -120
  125. package/dist/extra/storage-tiers-browser.d.ts +1 -120
  126. package/dist/extra/storage-tiers-browser.js +3 -1
  127. package/dist/extra/storage-tiers-browser.js.map +1 -0
  128. package/dist/extra/storage-tiers-node.cjs +21 -1
  129. package/dist/extra/storage-tiers-node.cjs.map +1 -0
  130. package/dist/extra/storage-tiers-node.d.cts +1 -210
  131. package/dist/extra/storage-tiers-node.d.ts +1 -210
  132. package/dist/extra/storage-tiers-node.js +3 -1
  133. package/dist/extra/storage-tiers-node.js.map +1 -0
  134. package/dist/extra/storage-tiers.cjs +21 -1
  135. package/dist/extra/storage-tiers.cjs.map +1 -0
  136. package/dist/extra/storage-tiers.d.cts +1 -412
  137. package/dist/extra/storage-tiers.d.ts +1 -412
  138. package/dist/extra/storage-tiers.js +3 -1
  139. package/dist/extra/storage-tiers.js.map +1 -0
  140. package/dist/extra/storage-wal.cjs +21 -0
  141. package/dist/extra/storage-wal.cjs.map +1 -0
  142. package/dist/extra/storage-wal.d.cts +1 -0
  143. package/dist/extra/storage-wal.d.ts +1 -0
  144. package/dist/extra/storage-wal.js +3 -0
  145. package/dist/extra/storage-wal.js.map +1 -0
  146. package/dist/graph/index.cjs +21 -7
  147. package/dist/graph/index.cjs.map +1 -0
  148. package/dist/graph/index.d.cts +1 -7
  149. package/dist/graph/index.d.ts +1 -7
  150. package/dist/graph/index.js +3 -1
  151. package/dist/graph/index.js.map +1 -0
  152. package/dist/index.cjs +20 -227
  153. package/dist/index.cjs.map +1 -0
  154. package/dist/index.d.cts +45 -95
  155. package/dist/index.d.ts +45 -95
  156. package/dist/index.js +3 -1
  157. package/dist/index.js.map +1 -0
  158. package/dist/patterns/ai/browser.cjs +20 -7
  159. package/dist/patterns/ai/browser.cjs.map +1 -0
  160. package/dist/patterns/ai/browser.d.cts +1 -127
  161. package/dist/patterns/ai/browser.d.ts +1 -127
  162. package/dist/patterns/ai/browser.js +3 -3
  163. package/dist/patterns/ai/browser.js.map +1 -0
  164. package/dist/patterns/ai/index.cjs +20 -73
  165. package/dist/patterns/ai/index.cjs.map +1 -0
  166. package/dist/patterns/ai/index.d.cts +1 -20
  167. package/dist/patterns/ai/index.d.ts +1 -20
  168. package/dist/patterns/ai/index.js +3 -1
  169. package/dist/patterns/ai/index.js.map +1 -0
  170. package/dist/patterns/ai/node.cjs +21 -1
  171. package/dist/patterns/ai/node.cjs.map +1 -0
  172. package/dist/patterns/ai/node.d.cts +1 -59
  173. package/dist/patterns/ai/node.d.ts +1 -59
  174. package/dist/patterns/ai/node.js +3 -1
  175. package/dist/patterns/ai/node.js.map +1 -0
  176. package/dist/patterns/cqrs/index.cjs +21 -3
  177. package/dist/patterns/cqrs/index.cjs.map +1 -0
  178. package/dist/patterns/cqrs/index.d.cts +1 -8
  179. package/dist/patterns/cqrs/index.d.ts +1 -8
  180. package/dist/patterns/cqrs/index.js +3 -1
  181. package/dist/patterns/cqrs/index.js.map +1 -0
  182. package/dist/patterns/demo-shell/index.cjs +21 -5
  183. package/dist/patterns/demo-shell/index.cjs.map +1 -0
  184. package/dist/patterns/demo-shell/index.d.cts +1 -7
  185. package/dist/patterns/demo-shell/index.d.ts +1 -7
  186. package/dist/patterns/demo-shell/index.js +3 -1
  187. package/dist/patterns/demo-shell/index.js.map +1 -0
  188. package/dist/patterns/domain-templates/index.cjs +21 -3
  189. package/dist/patterns/domain-templates/index.cjs.map +1 -0
  190. package/dist/patterns/domain-templates/index.d.cts +1 -6
  191. package/dist/patterns/domain-templates/index.d.ts +1 -6
  192. package/dist/patterns/domain-templates/index.js +3 -1
  193. package/dist/patterns/domain-templates/index.js.map +1 -0
  194. package/dist/patterns/graphspec/index.cjs +21 -86
  195. package/dist/patterns/graphspec/index.cjs.map +1 -0
  196. package/dist/patterns/graphspec/index.d.cts +1 -8
  197. package/dist/patterns/graphspec/index.d.ts +1 -8
  198. package/dist/patterns/graphspec/index.js +3 -1
  199. package/dist/patterns/graphspec/index.js.map +1 -0
  200. package/dist/patterns/harness/index.cjs +21 -48
  201. package/dist/patterns/harness/index.cjs.map +1 -0
  202. package/dist/patterns/harness/index.d.cts +1 -13
  203. package/dist/patterns/harness/index.d.ts +1 -13
  204. package/dist/patterns/harness/index.js +3 -1
  205. package/dist/patterns/harness/index.js.map +1 -0
  206. package/dist/patterns/inspect/index.cjs +21 -3
  207. package/dist/patterns/inspect/index.cjs.map +1 -0
  208. package/dist/patterns/inspect/index.d.cts +1 -9
  209. package/dist/patterns/inspect/index.d.ts +1 -9
  210. package/dist/patterns/inspect/index.js +3 -1
  211. package/dist/patterns/inspect/index.js.map +1 -0
  212. package/dist/patterns/job-queue/index.cjs +21 -3
  213. package/dist/patterns/job-queue/index.cjs.map +1 -0
  214. package/dist/patterns/job-queue/index.d.cts +1 -9
  215. package/dist/patterns/job-queue/index.d.ts +1 -9
  216. package/dist/patterns/job-queue/index.js +3 -1
  217. package/dist/patterns/job-queue/index.js.map +1 -0
  218. package/dist/patterns/memory/index.cjs +21 -3
  219. package/dist/patterns/memory/index.cjs.map +1 -0
  220. package/dist/patterns/memory/index.d.cts +1 -8
  221. package/dist/patterns/memory/index.d.ts +1 -8
  222. package/dist/patterns/memory/index.js +3 -1
  223. package/dist/patterns/memory/index.js.map +1 -0
  224. package/dist/patterns/messaging/index.cjs +21 -3
  225. package/dist/patterns/messaging/index.cjs.map +1 -0
  226. package/dist/patterns/messaging/index.d.cts +1 -7
  227. package/dist/patterns/messaging/index.d.ts +1 -7
  228. package/dist/patterns/messaging/index.js +3 -1
  229. package/dist/patterns/messaging/index.js.map +1 -0
  230. package/dist/patterns/orchestration/index.cjs +21 -3
  231. package/dist/patterns/orchestration/index.cjs.map +1 -0
  232. package/dist/patterns/orchestration/index.d.cts +1 -8
  233. package/dist/patterns/orchestration/index.d.ts +1 -8
  234. package/dist/patterns/orchestration/index.js +3 -1
  235. package/dist/patterns/orchestration/index.js.map +1 -0
  236. package/dist/patterns/process/index.cjs +21 -3
  237. package/dist/patterns/process/index.cjs.map +1 -0
  238. package/dist/patterns/process/index.d.cts +1 -10
  239. package/dist/patterns/process/index.d.ts +1 -10
  240. package/dist/patterns/process/index.js +3 -1
  241. package/dist/patterns/process/index.js.map +1 -0
  242. package/dist/patterns/reactive-layout/index.cjs +21 -4
  243. package/dist/patterns/reactive-layout/index.cjs.map +1 -0
  244. package/dist/patterns/reactive-layout/index.d.cts +1 -7
  245. package/dist/patterns/reactive-layout/index.d.ts +1 -7
  246. package/dist/patterns/reactive-layout/index.js +3 -1
  247. package/dist/patterns/reactive-layout/index.js.map +1 -0
  248. package/dist/patterns/reduction/index.cjs +21 -3
  249. package/dist/patterns/reduction/index.cjs.map +1 -0
  250. package/dist/patterns/reduction/index.d.cts +1 -6
  251. package/dist/patterns/reduction/index.d.ts +1 -6
  252. package/dist/patterns/reduction/index.js +3 -1
  253. package/dist/patterns/reduction/index.js.map +1 -0
  254. package/dist/patterns/surface/index.cjs +21 -13
  255. package/dist/patterns/surface/index.cjs.map +1 -0
  256. package/dist/patterns/surface/index.d.cts +1 -9
  257. package/dist/patterns/surface/index.d.ts +1 -9
  258. package/dist/patterns/surface/index.js +3 -1
  259. package/dist/patterns/surface/index.js.map +1 -0
  260. package/dist/patterns/topology-view/index.cjs +21 -0
  261. package/dist/patterns/topology-view/index.cjs.map +1 -0
  262. package/dist/patterns/topology-view/index.d.cts +1 -0
  263. package/dist/patterns/topology-view/index.d.ts +1 -0
  264. package/dist/patterns/topology-view/index.js +3 -0
  265. package/dist/patterns/topology-view/index.js.map +1 -0
  266. package/dist/testing/index.cjs +21 -0
  267. package/dist/testing/index.cjs.map +1 -0
  268. package/dist/testing/index.d.cts +1 -0
  269. package/dist/testing/index.d.ts +1 -0
  270. package/dist/testing/index.js +3 -0
  271. package/dist/testing/index.js.map +1 -0
  272. package/package.json +608 -584
  273. package/dist/backoff-HPZMEZNF.js +0 -1
  274. package/dist/cascading-BglDkMdX.d.cts +0 -199
  275. package/dist/cascading-MFgxu7Yo.d.ts +0 -199
  276. package/dist/chunk-2T7U5EU6.js +0 -1
  277. package/dist/chunk-3G5U5QNE.js +0 -5
  278. package/dist/chunk-4VVTGLXJ.js +0 -1
  279. package/dist/chunk-5M4CCMMD.js +0 -45
  280. package/dist/chunk-5QDBSZBV.js +0 -1
  281. package/dist/chunk-5XJ6B66J.js +0 -1
  282. package/dist/chunk-6QZNQS5B.js +0 -1
  283. package/dist/chunk-6X7AFUJV.js +0 -9
  284. package/dist/chunk-7K6PWTDQ.js +0 -1
  285. package/dist/chunk-7LIAPXJB.js +0 -1
  286. package/dist/chunk-7WPU3UHQ.js +0 -1
  287. package/dist/chunk-A5WCQ5NO.js +0 -1
  288. package/dist/chunk-APPIWSGD.js +0 -84
  289. package/dist/chunk-BEZWM2SY.js +0 -1
  290. package/dist/chunk-C72GO4IZ.js +0 -1
  291. package/dist/chunk-CB676TKJ.js +0 -1
  292. package/dist/chunk-CE6TI2TL.js +0 -1
  293. package/dist/chunk-CE72X3WO.js +0 -1
  294. package/dist/chunk-CK2E7BTU.js +0 -1
  295. package/dist/chunk-CLVB32RD.js +0 -1
  296. package/dist/chunk-CRVT7D2P.js +0 -1
  297. package/dist/chunk-D5RFJOZ2.js +0 -1
  298. package/dist/chunk-D7GPHKFH.js +0 -1
  299. package/dist/chunk-DHRX7JX4.js +0 -2
  300. package/dist/chunk-ESMPEKEV.js +0 -1
  301. package/dist/chunk-F672GV32.js +0 -1
  302. package/dist/chunk-FZMYDOWV.js +0 -1
  303. package/dist/chunk-GHBWHMRZ.js +0 -1
  304. package/dist/chunk-GLERH466.js +0 -1
  305. package/dist/chunk-GPW2V3RE.js +0 -1
  306. package/dist/chunk-HIDYF36O.js +0 -1
  307. package/dist/chunk-HITNVN6B.js +0 -3
  308. package/dist/chunk-HY4DJBA7.js +0 -5
  309. package/dist/chunk-KZIEYVXN.js +0 -1
  310. package/dist/chunk-L6NSJVJZ.js +0 -1
  311. package/dist/chunk-N4MQX6JU.js +0 -18
  312. package/dist/chunk-N7FHEL4D.js +0 -1
  313. package/dist/chunk-NTEURFZH.js +0 -1
  314. package/dist/chunk-OIVP6KFV.js +0 -1
  315. package/dist/chunk-OPHBU3LG.js +0 -1
  316. package/dist/chunk-OYQOZP2F.js +0 -5
  317. package/dist/chunk-PTZK576G.js +0 -1
  318. package/dist/chunk-QYADASLV.js +0 -1
  319. package/dist/chunk-ST7UXLWR.js +0 -1
  320. package/dist/chunk-SVY7VUYU.js +0 -1
  321. package/dist/chunk-TK3NWWD4.js +0 -1
  322. package/dist/chunk-TSOYJ743.js +0 -1
  323. package/dist/chunk-UNGSTR4X.js +0 -61
  324. package/dist/chunk-VIMF6LGM.js +0 -1
  325. package/dist/chunk-VJLMUKOI.js +0 -1
  326. package/dist/chunk-VN6RDSK2.js +0 -1
  327. package/dist/chunk-VV4N5P64.js +0 -1
  328. package/dist/chunk-W3I423PS.js +0 -1
  329. package/dist/chunk-WJR24TAG.js +0 -1
  330. package/dist/chunk-XTGKMHSW.js +0 -1
  331. package/dist/chunk-YBB7ZGTY.js +0 -1
  332. package/dist/chunk-Z4NPUARF.js +0 -1
  333. package/dist/chunk-ZGNQRPDT.js +0 -1
  334. package/dist/chunk-ZKPSFFKU.js +0 -1
  335. package/dist/chunk-ZLV5SQSX.js +0 -1
  336. package/dist/content-addressed-storage-4-ST1tYk.d.cts +0 -124
  337. package/dist/content-addressed-storage-DuYMjV7o.d.ts +0 -124
  338. package/dist/decay-BvOWTZ00.d.ts +0 -112
  339. package/dist/decay-CFlLvXUT.d.cts +0 -112
  340. package/dist/fallback-74oxi34l.d.cts +0 -250
  341. package/dist/fallback-DUyyBTBK.d.ts +0 -250
  342. package/dist/graph-CWvEUQAq.d.cts +0 -1861
  343. package/dist/graph-D9LFnda9.d.ts +0 -1861
  344. package/dist/index-5k1T6jl0.d.cts +0 -121
  345. package/dist/index-9770hRuQ.d.cts +0 -779
  346. package/dist/index-B-_tFaqV.d.cts +0 -468
  347. package/dist/index-B17QddL1.d.cts +0 -374
  348. package/dist/index-B1F8Enjf.d.ts +0 -704
  349. package/dist/index-B5S8ULbU.d.ts +0 -515
  350. package/dist/index-B8YnZpIR.d.ts +0 -102
  351. package/dist/index-BHskSB8v.d.ts +0 -3413
  352. package/dist/index-BIYAkbAi.d.cts +0 -26
  353. package/dist/index-BQSKmbuG.d.cts +0 -127
  354. package/dist/index-BaQaY_IQ.d.cts +0 -231
  355. package/dist/index-BmZXHqkE.d.ts +0 -36
  356. package/dist/index-BoJ5JHxI.d.ts +0 -557
  357. package/dist/index-BocU7pqs.d.ts +0 -779
  358. package/dist/index-BrPrLl4e.d.cts +0 -86
  359. package/dist/index-BxNs2HB9.d.cts +0 -1858
  360. package/dist/index-Byu-OpX_.d.ts +0 -113
  361. package/dist/index-C1T3d7V-.d.cts +0 -704
  362. package/dist/index-C5ri2Axc.d.cts +0 -301
  363. package/dist/index-C5stwKcw.d.cts +0 -44
  364. package/dist/index-C9l6OEBL.d.ts +0 -26
  365. package/dist/index-CBBLl_rc.d.ts +0 -127
  366. package/dist/index-CBGUK09R.d.ts +0 -754
  367. package/dist/index-CC-AvFTy.d.cts +0 -557
  368. package/dist/index-CJF1URuX.d.ts +0 -121
  369. package/dist/index-CK29LV56.d.cts +0 -34
  370. package/dist/index-CMh5Rz1y.d.ts +0 -385
  371. package/dist/index-CPQlGA29.d.ts +0 -34
  372. package/dist/index-CR8QpwX8.d.ts +0 -2680
  373. package/dist/index-CS0LTlB8.d.cts +0 -385
  374. package/dist/index-CSOmP7xT.d.cts +0 -291
  375. package/dist/index-CYq8vAyV.d.ts +0 -291
  376. package/dist/index-CZ3r5Rxp.d.ts +0 -374
  377. package/dist/index-CasX6Pfq.d.cts +0 -358
  378. package/dist/index-CdAlHFEt.d.ts +0 -44
  379. package/dist/index-CdTelp1M.d.ts +0 -202
  380. package/dist/index-CeFiHtAg.d.ts +0 -468
  381. package/dist/index-Cj3WohTd.d.cts +0 -202
  382. package/dist/index-Climxqsu.d.cts +0 -754
  383. package/dist/index-Co7uli2l.d.cts +0 -3413
  384. package/dist/index-CviRnE4K.d.ts +0 -45
  385. package/dist/index-Cwv0KWcU.d.cts +0 -102
  386. package/dist/index-CzLVrjxn.d.ts +0 -231
  387. package/dist/index-D0aciIex.d.cts +0 -209
  388. package/dist/index-DHen9Klo.d.ts +0 -1858
  389. package/dist/index-DV_1YuVk.d.cts +0 -221
  390. package/dist/index-Dc4AYqrJ.d.cts +0 -515
  391. package/dist/index-Dgl1HpPn.d.ts +0 -86
  392. package/dist/index-DisjX8a-.d.ts +0 -221
  393. package/dist/index-UPSiS-X7.d.cts +0 -2680
  394. package/dist/index-Yq60JP3s.d.ts +0 -209
  395. package/dist/index-ZVQhLa2i.d.cts +0 -37
  396. package/dist/index-_6ODbuOu.d.cts +0 -45
  397. package/dist/index-hcDJ8PSI.d.cts +0 -36
  398. package/dist/index-nozs3fFC.d.ts +0 -301
  399. package/dist/index-p09KSrTN.d.ts +0 -358
  400. package/dist/index-sqkqlb1p.d.ts +0 -37
  401. package/dist/index-tRCxuAXF.d.cts +0 -113
  402. package/dist/node-kK3CvTrR.d.cts +0 -1347
  403. package/dist/node-kK3CvTrR.d.ts +0 -1347
  404. package/dist/observable-DWjNfLvC.d.ts +0 -36
  405. package/dist/observable-e3eiPPFy.d.cts +0 -36
  406. package/dist/pipeline-graph-CIKhynsF.d.cts +0 -142
  407. package/dist/pipeline-graph-Sgj0gCwn.d.ts +0 -142
  408. package/dist/reactive-layout-DOTs9P3X.d.ts +0 -183
  409. package/dist/reactive-layout-DgctbqZo.d.cts +0 -183
  410. package/dist/reactive-log-BKALbfal.d.ts +0 -223
  411. package/dist/reactive-log-DIGdYqQ6.d.cts +0 -223
  412. package/dist/reactive-map-CEFGp8TK.d.cts +0 -296
  413. package/dist/reactive-map-DS_SIAxv.d.ts +0 -296
  414. package/dist/resilience-6LYQJAC5.js +0 -1
  415. package/dist/sugar-DQjFmVqb.d.cts +0 -399
  416. package/dist/sugar-fhLIE7TT.d.ts +0 -399
  417. package/dist/topology-tree-Bcz27hpF.d.cts +0 -25
  418. package/dist/topology-tree-xvaD0fOX.d.ts +0 -25
  419. package/dist/types-C0_yquda.d.cts +0 -442
  420. package/dist/types-CWFysE9E.d.ts +0 -442
@@ -1,468 +0,0 @@
1
- import { N as Node } from './node-kK3CvTrR.cjs';
2
- import { B as BaseAuditRecord } from './index-D0aciIex.cjs';
3
- import { a as ReactiveLogBundle } from './reactive-log-DIGdYqQ6.cjs';
4
- import { AppendLogStorageTier } from './extra/storage-tiers.cjs';
5
- import { a as GraphOptions, G as Graph } from './graph-CWvEUQAq.cjs';
6
-
7
- /**
8
- * CQRS patterns (roadmap §4.5).
9
- *
10
- * Composition layer over reactiveLog (3.2), pipeline/sagas (4.1), event bus (4.2),
11
- * projections (4.3). Guards (1.5) enforce command/query boundary.
12
- *
13
- * - `cqrs(name, opts?)` → `CqrsGraph` — top-level factory
14
- * - `CqrsGraph.command(name, handler)` — write-only node; guard rejects `observe`
15
- * - `CqrsGraph.event(name)` — backed by `reactiveLog`; append-only
16
- * - `CqrsGraph.projection(name, events, reducer, initial)` — read-only derived; guard rejects `write`
17
- * - `CqrsGraph.saga(name, events, handler)` — event-driven side effects
18
- */
19
-
20
- /**
21
- * Immutable envelope for events emitted by command handlers.
22
- *
23
- * **Wave C.1 Unit 17 (locked 2026-04-24):** Extended ES standard fields —
24
- * `aggregateId` / `aggregateVersion` for per-aggregate streams; correlation /
25
- * causation IDs for distributed tracing; `metadata` for free-form context.
26
- * Optional `handlerVersion` (Audit 5) traces which handler version produced
27
- * the event.
28
- *
29
- * `seq` is a per-graph monotonic counter that provides stable ordering when
30
- * multiple events share the same `timestampNs` (same wall-clock tick).
31
- */
32
- type CqrsEvent<T = unknown> = {
33
- type: string;
34
- payload: T;
35
- /** Wall-clock nanoseconds (via `wallClockNs()`). */
36
- timestampNs: number;
37
- /** Monotonic sequence within this CqrsGraph instance. */
38
- seq: number;
39
- /** Aggregate identifier (per-aggregate streams). */
40
- aggregateId?: string;
41
- /** Per-aggregate monotonic version (set when `aggregateId` is provided). */
42
- aggregateVersion?: number;
43
- /** Distributed-trace correlation id. */
44
- correlationId?: string;
45
- /** Causation chain id (this event was caused by event `causationId`). */
46
- causationId?: string;
47
- /** Free-form metadata frozen at append. */
48
- metadata?: Readonly<Record<string, unknown>>;
49
- /** V0 identity of the event log node at append time (§6.0b). */
50
- v0?: {
51
- id: string;
52
- version: number;
53
- };
54
- /** Handler version stamped on emit (Audit 5). */
55
- handlerVersion?: {
56
- id: string;
57
- version: string | number;
58
- };
59
- };
60
- /** Compile-time event-map registry: `{ "orderPlaced": OrderPayload, ... }`. */
61
- type CqrsEventMap = Record<string, unknown>;
62
- /** Recommended `keyOf` for CQRS event-store storage tiers (Audit 4). */
63
- declare const cqrsEventKeyOf: (e: CqrsEvent) => string;
64
- interface DispatchRecord<T = unknown> extends BaseAuditRecord {
65
- readonly commandName: string;
66
- readonly payload: T;
67
- /** Action result. Tier 1.6.2 canonical enum (renamed from `status`). */
68
- readonly outcome: "success" | "failure";
69
- readonly error?: unknown;
70
- readonly errorType?: string;
71
- /**
72
- * Event names emitted by the handler.
73
- * - `outcome: "success"`: events that persisted in the event log.
74
- * - `outcome: "failure"`: events the handler ATTEMPTED to emit before throwing;
75
- * they were rolled back and did NOT persist. Documents the failed attempt's
76
- * intentions for debugging handler logic. The actual event log shows only
77
- * what's durable.
78
- */
79
- readonly emittedEvents?: readonly string[];
80
- }
81
- declare const dispatchKeyOf: <T>(r: DispatchRecord<T>) => string;
82
- interface SagaInvocation<T = unknown> extends BaseAuditRecord {
83
- readonly eventType: string;
84
- /** Action result. Tier 1.6.2 canonical enum (renamed from `status`). */
85
- readonly outcome: "success" | "failure";
86
- readonly error?: unknown;
87
- readonly errorType?: string;
88
- readonly aggregateId?: string;
89
- readonly event?: CqrsEvent<T>;
90
- }
91
- declare const sagaInvocationKeyOf: <T>(i: SagaInvocation<T>) => string;
92
- /**
93
- * Saga registration result (M10) — a typed bundle replacing the prior
94
- * `Node<unknown>` return that side-attached `_saga` via an unsafe cast.
95
- *
96
- * `node` is the saga's effect node (subscribe to observe processing
97
- * activity). `invocations` is the per-event-type audit log; `audit` aliases
98
- * `invocations` (Audit 2 `.audit` duplication). `cursors` exposes the
99
- * per-event-type cursor state nodes for monitoring / testing.
100
- *
101
- * @category patterns
102
- */
103
- interface SagaController<T = unknown> {
104
- readonly node: Node<unknown>;
105
- readonly invocations: ReactiveLogBundle<SagaInvocation<T>>;
106
- readonly audit: ReactiveLogBundle<SagaInvocation<T>>;
107
- readonly cursors: {
108
- readonly [eventName: string]: Node<number>;
109
- };
110
- }
111
- type CommandActions = {
112
- /** Append an event to a named event log (bypasses event guard). */
113
- emit: (eventName: string, payload: unknown) => void;
114
- };
115
- /**
116
- * Command handler receives the dispatch payload and actions to emit events.
117
- *
118
- * **Purity:** Handlers should not mutate the payload. Event emission via
119
- * `actions.emit()` is the only sanctioned side effect.
120
- */
121
- type CommandHandler<T = unknown> = (payload: T, actions: CommandActions) => void;
122
- /**
123
- * Projection reducer folds events into a read model.
124
- *
125
- * **Purity contract:** Reducers MUST be pure — return a new state value
126
- * without mutating `state` or any event.
127
- *
128
- * - In **`"replay"`** mode the `state` parameter is always the original
129
- * `initial` value (full event-sourcing replay on every recompute).
130
- * - In **`"scan"`** mode the `state` parameter is the _previous_ output
131
- * (incremental fold); `events` contains only the events appended since
132
- * the last computation.
133
- */
134
- type ProjectionReducer<TState = unknown, TEvent = unknown> = (state: TState, events: readonly CqrsEvent<TEvent>[]) => TState;
135
- /**
136
- * Snapshot integration for {@link ProjectionOptions}.
137
- *
138
- * `load` is called once at projection construction and the returned value
139
- * seeds the initial state. `save` (optional) is called after each reducer
140
- * run, debounced by `saveDebounceMs` (default 1000 ms) and capped by
141
- * `saveEvery` (default 1000 events).
142
- */
143
- type ProjectionSnapshotOpts<TState> = {
144
- /** Load a previously-saved state. `undefined` → start from `initial`. */
145
- load: () => TState | undefined | Promise<TState | undefined>;
146
- /** Persist the current state. Called after reducer; may be async. */
147
- save?: (state: TState) => void | Promise<void>;
148
- /**
149
- * Debounce window (ms) before `save` fires after the last event. Default 1000.
150
- */
151
- saveDebounceMs?: number;
152
- /**
153
- * Force a save after every Nth state change regardless of debounce.
154
- * Default 1000. Both knobs compose: save fires at whichever condition is
155
- * met first.
156
- */
157
- saveEvery?: number;
158
- };
159
- /**
160
- * Options for {@link CqrsGraph.projection}.
161
- *
162
- * **Wave C.3 Unit 21 (locked 2026-04-24):**
163
- * - `mode: "scan"` (default) — incremental fold; `"replay"` — full replay
164
- * each wave.
165
- * - `snapshot` — load/save integration for cold-start + auto-checkpoint.
166
- * - `freezeInputs` (default `true`) — freeze event arrays before passing
167
- * to reducer (purity enforcement).
168
- * - `rebuild()` / `reset()` on the returned {@link ProjectionController}.
169
- *
170
- * @category patterns
171
- */
172
- type ProjectionOptions<TState> = {
173
- name: string;
174
- events: readonly string[];
175
- reducer: ProjectionReducer<TState>;
176
- initial: TState;
177
- /**
178
- * Fold strategy. Default `"scan"` (incremental). `"replay"` = full replay.
179
- *
180
- * **Scan-mode ordering caveat:** scan-mode assumes monotonic per-stream
181
- * arrival order. When multiple event streams are merged for a projection,
182
- * events arriving with a `timestampNs` earlier than the current sort cursor
183
- * are skipped from the incremental sweep. This is an acceptable trade-off
184
- * for incremental fold; use `mode: "replay"` for strict cross-stream
185
- * ordering.
186
- */
187
- mode?: "replay" | "scan";
188
- /** Snapshot integration for rebuild + auto-checkpoint. */
189
- snapshot?: ProjectionSnapshotOpts<TState>;
190
- /**
191
- * Freeze event arrays before passing to reducer (default `true`).
192
- * Set to `false` only if your reducer intentionally mutates the input
193
- * (strongly discouraged — prefer immutable reducers).
194
- */
195
- freezeInputs?: boolean;
196
- };
197
- /**
198
- * Controller returned by {@link CqrsGraph.projection}.
199
- *
200
- * `node` is the reactive read model. `rebuild()` performs a paginated
201
- * cold-storage replay (requires `attachEventStorage` tiers). `reset()`
202
- * reloads from `snapshot.load()` and re-folds the live event log on top.
203
- *
204
- * @category patterns
205
- */
206
- interface ProjectionController<TState> {
207
- readonly node: Node<TState>;
208
- /**
209
- * Async paginated rebuild from attached storage tiers. Throws
210
- * {@link RebuildError} on adapter / decode / reducer failure.
211
- *
212
- * @param opts.fromTier - Storage tier to read from (default: first attached).
213
- * @param opts.pageSize - Entries per page (default 1000).
214
- */
215
- rebuild(opts?: {
216
- fromTier?: AppendLogStorageTier<CqrsEvent>;
217
- pageSize?: number;
218
- }): Promise<TState>;
219
- /**
220
- * Reload from `snapshot.load()` (if configured) and re-fold the live
221
- * in-memory event log on top. Returns the rebuilt state. No-op on the
222
- * reactive node if the state is unchanged.
223
- */
224
- reset(): Promise<TState>;
225
- }
226
- type SagaHandler<T = unknown> = (event: CqrsEvent<T>) => void;
227
- type CqrsOptions = {
228
- graph?: GraphOptions;
229
- /** Bounded retention for event streams; default 1024 (cross-cutting). */
230
- retainedLimit?: number;
231
- /** Freeze command payloads on dispatch (default `true`). */
232
- freezeCommandPayload?: boolean;
233
- /** Freeze event payloads on emit (default `true`). */
234
- freezeEventPayload?: boolean;
235
- /** LRU eviction threshold for per-aggregate streams (default 10_000). */
236
- maxAggregates?: number;
237
- };
238
- type CommandRegistration<TPayload = unknown> = {
239
- handler: CommandHandler<TPayload>;
240
- emits?: readonly string[];
241
- handlerVersion?: {
242
- id: string;
243
- version: string | number;
244
- };
245
- };
246
- type DispatchOptions = {
247
- correlationId?: string;
248
- causationId?: string;
249
- metadata?: Record<string, unknown>;
250
- /**
251
- * Optimistic-concurrency check: if set, dispatch verifies the aggregate
252
- * (identified by `aggregateId`) is at this version. On mismatch, dispatch
253
- * throws {@link OptimisticConcurrencyError} BEFORE the handler runs.
254
- *
255
- * Requires `aggregateId` to be set. Without it the check is a no-op.
256
- */
257
- expectedAggregateVersion?: number;
258
- /**
259
- * Aggregate this dispatch targets. Events emitted by the handler that
260
- * also carry this `aggregateId` participate in per-aggregate versioning
261
- * and LRU eviction (see {@link CqrsOptions.maxAggregates}). Events whose
262
- * handler-supplied `aggregateId` differs from the dispatch's `aggregateId`
263
- * are emitted untouched (their own `aggregateVersion` is computed from
264
- * their own aggregate's stream).
265
- */
266
- aggregateId?: string;
267
- };
268
- type SagaOptions = {
269
- aggregateId?: string;
270
- errorPolicy?: "advance" | "hold";
271
- handlerVersion?: {
272
- id: string;
273
- version: string | number;
274
- };
275
- };
276
- /**
277
- * Eviction record emitted on `aggregateEvictions` when an aggregate's
278
- * per-aggregate stream is removed under `maxAggregates` LRU pressure. The
279
- * eviction does NOT delete events from the fan-in stream — only the
280
- * per-aggregate dedicated stream and its version counter.
281
- */
282
- interface AggregateEvictionRecord {
283
- readonly aggregateId: string;
284
- readonly type: string;
285
- readonly t_ns: number;
286
- /** The version count the aggregate reached before eviction (for diagnostics). */
287
- readonly lastVersion: number;
288
- }
289
- declare class CqrsGraph<EM extends CqrsEventMap = Record<string, unknown>> extends Graph {
290
- /** Fan-in event streams (one per type, all aggregates merged). */
291
- private readonly _eventLogs;
292
- /**
293
- * Per-aggregate event streams: type → aggregateId → entry. Used for
294
- * `event(type, aggregateId)` dual-form access and per-aggregate version
295
- * tracking. Only populated when an event with `aggregateId` is emitted.
296
- */
297
- private readonly _eventLogsByAggregate;
298
- /** Per-aggregate version counters: `${type}::${aggregateId}` → current version. */
299
- private readonly _aggregateVersions;
300
- /**
301
- * LRU access order for `${type}::${aggregateId}`. Map insertion order
302
- * tracks recency — `delete` + `set` on access moves to the end.
303
- */
304
- private readonly _aggregateLru;
305
- private readonly _commandRegs;
306
- private readonly _projections;
307
- private readonly _sagas;
308
- private readonly _keepaliveDisposers;
309
- private _seq;
310
- private readonly _retainedLimit;
311
- private readonly _freezeCommandPayload;
312
- private readonly _freezeEventPayload;
313
- private readonly _maxAggregates;
314
- private readonly _dispatchSeqCursor;
315
- /** Audit log of every command dispatch (Audit 2). */
316
- readonly dispatches: ReactiveLogBundle<DispatchRecord>;
317
- /** Alias for {@link CqrsGraph.dispatches} (Audit 2 `.audit` duplication). */
318
- readonly audit: ReactiveLogBundle<DispatchRecord>;
319
- /** Per-aggregate LRU eviction observability; secondary log to `dispatches`. */
320
- readonly aggregateEvictions: ReactiveLogBundle<AggregateEvictionRecord>;
321
- constructor(name: string, opts?: CqrsOptions);
322
- /**
323
- * Read the current per-aggregate version (last emitted `aggregateVersion`
324
- * for that `(type, aggregateId)` pair). Returns `0` if no events have been
325
- * emitted yet for this aggregate. Useful for callers preparing
326
- * {@link DispatchOptions.expectedAggregateVersion}.
327
- */
328
- aggregateVersion(type: string, aggregateId: string): number;
329
- /** LRU touch — moves the key to the end of the access order. */
330
- private _touchAggregate;
331
- /**
332
- * Evict the oldest aggregate streams (least-recently-touched) until the
333
- * aggregate count is back within `_maxAggregates`. Emits one
334
- * `AggregateEvictionRecord` per eviction. The fan-in stream is NOT touched
335
- * — events stay in the type-level log; only the per-aggregate stream and
336
- * version counter are removed.
337
- */
338
- private _enforceAggregateLru;
339
- destroy(): void;
340
- /** Tiers attached via {@link attachEventStorage}; auto-wired into future event streams. */
341
- private readonly _attachedEventTiers;
342
- private readonly _attachedTierDisposers;
343
- /**
344
- * Wire append-log storage tiers for ALL CQRS event streams — both currently
345
- * registered AND any future streams created via `event(name)` /
346
- * `event(name, aggregateId)` / handler emit. (M4 fix.)
347
- *
348
- * Returns a disposer that releases all storage subscriptions wired by this
349
- * call (including those for streams that were created after the call).
350
- */
351
- attachEventStorage(tiers: readonly AppendLogStorageTier<CqrsEvent>[]): () => void;
352
- /** Wire newly-created event stream into all currently-attached tier sets. */
353
- private _autoWireStreamStorage;
354
- /**
355
- * Register a named event stream backed by `reactiveLog`.
356
- * Guard denies external `write` — only commands append internally.
357
- */
358
- event(name: string): Node<readonly CqrsEvent[]>;
359
- event(name: string, aggregateId: string): Node<readonly CqrsEvent[]>;
360
- /**
361
- * Get-or-create the per-aggregate event stream for `(type, aggregateId)`.
362
- * Mounts the stream as a sibling node named `<type>_<aggregateId>` so it
363
- * appears in `describe()`. LRU access is touched on every call.
364
- */
365
- private _ensureAggregateStream;
366
- /** Try `resolve(path)`; return `undefined` instead of throwing on missing. */
367
- private resolveOptional;
368
- /** Internal: append to an event log, auto-registering if needed. */
369
- private _appendEvent;
370
- /**
371
- * Register a command with its handler. Guard denies `observe` (write-only).
372
- * Use `dispatch(name, payload)` to execute.
373
- *
374
- * The command node carries dynamic `meta.error` — a reactive companion
375
- * that holds the last handler error (or `null` on success).
376
- */
377
- command<T = unknown>(name: string, handlerOrReg: CommandHandler<T> | CommandRegistration<T>): Node<T>;
378
- /**
379
- * Execute a registered command. Wraps the entire dispatch in `batch()` so
380
- * the command node DATA and all emitted events settle atomically.
381
- *
382
- * If the handler throws, `meta.error` on the command node is set to the
383
- * error and the exception is re-thrown.
384
- *
385
- * **Tier 8 / COMPOSITION-GUIDE §35:** dispatch routes through the shared
386
- * {@link wrapMutation} framework so freeze / rollback-on-throw / seq-cursor
387
- * advance / audit-record stamping flow through one centralized helper.
388
- * Failure records emit OUTSIDE the rolled-back batch (M5 / C4 invariants
389
- * preserved by the framework).
390
- */
391
- dispatch<T = unknown>(commandName: string, payload: T, opts?: DispatchOptions): void;
392
- /**
393
- * Register a read-only projection derived from event streams.
394
- * Guard denies `write` — value is computed from events only.
395
- *
396
- * **Wave C.3 Unit 21 (locked 2026-04-24):**
397
- * - Object-bag signature replaces the positional `(name, events, reducer, initial)` form.
398
- * - `mode: "scan"` (default) — incremental fold; `"replay"` — full replay each wave.
399
- * - `snapshot` integration for cold-start load + auto-checkpoint save.
400
- * - `freezeInputs` (default `true`) — freeze the event array before passing to reducer.
401
- * - Returns `ProjectionController<TState>` with `.node`, `.rebuild()`, `.reset()`.
402
- *
403
- * Fan-in across `events` is implemented by depending on all event-type fan-in
404
- * nodes directly, which preserves `describe()` edges (e.g. `orderPlaced →
405
- * orderCount`). Events are sorted by `(timestampNs, seq, aggregateId)` before
406
- * passing to the reducer (Option-3 cross-aggregate ordering, C.3).
407
- */
408
- projection<TState>(opts: ProjectionOptions<TState>): ProjectionController<TState>;
409
- /**
410
- * Register an event-driven side effect. Runs handler for each **new** event
411
- * from the specified streams (tracks last-processed entry count per stream).
412
- *
413
- * The saga node carries dynamic `meta.error` — a reactive companion that
414
- * holds the last handler error (or `null` on success). Handler errors do
415
- * not propagate out of the saga run (the event cursor still advances so
416
- * the same entry is not delivered twice).
417
- */
418
- saga<T = unknown>(name: string, eventNames: readonly string[], handler: SagaHandler<T>, opts?: SagaOptions): SagaController<T>;
419
- }
420
- /**
421
- * Create a CQRS graph container.
422
- *
423
- * @example
424
- * ```ts
425
- * const app = cqrs("orders");
426
- * app.event("orderPlaced");
427
- * app.command("placeOrder", (payload, { emit }) => {
428
- * emit("orderPlaced", { orderId: payload.id, amount: payload.amount });
429
- * });
430
- * const { node: orderCount } = app.projection({
431
- * name: "orderCount",
432
- * events: ["orderPlaced"],
433
- * reducer: (_s, events) => events.length,
434
- * initial: 0,
435
- * });
436
- * app.dispatch("placeOrder", { id: "1", amount: 100 });
437
- * ```
438
- */
439
- declare function cqrs<EM extends CqrsEventMap = Record<string, unknown>>(name: string, opts?: CqrsOptions): CqrsGraph<EM>;
440
-
441
- type index_AggregateEvictionRecord = AggregateEvictionRecord;
442
- type index_CommandActions = CommandActions;
443
- type index_CommandHandler<T = unknown> = CommandHandler<T>;
444
- type index_CommandRegistration<TPayload = unknown> = CommandRegistration<TPayload>;
445
- type index_CqrsEvent<T = unknown> = CqrsEvent<T>;
446
- type index_CqrsEventMap = CqrsEventMap;
447
- type index_CqrsGraph<EM extends CqrsEventMap = Record<string, unknown>> = CqrsGraph<EM>;
448
- declare const index_CqrsGraph: typeof CqrsGraph;
449
- type index_CqrsOptions = CqrsOptions;
450
- type index_DispatchOptions = DispatchOptions;
451
- type index_DispatchRecord<T = unknown> = DispatchRecord<T>;
452
- type index_ProjectionController<TState> = ProjectionController<TState>;
453
- type index_ProjectionOptions<TState> = ProjectionOptions<TState>;
454
- type index_ProjectionReducer<TState = unknown, TEvent = unknown> = ProjectionReducer<TState, TEvent>;
455
- type index_ProjectionSnapshotOpts<TState> = ProjectionSnapshotOpts<TState>;
456
- type index_SagaController<T = unknown> = SagaController<T>;
457
- type index_SagaHandler<T = unknown> = SagaHandler<T>;
458
- type index_SagaInvocation<T = unknown> = SagaInvocation<T>;
459
- type index_SagaOptions = SagaOptions;
460
- declare const index_cqrs: typeof cqrs;
461
- declare const index_cqrsEventKeyOf: typeof cqrsEventKeyOf;
462
- declare const index_dispatchKeyOf: typeof dispatchKeyOf;
463
- declare const index_sagaInvocationKeyOf: typeof sagaInvocationKeyOf;
464
- declare namespace index {
465
- export { type index_AggregateEvictionRecord as AggregateEvictionRecord, type index_CommandActions as CommandActions, type index_CommandHandler as CommandHandler, type index_CommandRegistration as CommandRegistration, type index_CqrsEvent as CqrsEvent, type index_CqrsEventMap as CqrsEventMap, index_CqrsGraph as CqrsGraph, type index_CqrsOptions as CqrsOptions, type index_DispatchOptions as DispatchOptions, type index_DispatchRecord as DispatchRecord, type index_ProjectionController as ProjectionController, type index_ProjectionOptions as ProjectionOptions, type index_ProjectionReducer as ProjectionReducer, type index_ProjectionSnapshotOpts as ProjectionSnapshotOpts, type index_SagaController as SagaController, type index_SagaHandler as SagaHandler, type index_SagaInvocation as SagaInvocation, type index_SagaOptions as SagaOptions, index_cqrs as cqrs, index_cqrsEventKeyOf as cqrsEventKeyOf, index_dispatchKeyOf as dispatchKeyOf, index_sagaInvocationKeyOf as sagaInvocationKeyOf };
466
- }
467
-
468
- export { type AggregateEvictionRecord as A, type CqrsEventMap as C, type DispatchOptions as D, type ProjectionController as P, type SagaController as S, type CqrsEvent as a, CqrsGraph as b, type CqrsOptions as c, type CommandActions as d, type CommandHandler as e, type CommandRegistration as f, type DispatchRecord as g, type ProjectionOptions as h, index as i, type ProjectionReducer as j, type ProjectionSnapshotOpts as k, type SagaHandler as l, type SagaInvocation as m, type SagaOptions as n, cqrs as o, cqrsEventKeyOf as p, dispatchKeyOf as q, sagaInvocationKeyOf as s };