@graphrefly/graphrefly 0.34.0 → 0.35.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/{cascading-DKIb6Pk8.d.cts → cascading-B25wxpRa.d.cts} +3 -3
- package/dist/{cascading-Bg0a4VSf.d.ts → cascading-BsJ4GbnS.d.ts} +3 -3
- package/dist/{chunk-TZLEMGAK.js → chunk-2Y3DKIZL.js} +2 -2
- package/dist/chunk-3OT7K33Q.js +1 -0
- package/dist/chunk-53XJ2S6D.js +1 -0
- package/dist/chunk-5CPPC75H.js +1 -0
- package/dist/chunk-5KPIYVCC.js +7 -0
- package/dist/{chunk-GAOX6OPT.js → chunk-5XZRCS2M.js} +1 -1
- package/dist/{chunk-C5DINHNP.js → chunk-6G5YD37E.js} +1 -1
- package/dist/{chunk-WBWBY6LI.js → chunk-6SVKZ7VI.js} +1 -1
- package/dist/chunk-A5HZZYRK.js +1 -0
- package/dist/chunk-BGEY3PXH.js +1 -0
- package/dist/chunk-CD4CB6S7.js +1 -0
- package/dist/chunk-CE72X3WO.js +1 -0
- package/dist/chunk-CUQFO6MT.js +1 -0
- package/dist/chunk-D5RFJOZ2.js +1 -0
- package/dist/{chunk-A3GDELMY.js → chunk-E5YSBQSF.js} +7 -7
- package/dist/{chunk-SFIM774L.js → chunk-EUE7ELFQ.js} +1 -1
- package/dist/chunk-F3IGTWCQ.js +1 -0
- package/dist/chunk-F672GV32.js +1 -0
- package/dist/{chunk-GCUYSIM4.js → chunk-GWOKTENT.js} +1 -1
- package/dist/{chunk-4NYSEUKV.js → chunk-J6TGRQUP.js} +1 -1
- package/dist/{chunk-4F564IPP.js → chunk-JJTF75VS.js} +1 -1
- package/dist/{chunk-BY4WKPKM.js → chunk-JUJEPZOI.js} +1 -1
- package/dist/{chunk-65WWQ5CB.js → chunk-M5UC63ZI.js} +5 -5
- package/dist/chunk-MQZWA3DF.js +1 -0
- package/dist/chunk-MYFR67PY.js +18 -0
- package/dist/{chunk-KN2UMFT6.js → chunk-PCD2MU7X.js} +1 -1
- package/dist/{chunk-YDWTVO4E.js → chunk-PIIUJIF7.js} +1 -1
- package/dist/chunk-PVUTRA5K.js +5 -0
- package/dist/chunk-Q7EUZ6NN.js +1 -0
- package/dist/chunk-RLMYS3XZ.js +1 -0
- package/dist/chunk-RRFOCAH6.js +1 -0
- package/dist/{chunk-Q46YJCQH.js → chunk-T6RPUERH.js} +1 -1
- package/dist/{chunk-IPNJDNE7.js → chunk-T7GWBGOO.js} +1 -1
- package/dist/{chunk-U2T2XWDA.js → chunk-U347KVM4.js} +1 -1
- package/dist/chunk-UAMWD4GG.js +1 -0
- package/dist/chunk-VN6RDSK2.js +1 -0
- package/dist/{chunk-CJMFZXIZ.js → chunk-W2ZU226Q.js} +1 -1
- package/dist/{chunk-UF746BQ4.js → chunk-XINLP35X.js} +1 -1
- package/dist/{chunk-TONEKQM3.js → chunk-XMDNNSMK.js} +1 -1
- package/dist/{chunk-INXDSJRC.js → chunk-YOUAVGHJ.js} +1 -1
- package/dist/chunk-YV2A2VWG.js +1 -0
- package/dist/{chunk-PBN426RU.js → chunk-ZGVA2SR5.js} +1 -1
- package/dist/compat/index.cjs +10 -10
- package/dist/compat/index.d.cts +17 -14
- package/dist/compat/index.d.ts +17 -14
- package/dist/compat/index.js +1 -1
- package/dist/compat/jotai/index.d.cts +2 -2
- package/dist/compat/jotai/index.d.ts +2 -2
- package/dist/compat/nanostores/index.d.cts +2 -2
- package/dist/compat/nanostores/index.d.ts +2 -2
- package/dist/compat/nestjs/index.cjs +12 -12
- package/dist/compat/nestjs/index.d.cts +9 -6
- package/dist/compat/nestjs/index.d.ts +9 -6
- package/dist/compat/nestjs/index.js +1 -1
- package/dist/compat/react/index.d.cts +2 -2
- package/dist/compat/react/index.d.ts +2 -2
- package/dist/compat/solid/index.d.cts +2 -2
- package/dist/compat/solid/index.d.ts +2 -2
- package/dist/compat/svelte/index.d.cts +2 -2
- package/dist/compat/svelte/index.d.ts +2 -2
- package/dist/compat/vue/index.d.cts +2 -2
- package/dist/compat/vue/index.d.ts +2 -2
- package/dist/compat/zustand/index.cjs +7 -7
- package/dist/compat/zustand/index.d.cts +5 -4
- package/dist/compat/zustand/index.d.ts +5 -4
- package/dist/compat/zustand/index.js +1 -1
- package/dist/{composite-BPDU_XV1.d.ts → composite-CT_mApQD.d.ts} +2 -2
- package/dist/{composite-CmvdhTJe.d.cts → composite-_XckYx2e.d.cts} +2 -2
- package/dist/{content-addressed-storage-DqIWCmZG.d.cts → content-addressed-storage-4-ST1tYk.d.cts} +5 -5
- package/dist/{content-addressed-storage-BUiREIuj.d.ts → content-addressed-storage-DuYMjV7o.d.ts} +5 -5
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/extra/browser.cjs +1 -1
- package/dist/extra/browser.d.cts +4 -3
- package/dist/extra/browser.d.ts +4 -3
- package/dist/extra/browser.js +1 -1
- package/dist/extra/index.cjs +19 -19
- package/dist/extra/index.d.cts +13 -12
- package/dist/extra/index.d.ts +13 -12
- package/dist/extra/index.js +1 -1
- package/dist/extra/node.cjs +2 -3
- package/dist/extra/node.d.cts +3 -3
- package/dist/extra/node.d.ts +3 -3
- package/dist/extra/node.js +2 -2
- package/dist/extra/operators.cjs +1 -1
- package/dist/extra/operators.d.cts +1 -1
- package/dist/extra/operators.d.ts +1 -1
- package/dist/extra/operators.js +1 -1
- package/dist/extra/reactive.cjs +1 -1
- package/dist/extra/reactive.d.cts +4 -3
- package/dist/extra/reactive.d.ts +4 -3
- package/dist/extra/reactive.js +1 -1
- package/dist/extra/sources.cjs +1 -1
- package/dist/extra/sources.d.cts +57 -2
- package/dist/extra/sources.d.ts +57 -2
- package/dist/extra/sources.js +1 -1
- package/dist/extra/storage-browser.cjs +1 -1
- package/dist/extra/storage-browser.d.cts +8 -42
- package/dist/extra/storage-browser.d.ts +8 -42
- package/dist/extra/storage-browser.js +1 -1
- package/dist/extra/storage-core.cjs +1 -1
- package/dist/extra/storage-core.d.cts +13 -83
- package/dist/extra/storage-core.d.ts +13 -83
- package/dist/extra/storage-core.js +1 -1
- package/dist/extra/storage-node.cjs +1 -2
- package/dist/extra/storage-node.d.cts +1 -59
- package/dist/extra/storage-node.d.ts +1 -59
- package/dist/extra/storage-node.js +0 -1
- package/dist/extra/storage-tiers-browser.cjs +1 -0
- package/dist/extra/storage-tiers-browser.d.cts +49 -0
- package/dist/extra/storage-tiers-browser.d.ts +49 -0
- package/dist/extra/storage-tiers-browser.js +1 -0
- package/dist/extra/storage-tiers-node.cjs +1 -0
- package/dist/extra/storage-tiers-node.d.cts +86 -0
- package/dist/extra/storage-tiers-node.d.ts +86 -0
- package/dist/extra/storage-tiers-node.js +1 -0
- package/dist/extra/storage-tiers.cjs +1 -0
- package/dist/extra/storage-tiers.d.cts +284 -0
- package/dist/extra/storage-tiers.d.ts +284 -0
- package/dist/extra/storage-tiers.js +1 -0
- package/dist/{fallback-mYSd8vQo.d.ts → fallback-DuEXfA4F.d.ts} +14 -14
- package/dist/{fallback-9YznPvPP.d.cts → fallback-axI2cXwt.d.cts} +14 -14
- package/dist/graph/index.cjs +3 -3
- package/dist/graph/index.d.cts +6 -5
- package/dist/graph/index.d.ts +6 -5
- package/dist/graph/index.js +1 -1
- package/dist/{graph-BROUZPG9.d.ts → graph-Cv-8x0ZI.d.ts} +28 -16
- package/dist/{graph-DaoydJ_u.d.cts → graph-kTltt95s.d.cts} +28 -16
- package/dist/imperative-audit-ahAE65a9.d.cts +28 -0
- package/dist/imperative-audit-ahAE65a9.d.ts +28 -0
- package/dist/{index-CI5fULSz.d.ts → index-8OxXae3g.d.ts} +1 -1
- package/dist/{index-CQ1gt4rn.d.cts → index-9xhIaM-w.d.cts} +1 -1
- package/dist/{index-DhWrMTI6.d.cts → index-B3D_z0Z6.d.cts} +1 -1
- package/dist/{index-Ccv_61jG.d.cts → index-B3Dfl5sS.d.cts} +110 -27
- package/dist/{index-Dia4yc2y.d.ts → index-B4s70vYf.d.ts} +4 -4
- package/dist/{index-Db21wuaD.d.ts → index-B5UR87KG.d.ts} +3 -3
- package/dist/{index-DuvQAU02.d.ts → index-BBdwz2BW.d.ts} +2 -2
- package/dist/{index-B5eS17Bz.d.ts → index-BEvsFlfH.d.ts} +47 -32
- package/dist/{index-BUtCR0k6.d.ts → index-BF-ssbJB.d.ts} +7 -7
- package/dist/{index-ClKm7CFB.d.cts → index-BFuVcqL8.d.cts} +1 -1
- package/dist/{index-BkfL5MXh.d.cts → index-BWH17rK_.d.cts} +3 -3
- package/dist/{index-CD7qmvSf.d.ts → index-BZ1V5GzX.d.ts} +3 -3
- package/dist/{index-BDEhWLF4.d.cts → index-BhkPzu-Z.d.cts} +4 -4
- package/dist/{index-CNxdDb2e.d.ts → index-Bilohojo.d.ts} +3 -3
- package/dist/{index-zA1uVtk0.d.ts → index-BiomL7AW.d.ts} +1 -1
- package/dist/{index-BWiX5foT.d.ts → index-BjWZARLy.d.ts} +1 -1
- package/dist/{index-IxinNgAH.d.cts → index-BkbawFkI.d.cts} +16 -15
- package/dist/{index-RJX4snyi.d.cts → index-BlRVj-7Q.d.cts} +21 -21
- package/dist/index-BpFwRAf9.d.cts +26 -0
- package/dist/{index-Ds3Rz9m9.d.cts → index-BsZlbHM5.d.cts} +3 -3
- package/dist/{index-BFHpNSsV.d.ts → index-BtY2QVDf.d.cts} +8 -7
- package/dist/{index-BsxqmV6u.d.ts → index-BuMzxRO2.d.ts} +2 -2
- package/dist/{index-C5uMGVJw.d.ts → index-BwYGLgmI.d.ts} +4 -4
- package/dist/{index-3L3RC3VJ.d.ts → index-C40wA8zt.d.ts} +7 -7
- package/dist/{index-Bi4ZP6Hc.d.ts → index-C9xF16gc.d.ts} +110 -27
- package/dist/index-CAIhFfws.d.ts +171 -0
- package/dist/{index-BRisOxlx.d.ts → index-CDvC1m5p.d.ts} +1 -1
- package/dist/index-CGKs5ixV.d.cts +287 -0
- package/dist/{index-ygRFoyrN.d.ts → index-CI_yjtua.d.ts} +2 -2
- package/dist/{index-DxEcY7Om.d.ts → index-CIcu6fIR.d.ts} +1 -1
- package/dist/{index-CQtnGFrZ.d.cts → index-CfOSES72.d.cts} +7 -7
- package/dist/{index-Bd2AjMQY.d.ts → index-Cot94_82.d.ts} +21 -21
- package/dist/{index-B1hFhK1K.d.cts → index-CpZKtdMw.d.cts} +1 -1
- package/dist/{index-BO6t0HjV.d.cts → index-CqSJ25A9.d.cts} +1 -1
- package/dist/{index-Jgl7ev9I.d.cts → index-CzC0G0C3.d.cts} +9 -9
- package/dist/{index-p0bkNfby.d.cts → index-D6JRP-1_.d.cts} +3 -3
- package/dist/{index-D23g00HE.d.cts → index-D7r_vd0b.d.cts} +4 -4
- package/dist/{index-Cp91Sxbo.d.cts → index-D8IyqHvT.d.cts} +3 -3
- package/dist/{index-iKsmdnq6.d.cts → index-D9qoEOj_.d.cts} +2 -2
- package/dist/index-DBmBtqAN.d.ts +461 -0
- package/dist/{index-nP13Qe6T.d.ts → index-DFe2Pk2u.d.ts} +1 -1
- package/dist/{index-Cn3taOmp.d.cts → index-DKp1CIbG.d.cts} +2 -2
- package/dist/{index-CoR-tOZA.d.cts → index-DSD6xnbT.d.ts} +8 -7
- package/dist/{index-DheNs40A.d.ts → index-DXSLMoma.d.ts} +2 -2
- package/dist/{index-ZIQaKIdY.d.cts → index-DXZsXxtU.d.cts} +47 -32
- package/dist/{index-BVTjuKeP.d.cts → index-D_QQ_dTD.d.cts} +1 -1
- package/dist/{index-ChZvMC4M.d.cts → index-DeyzuqAi.d.cts} +7 -7
- package/dist/{index-Chi9IiHJ.d.ts → index-DlccEIi3.d.ts} +3 -3
- package/dist/{index-DR3XqZlV.d.cts → index-DmtWMP0X.d.cts} +1 -1
- package/dist/{index-CbCNoogR.d.ts → index-Dp69u0ym.d.ts} +16 -15
- package/dist/{index-b4a6Sg0R.d.ts → index-DwNNufVa.d.ts} +4 -4
- package/dist/{index-D80nGRb9.d.ts → index-DzYTXMBz.d.ts} +3 -3
- package/dist/index-DzgS5uYi.d.ts +26 -0
- package/dist/{index-B-KCkW4M.d.cts → index-GaW6Welt.d.cts} +4 -4
- package/dist/{index-DupIl9wI.d.ts → index-JYtN9uqM.d.ts} +1 -1
- package/dist/{index-Ced0dphF.d.ts → index-KNAMYngu.d.ts} +9 -9
- package/dist/{index-BpjQanLs.d.cts → index-PluovH45.d.cts} +2 -2
- package/dist/index-Qq-G9B6g.d.cts +171 -0
- package/dist/{index-yJY9thRY.d.cts → index-XxSeddWP.d.cts} +2 -2
- package/dist/{index-C8_bnDBZ.d.cts → index-ZhKyR8co.d.cts} +3 -3
- package/dist/index-hXKhbfh-.d.ts +287 -0
- package/dist/index-zK_mN1D-.d.cts +461 -0
- package/dist/index.cjs +59 -59
- package/dist/index.d.cts +53 -49
- package/dist/index.d.ts +53 -49
- package/dist/index.js +1 -1
- package/dist/{meta-BdjSt8ky.d.cts → meta-BGO6C7K9.d.cts} +1 -1
- package/dist/{meta-CtDjj7cU.d.ts → meta-CC6EPdpK.d.ts} +1 -1
- package/dist/{node-8qx0kgYt.d.cts → node-fSc-hCv8.d.cts} +1 -1
- package/dist/{node-8qx0kgYt.d.ts → node-fSc-hCv8.d.ts} +1 -1
- package/dist/{observable-B6Ba-TTI.d.cts → observable-Cqty11jG.d.cts} +1 -1
- package/dist/{observable-DOniYM2B.d.ts → observable-EAV_rNfM.d.ts} +1 -1
- package/dist/patterns/ai/browser.cjs +5 -5
- package/dist/patterns/ai/browser.d.cts +4 -4
- package/dist/patterns/ai/browser.d.ts +4 -4
- package/dist/patterns/ai/browser.js +1 -1
- package/dist/patterns/ai/index.cjs +19 -19
- package/dist/patterns/ai/index.d.cts +19 -17
- package/dist/patterns/ai/index.d.ts +19 -17
- package/dist/patterns/ai/index.js +1 -1
- package/dist/patterns/ai/node.cjs +1 -2
- package/dist/patterns/ai/node.d.cts +9 -9
- package/dist/patterns/ai/node.d.ts +9 -9
- package/dist/patterns/ai/node.js +1 -1
- package/dist/patterns/audit/index.cjs +6 -6
- package/dist/patterns/audit/index.d.cts +7 -5
- package/dist/patterns/audit/index.d.ts +7 -5
- package/dist/patterns/audit/index.js +1 -1
- package/dist/patterns/cqrs/index.cjs +7 -7
- package/dist/patterns/cqrs/index.d.cts +7 -4
- package/dist/patterns/cqrs/index.d.ts +7 -4
- package/dist/patterns/cqrs/index.js +1 -1
- package/dist/patterns/demo-shell/index.cjs +8 -8
- package/dist/patterns/demo-shell/index.d.cts +6 -5
- package/dist/patterns/demo-shell/index.d.ts +6 -5
- package/dist/patterns/demo-shell/index.js +1 -1
- package/dist/patterns/domain-templates/index.cjs +5 -5
- package/dist/patterns/domain-templates/index.d.cts +5 -4
- package/dist/patterns/domain-templates/index.d.ts +5 -4
- package/dist/patterns/domain-templates/index.js +1 -1
- package/dist/patterns/graphspec/index.cjs +20 -20
- package/dist/patterns/graphspec/index.d.cts +6 -5
- package/dist/patterns/graphspec/index.d.ts +6 -5
- package/dist/patterns/graphspec/index.js +1 -1
- package/dist/patterns/guarded-execution/index.cjs +7 -7
- package/dist/patterns/guarded-execution/index.d.cts +8 -6
- package/dist/patterns/guarded-execution/index.d.ts +8 -6
- package/dist/patterns/guarded-execution/index.js +1 -1
- package/dist/patterns/harness/index.cjs +12 -12
- package/dist/patterns/harness/index.d.cts +13 -10
- package/dist/patterns/harness/index.d.ts +13 -10
- package/dist/patterns/harness/index.js +1 -1
- package/dist/patterns/job-queue/index.cjs +7 -7
- package/dist/patterns/job-queue/index.d.cts +8 -4
- package/dist/patterns/job-queue/index.d.ts +8 -4
- package/dist/patterns/job-queue/index.js +1 -1
- package/dist/patterns/lens/index.cjs +4 -4
- package/dist/patterns/lens/index.d.cts +7 -6
- package/dist/patterns/lens/index.d.ts +7 -6
- package/dist/patterns/lens/index.js +1 -1
- package/dist/patterns/memory/index.cjs +1 -1
- package/dist/patterns/memory/index.d.cts +5 -4
- package/dist/patterns/memory/index.d.ts +5 -4
- package/dist/patterns/memory/index.js +1 -1
- package/dist/patterns/messaging/index.cjs +7 -7
- package/dist/patterns/messaging/index.d.cts +6 -4
- package/dist/patterns/messaging/index.d.ts +6 -4
- package/dist/patterns/messaging/index.js +1 -1
- package/dist/patterns/orchestration/index.cjs +7 -7
- package/dist/patterns/orchestration/index.d.cts +8 -5
- package/dist/patterns/orchestration/index.d.ts +8 -5
- package/dist/patterns/orchestration/index.js +1 -1
- package/dist/patterns/process/index.cjs +1 -0
- package/dist/patterns/process/index.d.cts +10 -0
- package/dist/patterns/process/index.d.ts +10 -0
- package/dist/patterns/process/index.js +1 -0
- package/dist/patterns/reactive-layout/index.cjs +5 -5
- package/dist/patterns/reactive-layout/index.d.cts +6 -5
- package/dist/patterns/reactive-layout/index.d.ts +6 -5
- package/dist/patterns/reactive-layout/index.js +1 -1
- package/dist/patterns/reduction/index.cjs +1 -1
- package/dist/patterns/reduction/index.d.cts +5 -4
- package/dist/patterns/reduction/index.d.ts +5 -4
- package/dist/patterns/reduction/index.js +1 -1
- package/dist/patterns/refine-loop/index.cjs +8 -8
- package/dist/patterns/refine-loop/index.d.cts +7 -5
- package/dist/patterns/refine-loop/index.d.ts +7 -5
- package/dist/patterns/refine-loop/index.js +1 -1
- package/dist/patterns/resilient-pipeline/index.cjs +1 -1
- package/dist/patterns/resilient-pipeline/index.d.cts +7 -6
- package/dist/patterns/resilient-pipeline/index.d.ts +7 -6
- package/dist/patterns/resilient-pipeline/index.js +1 -1
- package/dist/patterns/surface/index.cjs +11 -11
- package/dist/patterns/surface/index.d.cts +7 -6
- package/dist/patterns/surface/index.d.ts +7 -6
- package/dist/patterns/surface/index.js +1 -1
- package/dist/pipeline-graph-B85HUrWg.d.cts +120 -0
- package/dist/pipeline-graph-HOTU4UG0.d.ts +120 -0
- package/dist/{reactive-layout-DBJ3Vz-m.d.ts → reactive-layout-Btv0-efV.d.ts} +2 -2
- package/dist/{reactive-layout-Dk9AOQb_.d.cts → reactive-layout-D9zqqaqK.d.cts} +2 -2
- package/dist/reactive-log-ByBb8g6A.d.ts +188 -0
- package/dist/reactive-log-CgbNqksB.d.cts +188 -0
- package/dist/{reactive-map-LjwjcFaW.d.ts → reactive-map-CHyeCf4D.d.ts} +1 -1
- package/dist/{reactive-map-Cm89Hk0c.d.cts → reactive-map-DmgeADH8.d.cts} +1 -1
- package/dist/{resilience-RjDIHZNZ.d.ts → resilience-BWP2c7Af.d.cts} +27 -45
- package/dist/{resilience-N_VtLf7W.d.cts → resilience-Bys63Cpd.d.ts} +27 -45
- package/dist/resilience-OBU472D2.js +1 -0
- package/dist/{sugar-CQkn_rxB.d.ts → sugar-D13E2M_z.d.ts} +1 -1
- package/dist/{sugar-DVEYhR7a.d.cts → sugar-DgaGJcI6.d.cts} +1 -1
- package/dist/{topology-tree-BB6oJxMz.d.cts → topology-tree-C50l9ARE.d.cts} +1 -1
- package/dist/{topology-tree-CAFOG5S5.d.ts → topology-tree-CJsT24DP.d.ts} +1 -1
- package/dist/{types-Cp_4coR_.d.cts → types-BMSGPlpO.d.cts} +1 -1
- package/dist/{types-B2LfBvNc.d.ts → types-CidcBDuk.d.ts} +1 -1
- package/package.json +41 -1
- package/dist/chunk-2JO6LXFT.js +0 -7
- package/dist/chunk-2LZ6DL45.js +0 -1
- package/dist/chunk-3JXNEPCD.js +0 -2
- package/dist/chunk-3Y4BXFFR.js +0 -1
- package/dist/chunk-55T3K37W.js +0 -1
- package/dist/chunk-6HQ6HVTF.js +0 -1
- package/dist/chunk-7Q2WPFQ7.js +0 -1
- package/dist/chunk-FKRPIRE6.js +0 -1
- package/dist/chunk-HTBOCKVD.js +0 -1
- package/dist/chunk-I6VIH3VA.js +0 -1
- package/dist/chunk-IB64M7VP.js +0 -1
- package/dist/chunk-IJFSR4NU.js +0 -1
- package/dist/chunk-LOF5HSD3.js +0 -18
- package/dist/chunk-T2TB37TW.js +0 -1
- package/dist/chunk-T7EQPKOP.js +0 -1
- package/dist/chunk-Y63GWRHO.js +0 -5
- package/dist/chunk-YUBV7EEE.js +0 -1
- package/dist/index-C2Dey3L-.d.cts +0 -152
- package/dist/index-ClJUZAOr.d.cts +0 -101
- package/dist/index-Cq7Uqgu4.d.ts +0 -192
- package/dist/index-Dtpr2FIB.d.ts +0 -101
- package/dist/index-HvJ90_tX.d.ts +0 -152
- package/dist/index-wcfc7W-f.d.cts +0 -192
- package/dist/reactive-log-CWC7jO4J.d.cts +0 -190
- package/dist/reactive-log-CqaBg8nf.d.ts +0 -190
- package/dist/resilience-7UZHSSGC.js +0 -1
- /package/dist/{chunk-L3KUKDZC.js → chunk-O32GJOUJ.js} +0 -0
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
import { a as Node, V as VersioningLevel } from './node-8qx0kgYt.cjs';
|
|
2
|
-
|
|
3
|
-
type ReactiveLogOptions<T> = {
|
|
4
|
-
name?: string;
|
|
5
|
-
maxSize?: number;
|
|
6
|
-
/**
|
|
7
|
-
* Optional versioning level for the underlying `entries` state node. Set
|
|
8
|
-
* at construction time; cannot be changed later. Pass `0` for V0 identity
|
|
9
|
-
* + monotonic version counter, or `1` for V1 + content-addressed cid.
|
|
10
|
-
*/
|
|
11
|
-
versioning?: VersioningLevel;
|
|
12
|
-
/**
|
|
13
|
-
* Storage backend. Defaults to `NativeLogBackend` (ring buffer if `maxSize` is set,
|
|
14
|
-
* flat array otherwise). Users can plug in persistent / RRB-tree backends via
|
|
15
|
-
* the {@link LogBackend} interface.
|
|
16
|
-
*/
|
|
17
|
-
backend?: LogBackend<T>;
|
|
18
|
-
};
|
|
19
|
-
type ReactiveLogBundle<T> = {
|
|
20
|
-
/** Emits `readonly T[]` on each append/clear/trim (two-phase). */
|
|
21
|
-
readonly entries: Node<readonly T[]>;
|
|
22
|
-
/** Current entry count (O(1)). */
|
|
23
|
-
readonly size: number;
|
|
24
|
-
/** Positional access (O(1)); returns `undefined` on out-of-range. Supports negative indices (Python-style). */
|
|
25
|
-
at: (index: number) => T | undefined;
|
|
26
|
-
append: (value: T) => void;
|
|
27
|
-
/**
|
|
28
|
-
* Push all values, emit one snapshot. No-op if `values` is empty.
|
|
29
|
-
* **Iterable consumption:** `values` is a `readonly T[]` — safe to pass arrays.
|
|
30
|
-
*/
|
|
31
|
-
appendMany: (values: readonly T[]) => void;
|
|
32
|
-
clear: () => void;
|
|
33
|
-
/** Remove the first `n` entries (clamped to `size`). Throws on non-integer or negative `n`. */
|
|
34
|
-
trimHead: (n: number) => void;
|
|
35
|
-
/**
|
|
36
|
-
* Last `n` entries (or fewer) as a derived reactive view. Memoized with
|
|
37
|
-
* an LRU cache (default cap 64) — repeat calls with the same `n` return
|
|
38
|
-
* the same node. Throws on non-integer or negative `n`.
|
|
39
|
-
*
|
|
40
|
-
* **LRU eviction contract (D3(b)):** when a 65th distinct `n` is passed,
|
|
41
|
-
* the least-recently-used cached view is evicted and its keepalive is
|
|
42
|
-
* disposed. External holders of the evicted node will NOT receive further
|
|
43
|
-
* updates — re-call `tail(n)` for a fresh node, or dispose proactively
|
|
44
|
-
* via {@link disposeTail} / {@link disposeAllViews}. To avoid surprise:
|
|
45
|
-
* resolve `tail(n)` at the point of use rather than caching the returned
|
|
46
|
-
* node across many distinct `n`s.
|
|
47
|
-
*/
|
|
48
|
-
tail: (n: number) => Node<readonly T[]>;
|
|
49
|
-
/**
|
|
50
|
-
* Reactive view of `entries.slice(start, stop)` — non-negative integer
|
|
51
|
-
* `start`, non-negative integer `stop` (exclusive) or `undefined` (to end).
|
|
52
|
-
* Memoized with an LRU cache (default cap 64) — repeat calls with the
|
|
53
|
-
* same `(start, stop)` return the same node.
|
|
54
|
-
*
|
|
55
|
-
* Throws on non-integer `start`, negative `start`, non-integer `stop`, or
|
|
56
|
-
* negative `stop` (P4 — the backend cannot cheaply honor JS-style
|
|
57
|
-
* negative `stop` without scanning length; disallowed for a consistent
|
|
58
|
-
* contract between backend, derived recomputation, and cached initial).
|
|
59
|
-
*
|
|
60
|
-
* **LRU eviction contract (D3(b)):** same as {@link tail} — past 64
|
|
61
|
-
* distinct `(start, stop)` pairs, the oldest cached view is evicted and
|
|
62
|
-
* its keepalive disposed. External holders stop receiving updates.
|
|
63
|
-
*/
|
|
64
|
-
slice: (start: number, stop?: number) => Node<readonly T[]>;
|
|
65
|
-
/**
|
|
66
|
-
* Releases the cached `tail(n)` view if present (disposes its keepalive
|
|
67
|
-
* subscription). Subsequent `tail(n)` calls create a fresh node. No-op if
|
|
68
|
-
* `n` was not cached. Returns `true` if a view was disposed.
|
|
69
|
-
*/
|
|
70
|
-
disposeTail: (n: number) => boolean;
|
|
71
|
-
/**
|
|
72
|
-
* Releases the cached `slice(start, stop?)` view if present. No-op if not cached.
|
|
73
|
-
*/
|
|
74
|
-
disposeSlice: (start: number, stop?: number) => boolean;
|
|
75
|
-
/** Releases all cached tail/slice views and their keepalive subscriptions. */
|
|
76
|
-
disposeAllViews: () => void;
|
|
77
|
-
/**
|
|
78
|
-
* Releases all internal keepalive subscriptions so the bundle can be
|
|
79
|
-
* GC'd — currently equivalent to {@link disposeAllViews}, but exposed as
|
|
80
|
-
* a uniform API across all reactive data structures for lifecycle
|
|
81
|
-
* symmetry (mirrors `reactiveMap.dispose` / `reactiveList.dispose` /
|
|
82
|
-
* `reactiveIndex.dispose`). Idempotent. D6(a).
|
|
83
|
-
*/
|
|
84
|
-
dispose: () => void;
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Storage contract for {@link reactiveLog}. Implementations own the mutable state and
|
|
88
|
-
* expose a monotonic `version` counter that increments on every structural change.
|
|
89
|
-
*
|
|
90
|
-
* The reactive layer reads `version` to decide when to emit; it does not inspect
|
|
91
|
-
* internal representation. Users can plug in persistent / ring-buffer / skip-list
|
|
92
|
-
* backends without touching the reactive emission logic.
|
|
93
|
-
*
|
|
94
|
-
* @remarks Post-1.0 op-log changesets will extend this interface with a
|
|
95
|
-
* `changesSince(version: number): Iterable<Change>` method. Current consumers
|
|
96
|
-
* should treat all methods here as stable.
|
|
97
|
-
*
|
|
98
|
-
* @category extra
|
|
99
|
-
*/
|
|
100
|
-
interface LogBackend<T> {
|
|
101
|
-
/** Monotonic mutation counter; increments on every append/trim/clear that changes state. */
|
|
102
|
-
readonly version: number;
|
|
103
|
-
/** Number of entries currently stored. */
|
|
104
|
-
readonly size: number;
|
|
105
|
-
/** O(1) positional access; returns `undefined` on out-of-range. */
|
|
106
|
-
at(index: number): T | undefined;
|
|
107
|
-
/** Append a value. Applies `maxSize` head-drop if configured. Advances `version`. */
|
|
108
|
-
append(value: T): void;
|
|
109
|
-
/** Append a batch; advances `version` once. No-op if `values.length === 0`. */
|
|
110
|
-
appendMany(values: readonly T[]): void;
|
|
111
|
-
/** Remove all entries. Returns count removed. Advances `version` only if non-zero. */
|
|
112
|
-
clear(): number;
|
|
113
|
-
/** Remove the first `n` entries (clamped). Returns count removed. Throws on negative `n`. */
|
|
114
|
-
trimHead(n: number): number;
|
|
115
|
-
/** Fresh snapshot array for `[start, stop)`. Throws on negative `start`. */
|
|
116
|
-
slice(start: number, stop?: number): readonly T[];
|
|
117
|
-
/** Last `n` entries as a fresh array. Throws on negative `n`. */
|
|
118
|
-
tail(n: number): readonly T[];
|
|
119
|
-
/** Full snapshot as a fresh array. */
|
|
120
|
-
toArray(): readonly T[];
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Default append-only log backend.
|
|
124
|
-
*
|
|
125
|
-
* - When `maxSize` is set: uses a **ring buffer** with `_head` index and circular
|
|
126
|
-
* modular arithmetic. Append and trim become O(1); snapshot is O(size) unrolling.
|
|
127
|
-
* - When `maxSize` is unset: uses a flat array with standard push/splice.
|
|
128
|
-
*
|
|
129
|
-
* `appendMany` pre-trims oversize input: if `values.length > maxSize`, only the
|
|
130
|
-
* tail of `values` is pushed (the rest would be immediately evicted).
|
|
131
|
-
*
|
|
132
|
-
* @category extra
|
|
133
|
-
*/
|
|
134
|
-
declare class NativeLogBackend<T> implements LogBackend<T> {
|
|
135
|
-
private _version;
|
|
136
|
-
private readonly _maxSize?;
|
|
137
|
-
private readonly _buf;
|
|
138
|
-
private _head;
|
|
139
|
-
private _size;
|
|
140
|
-
constructor(initial?: readonly T[], maxSize?: number);
|
|
141
|
-
get version(): number;
|
|
142
|
-
get size(): number;
|
|
143
|
-
at(index: number): T | undefined;
|
|
144
|
-
append(value: T): void;
|
|
145
|
-
appendMany(values: readonly T[]): void;
|
|
146
|
-
clear(): number;
|
|
147
|
-
trimHead(n: number): number;
|
|
148
|
-
slice(start: number, stop?: number): readonly T[];
|
|
149
|
-
tail(n: number): readonly T[];
|
|
150
|
-
toArray(): readonly T[];
|
|
151
|
-
/** Internal append without version bump — used by `appendMany`. */
|
|
152
|
-
private _rawAppend;
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* Creates an append-only reactive log with immutable array snapshots.
|
|
156
|
-
*
|
|
157
|
-
* @param initial - Optional seed entries (copied; pre-trimmed to `maxSize` if set).
|
|
158
|
-
* @param options - `name`, `maxSize`, and optional pluggable `backend`.
|
|
159
|
-
* @returns Bundle with `entries` (state node), `append`/`appendMany`/`clear`/`trimHead`,
|
|
160
|
-
* `size` / `at`, and memoized derived views `tail(n)` / `slice(start, stop?)`.
|
|
161
|
-
*
|
|
162
|
-
* @remarks
|
|
163
|
-
* **Backend:** The default {@link NativeLogBackend} uses a ring buffer when `maxSize`
|
|
164
|
-
* is set (O(1) append + trim) and a flat array otherwise. For persistent/structural-
|
|
165
|
-
* sharing semantics plug in a custom {@link LogBackend}.
|
|
166
|
-
*
|
|
167
|
-
* **`initial` + custom `backend` (F5):** When you supply `options.backend`, the
|
|
168
|
-
* `initial` argument is IGNORED — seed the backend yourself before passing it in.
|
|
169
|
-
* The `initial` seed only applies to the default `NativeLogBackend`.
|
|
170
|
-
*
|
|
171
|
-
* **Memoized views:** {@link ReactiveLogBundle.tail} and {@link ReactiveLogBundle.slice}
|
|
172
|
-
* cache derived nodes per-argument. Repeat calls with the same `n` / `(start, stop)`
|
|
173
|
-
* return the same node, bounding keepalive-subscription count to one per unique argument.
|
|
174
|
-
*
|
|
175
|
-
* @example
|
|
176
|
-
* ```ts
|
|
177
|
-
* import { reactiveLog } from "@graphrefly/graphrefly-ts";
|
|
178
|
-
*
|
|
179
|
-
* const lg = reactiveLog<number>([1, 2], { name: "audit", maxSize: 100 });
|
|
180
|
-
* lg.append(3);
|
|
181
|
-
* lg.entries.subscribe((msgs) => console.log(msgs));
|
|
182
|
-
* const last5 = lg.tail(5); // derived node
|
|
183
|
-
* const window = lg.slice(10, 20); // derived node
|
|
184
|
-
* ```
|
|
185
|
-
*
|
|
186
|
-
* @category extra
|
|
187
|
-
*/
|
|
188
|
-
declare function reactiveLog<T>(initial?: readonly T[], options?: ReactiveLogOptions<T>): ReactiveLogBundle<T>;
|
|
189
|
-
|
|
190
|
-
export { type LogBackend as L, NativeLogBackend as N, type ReactiveLogBundle as R, type ReactiveLogOptions as a, reactiveLog as r };
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
import { a as Node, V as VersioningLevel } from './node-8qx0kgYt.js';
|
|
2
|
-
|
|
3
|
-
type ReactiveLogOptions<T> = {
|
|
4
|
-
name?: string;
|
|
5
|
-
maxSize?: number;
|
|
6
|
-
/**
|
|
7
|
-
* Optional versioning level for the underlying `entries` state node. Set
|
|
8
|
-
* at construction time; cannot be changed later. Pass `0` for V0 identity
|
|
9
|
-
* + monotonic version counter, or `1` for V1 + content-addressed cid.
|
|
10
|
-
*/
|
|
11
|
-
versioning?: VersioningLevel;
|
|
12
|
-
/**
|
|
13
|
-
* Storage backend. Defaults to `NativeLogBackend` (ring buffer if `maxSize` is set,
|
|
14
|
-
* flat array otherwise). Users can plug in persistent / RRB-tree backends via
|
|
15
|
-
* the {@link LogBackend} interface.
|
|
16
|
-
*/
|
|
17
|
-
backend?: LogBackend<T>;
|
|
18
|
-
};
|
|
19
|
-
type ReactiveLogBundle<T> = {
|
|
20
|
-
/** Emits `readonly T[]` on each append/clear/trim (two-phase). */
|
|
21
|
-
readonly entries: Node<readonly T[]>;
|
|
22
|
-
/** Current entry count (O(1)). */
|
|
23
|
-
readonly size: number;
|
|
24
|
-
/** Positional access (O(1)); returns `undefined` on out-of-range. Supports negative indices (Python-style). */
|
|
25
|
-
at: (index: number) => T | undefined;
|
|
26
|
-
append: (value: T) => void;
|
|
27
|
-
/**
|
|
28
|
-
* Push all values, emit one snapshot. No-op if `values` is empty.
|
|
29
|
-
* **Iterable consumption:** `values` is a `readonly T[]` — safe to pass arrays.
|
|
30
|
-
*/
|
|
31
|
-
appendMany: (values: readonly T[]) => void;
|
|
32
|
-
clear: () => void;
|
|
33
|
-
/** Remove the first `n` entries (clamped to `size`). Throws on non-integer or negative `n`. */
|
|
34
|
-
trimHead: (n: number) => void;
|
|
35
|
-
/**
|
|
36
|
-
* Last `n` entries (or fewer) as a derived reactive view. Memoized with
|
|
37
|
-
* an LRU cache (default cap 64) — repeat calls with the same `n` return
|
|
38
|
-
* the same node. Throws on non-integer or negative `n`.
|
|
39
|
-
*
|
|
40
|
-
* **LRU eviction contract (D3(b)):** when a 65th distinct `n` is passed,
|
|
41
|
-
* the least-recently-used cached view is evicted and its keepalive is
|
|
42
|
-
* disposed. External holders of the evicted node will NOT receive further
|
|
43
|
-
* updates — re-call `tail(n)` for a fresh node, or dispose proactively
|
|
44
|
-
* via {@link disposeTail} / {@link disposeAllViews}. To avoid surprise:
|
|
45
|
-
* resolve `tail(n)` at the point of use rather than caching the returned
|
|
46
|
-
* node across many distinct `n`s.
|
|
47
|
-
*/
|
|
48
|
-
tail: (n: number) => Node<readonly T[]>;
|
|
49
|
-
/**
|
|
50
|
-
* Reactive view of `entries.slice(start, stop)` — non-negative integer
|
|
51
|
-
* `start`, non-negative integer `stop` (exclusive) or `undefined` (to end).
|
|
52
|
-
* Memoized with an LRU cache (default cap 64) — repeat calls with the
|
|
53
|
-
* same `(start, stop)` return the same node.
|
|
54
|
-
*
|
|
55
|
-
* Throws on non-integer `start`, negative `start`, non-integer `stop`, or
|
|
56
|
-
* negative `stop` (P4 — the backend cannot cheaply honor JS-style
|
|
57
|
-
* negative `stop` without scanning length; disallowed for a consistent
|
|
58
|
-
* contract between backend, derived recomputation, and cached initial).
|
|
59
|
-
*
|
|
60
|
-
* **LRU eviction contract (D3(b)):** same as {@link tail} — past 64
|
|
61
|
-
* distinct `(start, stop)` pairs, the oldest cached view is evicted and
|
|
62
|
-
* its keepalive disposed. External holders stop receiving updates.
|
|
63
|
-
*/
|
|
64
|
-
slice: (start: number, stop?: number) => Node<readonly T[]>;
|
|
65
|
-
/**
|
|
66
|
-
* Releases the cached `tail(n)` view if present (disposes its keepalive
|
|
67
|
-
* subscription). Subsequent `tail(n)` calls create a fresh node. No-op if
|
|
68
|
-
* `n` was not cached. Returns `true` if a view was disposed.
|
|
69
|
-
*/
|
|
70
|
-
disposeTail: (n: number) => boolean;
|
|
71
|
-
/**
|
|
72
|
-
* Releases the cached `slice(start, stop?)` view if present. No-op if not cached.
|
|
73
|
-
*/
|
|
74
|
-
disposeSlice: (start: number, stop?: number) => boolean;
|
|
75
|
-
/** Releases all cached tail/slice views and their keepalive subscriptions. */
|
|
76
|
-
disposeAllViews: () => void;
|
|
77
|
-
/**
|
|
78
|
-
* Releases all internal keepalive subscriptions so the bundle can be
|
|
79
|
-
* GC'd — currently equivalent to {@link disposeAllViews}, but exposed as
|
|
80
|
-
* a uniform API across all reactive data structures for lifecycle
|
|
81
|
-
* symmetry (mirrors `reactiveMap.dispose` / `reactiveList.dispose` /
|
|
82
|
-
* `reactiveIndex.dispose`). Idempotent. D6(a).
|
|
83
|
-
*/
|
|
84
|
-
dispose: () => void;
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Storage contract for {@link reactiveLog}. Implementations own the mutable state and
|
|
88
|
-
* expose a monotonic `version` counter that increments on every structural change.
|
|
89
|
-
*
|
|
90
|
-
* The reactive layer reads `version` to decide when to emit; it does not inspect
|
|
91
|
-
* internal representation. Users can plug in persistent / ring-buffer / skip-list
|
|
92
|
-
* backends without touching the reactive emission logic.
|
|
93
|
-
*
|
|
94
|
-
* @remarks Post-1.0 op-log changesets will extend this interface with a
|
|
95
|
-
* `changesSince(version: number): Iterable<Change>` method. Current consumers
|
|
96
|
-
* should treat all methods here as stable.
|
|
97
|
-
*
|
|
98
|
-
* @category extra
|
|
99
|
-
*/
|
|
100
|
-
interface LogBackend<T> {
|
|
101
|
-
/** Monotonic mutation counter; increments on every append/trim/clear that changes state. */
|
|
102
|
-
readonly version: number;
|
|
103
|
-
/** Number of entries currently stored. */
|
|
104
|
-
readonly size: number;
|
|
105
|
-
/** O(1) positional access; returns `undefined` on out-of-range. */
|
|
106
|
-
at(index: number): T | undefined;
|
|
107
|
-
/** Append a value. Applies `maxSize` head-drop if configured. Advances `version`. */
|
|
108
|
-
append(value: T): void;
|
|
109
|
-
/** Append a batch; advances `version` once. No-op if `values.length === 0`. */
|
|
110
|
-
appendMany(values: readonly T[]): void;
|
|
111
|
-
/** Remove all entries. Returns count removed. Advances `version` only if non-zero. */
|
|
112
|
-
clear(): number;
|
|
113
|
-
/** Remove the first `n` entries (clamped). Returns count removed. Throws on negative `n`. */
|
|
114
|
-
trimHead(n: number): number;
|
|
115
|
-
/** Fresh snapshot array for `[start, stop)`. Throws on negative `start`. */
|
|
116
|
-
slice(start: number, stop?: number): readonly T[];
|
|
117
|
-
/** Last `n` entries as a fresh array. Throws on negative `n`. */
|
|
118
|
-
tail(n: number): readonly T[];
|
|
119
|
-
/** Full snapshot as a fresh array. */
|
|
120
|
-
toArray(): readonly T[];
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Default append-only log backend.
|
|
124
|
-
*
|
|
125
|
-
* - When `maxSize` is set: uses a **ring buffer** with `_head` index and circular
|
|
126
|
-
* modular arithmetic. Append and trim become O(1); snapshot is O(size) unrolling.
|
|
127
|
-
* - When `maxSize` is unset: uses a flat array with standard push/splice.
|
|
128
|
-
*
|
|
129
|
-
* `appendMany` pre-trims oversize input: if `values.length > maxSize`, only the
|
|
130
|
-
* tail of `values` is pushed (the rest would be immediately evicted).
|
|
131
|
-
*
|
|
132
|
-
* @category extra
|
|
133
|
-
*/
|
|
134
|
-
declare class NativeLogBackend<T> implements LogBackend<T> {
|
|
135
|
-
private _version;
|
|
136
|
-
private readonly _maxSize?;
|
|
137
|
-
private readonly _buf;
|
|
138
|
-
private _head;
|
|
139
|
-
private _size;
|
|
140
|
-
constructor(initial?: readonly T[], maxSize?: number);
|
|
141
|
-
get version(): number;
|
|
142
|
-
get size(): number;
|
|
143
|
-
at(index: number): T | undefined;
|
|
144
|
-
append(value: T): void;
|
|
145
|
-
appendMany(values: readonly T[]): void;
|
|
146
|
-
clear(): number;
|
|
147
|
-
trimHead(n: number): number;
|
|
148
|
-
slice(start: number, stop?: number): readonly T[];
|
|
149
|
-
tail(n: number): readonly T[];
|
|
150
|
-
toArray(): readonly T[];
|
|
151
|
-
/** Internal append without version bump — used by `appendMany`. */
|
|
152
|
-
private _rawAppend;
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* Creates an append-only reactive log with immutable array snapshots.
|
|
156
|
-
*
|
|
157
|
-
* @param initial - Optional seed entries (copied; pre-trimmed to `maxSize` if set).
|
|
158
|
-
* @param options - `name`, `maxSize`, and optional pluggable `backend`.
|
|
159
|
-
* @returns Bundle with `entries` (state node), `append`/`appendMany`/`clear`/`trimHead`,
|
|
160
|
-
* `size` / `at`, and memoized derived views `tail(n)` / `slice(start, stop?)`.
|
|
161
|
-
*
|
|
162
|
-
* @remarks
|
|
163
|
-
* **Backend:** The default {@link NativeLogBackend} uses a ring buffer when `maxSize`
|
|
164
|
-
* is set (O(1) append + trim) and a flat array otherwise. For persistent/structural-
|
|
165
|
-
* sharing semantics plug in a custom {@link LogBackend}.
|
|
166
|
-
*
|
|
167
|
-
* **`initial` + custom `backend` (F5):** When you supply `options.backend`, the
|
|
168
|
-
* `initial` argument is IGNORED — seed the backend yourself before passing it in.
|
|
169
|
-
* The `initial` seed only applies to the default `NativeLogBackend`.
|
|
170
|
-
*
|
|
171
|
-
* **Memoized views:** {@link ReactiveLogBundle.tail} and {@link ReactiveLogBundle.slice}
|
|
172
|
-
* cache derived nodes per-argument. Repeat calls with the same `n` / `(start, stop)`
|
|
173
|
-
* return the same node, bounding keepalive-subscription count to one per unique argument.
|
|
174
|
-
*
|
|
175
|
-
* @example
|
|
176
|
-
* ```ts
|
|
177
|
-
* import { reactiveLog } from "@graphrefly/graphrefly-ts";
|
|
178
|
-
*
|
|
179
|
-
* const lg = reactiveLog<number>([1, 2], { name: "audit", maxSize: 100 });
|
|
180
|
-
* lg.append(3);
|
|
181
|
-
* lg.entries.subscribe((msgs) => console.log(msgs));
|
|
182
|
-
* const last5 = lg.tail(5); // derived node
|
|
183
|
-
* const window = lg.slice(10, 20); // derived node
|
|
184
|
-
* ```
|
|
185
|
-
*
|
|
186
|
-
* @category extra
|
|
187
|
-
*/
|
|
188
|
-
declare function reactiveLog<T>(initial?: readonly T[], options?: ReactiveLogOptions<T>): ReactiveLogBundle<T>;
|
|
189
|
-
|
|
190
|
-
export { type LogBackend as L, NativeLogBackend as N, type ReactiveLogBundle as R, type ReactiveLogOptions as a, reactiveLog as r };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l}from"./chunk-FKRPIRE6.js";import"./chunk-ESMPEKEV.js";import"./chunk-4VVTGLXJ.js";import"./chunk-T7EQPKOP.js";import"./chunk-LYCLF26R.js";import"./chunk-CK2E7BTU.js";import"./chunk-QYADASLV.js";export{c as CircuitOpenError,g as RateLimiterOverflowError,j as TimeoutError,d as circuitBreaker,k as fallback,h as rateLimiter,a as retry,b as retrySource,l as timeout,f as tokenBucket,e as withBreaker,i as withStatus};
|
|
File without changes
|