@graphrefly/graphrefly 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -14
- package/dist/{chunk-HP7OKEOE.js → chunk-A2AJJOSJ.js} +3 -3
- package/dist/chunk-A2AJJOSJ.js.map +1 -0
- package/dist/{chunk-CP6MNKAA.js → chunk-E7OH6ZAZ.js} +10 -4
- package/dist/{chunk-CP6MNKAA.js.map → chunk-E7OH6ZAZ.js.map} +1 -1
- package/dist/chunk-LR2CLSEF.js +106 -0
- package/dist/chunk-LR2CLSEF.js.map +1 -0
- package/dist/{chunk-5X3LAO3B.js → chunk-QTZSBQGJ.js} +79 -20
- package/dist/chunk-QTZSBQGJ.js.map +1 -0
- package/dist/{chunk-V3UACY6A.js → chunk-TZLX4KIT.js} +790 -203
- package/dist/chunk-TZLX4KIT.js.map +1 -0
- package/dist/{chunk-QW7H3ICI.js → chunk-UCW3VWMN.js} +4 -4
- package/dist/{chunk-6W5SGIGB.js → chunk-WYI7YW54.js} +142 -30
- package/dist/chunk-WYI7YW54.js.map +1 -0
- package/dist/chunk-WZ2Z2CRV.js +32 -0
- package/dist/chunk-WZ2Z2CRV.js.map +1 -0
- package/dist/{chunk-Z4Y4FMQN.js → chunk-XCZPGOVP.js} +7 -7
- package/dist/{chunk-KWXPDASV.js → chunk-YWTP2XRJ.js} +2 -2
- package/dist/compat/nestjs/index.cjs +268 -61
- package/dist/compat/nestjs/index.cjs.map +1 -1
- package/dist/compat/nestjs/index.d.cts +4 -4
- package/dist/compat/nestjs/index.d.ts +4 -4
- package/dist/compat/nestjs/index.js +8 -7
- package/dist/core/index.cjs +163 -35
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +10 -4
- package/dist/extra/index.cjs +892 -221
- package/dist/extra/index.cjs.map +1 -1
- package/dist/extra/index.d.cts +4 -4
- package/dist/extra/index.d.ts +4 -4
- package/dist/extra/index.js +22 -3
- package/dist/graph/index.cjs +268 -61
- package/dist/graph/index.cjs.map +1 -1
- package/dist/graph/index.d.cts +3 -3
- package/dist/graph/index.d.ts +3 -3
- package/dist/graph/index.js +4 -4
- package/dist/{graph-CL_ZDAj9.d.cts → graph-DqTICAY2.d.cts} +69 -12
- package/dist/{graph-D18qmsNm.d.ts → graph-X9uwnD_z.d.ts} +69 -12
- package/dist/{index-C3BMRmmp.d.cts → index-3U0WxdD-.d.cts} +3 -3
- package/dist/{index-Bk_idZm1.d.cts → index-BP1t_38S.d.cts} +406 -61
- package/dist/{index-BtK55IE2.d.ts → index-BPCeYDS4.d.ts} +4 -2
- package/dist/{index-Bvy_6CaN.d.ts → index-BVG5pjin.d.ts} +50 -5
- package/dist/{index-C5mqLhMX.d.cts → index-BYEgosAX.d.cts} +50 -5
- package/dist/{index-D_geH2Bm.d.cts → index-BYa2YMat.d.cts} +3 -3
- package/dist/{index-CP_QvbWu.d.ts → index-DLO8wnYU.d.ts} +3 -3
- package/dist/{index-B7eOdgEx.d.ts → index-DMv1Etbi.d.ts} +3 -3
- package/dist/{index-BvhgZRHK.d.cts → index-DbwgQ4Cw.d.cts} +4 -2
- package/dist/{index-B2jmzVxL.d.ts → index-a5gHmH5b.d.ts} +406 -61
- package/dist/index.cjs +2966 -1790
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +112 -14
- package/dist/index.d.ts +112 -14
- package/dist/index.js +385 -20
- package/dist/index.js.map +1 -1
- package/dist/{meta-BsF6Sag9.d.cts → meta-BJEU8fYz.d.cts} +31 -4
- package/dist/{meta-BsF6Sag9.d.ts → meta-BJEU8fYz.d.ts} +31 -4
- package/dist/patterns/reactive-layout/index.cjs +268 -61
- package/dist/patterns/reactive-layout/index.cjs.map +1 -1
- package/dist/patterns/reactive-layout/index.d.cts +3 -3
- package/dist/patterns/reactive-layout/index.d.ts +3 -3
- package/dist/patterns/reactive-layout/index.js +4 -4
- package/dist/{reactive-log-BfvfNWQh.d.cts → reactive-log-BfX6bOSZ.d.cts} +2 -2
- package/dist/{reactive-log-ohLmTXoZ.d.ts → reactive-log-RhgIog2Z.d.ts} +2 -2
- package/package.json +29 -18
- package/dist/chunk-5X3LAO3B.js.map +0 -1
- package/dist/chunk-6W5SGIGB.js.map +0 -1
- package/dist/chunk-HP7OKEOE.js.map +0 -1
- package/dist/chunk-O3PI7W45.js +0 -68
- package/dist/chunk-O3PI7W45.js.map +0 -1
- package/dist/chunk-V3UACY6A.js.map +0 -1
- /package/dist/{chunk-QW7H3ICI.js.map → chunk-UCW3VWMN.js.map} +0 -0
- /package/dist/{chunk-Z4Y4FMQN.js.map → chunk-XCZPGOVP.js.map} +0 -0
- /package/dist/{chunk-KWXPDASV.js.map → chunk-YWTP2XRJ.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as GraphPersistSnapshot, A as AutoCheckpointAdapter, D as DescribeFilter, d as GRAPH_META_SEGMENT, G as Graph, e as GraphActorOptions, b as GraphAutoCheckpointHandle, c as GraphAutoCheckpointOptions, f as GraphCheckpointRecord, g as GraphDescribeOptions, h as GraphDescribeOutput, i as GraphDiagramDirection, j as GraphDiagramOptions, k as GraphDiffChange, l as GraphDiffResult, m as GraphDumpOptions, n as GraphFactoryContext, o as GraphNodeFactory, p as GraphObserveAll, q as GraphObserveOne, a as GraphOptions, s as GraphSpyHandle, t as GraphSpyOptions, u as GraphSpyTheme, v as GraphSpyThemeName, O as ObserveDetail, w as ObserveEvent, x as ObserveOptions, y as ObserveResult, R as ReachableDirection, z as ReachableOptions, T as TraceEntry, B as reachable } from './graph-X9uwnD_z.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* GraphCodec — pluggable serialization for graph snapshots (Phase 8.6).
|
|
@@ -194,6 +194,7 @@ declare const index_GraphAutoCheckpointHandle: typeof GraphAutoCheckpointHandle;
|
|
|
194
194
|
declare const index_GraphAutoCheckpointOptions: typeof GraphAutoCheckpointOptions;
|
|
195
195
|
declare const index_GraphCheckpointRecord: typeof GraphCheckpointRecord;
|
|
196
196
|
type index_GraphCodec = GraphCodec;
|
|
197
|
+
declare const index_GraphDescribeOptions: typeof GraphDescribeOptions;
|
|
197
198
|
declare const index_GraphDescribeOutput: typeof GraphDescribeOutput;
|
|
198
199
|
declare const index_GraphDiagramDirection: typeof GraphDiagramDirection;
|
|
199
200
|
declare const index_GraphDiagramOptions: typeof GraphDiagramOptions;
|
|
@@ -212,6 +213,7 @@ declare const index_GraphSpyTheme: typeof GraphSpyTheme;
|
|
|
212
213
|
declare const index_GraphSpyThemeName: typeof GraphSpyThemeName;
|
|
213
214
|
declare const index_JsonCodec: typeof JsonCodec;
|
|
214
215
|
type index_LazyGraphCodec = LazyGraphCodec;
|
|
216
|
+
declare const index_ObserveDetail: typeof ObserveDetail;
|
|
215
217
|
declare const index_ObserveEvent: typeof ObserveEvent;
|
|
216
218
|
declare const index_ObserveOptions: typeof ObserveOptions;
|
|
217
219
|
declare const index_ObserveResult: typeof ObserveResult;
|
|
@@ -225,7 +227,7 @@ declare const index_negotiateCodec: typeof negotiateCodec;
|
|
|
225
227
|
declare const index_reachable: typeof reachable;
|
|
226
228
|
declare const index_replayWAL: typeof replayWAL;
|
|
227
229
|
declare namespace index {
|
|
228
|
-
export { index_AutoCheckpointAdapter as AutoCheckpointAdapter, type index_DeltaCheckpoint as DeltaCheckpoint, index_DescribeFilter as DescribeFilter, type index_EvictedSubgraphInfo as EvictedSubgraphInfo, type index_EvictionPolicy as EvictionPolicy, index_GRAPH_META_SEGMENT as GRAPH_META_SEGMENT, index_Graph as Graph, index_GraphActorOptions as GraphActorOptions, index_GraphAutoCheckpointHandle as GraphAutoCheckpointHandle, index_GraphAutoCheckpointOptions as GraphAutoCheckpointOptions, index_GraphCheckpointRecord as GraphCheckpointRecord, type index_GraphCodec as GraphCodec, index_GraphDescribeOutput as GraphDescribeOutput, index_GraphDiagramDirection as GraphDiagramDirection, index_GraphDiagramOptions as GraphDiagramOptions, index_GraphDiffChange as GraphDiffChange, index_GraphDiffResult as GraphDiffResult, index_GraphDumpOptions as GraphDumpOptions, 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_GraphSpyHandle as GraphSpyHandle, index_GraphSpyOptions as GraphSpyOptions, index_GraphSpyTheme as GraphSpyTheme, index_GraphSpyThemeName as GraphSpyThemeName, index_JsonCodec as JsonCodec, type index_LazyGraphCodec as LazyGraphCodec, index_ObserveEvent as ObserveEvent, index_ObserveOptions as ObserveOptions, index_ObserveResult as ObserveResult, index_ReachableDirection as ReachableDirection, index_ReachableOptions as ReachableOptions, index_TraceEntry as TraceEntry, type index_WALEntry as WALEntry, index_createDagCborCodec as createDagCborCodec, index_createDagCborZstdCodec as createDagCborZstdCodec, index_negotiateCodec as negotiateCodec, index_reachable as reachable, index_replayWAL as replayWAL };
|
|
230
|
+
export { index_AutoCheckpointAdapter as AutoCheckpointAdapter, type index_DeltaCheckpoint as DeltaCheckpoint, index_DescribeFilter as DescribeFilter, type index_EvictedSubgraphInfo as EvictedSubgraphInfo, type index_EvictionPolicy as EvictionPolicy, index_GRAPH_META_SEGMENT as GRAPH_META_SEGMENT, index_Graph as Graph, index_GraphActorOptions as GraphActorOptions, index_GraphAutoCheckpointHandle as GraphAutoCheckpointHandle, index_GraphAutoCheckpointOptions as GraphAutoCheckpointOptions, 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_GraphDumpOptions as GraphDumpOptions, 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_GraphSpyHandle as GraphSpyHandle, index_GraphSpyOptions as GraphSpyOptions, index_GraphSpyTheme as GraphSpyTheme, index_GraphSpyThemeName as GraphSpyThemeName, index_JsonCodec as JsonCodec, type index_LazyGraphCodec as LazyGraphCodec, index_ObserveDetail as ObserveDetail, index_ObserveEvent as ObserveEvent, index_ObserveOptions as ObserveOptions, index_ObserveResult as ObserveResult, index_ReachableDirection as ReachableDirection, index_ReachableOptions as ReachableOptions, index_TraceEntry as TraceEntry, type index_WALEntry as WALEntry, index_createDagCborCodec as createDagCborCodec, index_createDagCborZstdCodec as createDagCborZstdCodec, index_negotiateCodec as negotiateCodec, index_reachable as reachable, index_replayWAL as replayWAL };
|
|
229
231
|
}
|
|
230
232
|
|
|
231
233
|
export { type DeltaCheckpoint as D, type EvictedSubgraphInfo as E, type GraphCodec as G, JsonCodec as J, type LazyGraphCodec as L, type WALEntry as W, type EvictionPolicy as a, createDagCborZstdCodec as b, createDagCborCodec as c, index as i, negotiateCodec as n, replayWAL as r };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as Messages, N as Node, l as NodeDescribeKind, m as NodeGuard, a as NodeOptions, a3 as NodeInspectorHook, o as NodeStatus, A as Actor, p as NodeTransportOptions, n as NodeSink, S as SubscribeHints, c as NodeFn, C as COMPLETE, D as DATA, d as DEFAULT_ACTOR, e as DIRTY, f as DescribeDetail, g as DescribeField, h as DescribeNodeOutput, E as ERROR, G as GuardAction, i as GuardDenied, j as GuardDeniedDetails, H as HashFn, I as INVALIDATE, M as Message, b as NodeActions, q as NodeVersionInfo, O as OnMessageHandler, P as PAUSE, r as PolicyAllow, s as PolicyDeny, t as PolicyRuleData, R as RESOLVED, u as RESUME, T as TEARDOWN, V as V0, v as V1, w as VersioningLevel, x as VersioningOptions, y as accessHintForGuard, z as advanceVersion, B as createVersioning, F as defaultHash, J as describeNode, K as isKnownMessageType, L as isPhase2Message, Q as isTerminalMessage, U as isV1, W as knownMessageTypes, X as messageTier, Y as metaSnapshot, Z as node, _ as normalizeActor, $ as policy, a0 as policyFromRules, a1 as propagatesToMeta, a2 as resolveDescribeFields } from './meta-BJEU8fYz.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Returns whether the current call stack is inside a batch scope **or** while
|
|
@@ -97,6 +97,9 @@ declare function partitionForBatch(messages: Messages): {
|
|
|
97
97
|
* @param emit — Sink callback. May be called up to three times per invocation
|
|
98
98
|
* (immediate, deferred, terminal) when not batching.
|
|
99
99
|
* @param messages — Full `[[Type, Data?], ...]` array for one emission.
|
|
100
|
+
* @param phase — Starting delivery phase (`2` = data, `3` = terminal). Default `2`.
|
|
101
|
+
* @param options - Optional configuration.
|
|
102
|
+
* @option strategy | `"partition"` or `"sequential"` | `"partition"` | `"partition"` groups by tier; `"sequential"` preserves message order within each tier using `messageTier()` classification.
|
|
100
103
|
* @returns `void` — delivery is performed through `emit` callbacks, synchronously
|
|
101
104
|
* or deferred into the active batch queue.
|
|
102
105
|
*
|
|
@@ -109,7 +112,9 @@ declare function partitionForBatch(messages: Messages): {
|
|
|
109
112
|
*
|
|
110
113
|
* @category core
|
|
111
114
|
*/
|
|
112
|
-
declare function emitWithBatch(emit: (messages: Messages) => void, messages: Messages, phase?: 2 | 3
|
|
115
|
+
declare function emitWithBatch(emit: (messages: Messages) => void, messages: Messages, phase?: 2 | 3, options?: {
|
|
116
|
+
strategy?: "partition" | "sequential";
|
|
117
|
+
}): void;
|
|
113
118
|
|
|
114
119
|
/**
|
|
115
120
|
* Centralised timestamp utilities.
|
|
@@ -271,7 +276,9 @@ declare class DynamicNodeImpl<T = unknown> implements Node<T> {
|
|
|
271
276
|
*
|
|
272
277
|
* Spec: `state(initial, opts?)` is `node([], { initial, ...opts })` (GRAPHREFLY-SPEC §2.7).
|
|
273
278
|
*
|
|
274
|
-
* @param initial - Initial cached value.
|
|
279
|
+
* @param initial - Initial cached value. Because `initial` is provided, `equals` is
|
|
280
|
+
* called on the first {@link Node.down | down()} emission — if the value matches
|
|
281
|
+
* `initial`, the node emits `RESOLVED` instead of `DATA` (spec §2.5).
|
|
275
282
|
* @param opts - Optional {@link NodeOptions} (excluding `initial`).
|
|
276
283
|
* @returns `Node<T>` - Stateful node you drive imperatively.
|
|
277
284
|
*
|
|
@@ -369,6 +376,39 @@ type PipeOperator = (n: Node) => Node;
|
|
|
369
376
|
*/
|
|
370
377
|
declare function pipe(source: Node, ...ops: PipeOperator[]): Node;
|
|
371
378
|
|
|
379
|
+
/**
|
|
380
|
+
* Creates a resettable deadline timer for internal timeout, retry, and rate-limiting use.
|
|
381
|
+
*
|
|
382
|
+
* @remarks **Centralised primitive:** wraps `setTimeout`/`clearTimeout` with a generation guard
|
|
383
|
+
* so that stale callbacks never fire after `cancel()` or a new `start()`.
|
|
384
|
+
*
|
|
385
|
+
* @remarks **Spec §5.10 exception:** resilience operators (`timeout`, `retry`, `rateLimiter`)
|
|
386
|
+
* need raw timers — `fromTimer` creates a new Node per reset, which is too heavy here.
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
* ```ts
|
|
390
|
+
* import { ResettableTimer } from "@graphrefly/graphrefly-ts";
|
|
391
|
+
*
|
|
392
|
+
* const timer = new ResettableTimer();
|
|
393
|
+
* timer.start(1000, () => console.log("fired"));
|
|
394
|
+
* timer.cancel(); // cancels before firing
|
|
395
|
+
* timer.start(500, () => console.log("new deadline"));
|
|
396
|
+
* console.log(timer.pending); // true
|
|
397
|
+
* ```
|
|
398
|
+
*
|
|
399
|
+
* @category core
|
|
400
|
+
*/
|
|
401
|
+
declare class ResettableTimer {
|
|
402
|
+
private _timer;
|
|
403
|
+
private _gen;
|
|
404
|
+
/** Schedule callback after delayMs. Cancels any pending timer. */
|
|
405
|
+
start(delayMs: number, callback: () => void): void;
|
|
406
|
+
/** Cancel the pending timer (if any). */
|
|
407
|
+
cancel(): void;
|
|
408
|
+
/** Whether a timer is currently pending. */
|
|
409
|
+
get pending(): boolean;
|
|
410
|
+
}
|
|
411
|
+
|
|
372
412
|
/**
|
|
373
413
|
* Core layer: message protocol, node primitive, lifecycle (Phase 0).
|
|
374
414
|
*/
|
|
@@ -378,6 +418,8 @@ declare const index_COMPLETE: typeof COMPLETE;
|
|
|
378
418
|
declare const index_DATA: typeof DATA;
|
|
379
419
|
declare const index_DEFAULT_ACTOR: typeof DEFAULT_ACTOR;
|
|
380
420
|
declare const index_DIRTY: typeof DIRTY;
|
|
421
|
+
declare const index_DescribeDetail: typeof DescribeDetail;
|
|
422
|
+
declare const index_DescribeField: typeof DescribeField;
|
|
381
423
|
declare const index_DescribeNodeOutput: typeof DescribeNodeOutput;
|
|
382
424
|
type index_DynGet = DynGet;
|
|
383
425
|
type index_DynamicNodeFn<T> = DynamicNodeFn<T>;
|
|
@@ -410,6 +452,8 @@ declare const index_PolicyDeny: typeof PolicyDeny;
|
|
|
410
452
|
declare const index_PolicyRuleData: typeof PolicyRuleData;
|
|
411
453
|
declare const index_RESOLVED: typeof RESOLVED;
|
|
412
454
|
declare const index_RESUME: typeof RESUME;
|
|
455
|
+
type index_ResettableTimer = ResettableTimer;
|
|
456
|
+
declare const index_ResettableTimer: typeof ResettableTimer;
|
|
413
457
|
declare const index_SubscribeHints: typeof SubscribeHints;
|
|
414
458
|
declare const index_TEARDOWN: typeof TEARDOWN;
|
|
415
459
|
declare const index_V0: typeof V0;
|
|
@@ -443,10 +487,11 @@ declare const index_policy: typeof policy;
|
|
|
443
487
|
declare const index_policyFromRules: typeof policyFromRules;
|
|
444
488
|
declare const index_producer: typeof producer;
|
|
445
489
|
declare const index_propagatesToMeta: typeof propagatesToMeta;
|
|
490
|
+
declare const index_resolveDescribeFields: typeof resolveDescribeFields;
|
|
446
491
|
declare const index_state: typeof state;
|
|
447
492
|
declare const index_wallClockNs: typeof wallClockNs;
|
|
448
493
|
declare namespace index {
|
|
449
|
-
export { index_Actor as Actor, index_COMPLETE as COMPLETE, index_DATA as DATA, index_DEFAULT_ACTOR as DEFAULT_ACTOR, index_DIRTY as DIRTY, index_DescribeNodeOutput as DescribeNodeOutput, type index_DynGet as DynGet, type index_DynamicNodeFn as DynamicNodeFn, index_DynamicNodeImpl as DynamicNodeImpl, type index_DynamicNodeOptions as DynamicNodeOptions, index_ERROR as ERROR, index_GuardAction as GuardAction, index_GuardDenied as GuardDenied, index_GuardDeniedDetails as GuardDeniedDetails, index_HashFn as HashFn, index_INVALIDATE as INVALIDATE, index_Message as Message, index_Messages as Messages, index_Node as Node, index_NodeActions as NodeActions, index_NodeDescribeKind as NodeDescribeKind, index_NodeFn as NodeFn, index_NodeGuard as NodeGuard, index_NodeOptions as NodeOptions, index_NodeSink as NodeSink, index_NodeStatus as NodeStatus, index_NodeTransportOptions as NodeTransportOptions, index_NodeVersionInfo as NodeVersionInfo, index_OnMessageHandler as OnMessageHandler, index_PAUSE as PAUSE, type index_PipeOperator as PipeOperator, index_PolicyAllow as PolicyAllow, index_PolicyDeny as PolicyDeny, index_PolicyRuleData as PolicyRuleData, index_RESOLVED as RESOLVED, index_RESUME as RESUME, index_SubscribeHints as SubscribeHints, index_TEARDOWN as TEARDOWN, index_V0 as V0, index_V1 as V1, index_VersioningLevel as VersioningLevel, index_VersioningOptions as VersioningOptions, index_accessHintForGuard as accessHintForGuard, index_advanceVersion as advanceVersion, index_batch as batch, index_createVersioning as createVersioning, index_defaultHash as defaultHash, index_derived as derived, index_describeNode as describeNode, index_dynamicNode as dynamicNode, index_effect as effect, index_emitWithBatch as emitWithBatch, index_isBatching as isBatching, index_isKnownMessageType as isKnownMessageType, index_isPhase2Message as isPhase2Message, index_isTerminalMessage as isTerminalMessage, index_isV1 as isV1, index_knownMessageTypes as knownMessageTypes, index_messageTier as messageTier, index_metaSnapshot as metaSnapshot, index_monotonicNs as monotonicNs, index_node as node, index_normalizeActor as normalizeActor, index_partitionForBatch as partitionForBatch, index_pipe as pipe, index_policy as policy, index_policyFromRules as policyFromRules, index_producer as producer, index_propagatesToMeta as propagatesToMeta, index_state as state, index_wallClockNs as wallClockNs };
|
|
494
|
+
export { index_Actor as Actor, index_COMPLETE as COMPLETE, index_DATA as DATA, index_DEFAULT_ACTOR as DEFAULT_ACTOR, index_DIRTY as DIRTY, index_DescribeDetail as DescribeDetail, index_DescribeField as DescribeField, index_DescribeNodeOutput as DescribeNodeOutput, type index_DynGet as DynGet, type index_DynamicNodeFn as DynamicNodeFn, index_DynamicNodeImpl as DynamicNodeImpl, type index_DynamicNodeOptions as DynamicNodeOptions, index_ERROR as ERROR, index_GuardAction as GuardAction, index_GuardDenied as GuardDenied, index_GuardDeniedDetails as GuardDeniedDetails, index_HashFn as HashFn, index_INVALIDATE as INVALIDATE, index_Message as Message, index_Messages as Messages, index_Node as Node, index_NodeActions as NodeActions, index_NodeDescribeKind as NodeDescribeKind, index_NodeFn as NodeFn, index_NodeGuard as NodeGuard, index_NodeOptions as NodeOptions, index_NodeSink as NodeSink, index_NodeStatus as NodeStatus, index_NodeTransportOptions as NodeTransportOptions, index_NodeVersionInfo as NodeVersionInfo, index_OnMessageHandler as OnMessageHandler, index_PAUSE as PAUSE, type index_PipeOperator as PipeOperator, index_PolicyAllow as PolicyAllow, index_PolicyDeny as PolicyDeny, index_PolicyRuleData as PolicyRuleData, index_RESOLVED as RESOLVED, index_RESUME as RESUME, index_ResettableTimer as ResettableTimer, index_SubscribeHints as SubscribeHints, index_TEARDOWN as TEARDOWN, index_V0 as V0, index_V1 as V1, index_VersioningLevel as VersioningLevel, index_VersioningOptions as VersioningOptions, index_accessHintForGuard as accessHintForGuard, index_advanceVersion as advanceVersion, index_batch as batch, index_createVersioning as createVersioning, index_defaultHash as defaultHash, index_derived as derived, index_describeNode as describeNode, index_dynamicNode as dynamicNode, index_effect as effect, index_emitWithBatch as emitWithBatch, index_isBatching as isBatching, index_isKnownMessageType as isKnownMessageType, index_isPhase2Message as isPhase2Message, index_isTerminalMessage as isTerminalMessage, index_isV1 as isV1, index_knownMessageTypes as knownMessageTypes, index_messageTier as messageTier, index_metaSnapshot as metaSnapshot, index_monotonicNs as monotonicNs, index_node as node, index_normalizeActor as normalizeActor, index_partitionForBatch as partitionForBatch, index_pipe as pipe, index_policy as policy, index_policyFromRules as policyFromRules, index_producer as producer, index_propagatesToMeta as propagatesToMeta, index_resolveDescribeFields as resolveDescribeFields, index_state as state, index_wallClockNs as wallClockNs };
|
|
450
495
|
}
|
|
451
496
|
|
|
452
|
-
export { type DynGet as D, type PipeOperator as P, type DynamicNodeFn as a, DynamicNodeImpl as b, type DynamicNodeOptions as c, batch as d, derived as e, dynamicNode as f, effect as g, emitWithBatch as h, index as i, isBatching as j, pipe as k, producer as l, monotonicNs as m, partitionForBatch as p, state as s, wallClockNs as w };
|
|
497
|
+
export { type DynGet as D, type PipeOperator as P, ResettableTimer as R, type DynamicNodeFn as a, DynamicNodeImpl as b, type DynamicNodeOptions as c, batch as d, derived as e, dynamicNode as f, effect as g, emitWithBatch as h, index as i, isBatching as j, pipe as k, producer as l, monotonicNs as m, partitionForBatch as p, state as s, wallClockNs as w };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as Messages, N as Node, l as NodeDescribeKind, m as NodeGuard, a as NodeOptions, a3 as NodeInspectorHook, o as NodeStatus, A as Actor, p as NodeTransportOptions, n as NodeSink, S as SubscribeHints, c as NodeFn, C as COMPLETE, D as DATA, d as DEFAULT_ACTOR, e as DIRTY, f as DescribeDetail, g as DescribeField, h as DescribeNodeOutput, E as ERROR, G as GuardAction, i as GuardDenied, j as GuardDeniedDetails, H as HashFn, I as INVALIDATE, M as Message, b as NodeActions, q as NodeVersionInfo, O as OnMessageHandler, P as PAUSE, r as PolicyAllow, s as PolicyDeny, t as PolicyRuleData, R as RESOLVED, u as RESUME, T as TEARDOWN, V as V0, v as V1, w as VersioningLevel, x as VersioningOptions, y as accessHintForGuard, z as advanceVersion, B as createVersioning, F as defaultHash, J as describeNode, K as isKnownMessageType, L as isPhase2Message, Q as isTerminalMessage, U as isV1, W as knownMessageTypes, X as messageTier, Y as metaSnapshot, Z as node, _ as normalizeActor, $ as policy, a0 as policyFromRules, a1 as propagatesToMeta, a2 as resolveDescribeFields } from './meta-BJEU8fYz.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Returns whether the current call stack is inside a batch scope **or** while
|
|
@@ -97,6 +97,9 @@ declare function partitionForBatch(messages: Messages): {
|
|
|
97
97
|
* @param emit — Sink callback. May be called up to three times per invocation
|
|
98
98
|
* (immediate, deferred, terminal) when not batching.
|
|
99
99
|
* @param messages — Full `[[Type, Data?], ...]` array for one emission.
|
|
100
|
+
* @param phase — Starting delivery phase (`2` = data, `3` = terminal). Default `2`.
|
|
101
|
+
* @param options - Optional configuration.
|
|
102
|
+
* @option strategy | `"partition"` or `"sequential"` | `"partition"` | `"partition"` groups by tier; `"sequential"` preserves message order within each tier using `messageTier()` classification.
|
|
100
103
|
* @returns `void` — delivery is performed through `emit` callbacks, synchronously
|
|
101
104
|
* or deferred into the active batch queue.
|
|
102
105
|
*
|
|
@@ -109,7 +112,9 @@ declare function partitionForBatch(messages: Messages): {
|
|
|
109
112
|
*
|
|
110
113
|
* @category core
|
|
111
114
|
*/
|
|
112
|
-
declare function emitWithBatch(emit: (messages: Messages) => void, messages: Messages, phase?: 2 | 3
|
|
115
|
+
declare function emitWithBatch(emit: (messages: Messages) => void, messages: Messages, phase?: 2 | 3, options?: {
|
|
116
|
+
strategy?: "partition" | "sequential";
|
|
117
|
+
}): void;
|
|
113
118
|
|
|
114
119
|
/**
|
|
115
120
|
* Centralised timestamp utilities.
|
|
@@ -271,7 +276,9 @@ declare class DynamicNodeImpl<T = unknown> implements Node<T> {
|
|
|
271
276
|
*
|
|
272
277
|
* Spec: `state(initial, opts?)` is `node([], { initial, ...opts })` (GRAPHREFLY-SPEC §2.7).
|
|
273
278
|
*
|
|
274
|
-
* @param initial - Initial cached value.
|
|
279
|
+
* @param initial - Initial cached value. Because `initial` is provided, `equals` is
|
|
280
|
+
* called on the first {@link Node.down | down()} emission — if the value matches
|
|
281
|
+
* `initial`, the node emits `RESOLVED` instead of `DATA` (spec §2.5).
|
|
275
282
|
* @param opts - Optional {@link NodeOptions} (excluding `initial`).
|
|
276
283
|
* @returns `Node<T>` - Stateful node you drive imperatively.
|
|
277
284
|
*
|
|
@@ -369,6 +376,39 @@ type PipeOperator = (n: Node) => Node;
|
|
|
369
376
|
*/
|
|
370
377
|
declare function pipe(source: Node, ...ops: PipeOperator[]): Node;
|
|
371
378
|
|
|
379
|
+
/**
|
|
380
|
+
* Creates a resettable deadline timer for internal timeout, retry, and rate-limiting use.
|
|
381
|
+
*
|
|
382
|
+
* @remarks **Centralised primitive:** wraps `setTimeout`/`clearTimeout` with a generation guard
|
|
383
|
+
* so that stale callbacks never fire after `cancel()` or a new `start()`.
|
|
384
|
+
*
|
|
385
|
+
* @remarks **Spec §5.10 exception:** resilience operators (`timeout`, `retry`, `rateLimiter`)
|
|
386
|
+
* need raw timers — `fromTimer` creates a new Node per reset, which is too heavy here.
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
* ```ts
|
|
390
|
+
* import { ResettableTimer } from "@graphrefly/graphrefly-ts";
|
|
391
|
+
*
|
|
392
|
+
* const timer = new ResettableTimer();
|
|
393
|
+
* timer.start(1000, () => console.log("fired"));
|
|
394
|
+
* timer.cancel(); // cancels before firing
|
|
395
|
+
* timer.start(500, () => console.log("new deadline"));
|
|
396
|
+
* console.log(timer.pending); // true
|
|
397
|
+
* ```
|
|
398
|
+
*
|
|
399
|
+
* @category core
|
|
400
|
+
*/
|
|
401
|
+
declare class ResettableTimer {
|
|
402
|
+
private _timer;
|
|
403
|
+
private _gen;
|
|
404
|
+
/** Schedule callback after delayMs. Cancels any pending timer. */
|
|
405
|
+
start(delayMs: number, callback: () => void): void;
|
|
406
|
+
/** Cancel the pending timer (if any). */
|
|
407
|
+
cancel(): void;
|
|
408
|
+
/** Whether a timer is currently pending. */
|
|
409
|
+
get pending(): boolean;
|
|
410
|
+
}
|
|
411
|
+
|
|
372
412
|
/**
|
|
373
413
|
* Core layer: message protocol, node primitive, lifecycle (Phase 0).
|
|
374
414
|
*/
|
|
@@ -378,6 +418,8 @@ declare const index_COMPLETE: typeof COMPLETE;
|
|
|
378
418
|
declare const index_DATA: typeof DATA;
|
|
379
419
|
declare const index_DEFAULT_ACTOR: typeof DEFAULT_ACTOR;
|
|
380
420
|
declare const index_DIRTY: typeof DIRTY;
|
|
421
|
+
declare const index_DescribeDetail: typeof DescribeDetail;
|
|
422
|
+
declare const index_DescribeField: typeof DescribeField;
|
|
381
423
|
declare const index_DescribeNodeOutput: typeof DescribeNodeOutput;
|
|
382
424
|
type index_DynGet = DynGet;
|
|
383
425
|
type index_DynamicNodeFn<T> = DynamicNodeFn<T>;
|
|
@@ -410,6 +452,8 @@ declare const index_PolicyDeny: typeof PolicyDeny;
|
|
|
410
452
|
declare const index_PolicyRuleData: typeof PolicyRuleData;
|
|
411
453
|
declare const index_RESOLVED: typeof RESOLVED;
|
|
412
454
|
declare const index_RESUME: typeof RESUME;
|
|
455
|
+
type index_ResettableTimer = ResettableTimer;
|
|
456
|
+
declare const index_ResettableTimer: typeof ResettableTimer;
|
|
413
457
|
declare const index_SubscribeHints: typeof SubscribeHints;
|
|
414
458
|
declare const index_TEARDOWN: typeof TEARDOWN;
|
|
415
459
|
declare const index_V0: typeof V0;
|
|
@@ -443,10 +487,11 @@ declare const index_policy: typeof policy;
|
|
|
443
487
|
declare const index_policyFromRules: typeof policyFromRules;
|
|
444
488
|
declare const index_producer: typeof producer;
|
|
445
489
|
declare const index_propagatesToMeta: typeof propagatesToMeta;
|
|
490
|
+
declare const index_resolveDescribeFields: typeof resolveDescribeFields;
|
|
446
491
|
declare const index_state: typeof state;
|
|
447
492
|
declare const index_wallClockNs: typeof wallClockNs;
|
|
448
493
|
declare namespace index {
|
|
449
|
-
export { index_Actor as Actor, index_COMPLETE as COMPLETE, index_DATA as DATA, index_DEFAULT_ACTOR as DEFAULT_ACTOR, index_DIRTY as DIRTY, index_DescribeNodeOutput as DescribeNodeOutput, type index_DynGet as DynGet, type index_DynamicNodeFn as DynamicNodeFn, index_DynamicNodeImpl as DynamicNodeImpl, type index_DynamicNodeOptions as DynamicNodeOptions, index_ERROR as ERROR, index_GuardAction as GuardAction, index_GuardDenied as GuardDenied, index_GuardDeniedDetails as GuardDeniedDetails, index_HashFn as HashFn, index_INVALIDATE as INVALIDATE, index_Message as Message, index_Messages as Messages, index_Node as Node, index_NodeActions as NodeActions, index_NodeDescribeKind as NodeDescribeKind, index_NodeFn as NodeFn, index_NodeGuard as NodeGuard, index_NodeOptions as NodeOptions, index_NodeSink as NodeSink, index_NodeStatus as NodeStatus, index_NodeTransportOptions as NodeTransportOptions, index_NodeVersionInfo as NodeVersionInfo, index_OnMessageHandler as OnMessageHandler, index_PAUSE as PAUSE, type index_PipeOperator as PipeOperator, index_PolicyAllow as PolicyAllow, index_PolicyDeny as PolicyDeny, index_PolicyRuleData as PolicyRuleData, index_RESOLVED as RESOLVED, index_RESUME as RESUME, index_SubscribeHints as SubscribeHints, index_TEARDOWN as TEARDOWN, index_V0 as V0, index_V1 as V1, index_VersioningLevel as VersioningLevel, index_VersioningOptions as VersioningOptions, index_accessHintForGuard as accessHintForGuard, index_advanceVersion as advanceVersion, index_batch as batch, index_createVersioning as createVersioning, index_defaultHash as defaultHash, index_derived as derived, index_describeNode as describeNode, index_dynamicNode as dynamicNode, index_effect as effect, index_emitWithBatch as emitWithBatch, index_isBatching as isBatching, index_isKnownMessageType as isKnownMessageType, index_isPhase2Message as isPhase2Message, index_isTerminalMessage as isTerminalMessage, index_isV1 as isV1, index_knownMessageTypes as knownMessageTypes, index_messageTier as messageTier, index_metaSnapshot as metaSnapshot, index_monotonicNs as monotonicNs, index_node as node, index_normalizeActor as normalizeActor, index_partitionForBatch as partitionForBatch, index_pipe as pipe, index_policy as policy, index_policyFromRules as policyFromRules, index_producer as producer, index_propagatesToMeta as propagatesToMeta, index_state as state, index_wallClockNs as wallClockNs };
|
|
494
|
+
export { index_Actor as Actor, index_COMPLETE as COMPLETE, index_DATA as DATA, index_DEFAULT_ACTOR as DEFAULT_ACTOR, index_DIRTY as DIRTY, index_DescribeDetail as DescribeDetail, index_DescribeField as DescribeField, index_DescribeNodeOutput as DescribeNodeOutput, type index_DynGet as DynGet, type index_DynamicNodeFn as DynamicNodeFn, index_DynamicNodeImpl as DynamicNodeImpl, type index_DynamicNodeOptions as DynamicNodeOptions, index_ERROR as ERROR, index_GuardAction as GuardAction, index_GuardDenied as GuardDenied, index_GuardDeniedDetails as GuardDeniedDetails, index_HashFn as HashFn, index_INVALIDATE as INVALIDATE, index_Message as Message, index_Messages as Messages, index_Node as Node, index_NodeActions as NodeActions, index_NodeDescribeKind as NodeDescribeKind, index_NodeFn as NodeFn, index_NodeGuard as NodeGuard, index_NodeOptions as NodeOptions, index_NodeSink as NodeSink, index_NodeStatus as NodeStatus, index_NodeTransportOptions as NodeTransportOptions, index_NodeVersionInfo as NodeVersionInfo, index_OnMessageHandler as OnMessageHandler, index_PAUSE as PAUSE, type index_PipeOperator as PipeOperator, index_PolicyAllow as PolicyAllow, index_PolicyDeny as PolicyDeny, index_PolicyRuleData as PolicyRuleData, index_RESOLVED as RESOLVED, index_RESUME as RESUME, index_ResettableTimer as ResettableTimer, index_SubscribeHints as SubscribeHints, index_TEARDOWN as TEARDOWN, index_V0 as V0, index_V1 as V1, index_VersioningLevel as VersioningLevel, index_VersioningOptions as VersioningOptions, index_accessHintForGuard as accessHintForGuard, index_advanceVersion as advanceVersion, index_batch as batch, index_createVersioning as createVersioning, index_defaultHash as defaultHash, index_derived as derived, index_describeNode as describeNode, index_dynamicNode as dynamicNode, index_effect as effect, index_emitWithBatch as emitWithBatch, index_isBatching as isBatching, index_isKnownMessageType as isKnownMessageType, index_isPhase2Message as isPhase2Message, index_isTerminalMessage as isTerminalMessage, index_isV1 as isV1, index_knownMessageTypes as knownMessageTypes, index_messageTier as messageTier, index_metaSnapshot as metaSnapshot, index_monotonicNs as monotonicNs, index_node as node, index_normalizeActor as normalizeActor, index_partitionForBatch as partitionForBatch, index_pipe as pipe, index_policy as policy, index_policyFromRules as policyFromRules, index_producer as producer, index_propagatesToMeta as propagatesToMeta, index_resolveDescribeFields as resolveDescribeFields, index_state as state, index_wallClockNs as wallClockNs };
|
|
450
495
|
}
|
|
451
496
|
|
|
452
|
-
export { type DynGet as D, type PipeOperator as P, type DynamicNodeFn as a, DynamicNodeImpl as b, type DynamicNodeOptions as c, batch as d, derived as e, dynamicNode as f, effect as g, emitWithBatch as h, index as i, isBatching as j, pipe as k, producer as l, monotonicNs as m, partitionForBatch as p, state as s, wallClockNs as w };
|
|
497
|
+
export { type DynGet as D, type PipeOperator as P, ResettableTimer as R, type DynamicNodeFn as a, DynamicNodeImpl as b, type DynamicNodeOptions as c, batch as d, derived as e, dynamicNode as f, effect as g, emitWithBatch as h, index as i, isBatching as j, pipe as k, producer as l, monotonicNs as m, partitionForBatch as p, state as s, wallClockNs as w };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { R as ReactiveLogSnapshot, o as observeGraph$, c as observeNode$, t as toMessages$, d as toObservable } from './reactive-log-
|
|
1
|
+
import { R as ReactiveLogSnapshot, o as observeGraph$, c as observeNode$, t as toMessages$, d as toObservable } from './reactive-log-BfX6bOSZ.cjs';
|
|
2
2
|
import { OnModuleInit, OnModuleDestroy, ExecutionContext, CanActivate, DynamicModule } from '@nestjs/common';
|
|
3
3
|
import { ModuleRef } from '@nestjs/core';
|
|
4
|
-
import { G as Graph, a as GraphOptions,
|
|
5
|
-
import { A as Actor, N as Node } from './meta-
|
|
4
|
+
import { G as Graph, a as GraphOptions, r as GraphPersistSnapshot } from './graph-DqTICAY2.cjs';
|
|
5
|
+
import { A as Actor, N as Node } from './meta-BJEU8fYz.cjs';
|
|
6
6
|
|
|
7
7
|
/** Class constructor key for decorator registries and Nest `ModuleRef.get()`. */
|
|
8
8
|
type DecoratorHostConstructor = abstract new (...args: unknown[]) => unknown;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { R as ReactiveLogSnapshot, o as observeGraph$, c as observeNode$, t as toMessages$, d as toObservable } from './reactive-log-
|
|
1
|
+
import { R as ReactiveLogSnapshot, o as observeGraph$, c as observeNode$, t as toMessages$, d as toObservable } from './reactive-log-RhgIog2Z.js';
|
|
2
2
|
import { OnModuleInit, OnModuleDestroy, ExecutionContext, CanActivate, DynamicModule } from '@nestjs/common';
|
|
3
3
|
import { ModuleRef } from '@nestjs/core';
|
|
4
|
-
import { G as Graph, a as GraphOptions,
|
|
5
|
-
import { A as Actor, N as Node } from './meta-
|
|
4
|
+
import { G as Graph, a as GraphOptions, r as GraphPersistSnapshot } from './graph-X9uwnD_z.js';
|
|
5
|
+
import { A as Actor, N as Node } from './meta-BJEU8fYz.js';
|
|
6
6
|
|
|
7
7
|
/** Class constructor key for decorator registries and Nest `ModuleRef.get()`. */
|
|
8
8
|
type DecoratorHostConstructor = abstract new (...args: unknown[]) => unknown;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as Node } from './meta-
|
|
2
|
-
import { G as Graph } from './graph-
|
|
1
|
+
import { N as Node } from './meta-BJEU8fYz.js';
|
|
2
|
+
import { G as Graph } from './graph-X9uwnD_z.js';
|
|
3
3
|
|
|
4
4
|
/** Pluggable measurement backend. */
|
|
5
5
|
interface MeasurementAdapter {
|
|
@@ -446,4 +446,4 @@ declare namespace index {
|
|
|
446
446
|
export { type index_BlockAdapters as BlockAdapters, index_CanvasMeasureAdapter as CanvasMeasureAdapter, type index_CanvasMeasureAdapterOptions as CanvasMeasureAdapterOptions, type index_CanvasModule as CanvasModule, type index_CharPosition as CharPosition, index_CliMeasureAdapter as CliMeasureAdapter, type index_CliMeasureAdapterOptions as CliMeasureAdapterOptions, type index_ContentBlock as ContentBlock, type index_ImageMeasurer as ImageMeasurer, index_ImageSizeAdapter as ImageSizeAdapter, type index_LayoutLine as LayoutLine, type index_LineBreaksResult as LineBreaksResult, type index_MeasuredBlock as MeasuredBlock, type index_MeasurementAdapter as MeasurementAdapter, index_NodeCanvasMeasureAdapter as NodeCanvasMeasureAdapter, type index_PositionedBlock as PositionedBlock, index_PrecomputedAdapter as PrecomputedAdapter, type index_PrecomputedAdapterOptions as PrecomputedAdapterOptions, type index_PreparedSegment as PreparedSegment, type index_ReactiveBlockLayoutBundle as ReactiveBlockLayoutBundle, type index_ReactiveBlockLayoutOptions as ReactiveBlockLayoutOptions, type index_ReactiveLayoutBundle as ReactiveLayoutBundle, type index_ReactiveLayoutOptions as ReactiveLayoutOptions, type index_SegmentBreakKind as SegmentBreakKind, type index_SegmentMeasureStats as SegmentMeasureStats, index_SvgBoundsAdapter as SvgBoundsAdapter, type index_SvgMeasurer as SvgMeasurer, index_analyzeAndMeasure as analyzeAndMeasure, index_computeBlockFlow as computeBlockFlow, index_computeCharPositions as computeCharPositions, index_computeLineBreaks as computeLineBreaks, index_computeTotalHeight as computeTotalHeight, index_measureBlock as measureBlock, index_measureBlocks as measureBlocks, index_reactiveBlockLayout as reactiveBlockLayout, index_reactiveLayout as reactiveLayout };
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
-
export { reactiveBlockLayout as A, type BlockAdapters as B, CanvasMeasureAdapter as C, reactiveLayout as D, type ImageMeasurer as I, type LayoutLine as L, type
|
|
449
|
+
export { reactiveBlockLayout as A, type BlockAdapters as B, CanvasMeasureAdapter as C, reactiveLayout as D, type ImageMeasurer as I, type LayoutLine as L, type MeasurementAdapter as M, NodeCanvasMeasureAdapter as N, type PositionedBlock as P, type ReactiveBlockLayoutBundle as R, type SegmentBreakKind as S, type CanvasMeasureAdapterOptions as a, type CanvasModule as b, type CharPosition as c, CliMeasureAdapter as d, type CliMeasureAdapterOptions as e, type ContentBlock as f, ImageSizeAdapter as g, type LineBreaksResult as h, index as i, type MeasuredBlock as j, PrecomputedAdapter as k, type PrecomputedAdapterOptions as l, type PreparedSegment as m, type ReactiveBlockLayoutOptions as n, type ReactiveLayoutBundle as o, type ReactiveLayoutOptions as p, type SegmentMeasureStats as q, SvgBoundsAdapter as r, type SvgMeasurer as s, analyzeAndMeasure as t, computeBlockFlow as u, computeCharPositions as v, computeLineBreaks as w, computeTotalHeight as x, measureBlock as y, measureBlocks as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as GraphPersistSnapshot, A as AutoCheckpointAdapter, D as DescribeFilter, d as GRAPH_META_SEGMENT, G as Graph, e as GraphActorOptions, b as GraphAutoCheckpointHandle, c as GraphAutoCheckpointOptions, f as GraphCheckpointRecord, g as GraphDescribeOptions, h as GraphDescribeOutput, i as GraphDiagramDirection, j as GraphDiagramOptions, k as GraphDiffChange, l as GraphDiffResult, m as GraphDumpOptions, n as GraphFactoryContext, o as GraphNodeFactory, p as GraphObserveAll, q as GraphObserveOne, a as GraphOptions, s as GraphSpyHandle, t as GraphSpyOptions, u as GraphSpyTheme, v as GraphSpyThemeName, O as ObserveDetail, w as ObserveEvent, x as ObserveOptions, y as ObserveResult, R as ReachableDirection, z as ReachableOptions, T as TraceEntry, B as reachable } from './graph-DqTICAY2.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* GraphCodec — pluggable serialization for graph snapshots (Phase 8.6).
|
|
@@ -194,6 +194,7 @@ declare const index_GraphAutoCheckpointHandle: typeof GraphAutoCheckpointHandle;
|
|
|
194
194
|
declare const index_GraphAutoCheckpointOptions: typeof GraphAutoCheckpointOptions;
|
|
195
195
|
declare const index_GraphCheckpointRecord: typeof GraphCheckpointRecord;
|
|
196
196
|
type index_GraphCodec = GraphCodec;
|
|
197
|
+
declare const index_GraphDescribeOptions: typeof GraphDescribeOptions;
|
|
197
198
|
declare const index_GraphDescribeOutput: typeof GraphDescribeOutput;
|
|
198
199
|
declare const index_GraphDiagramDirection: typeof GraphDiagramDirection;
|
|
199
200
|
declare const index_GraphDiagramOptions: typeof GraphDiagramOptions;
|
|
@@ -212,6 +213,7 @@ declare const index_GraphSpyTheme: typeof GraphSpyTheme;
|
|
|
212
213
|
declare const index_GraphSpyThemeName: typeof GraphSpyThemeName;
|
|
213
214
|
declare const index_JsonCodec: typeof JsonCodec;
|
|
214
215
|
type index_LazyGraphCodec = LazyGraphCodec;
|
|
216
|
+
declare const index_ObserveDetail: typeof ObserveDetail;
|
|
215
217
|
declare const index_ObserveEvent: typeof ObserveEvent;
|
|
216
218
|
declare const index_ObserveOptions: typeof ObserveOptions;
|
|
217
219
|
declare const index_ObserveResult: typeof ObserveResult;
|
|
@@ -225,7 +227,7 @@ declare const index_negotiateCodec: typeof negotiateCodec;
|
|
|
225
227
|
declare const index_reachable: typeof reachable;
|
|
226
228
|
declare const index_replayWAL: typeof replayWAL;
|
|
227
229
|
declare namespace index {
|
|
228
|
-
export { index_AutoCheckpointAdapter as AutoCheckpointAdapter, type index_DeltaCheckpoint as DeltaCheckpoint, index_DescribeFilter as DescribeFilter, type index_EvictedSubgraphInfo as EvictedSubgraphInfo, type index_EvictionPolicy as EvictionPolicy, index_GRAPH_META_SEGMENT as GRAPH_META_SEGMENT, index_Graph as Graph, index_GraphActorOptions as GraphActorOptions, index_GraphAutoCheckpointHandle as GraphAutoCheckpointHandle, index_GraphAutoCheckpointOptions as GraphAutoCheckpointOptions, index_GraphCheckpointRecord as GraphCheckpointRecord, type index_GraphCodec as GraphCodec, index_GraphDescribeOutput as GraphDescribeOutput, index_GraphDiagramDirection as GraphDiagramDirection, index_GraphDiagramOptions as GraphDiagramOptions, index_GraphDiffChange as GraphDiffChange, index_GraphDiffResult as GraphDiffResult, index_GraphDumpOptions as GraphDumpOptions, 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_GraphSpyHandle as GraphSpyHandle, index_GraphSpyOptions as GraphSpyOptions, index_GraphSpyTheme as GraphSpyTheme, index_GraphSpyThemeName as GraphSpyThemeName, index_JsonCodec as JsonCodec, type index_LazyGraphCodec as LazyGraphCodec, index_ObserveEvent as ObserveEvent, index_ObserveOptions as ObserveOptions, index_ObserveResult as ObserveResult, index_ReachableDirection as ReachableDirection, index_ReachableOptions as ReachableOptions, index_TraceEntry as TraceEntry, type index_WALEntry as WALEntry, index_createDagCborCodec as createDagCborCodec, index_createDagCborZstdCodec as createDagCborZstdCodec, index_negotiateCodec as negotiateCodec, index_reachable as reachable, index_replayWAL as replayWAL };
|
|
230
|
+
export { index_AutoCheckpointAdapter as AutoCheckpointAdapter, type index_DeltaCheckpoint as DeltaCheckpoint, index_DescribeFilter as DescribeFilter, type index_EvictedSubgraphInfo as EvictedSubgraphInfo, type index_EvictionPolicy as EvictionPolicy, index_GRAPH_META_SEGMENT as GRAPH_META_SEGMENT, index_Graph as Graph, index_GraphActorOptions as GraphActorOptions, index_GraphAutoCheckpointHandle as GraphAutoCheckpointHandle, index_GraphAutoCheckpointOptions as GraphAutoCheckpointOptions, 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_GraphDumpOptions as GraphDumpOptions, 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_GraphSpyHandle as GraphSpyHandle, index_GraphSpyOptions as GraphSpyOptions, index_GraphSpyTheme as GraphSpyTheme, index_GraphSpyThemeName as GraphSpyThemeName, index_JsonCodec as JsonCodec, type index_LazyGraphCodec as LazyGraphCodec, index_ObserveDetail as ObserveDetail, index_ObserveEvent as ObserveEvent, index_ObserveOptions as ObserveOptions, index_ObserveResult as ObserveResult, index_ReachableDirection as ReachableDirection, index_ReachableOptions as ReachableOptions, index_TraceEntry as TraceEntry, type index_WALEntry as WALEntry, index_createDagCborCodec as createDagCborCodec, index_createDagCborZstdCodec as createDagCborZstdCodec, index_negotiateCodec as negotiateCodec, index_reachable as reachable, index_replayWAL as replayWAL };
|
|
229
231
|
}
|
|
230
232
|
|
|
231
233
|
export { type DeltaCheckpoint as D, type EvictedSubgraphInfo as E, type GraphCodec as G, JsonCodec as J, type LazyGraphCodec as L, type WALEntry as W, type EvictionPolicy as a, createDagCborZstdCodec as b, createDagCborCodec as c, index as i, negotiateCodec as n, replayWAL as r };
|