@graphrefly/graphrefly 0.27.0 → 0.28.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/dist/backoff-HPZMEZNF.js +1 -0
- package/dist/cascading-B-5zmAUv.d.cts +180 -0
- package/dist/cascading-D9WG1-9L.d.ts +180 -0
- package/dist/chunk-2FOAM3OR.js +1 -0
- package/dist/chunk-2PMCKKRK.js +1 -0
- package/dist/chunk-3JXNEPCD.js +2 -0
- package/dist/chunk-3R5HFPX7.js +78 -0
- package/dist/chunk-4GKB4OUJ.js +1 -0
- package/dist/chunk-4VVTGLXJ.js +1 -0
- package/dist/chunk-5QDBSZBV.js +1 -0
- package/dist/chunk-6QZNQS5B.js +1 -0
- package/dist/chunk-6V3SEX2I.js +1 -0
- package/dist/chunk-76A3HVQE.js +9 -0
- package/dist/chunk-7H6LGFUG.js +64 -0
- package/dist/chunk-CK2E7BTU.js +1 -0
- package/dist/chunk-CKCSDI7T.js +6 -0
- package/dist/chunk-CRXTH3SH.js +1 -0
- package/dist/chunk-CWLN3X3N.js +1 -0
- package/dist/chunk-D7A7DBE4.js +1 -0
- package/dist/chunk-DBGGMN3D.js +1 -0
- package/dist/chunk-DQA3UIQ2.js +1 -0
- package/dist/chunk-ERLIRFPA.js +1 -0
- package/dist/chunk-ESMPEKEV.js +1 -0
- package/dist/chunk-ETWTCCJI.js +1 -0
- package/dist/chunk-FNYWM6JC.js +1 -0
- package/dist/chunk-GHJJR5P4.js +1 -0
- package/dist/chunk-GPW2V3RE.js +1 -0
- package/dist/chunk-I6VIH3VA.js +1 -0
- package/dist/chunk-K2GNMCQT.js +1 -0
- package/dist/chunk-LBTDSCCO.js +3 -0
- package/dist/chunk-LQ3Y5NJS.js +1 -0
- package/dist/chunk-MIQTDPY4.js +5 -0
- package/dist/chunk-MTTAAPCK.js +1 -0
- package/dist/chunk-OAWLCNJJ.js +1 -0
- package/dist/chunk-OBKQQA5I.js +1 -0
- package/dist/chunk-OYHGKYQM.js +1 -0
- package/dist/chunk-PIOGHC63.js +1 -0
- package/dist/chunk-QWAPKG3O.js +2 -0
- package/dist/chunk-QYADASLV.js +1 -0
- package/dist/chunk-RHESUC3V.js +43 -0
- package/dist/chunk-S35VARIR.js +1 -0
- package/dist/chunk-SC3U7ETD.js +1 -0
- package/dist/chunk-U3AICJKU.js +1 -0
- package/dist/chunk-UMBIDLJ4.js +1 -0
- package/dist/chunk-UPHHLMHE.js +1 -0
- package/dist/chunk-UPXUCFMX.js +1 -0
- package/dist/chunk-UWJE5FQA.js +18 -0
- package/dist/chunk-V6YQICXZ.js +1 -0
- package/dist/chunk-VIMF6LGM.js +1 -0
- package/dist/chunk-VJLMUKOI.js +1 -0
- package/dist/chunk-VPYBOXVT.js +1 -0
- package/dist/chunk-VTPVOGHH.js +1 -0
- package/dist/chunk-WQ2BN6X6.js +1 -0
- package/dist/chunk-XAUNPIMX.js +1 -0
- package/dist/chunk-Y2EMPB3I.js +1 -0
- package/dist/chunk-Z4HDAS2Q.js +1 -0
- package/dist/chunk-ZB5EHBIO.js +1 -0
- package/dist/chunk-ZV2DXV5A.js +23 -0
- package/dist/compat/index.cjs +14 -7656
- package/dist/compat/index.d.cts +15 -14
- package/dist/compat/index.d.ts +15 -14
- package/dist/compat/index.js +1 -50
- package/dist/compat/jotai/index.cjs +1 -2048
- package/dist/compat/jotai/index.d.cts +2 -2
- package/dist/compat/jotai/index.d.ts +2 -2
- package/dist/compat/jotai/index.js +1 -9
- package/dist/compat/nanostores/index.cjs +1 -2175
- package/dist/compat/nanostores/index.d.cts +2 -2
- package/dist/compat/nanostores/index.d.ts +2 -2
- package/dist/compat/nanostores/index.js +1 -23
- package/dist/compat/nestjs/index.cjs +14 -6782
- package/dist/compat/nestjs/index.d.cts +7 -6
- package/dist/compat/nestjs/index.d.ts +7 -6
- package/dist/compat/nestjs/index.js +1 -83
- package/dist/compat/react/index.cjs +1 -141
- package/dist/compat/react/index.d.cts +2 -2
- package/dist/compat/react/index.d.ts +2 -2
- package/dist/compat/react/index.js +1 -12
- package/dist/compat/solid/index.cjs +1 -128
- package/dist/compat/solid/index.d.cts +2 -2
- package/dist/compat/solid/index.d.ts +2 -2
- package/dist/compat/solid/index.js +1 -12
- package/dist/compat/svelte/index.cjs +1 -131
- package/dist/compat/svelte/index.d.cts +2 -2
- package/dist/compat/svelte/index.d.ts +2 -2
- package/dist/compat/svelte/index.js +1 -12
- package/dist/compat/vue/index.cjs +1 -146
- package/dist/compat/vue/index.d.cts +2 -2
- package/dist/compat/vue/index.d.ts +2 -2
- package/dist/compat/vue/index.js +1 -12
- package/dist/compat/zustand/index.cjs +6 -4931
- package/dist/compat/zustand/index.d.cts +5 -5
- package/dist/compat/zustand/index.d.ts +5 -5
- package/dist/compat/zustand/index.js +1 -12
- package/dist/composite-B-xqw4Kk.d.cts +69 -0
- package/dist/composite-BhbKHbOS.d.ts +69 -0
- package/dist/core/index.cjs +1 -2271
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +1 -110
- package/dist/extra/browser.cjs +1 -0
- package/dist/extra/browser.d.cts +3 -0
- package/dist/extra/browser.d.ts +3 -0
- package/dist/extra/browser.js +1 -0
- package/dist/extra/index.cjs +23 -9971
- package/dist/extra/index.d.cts +13 -6
- package/dist/extra/index.d.ts +13 -6
- package/dist/extra/index.js +1 -381
- package/dist/extra/node.cjs +3 -0
- package/dist/extra/node.d.cts +81 -0
- package/dist/extra/node.d.ts +81 -0
- package/dist/extra/node.js +2 -0
- package/dist/extra/operators.cjs +1 -0
- package/dist/extra/operators.d.cts +910 -0
- package/dist/extra/operators.d.ts +910 -0
- package/dist/extra/operators.js +1 -0
- package/dist/extra/reactive.cjs +1 -0
- package/dist/extra/reactive.d.cts +352 -0
- package/dist/extra/reactive.d.ts +352 -0
- package/dist/extra/reactive.js +1 -0
- package/dist/extra/sources.cjs +1 -2486
- package/dist/extra/sources.d.cts +6 -2
- package/dist/extra/sources.d.ts +6 -2
- package/dist/extra/sources.js +1 -57
- package/dist/extra/storage-browser.cjs +1 -0
- package/dist/extra/storage-browser.d.cts +71 -0
- package/dist/extra/storage-browser.d.ts +71 -0
- package/dist/extra/storage-browser.js +1 -0
- package/dist/extra/storage-core.cjs +1 -0
- package/dist/extra/storage-core.d.cts +98 -0
- package/dist/extra/storage-core.d.ts +98 -0
- package/dist/extra/storage-core.js +1 -0
- package/dist/extra/storage-node.cjs +2 -0
- package/dist/extra/storage-node.d.cts +60 -0
- package/dist/extra/storage-node.d.ts +60 -0
- package/dist/extra/storage-node.js +1 -0
- package/dist/fallback-BaTS7vVY.d.cts +258 -0
- package/dist/fallback-eOm3LNxP.d.ts +258 -0
- package/dist/graph/index.cjs +6 -5030
- package/dist/graph/index.d.cts +6 -5
- package/dist/graph/index.d.ts +6 -5
- package/dist/graph/index.js +1 -50
- package/dist/{graph-CCwGKLCm.d.ts → graph-BZGRXwOm.d.ts} +134 -31
- package/dist/{graph-DNCrvZSn.d.cts → graph-D48Qw9Cg.d.cts} +134 -31
- package/dist/index-8FSVk4Uf.d.ts +135 -0
- package/dist/index-9oDeHH2u.d.cts +291 -0
- package/dist/{messaging-XDoYablx.d.ts → index-B0c4cmIO.d.ts} +31 -93
- package/dist/{index-VdHQMPy1.d.ts → index-B1AmmSlb.d.ts} +1 -1
- package/dist/{index-VHqptjhu.d.cts → index-B2pwesl9.d.cts} +1 -1
- package/dist/index-BHvIquRZ.d.ts +1957 -0
- package/dist/{index-Dzk2hrlR.d.ts → index-BVHOrDwO.d.ts} +1 -1
- package/dist/{index-CxFrXH4m.d.ts → index-BWJV63ti.d.ts} +1 -1
- package/dist/{index-Xi3u0HCQ.d.cts → index-B_agccPe.d.cts} +1 -1
- package/dist/index-BgyGlizc.d.ts +163 -0
- package/dist/index-BpA5c4G9.d.ts +357 -0
- package/dist/index-BpIFjILY.d.cts +357 -0
- package/dist/{index-3lsddbbS.d.ts → index-Bqachn9_.d.ts} +1 -1
- package/dist/index-Btib9rsU.d.ts +607 -0
- package/dist/{index-wEn0eFe8.d.ts → index-BwM9BEkt.d.ts} +1 -1
- package/dist/index-BxJ86YZZ.d.cts +105 -0
- package/dist/{audit-DRlSzBu9.d.ts → index-C73n7lo-.d.cts} +27 -21
- package/dist/index-CEXXwWVH.d.cts +192 -0
- package/dist/index-CHEswufn.d.cts +163 -0
- package/dist/{index-C0svESO4.d.ts → index-CMn8S8Hw.d.ts} +1 -1
- package/dist/{index-ByQxazQJ.d.cts → index-CRO83MmV.d.cts} +1 -1
- package/dist/{index-BuEoe-Qu.d.ts → index-CloUk1kY.d.ts} +9 -9
- package/dist/index-CpgYhnrG.d.ts +291 -0
- package/dist/{index-DO_6JN9Z.d.cts → index-Cyojz0AE.d.cts} +1 -1
- package/dist/{demo-shell-BDkOptd6.d.ts → index-CzobVSMr.d.ts} +14 -14
- package/dist/index-Czq6ynh8.d.ts +143 -0
- package/dist/{index-BaSM3aYt.d.ts → index-D-YB-Vl3.d.ts} +3 -3
- package/dist/index-DAlweici.d.ts +231 -0
- package/dist/index-DEwTb_fm.d.cts +1957 -0
- package/dist/{index-DYme44FM.d.cts → index-DL-rYJrx.d.cts} +1 -1
- package/dist/{memory-li6FL5RM.d.ts → index-DP4ZTkdw.d.ts} +26 -26
- package/dist/{index-BwfLUNw4.d.ts → index-DUqMOlKZ.d.cts} +173 -2040
- package/dist/{index-B1tloyhO.d.cts → index-D_NwnRYS.d.cts} +1 -1
- package/dist/index-DaLJvH8Z.d.ts +105 -0
- package/dist/index-DcXZBF5a.d.cts +135 -0
- package/dist/index-DfyOkTvs.d.ts +321 -0
- package/dist/{index-B9B7_HEY.d.ts → index-DiOXyAwt.d.ts} +1 -1
- package/dist/index-DpHe5e0Q.d.ts +186 -0
- package/dist/index-DraikLjn.d.ts +86 -0
- package/dist/{index-D8wS_PeY.d.cts → index-DxsnAMWD.d.cts} +9 -9
- package/dist/{messaging-Gt4LPbyA.d.cts → index-DyxjtScX.d.cts} +31 -93
- package/dist/{audit-ClmqGOCx.d.cts → index-HDpJe9hX.d.ts} +27 -21
- package/dist/{index-DVGiGFGT.d.cts → index-O6TgGUBV.d.cts} +3 -3
- package/dist/{index-B6EhDnjH.d.cts → index-Oi8d8w4R.d.cts} +1 -1
- package/dist/{index-C8oil6M6.d.ts → index-ROpQmGjE.d.ts} +30 -6
- package/dist/index-RukJ4DLS.d.cts +607 -0
- package/dist/{index-BHlKbUwO.d.cts → index-ZftwfxJM.d.ts} +173 -2040
- package/dist/{index-BPVt8kqc.d.ts → index-cByzxQIC.d.cts} +10 -195
- package/dist/index-dtN7YA2x.d.cts +143 -0
- package/dist/{index-CI3DprxP.d.cts → index-fM6y00vT.d.cts} +30 -6
- package/dist/{index-DlLp-2Xn.d.cts → index-m-yHof5p.d.ts} +10 -195
- package/dist/index-pXrDMpRO.d.cts +231 -0
- package/dist/index-rHJSKsU8.d.cts +186 -0
- package/dist/index-rX8HBM5h.d.cts +321 -0
- package/dist/{index-CO8uBlUh.d.cts → index-rnwQly8X.d.cts} +147 -20
- package/dist/index-sm373fsH.d.ts +192 -0
- package/dist/{memory-C6Z2tGpC.d.cts → index-tbf2gKHd.d.cts} +26 -26
- package/dist/{demo-shell-Crid1WdR.d.cts → index-u15meRxL.d.cts} +14 -14
- package/dist/{index-B6D3QNSA.d.ts → index-umtoWT8K.d.ts} +147 -20
- package/dist/index-vscRDkjW.d.cts +86 -0
- package/dist/index.cjs +150 -24142
- package/dist/index.d.cts +69 -2099
- package/dist/index.d.ts +69 -2099
- package/dist/index.js +1 -3868
- package/dist/{meta-CbznRPYJ.d.ts → meta-Cgj6zeji.d.cts} +5 -5
- package/dist/{meta-BxCA7rcr.d.cts → meta-CwesDrMD.d.ts} +5 -5
- package/dist/{node-BmerH3kS.d.cts → node-Cc1TniY8.d.cts} +36 -9
- package/dist/{node-BmerH3kS.d.ts → node-Cc1TniY8.d.ts} +36 -9
- package/dist/{observable-BgGUwcqp.d.ts → observable-Ct-gJ9jI.d.ts} +1 -1
- package/dist/{observable-DJt_AxzQ.d.cts → observable-glXQoGj2.d.cts} +1 -1
- package/dist/patterns/ai/browser.cjs +25 -0
- package/dist/patterns/ai/browser.d.cts +127 -0
- package/dist/patterns/ai/browser.d.ts +127 -0
- package/dist/patterns/ai/browser.js +3 -0
- package/dist/patterns/ai/index.cjs +91 -0
- package/dist/patterns/ai/index.d.cts +17 -0
- package/dist/patterns/ai/index.d.ts +17 -0
- package/dist/patterns/ai/index.js +1 -0
- package/dist/patterns/ai/node.cjs +2 -0
- package/dist/patterns/ai/node.d.cts +58 -0
- package/dist/patterns/ai/node.d.ts +58 -0
- package/dist/patterns/ai/node.js +1 -0
- package/dist/patterns/audit/index.cjs +6 -0
- package/dist/patterns/audit/index.d.cts +6 -0
- package/dist/patterns/audit/index.d.ts +6 -0
- package/dist/patterns/audit/index.js +1 -0
- package/dist/patterns/cqrs/index.cjs +6 -0
- package/dist/patterns/cqrs/index.d.cts +5 -0
- package/dist/patterns/cqrs/index.d.ts +5 -0
- package/dist/patterns/cqrs/index.js +1 -0
- package/dist/patterns/demo-shell/index.cjs +7 -0
- package/dist/patterns/demo-shell/index.d.cts +6 -0
- package/dist/patterns/demo-shell/index.d.ts +6 -0
- package/dist/patterns/demo-shell/index.js +1 -0
- package/dist/patterns/domain-templates/index.cjs +6 -0
- package/dist/patterns/domain-templates/index.d.cts +5 -0
- package/dist/patterns/domain-templates/index.d.ts +5 -0
- package/dist/patterns/domain-templates/index.js +1 -0
- package/dist/patterns/graphspec/index.cjs +83 -0
- package/dist/patterns/graphspec/index.d.cts +7 -0
- package/dist/patterns/graphspec/index.d.ts +7 -0
- package/dist/patterns/graphspec/index.js +1 -0
- package/dist/patterns/guarded-execution/index.cjs +6 -0
- package/dist/patterns/guarded-execution/index.d.cts +7 -0
- package/dist/patterns/guarded-execution/index.d.ts +7 -0
- package/dist/patterns/guarded-execution/index.js +1 -0
- package/dist/patterns/harness/index.cjs +48 -0
- package/dist/patterns/harness/index.d.cts +8 -0
- package/dist/patterns/harness/index.d.ts +8 -0
- package/dist/patterns/harness/index.js +1 -0
- package/dist/patterns/job-queue/index.cjs +6 -0
- package/dist/patterns/job-queue/index.d.cts +5 -0
- package/dist/patterns/job-queue/index.d.ts +5 -0
- package/dist/patterns/job-queue/index.js +1 -0
- package/dist/patterns/lens/index.cjs +6 -0
- package/dist/patterns/lens/index.d.cts +7 -0
- package/dist/patterns/lens/index.d.ts +7 -0
- package/dist/patterns/lens/index.js +1 -0
- package/dist/patterns/memory/index.cjs +6 -0
- package/dist/patterns/memory/index.d.cts +5 -0
- package/dist/patterns/memory/index.d.ts +5 -0
- package/dist/patterns/memory/index.js +1 -0
- package/dist/patterns/messaging/index.cjs +6 -0
- package/dist/patterns/messaging/index.d.cts +5 -0
- package/dist/patterns/messaging/index.d.ts +5 -0
- package/dist/patterns/messaging/index.js +1 -0
- package/dist/patterns/orchestration/index.cjs +6 -0
- package/dist/patterns/orchestration/index.d.cts +6 -0
- package/dist/patterns/orchestration/index.d.ts +6 -0
- package/dist/patterns/orchestration/index.js +1 -0
- package/dist/patterns/reactive-layout/index.cjs +7 -6444
- package/dist/patterns/reactive-layout/index.d.cts +6 -6
- package/dist/patterns/reactive-layout/index.d.ts +6 -6
- package/dist/patterns/reactive-layout/index.js +1 -56
- package/dist/patterns/reduction/index.cjs +6 -0
- package/dist/patterns/reduction/index.d.cts +5 -0
- package/dist/patterns/reduction/index.d.ts +5 -0
- package/dist/patterns/reduction/index.js +1 -0
- package/dist/patterns/refine-loop/index.cjs +8 -0
- package/dist/patterns/refine-loop/index.d.cts +7 -0
- package/dist/patterns/refine-loop/index.d.ts +7 -0
- package/dist/patterns/refine-loop/index.js +1 -0
- package/dist/patterns/resilient-pipeline/index.cjs +1 -0
- package/dist/patterns/resilient-pipeline/index.d.cts +7 -0
- package/dist/patterns/resilient-pipeline/index.d.ts +7 -0
- package/dist/patterns/resilient-pipeline/index.js +1 -0
- package/dist/patterns/surface/index.cjs +14 -0
- package/dist/patterns/surface/index.d.cts +8 -0
- package/dist/patterns/surface/index.d.ts +8 -0
- package/dist/patterns/surface/index.js +1 -0
- package/dist/{reactive-layout-MQP--J3F.d.cts → reactive-layout-CpYb5qLP.d.cts} +2 -2
- package/dist/{reactive-layout-u5Ulnqag.d.ts → reactive-layout-D8u4wuUR.d.ts} +2 -2
- package/dist/reactive-log-DPzuUDj5.d.cts +190 -0
- package/dist/reactive-log-YuH9VYN8.d.ts +190 -0
- package/dist/{composite-aUCvjZVR.d.ts → reactive-map-CdbNoSgP.d.ts} +2 -67
- package/dist/{composite-C7PcQvcs.d.cts → reactive-map-DUeRmb9d.d.cts} +2 -67
- package/dist/resilience-Ba5-b4WD.d.cts +493 -0
- package/dist/resilience-CGRzhnD3.d.ts +493 -0
- package/dist/resilience-QAHKANT5.js +1 -0
- package/dist/{sugar-D02n5JjF.d.cts → sugar-BV0htudb.d.cts} +8 -4
- package/dist/{sugar-CCOxXK1e.d.ts → sugar-Dtyrq2_q.d.ts} +8 -4
- package/dist/topology-tree-CYHOwQZ_.d.ts +25 -0
- package/dist/topology-tree-DROUdq5B.d.cts +25 -0
- package/dist/types-O3GzJY2U.d.cts +401 -0
- package/dist/types-u64Ose53.d.ts +401 -0
- package/package.json +252 -22
- package/dist/ai-CaR_912Q.d.cts +0 -1033
- package/dist/ai-WlRltJV7.d.ts +0 -1033
- package/dist/chunk-3ZWCKRHX.js +0 -117
- package/dist/chunk-3ZWCKRHX.js.map +0 -1
- package/dist/chunk-7TAQJHQV.js +0 -103
- package/dist/chunk-7TAQJHQV.js.map +0 -1
- package/dist/chunk-APFNLIRG.js +0 -62
- package/dist/chunk-APFNLIRG.js.map +0 -1
- package/dist/chunk-AT5LKYNL.js +0 -395
- package/dist/chunk-AT5LKYNL.js.map +0 -1
- package/dist/chunk-BQ6RQQFF.js +0 -5087
- package/dist/chunk-BQ6RQQFF.js.map +0 -1
- package/dist/chunk-BVZYTZ5H.js +0 -599
- package/dist/chunk-BVZYTZ5H.js.map +0 -1
- package/dist/chunk-DST5DKZS.js +0 -1371
- package/dist/chunk-DST5DKZS.js.map +0 -1
- package/dist/chunk-GTE6PWRZ.js +0 -866
- package/dist/chunk-GTE6PWRZ.js.map +0 -1
- package/dist/chunk-HXZEYDUR.js +0 -94
- package/dist/chunk-HXZEYDUR.js.map +0 -1
- package/dist/chunk-J22W6HV3.js +0 -107
- package/dist/chunk-J22W6HV3.js.map +0 -1
- package/dist/chunk-J2VBW3DZ.js +0 -302
- package/dist/chunk-J2VBW3DZ.js.map +0 -1
- package/dist/chunk-JSCT3CR4.js +0 -38
- package/dist/chunk-JSCT3CR4.js.map +0 -1
- package/dist/chunk-JWBCY4NC.js +0 -330
- package/dist/chunk-JWBCY4NC.js.map +0 -1
- package/dist/chunk-K2AUJHVP.js +0 -2251
- package/dist/chunk-K2AUJHVP.js.map +0 -1
- package/dist/chunk-MJ2NKQQL.js +0 -119
- package/dist/chunk-MJ2NKQQL.js.map +0 -1
- package/dist/chunk-N6UR7YVY.js +0 -198
- package/dist/chunk-N6UR7YVY.js.map +0 -1
- package/dist/chunk-NC6S43JJ.js +0 -456
- package/dist/chunk-NC6S43JJ.js.map +0 -1
- package/dist/chunk-OFVJBJXR.js +0 -98
- package/dist/chunk-OFVJBJXR.js.map +0 -1
- package/dist/chunk-OHISZPOJ.js +0 -97
- package/dist/chunk-OHISZPOJ.js.map +0 -1
- package/dist/chunk-OU5CQKNW.js +0 -102
- package/dist/chunk-OU5CQKNW.js.map +0 -1
- package/dist/chunk-PF7GRZMW.js +0 -2712
- package/dist/chunk-PF7GRZMW.js.map +0 -1
- package/dist/chunk-PHOUUNK7.js +0 -2291
- package/dist/chunk-PHOUUNK7.js.map +0 -1
- package/dist/chunk-RNHBMHKA.js +0 -1665
- package/dist/chunk-RNHBMHKA.js.map +0 -1
- package/dist/chunk-SX52TAR4.js +0 -110
- package/dist/chunk-SX52TAR4.js.map +0 -1
- package/dist/chunk-VYPWMZ6H.js +0 -98
- package/dist/chunk-VYPWMZ6H.js.map +0 -1
- package/dist/chunk-WBZOVTYK.js +0 -171
- package/dist/chunk-WBZOVTYK.js.map +0 -1
- package/dist/chunk-WKNUIZOY.js +0 -354
- package/dist/chunk-WKNUIZOY.js.map +0 -1
- package/dist/chunk-X3VMZYBT.js +0 -713
- package/dist/chunk-X3VMZYBT.js.map +0 -1
- package/dist/chunk-X5R3GL6H.js +0 -525
- package/dist/chunk-X5R3GL6H.js.map +0 -1
- package/dist/chunk-XGPU467M.js +0 -136
- package/dist/chunk-XGPU467M.js.map +0 -1
- package/dist/compat/index.cjs.map +0 -1
- package/dist/compat/index.js.map +0 -1
- package/dist/compat/jotai/index.cjs.map +0 -1
- package/dist/compat/jotai/index.js.map +0 -1
- package/dist/compat/nanostores/index.cjs.map +0 -1
- package/dist/compat/nanostores/index.js.map +0 -1
- package/dist/compat/nestjs/index.cjs.map +0 -1
- package/dist/compat/nestjs/index.js.map +0 -1
- package/dist/compat/react/index.cjs.map +0 -1
- package/dist/compat/react/index.js.map +0 -1
- package/dist/compat/solid/index.cjs.map +0 -1
- package/dist/compat/solid/index.js.map +0 -1
- package/dist/compat/svelte/index.cjs.map +0 -1
- package/dist/compat/svelte/index.js.map +0 -1
- package/dist/compat/vue/index.cjs.map +0 -1
- package/dist/compat/vue/index.js.map +0 -1
- package/dist/compat/zustand/index.cjs.map +0 -1
- package/dist/compat/zustand/index.js.map +0 -1
- package/dist/core/index.cjs.map +0 -1
- package/dist/core/index.js.map +0 -1
- package/dist/extra/index.cjs.map +0 -1
- package/dist/extra/index.js.map +0 -1
- package/dist/extra/sources.cjs.map +0 -1
- package/dist/extra/sources.js.map +0 -1
- package/dist/graph/index.cjs.map +0 -1
- package/dist/graph/index.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/patterns/ai.cjs +0 -7930
- package/dist/patterns/ai.cjs.map +0 -1
- package/dist/patterns/ai.d.cts +0 -10
- package/dist/patterns/ai.d.ts +0 -10
- package/dist/patterns/ai.js +0 -71
- package/dist/patterns/ai.js.map +0 -1
- package/dist/patterns/audit.cjs +0 -5805
- package/dist/patterns/audit.cjs.map +0 -1
- package/dist/patterns/audit.d.cts +0 -6
- package/dist/patterns/audit.d.ts +0 -6
- package/dist/patterns/audit.js +0 -29
- package/dist/patterns/audit.js.map +0 -1
- package/dist/patterns/demo-shell.cjs +0 -5604
- package/dist/patterns/demo-shell.cjs.map +0 -1
- package/dist/patterns/demo-shell.d.cts +0 -6
- package/dist/patterns/demo-shell.d.ts +0 -6
- package/dist/patterns/demo-shell.js +0 -15
- package/dist/patterns/demo-shell.js.map +0 -1
- package/dist/patterns/memory.cjs +0 -5283
- package/dist/patterns/memory.cjs.map +0 -1
- package/dist/patterns/memory.d.cts +0 -5
- package/dist/patterns/memory.d.ts +0 -5
- package/dist/patterns/memory.js +0 -20
- package/dist/patterns/memory.js.map +0 -1
- package/dist/patterns/reactive-layout/index.cjs.map +0 -1
- package/dist/patterns/reactive-layout/index.js.map +0 -1
- package/dist/storage-CMjUUuxn.d.ts +0 -190
- package/dist/storage-DdWlZo6U.d.cts +0 -190
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { a as Node } from './node-Cc1TniY8.js';
|
|
2
|
+
import { a as GraphOptions, G as Graph } from './graph-BZGRXwOm.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* CQRS patterns (roadmap §4.5).
|
|
6
|
+
*
|
|
7
|
+
* Composition layer over reactiveLog (3.2), pipeline/sagas (4.1), event bus (4.2),
|
|
8
|
+
* projections (4.3). Guards (1.5) enforce command/query boundary.
|
|
9
|
+
*
|
|
10
|
+
* - `cqrs(name, opts?)` → `CqrsGraph` — top-level factory
|
|
11
|
+
* - `CqrsGraph.command(name, handler)` — write-only node; guard rejects `observe`
|
|
12
|
+
* - `CqrsGraph.event(name)` — backed by `reactiveLog`; append-only
|
|
13
|
+
* - `CqrsGraph.projection(name, events, reducer, initial)` — read-only derived; guard rejects `write`
|
|
14
|
+
* - `CqrsGraph.saga(name, events, handler)` — event-driven side effects
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Immutable envelope for events emitted by command handlers.
|
|
19
|
+
*
|
|
20
|
+
* `seq` is a per-graph monotonic counter that provides stable ordering when
|
|
21
|
+
* multiple events share the same `timestampNs` (same wall-clock tick).
|
|
22
|
+
*/
|
|
23
|
+
type CqrsEvent<T = unknown> = {
|
|
24
|
+
type: string;
|
|
25
|
+
payload: T;
|
|
26
|
+
/** Wall-clock nanoseconds (via `wallClockNs()`). */
|
|
27
|
+
timestampNs: number;
|
|
28
|
+
/** Monotonic sequence within this CqrsGraph instance. */
|
|
29
|
+
seq: number;
|
|
30
|
+
/** V0 identity of the event log node at append time (§6.0b). */
|
|
31
|
+
v0?: {
|
|
32
|
+
id: string;
|
|
33
|
+
version: number;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Opaque replay cursor returned by `loadEvents`. Pass it back to
|
|
38
|
+
* `loadEvents` to resume from the last position.
|
|
39
|
+
*/
|
|
40
|
+
type EventStoreCursor = {
|
|
41
|
+
readonly __brand?: "EventStoreCursor";
|
|
42
|
+
[key: string]: unknown;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Result of `loadEvents` — events plus an opaque cursor for resumption.
|
|
46
|
+
*/
|
|
47
|
+
type LoadEventsResult = {
|
|
48
|
+
events: CqrsEvent[];
|
|
49
|
+
cursor: EventStoreCursor | undefined;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Pluggable persistence for CQRS events.
|
|
53
|
+
*
|
|
54
|
+
* **`persist`:** Must be synchronous. Called from the dispatch path inside
|
|
55
|
+
* `batch()`. Adapters that need async I/O should buffer internally and
|
|
56
|
+
* expose a `flush()` method for explicit drain.
|
|
57
|
+
*/
|
|
58
|
+
interface EventStoreAdapter {
|
|
59
|
+
persist(event: CqrsEvent): void;
|
|
60
|
+
/**
|
|
61
|
+
* Load persisted events. When `cursor` is provided, returns only events
|
|
62
|
+
* after that position. The returned `cursor` should be passed to the next
|
|
63
|
+
* `loadEvents` call for incremental replay.
|
|
64
|
+
*/
|
|
65
|
+
loadEvents(eventType: string, cursor?: EventStoreCursor): LoadEventsResult | Promise<LoadEventsResult>;
|
|
66
|
+
/** Optional explicit flush for adapters with async I/O. */
|
|
67
|
+
flush?(): Promise<void>;
|
|
68
|
+
}
|
|
69
|
+
declare class MemoryEventStore implements EventStoreAdapter {
|
|
70
|
+
private readonly _store;
|
|
71
|
+
persist(event: CqrsEvent): void;
|
|
72
|
+
loadEvents(eventType: string, cursor?: EventStoreCursor): LoadEventsResult;
|
|
73
|
+
clear(): void;
|
|
74
|
+
}
|
|
75
|
+
type CommandActions = {
|
|
76
|
+
/** Append an event to a named event log (bypasses event guard). */
|
|
77
|
+
emit: (eventName: string, payload: unknown) => void;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Command handler receives the dispatch payload and actions to emit events.
|
|
81
|
+
*
|
|
82
|
+
* **Purity:** Handlers should not mutate the payload. Event emission via
|
|
83
|
+
* `actions.emit()` is the only sanctioned side effect.
|
|
84
|
+
*/
|
|
85
|
+
type CommandHandler<T = unknown> = (payload: T, actions: CommandActions) => void;
|
|
86
|
+
/**
|
|
87
|
+
* Projection reducer folds events into a read model.
|
|
88
|
+
*
|
|
89
|
+
* **Purity contract:** Reducers MUST be pure — return a new state value
|
|
90
|
+
* without mutating `state` or any event. The `state` parameter is the
|
|
91
|
+
* original `initial` value on every invocation (full event-sourcing replay),
|
|
92
|
+
* so mutation would corrupt future recomputations.
|
|
93
|
+
*/
|
|
94
|
+
type ProjectionReducer<TState = unknown, TEvent = unknown> = (state: TState, events: readonly CqrsEvent<TEvent>[]) => TState;
|
|
95
|
+
type SagaHandler<T = unknown> = (event: CqrsEvent<T>) => void;
|
|
96
|
+
type CqrsOptions = {
|
|
97
|
+
graph?: GraphOptions;
|
|
98
|
+
};
|
|
99
|
+
declare class CqrsGraph extends Graph {
|
|
100
|
+
private readonly _eventLogs;
|
|
101
|
+
private readonly _commandHandlers;
|
|
102
|
+
private readonly _projections;
|
|
103
|
+
private readonly _sagas;
|
|
104
|
+
private readonly _keepaliveDisposers;
|
|
105
|
+
private _eventStore;
|
|
106
|
+
private _seq;
|
|
107
|
+
constructor(name: string, opts?: CqrsOptions);
|
|
108
|
+
destroy(): void;
|
|
109
|
+
/**
|
|
110
|
+
* Register a named event stream backed by `reactiveLog`.
|
|
111
|
+
* Guard denies external `write` — only commands append internally.
|
|
112
|
+
*/
|
|
113
|
+
event(name: string): Node<readonly CqrsEvent[]>;
|
|
114
|
+
/** Internal: append to an event log, auto-registering if needed. */
|
|
115
|
+
private _appendEvent;
|
|
116
|
+
/**
|
|
117
|
+
* Register a command with its handler. Guard denies `observe` (write-only).
|
|
118
|
+
* Use `dispatch(name, payload)` to execute.
|
|
119
|
+
*
|
|
120
|
+
* The command node carries dynamic `meta.error` — a reactive companion
|
|
121
|
+
* that holds the last handler error (or `null` on success).
|
|
122
|
+
*/
|
|
123
|
+
command<T = unknown>(name: string, handler: CommandHandler<T>): Node<T>;
|
|
124
|
+
/**
|
|
125
|
+
* Execute a registered command. Wraps the entire dispatch in `batch()` so
|
|
126
|
+
* the command node DATA and all emitted events settle atomically.
|
|
127
|
+
*
|
|
128
|
+
* If the handler throws, `meta.error` on the command node is set to the
|
|
129
|
+
* error and the exception is re-thrown.
|
|
130
|
+
*/
|
|
131
|
+
dispatch<T = unknown>(commandName: string, payload: T): void;
|
|
132
|
+
/**
|
|
133
|
+
* Register a read-only projection derived from event streams.
|
|
134
|
+
* Guard denies `write` — value is computed from events only.
|
|
135
|
+
*
|
|
136
|
+
* **Purity contract:** The `reducer` must be a pure function — it receives
|
|
137
|
+
* the original `initial` on every invocation (full event-sourcing replay).
|
|
138
|
+
* Never mutate `initial`; always return a new value.
|
|
139
|
+
*/
|
|
140
|
+
projection<TState>(name: string, eventNames: readonly string[], reducer: ProjectionReducer<TState>, initial: TState): Node<TState>;
|
|
141
|
+
/**
|
|
142
|
+
* Register an event-driven side effect. Runs handler for each **new** event
|
|
143
|
+
* from the specified streams (tracks last-processed entry count per stream).
|
|
144
|
+
*
|
|
145
|
+
* The saga node carries dynamic `meta.error` — a reactive companion that
|
|
146
|
+
* holds the last handler error (or `null` on success). Handler errors do
|
|
147
|
+
* not propagate out of the saga run (the event cursor still advances so
|
|
148
|
+
* the same entry is not delivered twice).
|
|
149
|
+
*/
|
|
150
|
+
saga<T = unknown>(name: string, eventNames: readonly string[], handler: SagaHandler<T>): Node<unknown>;
|
|
151
|
+
useEventStore(adapter: EventStoreAdapter): void;
|
|
152
|
+
/**
|
|
153
|
+
* Replay persisted events through a reducer to rebuild a read model.
|
|
154
|
+
* Requires an event store adapter wired via `useEventStore()`.
|
|
155
|
+
*/
|
|
156
|
+
rebuildProjection<TState>(eventNames: readonly string[], reducer: ProjectionReducer<TState>, initial: TState): Promise<TState>;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Create a CQRS graph container.
|
|
160
|
+
*
|
|
161
|
+
* @example
|
|
162
|
+
* ```ts
|
|
163
|
+
* const app = cqrs("orders");
|
|
164
|
+
* app.event("orderPlaced");
|
|
165
|
+
* app.command("placeOrder", (payload, { emit }) => {
|
|
166
|
+
* emit("orderPlaced", { orderId: payload.id, amount: payload.amount });
|
|
167
|
+
* });
|
|
168
|
+
* app.projection("orderCount", ["orderPlaced"], (_s, events) => events.length, 0);
|
|
169
|
+
* app.dispatch("placeOrder", { id: "1", amount: 100 });
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
declare function cqrs(name: string, opts?: CqrsOptions): CqrsGraph;
|
|
173
|
+
|
|
174
|
+
type index_CommandActions = CommandActions;
|
|
175
|
+
type index_CommandHandler<T = unknown> = CommandHandler<T>;
|
|
176
|
+
type index_CqrsEvent<T = unknown> = CqrsEvent<T>;
|
|
177
|
+
type index_CqrsGraph = CqrsGraph;
|
|
178
|
+
declare const index_CqrsGraph: typeof CqrsGraph;
|
|
179
|
+
type index_CqrsOptions = CqrsOptions;
|
|
180
|
+
type index_EventStoreAdapter = EventStoreAdapter;
|
|
181
|
+
type index_EventStoreCursor = EventStoreCursor;
|
|
182
|
+
type index_LoadEventsResult = LoadEventsResult;
|
|
183
|
+
type index_MemoryEventStore = MemoryEventStore;
|
|
184
|
+
declare const index_MemoryEventStore: typeof MemoryEventStore;
|
|
185
|
+
type index_ProjectionReducer<TState = unknown, TEvent = unknown> = ProjectionReducer<TState, TEvent>;
|
|
186
|
+
type index_SagaHandler<T = unknown> = SagaHandler<T>;
|
|
187
|
+
declare const index_cqrs: typeof cqrs;
|
|
188
|
+
declare namespace index {
|
|
189
|
+
export { type index_CommandActions as CommandActions, type index_CommandHandler as CommandHandler, type index_CqrsEvent as CqrsEvent, index_CqrsGraph as CqrsGraph, type index_CqrsOptions as CqrsOptions, type index_EventStoreAdapter as EventStoreAdapter, type index_EventStoreCursor as EventStoreCursor, type index_LoadEventsResult as LoadEventsResult, index_MemoryEventStore as MemoryEventStore, type index_ProjectionReducer as ProjectionReducer, type index_SagaHandler as SagaHandler, index_cqrs as cqrs };
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export { type CqrsOptions as C, type EventStoreAdapter as E, type LoadEventsResult as L, MemoryEventStore as M, type ProjectionReducer as P, type SagaHandler as S, CqrsGraph as a, type CommandActions as b, type CommandHandler as c, type CqrsEvent as d, type EventStoreCursor as e, cqrs as f, index as i };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { a as Node } from './node-Cc1TniY8.cjs';
|
|
2
|
+
import { G as Graph } from './graph-D48Qw9Cg.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Memory patterns (roadmap §4.3).
|
|
@@ -111,29 +111,29 @@ declare function collection<T>(name: string, opts?: CollectionOptions<T>): Colle
|
|
|
111
111
|
declare function vectorIndex<TMeta>(opts?: VectorIndexOptions<TMeta>): VectorIndexBundle<TMeta>;
|
|
112
112
|
declare function knowledgeGraph<TEntity, TRelation extends string = string>(name: string): KnowledgeGraphGraph<TEntity, TRelation>;
|
|
113
113
|
|
|
114
|
-
type
|
|
115
|
-
type
|
|
116
|
-
type
|
|
117
|
-
type
|
|
118
|
-
type
|
|
119
|
-
type
|
|
120
|
-
type
|
|
121
|
-
type
|
|
122
|
-
type
|
|
123
|
-
type
|
|
124
|
-
type
|
|
125
|
-
type
|
|
126
|
-
type
|
|
127
|
-
type
|
|
128
|
-
type
|
|
129
|
-
type
|
|
130
|
-
declare const
|
|
131
|
-
declare const
|
|
132
|
-
declare const
|
|
133
|
-
declare const
|
|
134
|
-
declare const
|
|
135
|
-
declare namespace
|
|
136
|
-
export { type
|
|
114
|
+
type index_CollectionEntry<T> = CollectionEntry<T>;
|
|
115
|
+
type index_CollectionGraph<T> = CollectionGraph<T>;
|
|
116
|
+
type index_CollectionOptions<T> = CollectionOptions<T>;
|
|
117
|
+
type index_CollectionPolicy = CollectionPolicy;
|
|
118
|
+
type index_HnswAdapter<TMeta> = HnswAdapter<TMeta>;
|
|
119
|
+
type index_KnowledgeEdge<TRelation extends string = string> = KnowledgeEdge<TRelation>;
|
|
120
|
+
type index_KnowledgeGraphGraph<TEntity, TRelation extends string = string> = KnowledgeGraphGraph<TEntity, TRelation>;
|
|
121
|
+
type index_LightCollectionBundle<T> = LightCollectionBundle<T>;
|
|
122
|
+
type index_LightCollectionEntry<T> = LightCollectionEntry<T>;
|
|
123
|
+
type index_LightCollectionOptions = LightCollectionOptions;
|
|
124
|
+
type index_RankedCollectionEntry<T> = RankedCollectionEntry<T>;
|
|
125
|
+
type index_VectorBackend = VectorBackend;
|
|
126
|
+
type index_VectorIndexBundle<TMeta> = VectorIndexBundle<TMeta>;
|
|
127
|
+
type index_VectorIndexOptions<TMeta> = VectorIndexOptions<TMeta>;
|
|
128
|
+
type index_VectorRecord<TMeta> = VectorRecord<TMeta>;
|
|
129
|
+
type index_VectorSearchResult<TMeta> = VectorSearchResult<TMeta>;
|
|
130
|
+
declare const index_collection: typeof collection;
|
|
131
|
+
declare const index_decay: typeof decay;
|
|
132
|
+
declare const index_knowledgeGraph: typeof knowledgeGraph;
|
|
133
|
+
declare const index_lightCollection: typeof lightCollection;
|
|
134
|
+
declare const index_vectorIndex: typeof vectorIndex;
|
|
135
|
+
declare namespace index {
|
|
136
|
+
export { type index_CollectionEntry as CollectionEntry, type index_CollectionGraph as CollectionGraph, type index_CollectionOptions as CollectionOptions, type index_CollectionPolicy as CollectionPolicy, type index_HnswAdapter as HnswAdapter, type index_KnowledgeEdge as KnowledgeEdge, type index_KnowledgeGraphGraph as KnowledgeGraphGraph, type index_LightCollectionBundle as LightCollectionBundle, type index_LightCollectionEntry as LightCollectionEntry, type index_LightCollectionOptions as LightCollectionOptions, type index_RankedCollectionEntry as RankedCollectionEntry, type index_VectorBackend as VectorBackend, type index_VectorIndexBundle as VectorIndexBundle, type index_VectorIndexOptions as VectorIndexOptions, type index_VectorRecord as VectorRecord, type index_VectorSearchResult as VectorSearchResult, index_collection as collection, index_decay as decay, index_knowledgeGraph as knowledgeGraph, index_lightCollection as lightCollection, index_vectorIndex as vectorIndex };
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
export { type CollectionEntry as C, type HnswAdapter as H, type KnowledgeGraphGraph as K, type LightCollectionBundle as L, type RankedCollectionEntry as R, type VectorIndexBundle as V, type VectorSearchResult as a, type CollectionGraph as b, type CollectionOptions as c, type CollectionPolicy as d, type KnowledgeEdge as e, type LightCollectionEntry as f, type LightCollectionOptions as g, type VectorBackend as h,
|
|
139
|
+
export { type CollectionEntry as C, type HnswAdapter as H, type KnowledgeGraphGraph as K, type LightCollectionBundle as L, type RankedCollectionEntry as R, type VectorIndexBundle as V, type VectorSearchResult as a, type CollectionGraph as b, type CollectionOptions as c, type CollectionPolicy as d, type KnowledgeEdge as e, type LightCollectionEntry as f, type LightCollectionOptions as g, type VectorBackend as h, index as i, type VectorIndexOptions as j, type VectorRecord as k, collection as l, decay as m, knowledgeGraph as n, lightCollection as o, vectorIndex as v };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { M as MeasurementAdapter } from './reactive-layout-
|
|
1
|
+
import { G as Graph } from './graph-D48Qw9Cg.cjs';
|
|
2
|
+
import { M as MeasurementAdapter } from './reactive-layout-CpYb5qLP.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Three-pane demo shell (roadmap §7.2).
|
|
@@ -86,17 +86,17 @@ type DemoShellHandle = {
|
|
|
86
86
|
*/
|
|
87
87
|
declare function demoShell(opts?: DemoShellOptions): DemoShellHandle;
|
|
88
88
|
|
|
89
|
-
type
|
|
90
|
-
type
|
|
91
|
-
type
|
|
92
|
-
type
|
|
93
|
-
type
|
|
94
|
-
type
|
|
95
|
-
type
|
|
96
|
-
type
|
|
97
|
-
declare const
|
|
98
|
-
declare namespace
|
|
99
|
-
export { type
|
|
89
|
+
type index_DemoShellHandle = DemoShellHandle;
|
|
90
|
+
type index_DemoShellOptions = DemoShellOptions;
|
|
91
|
+
type index_FullscreenPane = FullscreenPane;
|
|
92
|
+
type index_GraphLabelSize = GraphLabelSize;
|
|
93
|
+
type index_HighlightCallbacks = HighlightCallbacks;
|
|
94
|
+
type index_HoverPaneType = HoverPaneType;
|
|
95
|
+
type index_HoverTarget = HoverTarget;
|
|
96
|
+
type index_NodeRegistry = NodeRegistry;
|
|
97
|
+
declare const index_demoShell: typeof demoShell;
|
|
98
|
+
declare namespace index {
|
|
99
|
+
export { type index_DemoShellHandle as DemoShellHandle, type index_DemoShellOptions as DemoShellOptions, type index_FullscreenPane as FullscreenPane, type index_GraphLabelSize as GraphLabelSize, type index_HighlightCallbacks as HighlightCallbacks, type index_HoverPaneType as HoverPaneType, type index_HoverTarget as HoverTarget, type index_NodeRegistry as NodeRegistry, index_demoShell as demoShell };
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
export { type DemoShellHandle as D, type FullscreenPane as F, type GraphLabelSize as G, type HighlightCallbacks as H, type NodeRegistry as N, type DemoShellOptions as a, type HoverPaneType as b, type HoverTarget as c, demoShell
|
|
102
|
+
export { type DemoShellHandle as D, type FullscreenPane as F, type GraphLabelSize as G, type HighlightCallbacks as H, type NodeRegistry as N, type DemoShellOptions as a, type HoverPaneType as b, type HoverTarget as c, demoShell as d, index as i };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { o as GraphReFlyConfig } from './node-Cc1TniY8.js';
|
|
2
|
+
import { d as GraphPersistSnapshot, i as GraphCheckpointRecord, G as Graph, C as CausalChain, e as CausalStep, D as DescribeFilter, E as ExplainPathOptions, f as GRAPH_META_SEGMENT, g as GraphActorOptions, h as GraphAttachStorageOptions, b as GraphDescribeOptions, c as GraphDescribeOutput, j as GraphDiagramDirection, k as GraphDiagramOptions, l as GraphDiffChange, m as GraphDiffResult, n as GraphFactoryContext, o as GraphNodeFactory, p as GraphObserveAll, q as GraphObserveOne, a as GraphOptions, r as GraphProfileOptions, s as GraphProfileResult, t as GraphVersionChange, u as GraphWALDiff, N as NodeProfile, O as ObserveDetail, v as ObserveEvent, w as ObserveOptions, x as ObserveResult, y as ObserveTheme, z as ObserveThemeName, R as ReachableDirection, A as ReachableOptions, S as SNAPSHOT_VERSION, T as TopologyEvent, B as TraceEntry, F as diffForWAL, H as explainPath, I as graphProfile, J as mermaidLiveUrl, K as reachable } from './graph-BZGRXwOm.js';
|
|
3
|
+
import { w as watchTopologyTree } from './topology-tree-CYHOwQZ_.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Approximate in-memory size estimation for arbitrary JS values.
|
|
@@ -255,26 +256,146 @@ declare function registerBuiltinCodecs(config: GraphReFlyConfig): void;
|
|
|
255
256
|
declare function replayWAL(entries: readonly WALEntry[]): GraphPersistSnapshot;
|
|
256
257
|
|
|
257
258
|
/**
|
|
258
|
-
*
|
|
259
|
-
* mounted subgraph. `cb` fires on every {@link TopologyEvent} from any
|
|
260
|
-
* graph in the tree. Newly-mounted subgraphs are auto-wired when their
|
|
261
|
-
* parent emits `{kind: "added", nodeKind: "mount"}`; newly-unmounted
|
|
262
|
-
* subgraphs' subscriptions are disposed via the parent's
|
|
263
|
-
* `{kind: "removed", nodeKind: "mount"}` event plus the returned
|
|
264
|
-
* `GraphRemoveAudit`.
|
|
259
|
+
* Graph observability validation — smoke-exercise helper (D4).
|
|
265
260
|
*
|
|
266
|
-
*
|
|
267
|
-
*
|
|
268
|
-
*
|
|
269
|
-
*
|
|
261
|
+
* One library-level utility that walks every observability surface the library
|
|
262
|
+
* ships — `describe()`, `explain(from, to)`, `observe(path)` — and reports
|
|
263
|
+
* failures as a structured result. Non-throwing by default; composable into
|
|
264
|
+
* example dry-run paths, CI smoke tests, and MCP reduce-path validators.
|
|
270
265
|
*
|
|
271
|
-
*
|
|
272
|
-
*
|
|
273
|
-
*
|
|
266
|
+
* **Motivation.** Dry-run equivalence (CLAUDE.md) requires every observability
|
|
267
|
+
* call the real run exercises to also run under dry-run. Previously each
|
|
268
|
+
* example reimplemented the walk (inbox-reducer caught a `describe()`
|
|
269
|
+
* dangling-pointer bug only after adding an ad-hoc `graph.explain` check).
|
|
270
|
+
* This utility centralizes the smoke-exercise so regressions in
|
|
271
|
+
* `describe` / `explain` / `observe` surface BEFORE any wire spend.
|
|
274
272
|
*
|
|
275
|
-
*
|
|
273
|
+
* **Non-goals.** Not a deep correctness check. `describe()` structural
|
|
274
|
+
* invariants (dangling deps, duplicate paths) are what this catches; actual
|
|
275
|
+
* data assertions belong in application tests.
|
|
276
|
+
*
|
|
277
|
+
* @module
|
|
278
|
+
*/
|
|
279
|
+
|
|
280
|
+
/** Describe render formats exercised by {@link validateGraphObservability}. */
|
|
281
|
+
type ObservabilityDescribeFormat = "json" | "pretty" | "mermaid" | "mermaid-url" | "d2";
|
|
282
|
+
/** One observability check performed by {@link validateGraphObservability}. */
|
|
283
|
+
type ObservabilityCheck =
|
|
284
|
+
/** `describe()` was exercised and its structural invariants (nodes ⊇ deps) held. */
|
|
285
|
+
{
|
|
286
|
+
kind: "describe";
|
|
287
|
+
ok: true;
|
|
288
|
+
nodeCount: number;
|
|
289
|
+
edgeCount: number;
|
|
290
|
+
} | {
|
|
291
|
+
kind: "describe";
|
|
292
|
+
ok: false;
|
|
293
|
+
reason: string;
|
|
294
|
+
danglingDeps?: readonly string[];
|
|
295
|
+
}
|
|
296
|
+
/** `describe({ format })` render was exercised and produced non-empty output. */
|
|
297
|
+
| {
|
|
298
|
+
kind: "describe-format";
|
|
299
|
+
ok: true;
|
|
300
|
+
format: ObservabilityDescribeFormat;
|
|
301
|
+
length: number;
|
|
302
|
+
} | {
|
|
303
|
+
kind: "describe-format";
|
|
304
|
+
ok: false;
|
|
305
|
+
format: ObservabilityDescribeFormat;
|
|
306
|
+
reason: string;
|
|
307
|
+
}
|
|
308
|
+
/** `observe(path)` succeeded / failed. `path` is the requested path. */
|
|
309
|
+
| {
|
|
310
|
+
kind: "observe";
|
|
311
|
+
ok: true;
|
|
312
|
+
path: string;
|
|
313
|
+
} | {
|
|
314
|
+
kind: "observe";
|
|
315
|
+
ok: false;
|
|
316
|
+
path: string;
|
|
317
|
+
reason: string;
|
|
318
|
+
}
|
|
319
|
+
/** `explain(from, to)` succeeded / failed. `found` is the chain's found flag. */
|
|
320
|
+
| {
|
|
321
|
+
kind: "explain";
|
|
322
|
+
ok: true;
|
|
323
|
+
from: string;
|
|
324
|
+
to: string;
|
|
325
|
+
found: boolean;
|
|
326
|
+
steps: number;
|
|
327
|
+
} | {
|
|
328
|
+
kind: "explain";
|
|
329
|
+
ok: false;
|
|
330
|
+
from: string;
|
|
331
|
+
to: string;
|
|
332
|
+
reason: string;
|
|
333
|
+
};
|
|
334
|
+
/** Structured result returned by {@link validateGraphObservability}. */
|
|
335
|
+
interface ValidateObservabilityResult {
|
|
336
|
+
/** `true` iff every performed check passed (`ok: true`). */
|
|
337
|
+
readonly ok: boolean;
|
|
338
|
+
/** All checks performed, in the order they ran. */
|
|
339
|
+
readonly checks: readonly ObservabilityCheck[];
|
|
340
|
+
/** Convenience — checks with `ok: false`. */
|
|
341
|
+
readonly failures: readonly ObservabilityCheck[];
|
|
342
|
+
/** Single-line summary (e.g. for `process.stderr`). */
|
|
343
|
+
summary(): string;
|
|
344
|
+
}
|
|
345
|
+
/** Options for {@link validateGraphObservability}. */
|
|
346
|
+
interface ValidateObservabilityOptions {
|
|
347
|
+
/**
|
|
348
|
+
* Paths to exercise via `graph.observe(path)`. Each path is resolved against
|
|
349
|
+
* the same path grammar `graph.observe` / `graph.resolve` use. Non-existent
|
|
350
|
+
* paths are reported as observe failures.
|
|
351
|
+
*/
|
|
352
|
+
readonly paths?: readonly string[];
|
|
353
|
+
/**
|
|
354
|
+
* `(from, to)` pairs to exercise via `graph.explain(from, to)`. Each pair
|
|
355
|
+
* records `found` and `steps`; a pair where `found === false` does NOT
|
|
356
|
+
* fail the overall result — pass `requireFound: true` to tighten that.
|
|
357
|
+
*/
|
|
358
|
+
readonly pairs?: ReadonlyArray<readonly [from: string, to: string]>;
|
|
359
|
+
/**
|
|
360
|
+
* When `true`, `explain` pairs that return `found: false` count as failures.
|
|
361
|
+
* Default `true` — the common case is "assert this chain exists."
|
|
362
|
+
*/
|
|
363
|
+
readonly requireFound?: boolean;
|
|
364
|
+
/**
|
|
365
|
+
* When `true`, skip the `describe()` structural check (nodes ⊇ deps).
|
|
366
|
+
* Default `false`. Turn off only when your graph intentionally keeps
|
|
367
|
+
* untracked deps (rare — COMPOSITION-GUIDE §24 argues against it).
|
|
368
|
+
*/
|
|
369
|
+
readonly skipDescribe?: boolean;
|
|
370
|
+
/**
|
|
371
|
+
* Describe formats to exercise via `graph.describe({ format })`. Each
|
|
372
|
+
* format renders the graph once and checks that the result is a non-empty
|
|
373
|
+
* string. Useful in dry-run blocks so regressions in the render paths
|
|
374
|
+
* (mermaid, pretty, json, d2, mermaid-url) surface before any wire spend.
|
|
375
|
+
*/
|
|
376
|
+
readonly formats?: readonly ObservabilityDescribeFormat[];
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* Exercise every observability surface on `graph` and report failures.
|
|
380
|
+
*
|
|
381
|
+
* Does NOT throw — returns a structured result so callers (dry-run blocks,
|
|
382
|
+
* CLI smoke tests, MCP reduce-path validators) can exit non-zero with a
|
|
383
|
+
* diagnostic instead of letting the process crash mid-inspection.
|
|
384
|
+
*
|
|
385
|
+
* @example
|
|
386
|
+
* ```ts
|
|
387
|
+
* const result = validateGraphObservability(graph, {
|
|
388
|
+
* paths: ["input", "output"],
|
|
389
|
+
* pairs: [["input", "output"]],
|
|
390
|
+
* });
|
|
391
|
+
* if (!result.ok) {
|
|
392
|
+
* console.error(result.summary());
|
|
393
|
+
* for (const f of result.failures) console.error(f);
|
|
394
|
+
* process.exit(3);
|
|
395
|
+
* }
|
|
396
|
+
* ```
|
|
276
397
|
*/
|
|
277
|
-
declare function
|
|
398
|
+
declare function validateGraphObservability(graph: Graph, opts?: ValidateObservabilityOptions): ValidateObservabilityResult;
|
|
278
399
|
|
|
279
400
|
/**
|
|
280
401
|
* Graph container: registry, wiring, introspection (Phase 1).
|
|
@@ -312,6 +433,8 @@ declare const index_GraphWALDiff: typeof GraphWALDiff;
|
|
|
312
433
|
declare const index_JsonCodec: typeof JsonCodec;
|
|
313
434
|
type index_LazyGraphCodec = LazyGraphCodec;
|
|
314
435
|
declare const index_NodeProfile: typeof NodeProfile;
|
|
436
|
+
type index_ObservabilityCheck = ObservabilityCheck;
|
|
437
|
+
type index_ObservabilityDescribeFormat = ObservabilityDescribeFormat;
|
|
315
438
|
declare const index_ObserveDetail: typeof ObserveDetail;
|
|
316
439
|
declare const index_ObserveEvent: typeof ObserveEvent;
|
|
317
440
|
declare const index_ObserveOptions: typeof ObserveOptions;
|
|
@@ -324,6 +447,8 @@ declare const index_SIZEOF_SYMBOL: typeof SIZEOF_SYMBOL;
|
|
|
324
447
|
declare const index_SNAPSHOT_VERSION: typeof SNAPSHOT_VERSION;
|
|
325
448
|
declare const index_TopologyEvent: typeof TopologyEvent;
|
|
326
449
|
declare const index_TraceEntry: typeof TraceEntry;
|
|
450
|
+
type index_ValidateObservabilityOptions = ValidateObservabilityOptions;
|
|
451
|
+
type index_ValidateObservabilityResult = ValidateObservabilityResult;
|
|
327
452
|
type index_WALEntry = WALEntry;
|
|
328
453
|
declare const index_createDagCborCodec: typeof createDagCborCodec;
|
|
329
454
|
declare const index_createDagCborZstdCodec: typeof createDagCborZstdCodec;
|
|
@@ -332,13 +457,15 @@ declare const index_diffForWAL: typeof diffForWAL;
|
|
|
332
457
|
declare const index_encodeEnvelope: typeof encodeEnvelope;
|
|
333
458
|
declare const index_explainPath: typeof explainPath;
|
|
334
459
|
declare const index_graphProfile: typeof graphProfile;
|
|
460
|
+
declare const index_mermaidLiveUrl: typeof mermaidLiveUrl;
|
|
335
461
|
declare const index_reachable: typeof reachable;
|
|
336
462
|
declare const index_registerBuiltinCodecs: typeof registerBuiltinCodecs;
|
|
337
463
|
declare const index_replayWAL: typeof replayWAL;
|
|
338
464
|
declare const index_sizeof: typeof sizeof;
|
|
465
|
+
declare const index_validateGraphObservability: typeof validateGraphObservability;
|
|
339
466
|
declare const index_watchTopologyTree: typeof watchTopologyTree;
|
|
340
467
|
declare namespace index {
|
|
341
|
-
export { index_CausalChain as CausalChain, index_CausalStep as CausalStep, index_DescribeFilter as DescribeFilter, index_ENVELOPE_VERSION as ENVELOPE_VERSION, type index_EvictedSubgraphInfo as EvictedSubgraphInfo, type index_EvictionPolicy as EvictionPolicy, index_ExplainPathOptions as ExplainPathOptions, index_GRAPH_META_SEGMENT as GRAPH_META_SEGMENT, index_Graph as Graph, index_GraphActorOptions as GraphActorOptions, index_GraphAttachStorageOptions as GraphAttachStorageOptions, index_GraphCheckpointRecord as GraphCheckpointRecord, type index_GraphCodec as GraphCodec, index_GraphDescribeOptions as GraphDescribeOptions, index_GraphDescribeOutput as GraphDescribeOutput, index_GraphDiagramDirection as GraphDiagramDirection, index_GraphDiagramOptions as GraphDiagramOptions, index_GraphDiffChange as GraphDiffChange, index_GraphDiffResult as GraphDiffResult, index_GraphFactoryContext as GraphFactoryContext, index_GraphNodeFactory as GraphNodeFactory, index_GraphObserveAll as GraphObserveAll, index_GraphObserveOne as GraphObserveOne, index_GraphOptions as GraphOptions, index_GraphPersistSnapshot as GraphPersistSnapshot, index_GraphProfileOptions as GraphProfileOptions, index_GraphProfileResult as GraphProfileResult, index_GraphVersionChange as GraphVersionChange, index_GraphWALDiff as GraphWALDiff, index_JsonCodec as JsonCodec, type index_LazyGraphCodec as LazyGraphCodec, index_NodeProfile as NodeProfile, index_ObserveDetail as ObserveDetail, index_ObserveEvent as ObserveEvent, index_ObserveOptions as ObserveOptions, index_ObserveResult as ObserveResult, index_ObserveTheme as ObserveTheme, index_ObserveThemeName as ObserveThemeName, index_ReachableDirection as ReachableDirection, index_ReachableOptions as ReachableOptions, OVERHEAD as SIZEOF_OVERHEAD, index_SIZEOF_SYMBOL as SIZEOF_SYMBOL, index_SNAPSHOT_VERSION as SNAPSHOT_VERSION, index_TopologyEvent as TopologyEvent, index_TraceEntry as TraceEntry, type index_WALEntry as WALEntry, index_createDagCborCodec as createDagCborCodec, index_createDagCborZstdCodec as createDagCborZstdCodec, index_decodeEnvelope as decodeEnvelope, index_diffForWAL as diffForWAL, index_encodeEnvelope as encodeEnvelope, index_explainPath as explainPath, index_graphProfile as graphProfile, index_reachable as reachable, index_registerBuiltinCodecs as registerBuiltinCodecs, index_replayWAL as replayWAL, index_sizeof as sizeof, index_watchTopologyTree as watchTopologyTree };
|
|
468
|
+
export { index_CausalChain as CausalChain, index_CausalStep as CausalStep, index_DescribeFilter as DescribeFilter, index_ENVELOPE_VERSION as ENVELOPE_VERSION, type index_EvictedSubgraphInfo as EvictedSubgraphInfo, type index_EvictionPolicy as EvictionPolicy, index_ExplainPathOptions as ExplainPathOptions, index_GRAPH_META_SEGMENT as GRAPH_META_SEGMENT, index_Graph as Graph, index_GraphActorOptions as GraphActorOptions, index_GraphAttachStorageOptions as GraphAttachStorageOptions, index_GraphCheckpointRecord as GraphCheckpointRecord, type index_GraphCodec as GraphCodec, index_GraphDescribeOptions as GraphDescribeOptions, index_GraphDescribeOutput as GraphDescribeOutput, index_GraphDiagramDirection as GraphDiagramDirection, index_GraphDiagramOptions as GraphDiagramOptions, index_GraphDiffChange as GraphDiffChange, index_GraphDiffResult as GraphDiffResult, index_GraphFactoryContext as GraphFactoryContext, index_GraphNodeFactory as GraphNodeFactory, index_GraphObserveAll as GraphObserveAll, index_GraphObserveOne as GraphObserveOne, index_GraphOptions as GraphOptions, index_GraphPersistSnapshot as GraphPersistSnapshot, index_GraphProfileOptions as GraphProfileOptions, index_GraphProfileResult as GraphProfileResult, index_GraphVersionChange as GraphVersionChange, index_GraphWALDiff as GraphWALDiff, index_JsonCodec as JsonCodec, type index_LazyGraphCodec as LazyGraphCodec, index_NodeProfile as NodeProfile, type index_ObservabilityCheck as ObservabilityCheck, type index_ObservabilityDescribeFormat as ObservabilityDescribeFormat, index_ObserveDetail as ObserveDetail, index_ObserveEvent as ObserveEvent, index_ObserveOptions as ObserveOptions, index_ObserveResult as ObserveResult, index_ObserveTheme as ObserveTheme, index_ObserveThemeName as ObserveThemeName, index_ReachableDirection as ReachableDirection, index_ReachableOptions as ReachableOptions, OVERHEAD as SIZEOF_OVERHEAD, index_SIZEOF_SYMBOL as SIZEOF_SYMBOL, index_SNAPSHOT_VERSION as SNAPSHOT_VERSION, index_TopologyEvent as TopologyEvent, index_TraceEntry as TraceEntry, type index_ValidateObservabilityOptions as ValidateObservabilityOptions, type index_ValidateObservabilityResult as ValidateObservabilityResult, type index_WALEntry as WALEntry, index_createDagCborCodec as createDagCborCodec, index_createDagCborZstdCodec as createDagCborZstdCodec, index_decodeEnvelope as decodeEnvelope, index_diffForWAL as diffForWAL, index_encodeEnvelope as encodeEnvelope, index_explainPath as explainPath, index_graphProfile as graphProfile, index_mermaidLiveUrl as mermaidLiveUrl, index_reachable as reachable, index_registerBuiltinCodecs as registerBuiltinCodecs, index_replayWAL as replayWAL, index_sizeof as sizeof, index_validateGraphObservability as validateGraphObservability, index_watchTopologyTree as watchTopologyTree };
|
|
342
469
|
}
|
|
343
470
|
|
|
344
|
-
export { ENVELOPE_VERSION as E, type GraphCodec as G, JsonCodec as J, type LazyGraphCodec as L,
|
|
471
|
+
export { ENVELOPE_VERSION as E, type GraphCodec as G, JsonCodec as J, type LazyGraphCodec as L, type ObservabilityCheck as O, SIZEOF_SYMBOL as S, type ValidateObservabilityOptions as V, type WALEntry as W, type EvictedSubgraphInfo as a, type EvictionPolicy as b, type ObservabilityDescribeFormat as c, OVERHEAD as d, type ValidateObservabilityResult as e, createDagCborCodec as f, createDagCborZstdCodec as g, decodeEnvelope as h, encodeEnvelope as i, index as j, replayWAL as k, registerBuiltinCodecs as r, sizeof as s, validateGraphObservability as v };
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { a as Node } from './node-Cc1TniY8.cjs';
|
|
2
|
+
import { G as Graph, a as GraphOptions } from './graph-D48Qw9Cg.cjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Job queue patterns (roadmap §4.2).
|
|
6
|
+
*
|
|
7
|
+
* Queue / flow primitives modeled as graph factories:
|
|
8
|
+
* - `jobQueue()` — claim/ack/nack workflow with reactive depth.
|
|
9
|
+
* - `jobFlow()` — multi-stage queue chain.
|
|
10
|
+
*
|
|
11
|
+
* Topic / subscription / hub primitives live in `patterns/messaging`.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
type JobState = "queued" | "inflight";
|
|
15
|
+
type JobEnvelope<T> = {
|
|
16
|
+
id: string;
|
|
17
|
+
payload: T;
|
|
18
|
+
attempts: number;
|
|
19
|
+
metadata: Readonly<Record<string, unknown>>;
|
|
20
|
+
state: JobState;
|
|
21
|
+
};
|
|
22
|
+
type JobQueueOptions = {
|
|
23
|
+
graph?: GraphOptions;
|
|
24
|
+
};
|
|
25
|
+
declare class JobQueueGraph<T> extends Graph {
|
|
26
|
+
private readonly _pending;
|
|
27
|
+
private readonly _jobs;
|
|
28
|
+
private _seq;
|
|
29
|
+
readonly pending: Node<readonly string[]>;
|
|
30
|
+
readonly jobs: Node<ReadonlyMap<string, JobEnvelope<T>>>;
|
|
31
|
+
readonly depth: Node<number>;
|
|
32
|
+
constructor(name: string, opts?: JobQueueOptions);
|
|
33
|
+
enqueue(payload: T, opts?: {
|
|
34
|
+
id?: string;
|
|
35
|
+
metadata?: Record<string, unknown>;
|
|
36
|
+
}): string;
|
|
37
|
+
claim(limit?: number): readonly JobEnvelope<T>[];
|
|
38
|
+
ack(id: string): boolean;
|
|
39
|
+
nack(id: string, opts?: {
|
|
40
|
+
requeue?: boolean;
|
|
41
|
+
}): boolean;
|
|
42
|
+
}
|
|
43
|
+
type JobFlowOptions = {
|
|
44
|
+
graph?: GraphOptions;
|
|
45
|
+
stages?: readonly string[];
|
|
46
|
+
maxPerPump?: number;
|
|
47
|
+
};
|
|
48
|
+
declare class JobFlowGraph<T> extends Graph {
|
|
49
|
+
private readonly _stageNames;
|
|
50
|
+
private readonly _queues;
|
|
51
|
+
private readonly _completed;
|
|
52
|
+
readonly completed: Node<readonly JobEnvelope<T>[]>;
|
|
53
|
+
readonly completedCount: Node<number>;
|
|
54
|
+
constructor(name: string, opts?: JobFlowOptions);
|
|
55
|
+
stages(): readonly string[];
|
|
56
|
+
queue(stage: string): JobQueueGraph<T>;
|
|
57
|
+
enqueue(payload: T, opts?: {
|
|
58
|
+
id?: string;
|
|
59
|
+
metadata?: Record<string, unknown>;
|
|
60
|
+
}): string;
|
|
61
|
+
retainedCompleted(): readonly JobEnvelope<T>[];
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Creates a Pulsar-inspired job queue graph with claim/ack/nack workflow.
|
|
65
|
+
*/
|
|
66
|
+
declare function jobQueue<T>(name: string, opts?: JobQueueOptions): JobQueueGraph<T>;
|
|
67
|
+
/**
|
|
68
|
+
* Creates an autonomous multi-stage queue chain graph.
|
|
69
|
+
*/
|
|
70
|
+
declare function jobFlow<T>(name: string, opts?: JobFlowOptions): JobFlowGraph<T>;
|
|
71
|
+
|
|
72
|
+
type index_JobEnvelope<T> = JobEnvelope<T>;
|
|
73
|
+
type index_JobFlowGraph<T> = JobFlowGraph<T>;
|
|
74
|
+
declare const index_JobFlowGraph: typeof JobFlowGraph;
|
|
75
|
+
type index_JobFlowOptions = JobFlowOptions;
|
|
76
|
+
type index_JobQueueGraph<T> = JobQueueGraph<T>;
|
|
77
|
+
declare const index_JobQueueGraph: typeof JobQueueGraph;
|
|
78
|
+
type index_JobQueueOptions = JobQueueOptions;
|
|
79
|
+
type index_JobState = JobState;
|
|
80
|
+
declare const index_jobFlow: typeof jobFlow;
|
|
81
|
+
declare const index_jobQueue: typeof jobQueue;
|
|
82
|
+
declare namespace index {
|
|
83
|
+
export { type index_JobEnvelope as JobEnvelope, index_JobFlowGraph as JobFlowGraph, type index_JobFlowOptions as JobFlowOptions, index_JobQueueGraph as JobQueueGraph, type index_JobQueueOptions as JobQueueOptions, type index_JobState as JobState, index_jobFlow as jobFlow, index_jobQueue as jobQueue };
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export { type JobEnvelope as J, JobFlowGraph as a, type JobFlowOptions as b, JobQueueGraph as c, type JobQueueOptions as d, type JobState as e, jobQueue as f, index as i, jobFlow as j };
|