@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.
- package/README.md +21 -17
- package/dist/compat/index.cjs +20 -10
- package/dist/compat/index.cjs.map +1 -0
- package/dist/compat/index.d.cts +1 -22
- package/dist/compat/index.d.ts +1 -22
- package/dist/compat/index.js +3 -1
- package/dist/compat/index.js.map +1 -0
- package/dist/compat/jotai/index.cjs +21 -1
- package/dist/compat/jotai/index.cjs.map +1 -0
- package/dist/compat/jotai/index.d.cts +1 -2
- package/dist/compat/jotai/index.d.ts +1 -2
- package/dist/compat/jotai/index.js +3 -1
- package/dist/compat/jotai/index.js.map +1 -0
- package/dist/compat/nanostores/index.cjs +21 -1
- package/dist/compat/nanostores/index.cjs.map +1 -0
- package/dist/compat/nanostores/index.d.cts +1 -2
- package/dist/compat/nanostores/index.d.ts +1 -2
- package/dist/compat/nanostores/index.js +3 -1
- package/dist/compat/nanostores/index.js.map +1 -0
- package/dist/compat/nestjs/index.cjs +20 -10
- package/dist/compat/nestjs/index.cjs.map +1 -0
- package/dist/compat/nestjs/index.d.cts +1 -13
- package/dist/compat/nestjs/index.d.ts +1 -13
- package/dist/compat/nestjs/index.js +3 -1
- package/dist/compat/nestjs/index.js.map +1 -0
- package/dist/compat/react/index.cjs +21 -1
- package/dist/compat/react/index.cjs.map +1 -0
- package/dist/compat/react/index.d.cts +1 -2
- package/dist/compat/react/index.d.ts +1 -2
- package/dist/compat/react/index.js +3 -1
- package/dist/compat/react/index.js.map +1 -0
- package/dist/compat/solid/index.cjs +21 -1
- package/dist/compat/solid/index.cjs.map +1 -0
- package/dist/compat/solid/index.d.cts +1 -2
- package/dist/compat/solid/index.d.ts +1 -2
- package/dist/compat/solid/index.js +3 -1
- package/dist/compat/solid/index.js.map +1 -0
- package/dist/compat/svelte/index.cjs +21 -1
- package/dist/compat/svelte/index.cjs.map +1 -0
- package/dist/compat/svelte/index.d.cts +1 -2
- package/dist/compat/svelte/index.d.ts +1 -2
- package/dist/compat/svelte/index.js +3 -1
- package/dist/compat/svelte/index.js.map +1 -0
- package/dist/compat/vue/index.cjs +21 -1
- package/dist/compat/vue/index.cjs.map +1 -0
- package/dist/compat/vue/index.d.cts +1 -3
- package/dist/compat/vue/index.d.ts +1 -3
- package/dist/compat/vue/index.js +3 -1
- package/dist/compat/vue/index.js.map +1 -0
- package/dist/compat/zustand/index.cjs +21 -3
- package/dist/compat/zustand/index.cjs.map +1 -0
- package/dist/compat/zustand/index.d.cts +1 -6
- package/dist/compat/zustand/index.d.ts +1 -6
- package/dist/compat/zustand/index.js +3 -1
- package/dist/compat/zustand/index.js.map +1 -0
- package/dist/core/index.cjs +21 -1
- package/dist/core/index.cjs.map +1 -0
- package/dist/core/index.d.cts +1 -3
- package/dist/core/index.d.ts +1 -3
- package/dist/core/index.js +3 -1
- package/dist/core/index.js.map +1 -0
- package/dist/extra/browser.cjs +21 -1
- package/dist/extra/browser.cjs.map +1 -0
- package/dist/extra/browser.d.cts +1 -4
- package/dist/extra/browser.d.ts +1 -4
- package/dist/extra/browser.js +3 -1
- package/dist/extra/browser.js.map +1 -0
- package/dist/extra/index.cjs +20 -19
- package/dist/extra/index.cjs.map +1 -0
- package/dist/extra/index.d.cts +1 -17
- package/dist/extra/index.d.ts +1 -17
- package/dist/extra/index.js +3 -1
- package/dist/extra/index.js.map +1 -0
- package/dist/extra/node.cjs +21 -2
- package/dist/extra/node.cjs.map +1 -0
- package/dist/extra/node.d.cts +1 -187
- package/dist/extra/node.d.ts +1 -187
- package/dist/extra/node.js +3 -2
- package/dist/extra/node.js.map +1 -0
- package/dist/extra/operators.cjs +21 -1
- package/dist/extra/operators.cjs.map +1 -0
- package/dist/extra/operators.d.cts +1 -958
- package/dist/extra/operators.d.ts +1 -958
- package/dist/extra/operators.js +3 -1
- package/dist/extra/operators.js.map +1 -0
- package/dist/extra/reactive.cjs +21 -1
- package/dist/extra/reactive.cjs.map +1 -0
- package/dist/extra/reactive.d.cts +1 -353
- package/dist/extra/reactive.d.ts +1 -353
- package/dist/extra/reactive.js +3 -1
- package/dist/extra/reactive.js.map +1 -0
- package/dist/extra/render/index.cjs +21 -5
- package/dist/extra/render/index.cjs.map +1 -0
- package/dist/extra/render/index.d.cts +1 -183
- package/dist/extra/render/index.d.ts +1 -183
- package/dist/extra/render/index.js +3 -1
- package/dist/extra/render/index.js.map +1 -0
- package/dist/extra/sources.cjs +21 -3
- package/dist/extra/sources.cjs.map +1 -0
- package/dist/extra/sources.d.cts +1 -584
- package/dist/extra/sources.d.ts +1 -584
- package/dist/extra/sources.js +3 -1
- package/dist/extra/sources.js.map +1 -0
- package/dist/extra/storage-browser.cjs +21 -1
- package/dist/extra/storage-browser.cjs.map +1 -0
- package/dist/extra/storage-browser.d.cts +1 -37
- package/dist/extra/storage-browser.d.ts +1 -37
- package/dist/extra/storage-browser.js +3 -1
- package/dist/extra/storage-browser.js.map +1 -0
- package/dist/extra/storage-core.cjs +21 -1
- package/dist/extra/storage-core.cjs.map +1 -0
- package/dist/extra/storage-core.d.cts +1 -28
- package/dist/extra/storage-core.d.ts +1 -28
- package/dist/extra/storage-core.js +3 -1
- package/dist/extra/storage-core.js.map +1 -0
- package/dist/extra/storage-node.cjs +20 -0
- package/dist/extra/storage-node.cjs.map +1 -0
- package/dist/extra/storage-node.d.cts +1 -2
- package/dist/extra/storage-node.d.ts +1 -2
- package/dist/extra/storage-node.js +3 -0
- package/dist/extra/storage-node.js.map +1 -0
- package/dist/extra/storage-tiers-browser.cjs +21 -1
- package/dist/extra/storage-tiers-browser.cjs.map +1 -0
- package/dist/extra/storage-tiers-browser.d.cts +1 -120
- package/dist/extra/storage-tiers-browser.d.ts +1 -120
- package/dist/extra/storage-tiers-browser.js +3 -1
- package/dist/extra/storage-tiers-browser.js.map +1 -0
- package/dist/extra/storage-tiers-node.cjs +21 -1
- package/dist/extra/storage-tiers-node.cjs.map +1 -0
- package/dist/extra/storage-tiers-node.d.cts +1 -210
- package/dist/extra/storage-tiers-node.d.ts +1 -210
- package/dist/extra/storage-tiers-node.js +3 -1
- package/dist/extra/storage-tiers-node.js.map +1 -0
- package/dist/extra/storage-tiers.cjs +21 -1
- package/dist/extra/storage-tiers.cjs.map +1 -0
- package/dist/extra/storage-tiers.d.cts +1 -412
- package/dist/extra/storage-tiers.d.ts +1 -412
- package/dist/extra/storage-tiers.js +3 -1
- package/dist/extra/storage-tiers.js.map +1 -0
- package/dist/extra/storage-wal.cjs +21 -0
- package/dist/extra/storage-wal.cjs.map +1 -0
- package/dist/extra/storage-wal.d.cts +1 -0
- package/dist/extra/storage-wal.d.ts +1 -0
- package/dist/extra/storage-wal.js +3 -0
- package/dist/extra/storage-wal.js.map +1 -0
- package/dist/graph/index.cjs +21 -7
- package/dist/graph/index.cjs.map +1 -0
- package/dist/graph/index.d.cts +1 -7
- package/dist/graph/index.d.ts +1 -7
- package/dist/graph/index.js +3 -1
- package/dist/graph/index.js.map +1 -0
- package/dist/index.cjs +20 -227
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +45 -95
- package/dist/index.d.ts +45 -95
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -0
- package/dist/patterns/ai/browser.cjs +20 -7
- package/dist/patterns/ai/browser.cjs.map +1 -0
- package/dist/patterns/ai/browser.d.cts +1 -127
- package/dist/patterns/ai/browser.d.ts +1 -127
- package/dist/patterns/ai/browser.js +3 -3
- package/dist/patterns/ai/browser.js.map +1 -0
- package/dist/patterns/ai/index.cjs +20 -73
- package/dist/patterns/ai/index.cjs.map +1 -0
- package/dist/patterns/ai/index.d.cts +1 -20
- package/dist/patterns/ai/index.d.ts +1 -20
- package/dist/patterns/ai/index.js +3 -1
- package/dist/patterns/ai/index.js.map +1 -0
- package/dist/patterns/ai/node.cjs +21 -1
- package/dist/patterns/ai/node.cjs.map +1 -0
- package/dist/patterns/ai/node.d.cts +1 -59
- package/dist/patterns/ai/node.d.ts +1 -59
- package/dist/patterns/ai/node.js +3 -1
- package/dist/patterns/ai/node.js.map +1 -0
- package/dist/patterns/cqrs/index.cjs +21 -3
- package/dist/patterns/cqrs/index.cjs.map +1 -0
- package/dist/patterns/cqrs/index.d.cts +1 -8
- package/dist/patterns/cqrs/index.d.ts +1 -8
- package/dist/patterns/cqrs/index.js +3 -1
- package/dist/patterns/cqrs/index.js.map +1 -0
- package/dist/patterns/demo-shell/index.cjs +21 -5
- package/dist/patterns/demo-shell/index.cjs.map +1 -0
- package/dist/patterns/demo-shell/index.d.cts +1 -7
- package/dist/patterns/demo-shell/index.d.ts +1 -7
- package/dist/patterns/demo-shell/index.js +3 -1
- package/dist/patterns/demo-shell/index.js.map +1 -0
- package/dist/patterns/domain-templates/index.cjs +21 -3
- package/dist/patterns/domain-templates/index.cjs.map +1 -0
- package/dist/patterns/domain-templates/index.d.cts +1 -6
- package/dist/patterns/domain-templates/index.d.ts +1 -6
- package/dist/patterns/domain-templates/index.js +3 -1
- package/dist/patterns/domain-templates/index.js.map +1 -0
- package/dist/patterns/graphspec/index.cjs +21 -86
- package/dist/patterns/graphspec/index.cjs.map +1 -0
- package/dist/patterns/graphspec/index.d.cts +1 -8
- package/dist/patterns/graphspec/index.d.ts +1 -8
- package/dist/patterns/graphspec/index.js +3 -1
- package/dist/patterns/graphspec/index.js.map +1 -0
- package/dist/patterns/harness/index.cjs +21 -48
- package/dist/patterns/harness/index.cjs.map +1 -0
- package/dist/patterns/harness/index.d.cts +1 -13
- package/dist/patterns/harness/index.d.ts +1 -13
- package/dist/patterns/harness/index.js +3 -1
- package/dist/patterns/harness/index.js.map +1 -0
- package/dist/patterns/inspect/index.cjs +21 -3
- package/dist/patterns/inspect/index.cjs.map +1 -0
- package/dist/patterns/inspect/index.d.cts +1 -9
- package/dist/patterns/inspect/index.d.ts +1 -9
- package/dist/patterns/inspect/index.js +3 -1
- package/dist/patterns/inspect/index.js.map +1 -0
- package/dist/patterns/job-queue/index.cjs +21 -3
- package/dist/patterns/job-queue/index.cjs.map +1 -0
- package/dist/patterns/job-queue/index.d.cts +1 -9
- package/dist/patterns/job-queue/index.d.ts +1 -9
- package/dist/patterns/job-queue/index.js +3 -1
- package/dist/patterns/job-queue/index.js.map +1 -0
- package/dist/patterns/memory/index.cjs +21 -3
- package/dist/patterns/memory/index.cjs.map +1 -0
- package/dist/patterns/memory/index.d.cts +1 -8
- package/dist/patterns/memory/index.d.ts +1 -8
- package/dist/patterns/memory/index.js +3 -1
- package/dist/patterns/memory/index.js.map +1 -0
- package/dist/patterns/messaging/index.cjs +21 -3
- package/dist/patterns/messaging/index.cjs.map +1 -0
- package/dist/patterns/messaging/index.d.cts +1 -7
- package/dist/patterns/messaging/index.d.ts +1 -7
- package/dist/patterns/messaging/index.js +3 -1
- package/dist/patterns/messaging/index.js.map +1 -0
- package/dist/patterns/orchestration/index.cjs +21 -3
- package/dist/patterns/orchestration/index.cjs.map +1 -0
- package/dist/patterns/orchestration/index.d.cts +1 -8
- package/dist/patterns/orchestration/index.d.ts +1 -8
- package/dist/patterns/orchestration/index.js +3 -1
- package/dist/patterns/orchestration/index.js.map +1 -0
- package/dist/patterns/process/index.cjs +21 -3
- package/dist/patterns/process/index.cjs.map +1 -0
- package/dist/patterns/process/index.d.cts +1 -10
- package/dist/patterns/process/index.d.ts +1 -10
- package/dist/patterns/process/index.js +3 -1
- package/dist/patterns/process/index.js.map +1 -0
- package/dist/patterns/reactive-layout/index.cjs +21 -4
- package/dist/patterns/reactive-layout/index.cjs.map +1 -0
- package/dist/patterns/reactive-layout/index.d.cts +1 -7
- package/dist/patterns/reactive-layout/index.d.ts +1 -7
- package/dist/patterns/reactive-layout/index.js +3 -1
- package/dist/patterns/reactive-layout/index.js.map +1 -0
- package/dist/patterns/reduction/index.cjs +21 -3
- package/dist/patterns/reduction/index.cjs.map +1 -0
- package/dist/patterns/reduction/index.d.cts +1 -6
- package/dist/patterns/reduction/index.d.ts +1 -6
- package/dist/patterns/reduction/index.js +3 -1
- package/dist/patterns/reduction/index.js.map +1 -0
- package/dist/patterns/surface/index.cjs +21 -13
- package/dist/patterns/surface/index.cjs.map +1 -0
- package/dist/patterns/surface/index.d.cts +1 -9
- package/dist/patterns/surface/index.d.ts +1 -9
- package/dist/patterns/surface/index.js +3 -1
- package/dist/patterns/surface/index.js.map +1 -0
- package/dist/patterns/topology-view/index.cjs +21 -0
- package/dist/patterns/topology-view/index.cjs.map +1 -0
- package/dist/patterns/topology-view/index.d.cts +1 -0
- package/dist/patterns/topology-view/index.d.ts +1 -0
- package/dist/patterns/topology-view/index.js +3 -0
- package/dist/patterns/topology-view/index.js.map +1 -0
- package/dist/testing/index.cjs +21 -0
- package/dist/testing/index.cjs.map +1 -0
- package/dist/testing/index.d.cts +1 -0
- package/dist/testing/index.d.ts +1 -0
- package/dist/testing/index.js +3 -0
- package/dist/testing/index.js.map +1 -0
- package/package.json +608 -584
- package/dist/backoff-HPZMEZNF.js +0 -1
- package/dist/cascading-BglDkMdX.d.cts +0 -199
- package/dist/cascading-MFgxu7Yo.d.ts +0 -199
- package/dist/chunk-2T7U5EU6.js +0 -1
- package/dist/chunk-3G5U5QNE.js +0 -5
- package/dist/chunk-4VVTGLXJ.js +0 -1
- package/dist/chunk-5M4CCMMD.js +0 -45
- package/dist/chunk-5QDBSZBV.js +0 -1
- package/dist/chunk-5XJ6B66J.js +0 -1
- package/dist/chunk-6QZNQS5B.js +0 -1
- package/dist/chunk-6X7AFUJV.js +0 -9
- package/dist/chunk-7K6PWTDQ.js +0 -1
- package/dist/chunk-7LIAPXJB.js +0 -1
- package/dist/chunk-7WPU3UHQ.js +0 -1
- package/dist/chunk-A5WCQ5NO.js +0 -1
- package/dist/chunk-APPIWSGD.js +0 -84
- package/dist/chunk-BEZWM2SY.js +0 -1
- package/dist/chunk-C72GO4IZ.js +0 -1
- package/dist/chunk-CB676TKJ.js +0 -1
- package/dist/chunk-CE6TI2TL.js +0 -1
- package/dist/chunk-CE72X3WO.js +0 -1
- package/dist/chunk-CK2E7BTU.js +0 -1
- package/dist/chunk-CLVB32RD.js +0 -1
- package/dist/chunk-CRVT7D2P.js +0 -1
- package/dist/chunk-D5RFJOZ2.js +0 -1
- package/dist/chunk-D7GPHKFH.js +0 -1
- package/dist/chunk-DHRX7JX4.js +0 -2
- package/dist/chunk-ESMPEKEV.js +0 -1
- package/dist/chunk-F672GV32.js +0 -1
- package/dist/chunk-FZMYDOWV.js +0 -1
- package/dist/chunk-GHBWHMRZ.js +0 -1
- package/dist/chunk-GLERH466.js +0 -1
- package/dist/chunk-GPW2V3RE.js +0 -1
- package/dist/chunk-HIDYF36O.js +0 -1
- package/dist/chunk-HITNVN6B.js +0 -3
- package/dist/chunk-HY4DJBA7.js +0 -5
- package/dist/chunk-KZIEYVXN.js +0 -1
- package/dist/chunk-L6NSJVJZ.js +0 -1
- package/dist/chunk-N4MQX6JU.js +0 -18
- package/dist/chunk-N7FHEL4D.js +0 -1
- package/dist/chunk-NTEURFZH.js +0 -1
- package/dist/chunk-OIVP6KFV.js +0 -1
- package/dist/chunk-OPHBU3LG.js +0 -1
- package/dist/chunk-OYQOZP2F.js +0 -5
- package/dist/chunk-PTZK576G.js +0 -1
- package/dist/chunk-QYADASLV.js +0 -1
- package/dist/chunk-ST7UXLWR.js +0 -1
- package/dist/chunk-SVY7VUYU.js +0 -1
- package/dist/chunk-TK3NWWD4.js +0 -1
- package/dist/chunk-TSOYJ743.js +0 -1
- package/dist/chunk-UNGSTR4X.js +0 -61
- package/dist/chunk-VIMF6LGM.js +0 -1
- package/dist/chunk-VJLMUKOI.js +0 -1
- package/dist/chunk-VN6RDSK2.js +0 -1
- package/dist/chunk-VV4N5P64.js +0 -1
- package/dist/chunk-W3I423PS.js +0 -1
- package/dist/chunk-WJR24TAG.js +0 -1
- package/dist/chunk-XTGKMHSW.js +0 -1
- package/dist/chunk-YBB7ZGTY.js +0 -1
- package/dist/chunk-Z4NPUARF.js +0 -1
- package/dist/chunk-ZGNQRPDT.js +0 -1
- package/dist/chunk-ZKPSFFKU.js +0 -1
- package/dist/chunk-ZLV5SQSX.js +0 -1
- package/dist/content-addressed-storage-4-ST1tYk.d.cts +0 -124
- package/dist/content-addressed-storage-DuYMjV7o.d.ts +0 -124
- package/dist/decay-BvOWTZ00.d.ts +0 -112
- package/dist/decay-CFlLvXUT.d.cts +0 -112
- package/dist/fallback-74oxi34l.d.cts +0 -250
- package/dist/fallback-DUyyBTBK.d.ts +0 -250
- package/dist/graph-CWvEUQAq.d.cts +0 -1861
- package/dist/graph-D9LFnda9.d.ts +0 -1861
- package/dist/index-5k1T6jl0.d.cts +0 -121
- package/dist/index-9770hRuQ.d.cts +0 -779
- package/dist/index-B-_tFaqV.d.cts +0 -468
- package/dist/index-B17QddL1.d.cts +0 -374
- package/dist/index-B1F8Enjf.d.ts +0 -704
- package/dist/index-B5S8ULbU.d.ts +0 -515
- package/dist/index-B8YnZpIR.d.ts +0 -102
- package/dist/index-BHskSB8v.d.ts +0 -3413
- package/dist/index-BIYAkbAi.d.cts +0 -26
- package/dist/index-BQSKmbuG.d.cts +0 -127
- package/dist/index-BaQaY_IQ.d.cts +0 -231
- package/dist/index-BmZXHqkE.d.ts +0 -36
- package/dist/index-BoJ5JHxI.d.ts +0 -557
- package/dist/index-BocU7pqs.d.ts +0 -779
- package/dist/index-BrPrLl4e.d.cts +0 -86
- package/dist/index-BxNs2HB9.d.cts +0 -1858
- package/dist/index-Byu-OpX_.d.ts +0 -113
- package/dist/index-C1T3d7V-.d.cts +0 -704
- package/dist/index-C5ri2Axc.d.cts +0 -301
- package/dist/index-C5stwKcw.d.cts +0 -44
- package/dist/index-C9l6OEBL.d.ts +0 -26
- package/dist/index-CBBLl_rc.d.ts +0 -127
- package/dist/index-CBGUK09R.d.ts +0 -754
- package/dist/index-CC-AvFTy.d.cts +0 -557
- package/dist/index-CJF1URuX.d.ts +0 -121
- package/dist/index-CK29LV56.d.cts +0 -34
- package/dist/index-CMh5Rz1y.d.ts +0 -385
- package/dist/index-CPQlGA29.d.ts +0 -34
- package/dist/index-CR8QpwX8.d.ts +0 -2680
- package/dist/index-CS0LTlB8.d.cts +0 -385
- package/dist/index-CSOmP7xT.d.cts +0 -291
- package/dist/index-CYq8vAyV.d.ts +0 -291
- package/dist/index-CZ3r5Rxp.d.ts +0 -374
- package/dist/index-CasX6Pfq.d.cts +0 -358
- package/dist/index-CdAlHFEt.d.ts +0 -44
- package/dist/index-CdTelp1M.d.ts +0 -202
- package/dist/index-CeFiHtAg.d.ts +0 -468
- package/dist/index-Cj3WohTd.d.cts +0 -202
- package/dist/index-Climxqsu.d.cts +0 -754
- package/dist/index-Co7uli2l.d.cts +0 -3413
- package/dist/index-CviRnE4K.d.ts +0 -45
- package/dist/index-Cwv0KWcU.d.cts +0 -102
- package/dist/index-CzLVrjxn.d.ts +0 -231
- package/dist/index-D0aciIex.d.cts +0 -209
- package/dist/index-DHen9Klo.d.ts +0 -1858
- package/dist/index-DV_1YuVk.d.cts +0 -221
- package/dist/index-Dc4AYqrJ.d.cts +0 -515
- package/dist/index-Dgl1HpPn.d.ts +0 -86
- package/dist/index-DisjX8a-.d.ts +0 -221
- package/dist/index-UPSiS-X7.d.cts +0 -2680
- package/dist/index-Yq60JP3s.d.ts +0 -209
- package/dist/index-ZVQhLa2i.d.cts +0 -37
- package/dist/index-_6ODbuOu.d.cts +0 -45
- package/dist/index-hcDJ8PSI.d.cts +0 -36
- package/dist/index-nozs3fFC.d.ts +0 -301
- package/dist/index-p09KSrTN.d.ts +0 -358
- package/dist/index-sqkqlb1p.d.ts +0 -37
- package/dist/index-tRCxuAXF.d.cts +0 -113
- package/dist/node-kK3CvTrR.d.cts +0 -1347
- package/dist/node-kK3CvTrR.d.ts +0 -1347
- package/dist/observable-DWjNfLvC.d.ts +0 -36
- package/dist/observable-e3eiPPFy.d.cts +0 -36
- package/dist/pipeline-graph-CIKhynsF.d.cts +0 -142
- package/dist/pipeline-graph-Sgj0gCwn.d.ts +0 -142
- package/dist/reactive-layout-DOTs9P3X.d.ts +0 -183
- package/dist/reactive-layout-DgctbqZo.d.cts +0 -183
- package/dist/reactive-log-BKALbfal.d.ts +0 -223
- package/dist/reactive-log-DIGdYqQ6.d.cts +0 -223
- package/dist/reactive-map-CEFGp8TK.d.cts +0 -296
- package/dist/reactive-map-DS_SIAxv.d.ts +0 -296
- package/dist/resilience-6LYQJAC5.js +0 -1
- package/dist/sugar-DQjFmVqb.d.cts +0 -399
- package/dist/sugar-fhLIE7TT.d.ts +0 -399
- package/dist/topology-tree-Bcz27hpF.d.cts +0 -25
- package/dist/topology-tree-xvaD0fOX.d.ts +0 -25
- package/dist/types-C0_yquda.d.cts +0 -442
- package/dist/types-CWFysE9E.d.ts +0 -442
package/dist/index-CeFiHtAg.d.ts
DELETED
|
@@ -1,468 +0,0 @@
|
|
|
1
|
-
import { N as Node } from './node-kK3CvTrR.js';
|
|
2
|
-
import { B as BaseAuditRecord } from './index-Yq60JP3s.js';
|
|
3
|
-
import { a as ReactiveLogBundle } from './reactive-log-BKALbfal.js';
|
|
4
|
-
import { AppendLogStorageTier } from './extra/storage-tiers.js';
|
|
5
|
-
import { a as GraphOptions, G as Graph } from './graph-D9LFnda9.js';
|
|
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 };
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
import { M as Messages, A as Actor, C as COMPLETE, d as COMPLETE_MSG, e as COMPLETE_ONLY_BATCH, D as DATA, f as DEFAULT_ACTOR, g as DIRTY, h as DIRTY_MSG, i as DIRTY_ONLY_BATCH, j as DepRecord, E as ERROR, F as FnCtx, G as GlobalInspectorEvent, k as GlobalInspectorHook, l as GraphReFlyConfig, m as GuardAction, n as GuardDenied, o as GuardDeniedDetails, H as HashFn, I as INVALIDATE, p as INVALIDATE_MSG, q as INVALIDATE_ONLY_BATCH, r as Message, s as MessageContext, t as MessageTypeRegistration, u as MessageTypeRegistrationInput, N as Node, c as NodeActions, v as NodeCtx, w as NodeDescribeKind, x as NodeFn, y as NodeFnCleanup, b as NodeGuard, z as NodeImpl, B as NodeInspectorHook, J as NodeInspectorHookEvent, a as NodeOptions, K as NodeSink, L as NodeStatus, O as NodeTransportOptions, P as NodeVersionInfo, Q as OnMessageHandler, R as OnSubscribeHandler, S as PAUSE, T as PolicyAllow, U as PolicyDeny, W as PolicyRuleData, X as RESOLVED, Y as RESOLVED_MSG, Z as RESOLVED_ONLY_BATCH, _ as RESUME, $ as RigorRecorder, a0 as START, a1 as START_MSG, a2 as SubscribeContext, a3 as TEARDOWN, a4 as TEARDOWN_MSG, a5 as TEARDOWN_ONLY_BATCH, a6 as V0, a7 as V1, V as VersioningLevel, a8 as VersioningOptions, a9 as accessHintForGuard, aa as advanceVersion, ab as configure, ac as createVersioning, ad as defaultConfig, ae as defaultHash, af as isV1, ag as node, ah as normalizeActor, ai as policy, aj as policyFromRules, ak as registerBuiltins } from './node-kK3CvTrR.cjs';
|
|
2
|
-
import { A as AutoTrackOptions, a as DerivedFn, b as DerivedTFn, c as DescribeDetail, d as DescribeField, D as DescribeNodeOutput, e as DynamicFn, E as EffectFn, f as EffectTFn, N as NodeValues, P as PipeOperator, g as ProducerFn, T as TrackFn, h as autoTrackNode, i as derived, j as derivedT, k as dynamicNode, l as effect, m as effectT, n as factoryTag, p as pipe, o as placeholderArgs, q as producer, r as resolveDescribeFields, s as state } from './sugar-DQjFmVqb.cjs';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Batch deferral for tier-3+ messages, plus per-node emit coalescing inside
|
|
6
|
-
* explicit `batch()` scopes.
|
|
7
|
-
*
|
|
8
|
-
* **Canonical invariant:** GRAPHREFLY-SPEC.md §1.3.7 — inside a batch,
|
|
9
|
-
* tier 0–2 signals propagate immediately; tier 3 (DATA/RESOLVED), tier 4
|
|
10
|
-
* (COMPLETE/ERROR), and tier 5 (TEARDOWN) are queued and drained in ascending
|
|
11
|
-
* phase order after the outermost `batch()` callback returns.
|
|
12
|
-
*
|
|
13
|
-
* **Per-node emit coalescing (Bug 2 fix, 2026-04-17).** Inside an explicit
|
|
14
|
-
* `batch()` scope, consecutive emissions from the same node accumulate in
|
|
15
|
-
* `NodeImpl._batchPendingMessages` (see JSDoc there) instead of each producing
|
|
16
|
-
* a separate downstream wave. K `.emit()` calls to the same source collapse to
|
|
17
|
-
* one coalesced `downWithBatch` call per child edge at batch end. Outside batch
|
|
18
|
-
* (or during drain), coalescing does NOT apply — each emit produces its own wave.
|
|
19
|
-
*
|
|
20
|
-
* **Phase vocabulary:**
|
|
21
|
-
* - Phase 1 = tiers 0–2 — immediate, never queued.
|
|
22
|
-
* - Phase 2 = tier 3 — {@link drainPhase2}. Value settlements.
|
|
23
|
-
* - Phase 3 = tier 4 — {@link drainPhase3}. Terminal signals.
|
|
24
|
-
* - Phase 4 = tier 5 — {@link drainPhase4}. TEARDOWN (unified deferral).
|
|
25
|
-
*
|
|
26
|
-
* Drain rule: fire any pending flush hooks first, then the lowest non-empty
|
|
27
|
-
* phase. Re-enqueues during drain (and hooks registered by reentrant batches
|
|
28
|
-
* inside subscriber callbacks) bump the loop back to the top so newly-added
|
|
29
|
-
* hooks and closures get processed.
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Returns whether the current call stack is inside a batch scope **or** while
|
|
34
|
-
* a deferred drain is in progress. Nested `downWithBatch` calls during drain
|
|
35
|
-
* still defer (they bump the drain loop).
|
|
36
|
-
*/
|
|
37
|
-
declare function isBatching(): boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Runs `fn` inside a batch scope. Nested `batch()` calls share one deferral
|
|
40
|
-
* queue. If `fn` throws, deferred work for the outer frame is discarded
|
|
41
|
-
* (unless a drain is already in progress — cross-language decision A4).
|
|
42
|
-
*/
|
|
43
|
-
declare function batch(fn: () => void): void;
|
|
44
|
-
/**
|
|
45
|
-
* Deliver pre-sorted messages through `sink` with tier-based deferral applied.
|
|
46
|
-
*
|
|
47
|
-
* `messages` MUST be in ascending tier order (produced by `_frameBatch` in
|
|
48
|
-
* `node.ts`); the walker exploits that invariant to find phase cuts in one
|
|
49
|
-
* pass without re-sorting.
|
|
50
|
-
*
|
|
51
|
-
* Behavior:
|
|
52
|
-
* - Tier 0–2 — delivered synchronously.
|
|
53
|
-
* - Tier 3 — deferred to {@link drainPhase2} when batching, else synchronous.
|
|
54
|
-
* - Tier 4 — deferred to {@link drainPhase3} when batching, else synchronous.
|
|
55
|
-
* - Tier 5 — deferred to {@link drainPhase4} when batching, else synchronous.
|
|
56
|
-
*
|
|
57
|
-
* Tier-classification uses the caller-supplied `tierOf` so that batch stays
|
|
58
|
-
* decoupled from `GraphReFlyConfig`. NodeImpl passes `config.tierOf` (a
|
|
59
|
-
* pre-bound closure built once in the config constructor) at the emit site;
|
|
60
|
-
* alternate configs can pass their own lookup.
|
|
61
|
-
*/
|
|
62
|
-
declare function downWithBatch(sink: (messages: Messages) => void, messages: Messages, tierOf: (t: symbol) => number): void;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Centralised timestamp utilities.
|
|
66
|
-
*
|
|
67
|
-
* Convention: all graphrefly-ts timestamps use nanoseconds (`_ns` suffix).
|
|
68
|
-
*
|
|
69
|
-
* - {@link monotonicNs} — monotonic clock (ordering, durations, timeline events).
|
|
70
|
-
* - {@link wallClockNs} — wall-clock (mutation attribution, cron emission).
|
|
71
|
-
*
|
|
72
|
-
* **Precision limits (JS platform):**
|
|
73
|
-
*
|
|
74
|
-
* - `monotonicNs`: effective ~microsecond precision. `performance.now()` returns
|
|
75
|
-
* milliseconds with ~5µs resolution; the last 3 digits of the nanosecond value
|
|
76
|
-
* are always zero. Python's `time.monotonic_ns()` gives true nanoseconds.
|
|
77
|
-
*
|
|
78
|
-
* - `wallClockNs`: ~256ns precision loss at current epoch. `Date.now() * 1e6`
|
|
79
|
-
* produces values around 1.8×10¹⁸ which exceed IEEE 754's 2⁵³ safe integer
|
|
80
|
-
* limit. Python's `time.time_ns()` (arbitrary-precision `int`) has no loss.
|
|
81
|
-
* In practice this is irrelevant — JS is single-threaded, so sub-microsecond
|
|
82
|
-
* timestamp collisions cannot occur.
|
|
83
|
-
*/
|
|
84
|
-
/** Monotonic nanosecond timestamp via `performance.now()`. */
|
|
85
|
-
declare function monotonicNs(): number;
|
|
86
|
-
/** Wall-clock nanosecond timestamp via `Date.now()`. */
|
|
87
|
-
declare function wallClockNs(): number;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Core layer: message protocol, node primitive, lifecycle (Phase 0).
|
|
91
|
-
*/
|
|
92
|
-
|
|
93
|
-
declare const index_Actor: typeof Actor;
|
|
94
|
-
declare const index_AutoTrackOptions: typeof AutoTrackOptions;
|
|
95
|
-
declare const index_COMPLETE: typeof COMPLETE;
|
|
96
|
-
declare const index_COMPLETE_MSG: typeof COMPLETE_MSG;
|
|
97
|
-
declare const index_COMPLETE_ONLY_BATCH: typeof COMPLETE_ONLY_BATCH;
|
|
98
|
-
declare const index_DATA: typeof DATA;
|
|
99
|
-
declare const index_DEFAULT_ACTOR: typeof DEFAULT_ACTOR;
|
|
100
|
-
declare const index_DIRTY: typeof DIRTY;
|
|
101
|
-
declare const index_DIRTY_MSG: typeof DIRTY_MSG;
|
|
102
|
-
declare const index_DIRTY_ONLY_BATCH: typeof DIRTY_ONLY_BATCH;
|
|
103
|
-
declare const index_DepRecord: typeof DepRecord;
|
|
104
|
-
declare const index_DerivedFn: typeof DerivedFn;
|
|
105
|
-
declare const index_DerivedTFn: typeof DerivedTFn;
|
|
106
|
-
declare const index_DescribeDetail: typeof DescribeDetail;
|
|
107
|
-
declare const index_DescribeField: typeof DescribeField;
|
|
108
|
-
declare const index_DescribeNodeOutput: typeof DescribeNodeOutput;
|
|
109
|
-
declare const index_DynamicFn: typeof DynamicFn;
|
|
110
|
-
declare const index_ERROR: typeof ERROR;
|
|
111
|
-
declare const index_EffectFn: typeof EffectFn;
|
|
112
|
-
declare const index_EffectTFn: typeof EffectTFn;
|
|
113
|
-
declare const index_FnCtx: typeof FnCtx;
|
|
114
|
-
declare const index_GlobalInspectorEvent: typeof GlobalInspectorEvent;
|
|
115
|
-
declare const index_GlobalInspectorHook: typeof GlobalInspectorHook;
|
|
116
|
-
declare const index_GraphReFlyConfig: typeof GraphReFlyConfig;
|
|
117
|
-
declare const index_GuardAction: typeof GuardAction;
|
|
118
|
-
declare const index_GuardDenied: typeof GuardDenied;
|
|
119
|
-
declare const index_GuardDeniedDetails: typeof GuardDeniedDetails;
|
|
120
|
-
declare const index_HashFn: typeof HashFn;
|
|
121
|
-
declare const index_INVALIDATE: typeof INVALIDATE;
|
|
122
|
-
declare const index_INVALIDATE_MSG: typeof INVALIDATE_MSG;
|
|
123
|
-
declare const index_INVALIDATE_ONLY_BATCH: typeof INVALIDATE_ONLY_BATCH;
|
|
124
|
-
declare const index_Message: typeof Message;
|
|
125
|
-
declare const index_MessageContext: typeof MessageContext;
|
|
126
|
-
declare const index_MessageTypeRegistration: typeof MessageTypeRegistration;
|
|
127
|
-
declare const index_MessageTypeRegistrationInput: typeof MessageTypeRegistrationInput;
|
|
128
|
-
declare const index_Messages: typeof Messages;
|
|
129
|
-
declare const index_Node: typeof Node;
|
|
130
|
-
declare const index_NodeActions: typeof NodeActions;
|
|
131
|
-
declare const index_NodeCtx: typeof NodeCtx;
|
|
132
|
-
declare const index_NodeDescribeKind: typeof NodeDescribeKind;
|
|
133
|
-
declare const index_NodeFn: typeof NodeFn;
|
|
134
|
-
declare const index_NodeFnCleanup: typeof NodeFnCleanup;
|
|
135
|
-
declare const index_NodeGuard: typeof NodeGuard;
|
|
136
|
-
declare const index_NodeImpl: typeof NodeImpl;
|
|
137
|
-
declare const index_NodeInspectorHook: typeof NodeInspectorHook;
|
|
138
|
-
declare const index_NodeInspectorHookEvent: typeof NodeInspectorHookEvent;
|
|
139
|
-
declare const index_NodeOptions: typeof NodeOptions;
|
|
140
|
-
declare const index_NodeSink: typeof NodeSink;
|
|
141
|
-
declare const index_NodeStatus: typeof NodeStatus;
|
|
142
|
-
declare const index_NodeTransportOptions: typeof NodeTransportOptions;
|
|
143
|
-
declare const index_NodeValues: typeof NodeValues;
|
|
144
|
-
declare const index_NodeVersionInfo: typeof NodeVersionInfo;
|
|
145
|
-
declare const index_OnMessageHandler: typeof OnMessageHandler;
|
|
146
|
-
declare const index_OnSubscribeHandler: typeof OnSubscribeHandler;
|
|
147
|
-
declare const index_PAUSE: typeof PAUSE;
|
|
148
|
-
declare const index_PipeOperator: typeof PipeOperator;
|
|
149
|
-
declare const index_PolicyAllow: typeof PolicyAllow;
|
|
150
|
-
declare const index_PolicyDeny: typeof PolicyDeny;
|
|
151
|
-
declare const index_PolicyRuleData: typeof PolicyRuleData;
|
|
152
|
-
declare const index_ProducerFn: typeof ProducerFn;
|
|
153
|
-
declare const index_RESOLVED: typeof RESOLVED;
|
|
154
|
-
declare const index_RESOLVED_MSG: typeof RESOLVED_MSG;
|
|
155
|
-
declare const index_RESOLVED_ONLY_BATCH: typeof RESOLVED_ONLY_BATCH;
|
|
156
|
-
declare const index_RESUME: typeof RESUME;
|
|
157
|
-
declare const index_RigorRecorder: typeof RigorRecorder;
|
|
158
|
-
declare const index_START: typeof START;
|
|
159
|
-
declare const index_START_MSG: typeof START_MSG;
|
|
160
|
-
declare const index_SubscribeContext: typeof SubscribeContext;
|
|
161
|
-
declare const index_TEARDOWN: typeof TEARDOWN;
|
|
162
|
-
declare const index_TEARDOWN_MSG: typeof TEARDOWN_MSG;
|
|
163
|
-
declare const index_TEARDOWN_ONLY_BATCH: typeof TEARDOWN_ONLY_BATCH;
|
|
164
|
-
declare const index_TrackFn: typeof TrackFn;
|
|
165
|
-
declare const index_V0: typeof V0;
|
|
166
|
-
declare const index_V1: typeof V1;
|
|
167
|
-
declare const index_VersioningLevel: typeof VersioningLevel;
|
|
168
|
-
declare const index_VersioningOptions: typeof VersioningOptions;
|
|
169
|
-
declare const index_accessHintForGuard: typeof accessHintForGuard;
|
|
170
|
-
declare const index_advanceVersion: typeof advanceVersion;
|
|
171
|
-
declare const index_autoTrackNode: typeof autoTrackNode;
|
|
172
|
-
declare const index_batch: typeof batch;
|
|
173
|
-
declare const index_configure: typeof configure;
|
|
174
|
-
declare const index_createVersioning: typeof createVersioning;
|
|
175
|
-
declare const index_defaultConfig: typeof defaultConfig;
|
|
176
|
-
declare const index_defaultHash: typeof defaultHash;
|
|
177
|
-
declare const index_derived: typeof derived;
|
|
178
|
-
declare const index_derivedT: typeof derivedT;
|
|
179
|
-
declare const index_downWithBatch: typeof downWithBatch;
|
|
180
|
-
declare const index_dynamicNode: typeof dynamicNode;
|
|
181
|
-
declare const index_effect: typeof effect;
|
|
182
|
-
declare const index_effectT: typeof effectT;
|
|
183
|
-
declare const index_factoryTag: typeof factoryTag;
|
|
184
|
-
declare const index_isBatching: typeof isBatching;
|
|
185
|
-
declare const index_isV1: typeof isV1;
|
|
186
|
-
declare const index_monotonicNs: typeof monotonicNs;
|
|
187
|
-
declare const index_node: typeof node;
|
|
188
|
-
declare const index_normalizeActor: typeof normalizeActor;
|
|
189
|
-
declare const index_pipe: typeof pipe;
|
|
190
|
-
declare const index_placeholderArgs: typeof placeholderArgs;
|
|
191
|
-
declare const index_policy: typeof policy;
|
|
192
|
-
declare const index_policyFromRules: typeof policyFromRules;
|
|
193
|
-
declare const index_producer: typeof producer;
|
|
194
|
-
declare const index_registerBuiltins: typeof registerBuiltins;
|
|
195
|
-
declare const index_resolveDescribeFields: typeof resolveDescribeFields;
|
|
196
|
-
declare const index_state: typeof state;
|
|
197
|
-
declare const index_wallClockNs: typeof wallClockNs;
|
|
198
|
-
declare namespace index {
|
|
199
|
-
export { index_Actor as Actor, index_AutoTrackOptions as AutoTrackOptions, index_COMPLETE as COMPLETE, index_COMPLETE_MSG as COMPLETE_MSG, index_COMPLETE_ONLY_BATCH as COMPLETE_ONLY_BATCH, index_DATA as DATA, index_DEFAULT_ACTOR as DEFAULT_ACTOR, index_DIRTY as DIRTY, index_DIRTY_MSG as DIRTY_MSG, index_DIRTY_ONLY_BATCH as DIRTY_ONLY_BATCH, index_DepRecord as DepRecord, index_DerivedFn as DerivedFn, index_DerivedTFn as DerivedTFn, index_DescribeDetail as DescribeDetail, index_DescribeField as DescribeField, index_DescribeNodeOutput as DescribeNodeOutput, index_DynamicFn as DynamicFn, index_ERROR as ERROR, index_EffectFn as EffectFn, index_EffectTFn as EffectTFn, index_FnCtx as FnCtx, index_GlobalInspectorEvent as GlobalInspectorEvent, index_GlobalInspectorHook as GlobalInspectorHook, index_GraphReFlyConfig as GraphReFlyConfig, index_GuardAction as GuardAction, index_GuardDenied as GuardDenied, index_GuardDeniedDetails as GuardDeniedDetails, index_HashFn as HashFn, index_INVALIDATE as INVALIDATE, index_INVALIDATE_MSG as INVALIDATE_MSG, index_INVALIDATE_ONLY_BATCH as INVALIDATE_ONLY_BATCH, index_Message as Message, index_MessageContext as MessageContext, index_MessageTypeRegistration as MessageTypeRegistration, index_MessageTypeRegistrationInput as MessageTypeRegistrationInput, index_Messages as Messages, index_Node as Node, index_NodeActions as NodeActions, index_NodeCtx as NodeCtx, index_NodeDescribeKind as NodeDescribeKind, index_NodeFn as NodeFn, index_NodeFnCleanup as NodeFnCleanup, index_NodeGuard as NodeGuard, index_NodeImpl as NodeImpl, index_NodeInspectorHook as NodeInspectorHook, index_NodeInspectorHookEvent as NodeInspectorHookEvent, index_NodeOptions as NodeOptions, index_NodeSink as NodeSink, index_NodeStatus as NodeStatus, index_NodeTransportOptions as NodeTransportOptions, index_NodeValues as NodeValues, index_NodeVersionInfo as NodeVersionInfo, index_OnMessageHandler as OnMessageHandler, index_OnSubscribeHandler as OnSubscribeHandler, index_PAUSE as PAUSE, index_PipeOperator as PipeOperator, index_PolicyAllow as PolicyAllow, index_PolicyDeny as PolicyDeny, index_PolicyRuleData as PolicyRuleData, index_ProducerFn as ProducerFn, index_RESOLVED as RESOLVED, index_RESOLVED_MSG as RESOLVED_MSG, index_RESOLVED_ONLY_BATCH as RESOLVED_ONLY_BATCH, index_RESUME as RESUME, index_RigorRecorder as RigorRecorder, index_START as START, index_START_MSG as START_MSG, index_SubscribeContext as SubscribeContext, index_TEARDOWN as TEARDOWN, index_TEARDOWN_MSG as TEARDOWN_MSG, index_TEARDOWN_ONLY_BATCH as TEARDOWN_ONLY_BATCH, index_TrackFn as TrackFn, index_V0 as V0, index_V1 as V1, index_VersioningLevel as VersioningLevel, index_VersioningOptions as VersioningOptions, index_accessHintForGuard as accessHintForGuard, index_advanceVersion as advanceVersion, index_autoTrackNode as autoTrackNode, index_batch as batch, index_configure as configure, index_createVersioning as createVersioning, index_defaultConfig as defaultConfig, index_defaultHash as defaultHash, index_derived as derived, index_derivedT as derivedT, index_downWithBatch as downWithBatch, index_dynamicNode as dynamicNode, index_effect as effect, index_effectT as effectT, index_factoryTag as factoryTag, index_isBatching as isBatching, index_isV1 as isV1, index_monotonicNs as monotonicNs, index_node as node, index_normalizeActor as normalizeActor, index_pipe as pipe, index_placeholderArgs as placeholderArgs, index_policy as policy, index_policyFromRules as policyFromRules, index_producer as producer, index_registerBuiltins as registerBuiltins, index_resolveDescribeFields as resolveDescribeFields, index_state as state, index_wallClockNs as wallClockNs };
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
export { isBatching as a, batch as b, downWithBatch as d, index as i, monotonicNs as m, wallClockNs as w };
|