@graphrefly/graphrefly 0.7.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/dist/{chunk-L4J2K2RT.js → chunk-A2AJJOSJ.js} +3 -3
- package/dist/{chunk-ISGMZ2T3.js → chunk-E7OH6ZAZ.js} +3 -3
- package/dist/{chunk-47YJEZUJ.js → chunk-LR2CLSEF.js} +2 -2
- package/dist/{chunk-3EVXOI5C.js → chunk-QTZSBQGJ.js} +35 -21
- package/dist/chunk-QTZSBQGJ.js.map +1 -0
- package/dist/{chunk-ONLYF6GA.js → chunk-TZLX4KIT.js} +3 -3
- package/dist/{chunk-FGLZ5QID.js → chunk-UCW3VWMN.js} +4 -4
- package/dist/{chunk-BLCXEMAD.js → chunk-WYI7YW54.js} +16 -8
- package/dist/chunk-WYI7YW54.js.map +1 -0
- package/dist/{chunk-OSR3G3DP.js → chunk-XCZPGOVP.js} +3 -3
- package/dist/{chunk-PEBORXRA.js → chunk-YWTP2XRJ.js} +2 -2
- package/dist/compat/nestjs/index.cjs +47 -25
- package/dist/compat/nestjs/index.cjs.map +1 -1
- package/dist/compat/nestjs/index.d.cts +3 -3
- package/dist/compat/nestjs/index.d.ts +3 -3
- package/dist/compat/nestjs/index.js +7 -7
- package/dist/core/index.cjs +34 -20
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +3 -3
- package/dist/extra/index.cjs +34 -20
- package/dist/extra/index.cjs.map +1 -1
- package/dist/extra/index.d.cts +3 -3
- package/dist/extra/index.d.ts +3 -3
- package/dist/extra/index.js +3 -3
- package/dist/graph/index.cjs +47 -25
- package/dist/graph/index.cjs.map +1 -1
- package/dist/graph/index.d.cts +2 -2
- package/dist/graph/index.d.ts +2 -2
- package/dist/graph/index.js +4 -4
- package/dist/{graph-B3BoJjcb.d.cts → graph-DqTICAY2.d.cts} +11 -5
- package/dist/{graph-CmiUuhaN.d.ts → graph-X9uwnD_z.d.ts} +11 -5
- package/dist/{index-D0cx-Yht.d.cts → index-3U0WxdD-.d.cts} +1 -1
- package/dist/{index-D1hgSTzr.d.cts → index-BP1t_38S.d.cts} +2 -2
- package/dist/{index-CsUq2rrK.d.ts → index-BPCeYDS4.d.ts} +1 -1
- package/dist/{index-BrgtEG-C.d.ts → index-BVG5pjin.d.ts} +3 -1
- package/dist/{index-D8NIq6om.d.cts → index-BYEgosAX.d.cts} +3 -1
- package/dist/{index-BsuKSs4L.d.cts → index-BYa2YMat.d.cts} +2 -2
- package/dist/{index-DFFNKYig.d.ts → index-DLO8wnYU.d.ts} +2 -2
- package/dist/{index-Bf2X1YSI.d.ts → index-DMv1Etbi.d.ts} +1 -1
- package/dist/{index-Bl7hJcc3.d.cts → index-DbwgQ4Cw.d.cts} +1 -1
- package/dist/{index-Pm68AYPh.d.ts → index-a5gHmH5b.d.ts} +2 -2
- package/dist/index.cjs +47 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +16 -16
- package/dist/patterns/reactive-layout/index.cjs +47 -25
- package/dist/patterns/reactive-layout/index.cjs.map +1 -1
- package/dist/patterns/reactive-layout/index.d.cts +2 -2
- package/dist/patterns/reactive-layout/index.d.ts +2 -2
- package/dist/patterns/reactive-layout/index.js +4 -4
- package/dist/{reactive-log-CAXzJ7hw.d.cts → reactive-log-BfX6bOSZ.d.cts} +1 -1
- package/dist/{reactive-log-DwNhOe0g.d.ts → reactive-log-RhgIog2Z.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-3EVXOI5C.js.map +0 -1
- package/dist/chunk-BLCXEMAD.js.map +0 -1
- /package/dist/{chunk-L4J2K2RT.js.map → chunk-A2AJJOSJ.js.map} +0 -0
- /package/dist/{chunk-ISGMZ2T3.js.map → chunk-E7OH6ZAZ.js.map} +0 -0
- /package/dist/{chunk-47YJEZUJ.js.map → chunk-LR2CLSEF.js.map} +0 -0
- /package/dist/{chunk-ONLYF6GA.js.map → chunk-TZLX4KIT.js.map} +0 -0
- /package/dist/{chunk-FGLZ5QID.js.map → chunk-UCW3VWMN.js.map} +0 -0
- /package/dist/{chunk-OSR3G3DP.js.map → chunk-XCZPGOVP.js.map} +0 -0
- /package/dist/{chunk-PEBORXRA.js.map → chunk-YWTP2XRJ.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { N as Node, A as Actor, a as NodeOptions, b as NodeActions, c as NodeFn } from './meta-BJEU8fYz.cjs';
|
|
2
2
|
export { 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, k as Messages, l as NodeDescribeKind, m as NodeGuard, n as NodeSink, o as NodeStatus, p as NodeTransportOptions, q as NodeVersionInfo, O as OnMessageHandler, P as PAUSE, r as PolicyAllow, s as PolicyDeny, t as PolicyRuleData, R as RESOLVED, u as RESUME, S as SubscribeHints, 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';
|
|
3
|
-
import { i as index$a, c as cqrs } from './index-
|
|
3
|
+
import { i as index$a, c as cqrs } from './index-BYa2YMat.cjs';
|
|
4
4
|
import { Ref, WatchSource } from 'vue';
|
|
5
|
-
import { G as Graph, a as GraphOptions, b as GraphAutoCheckpointHandle, A as AutoCheckpointAdapter, c as GraphAutoCheckpointOptions } from './graph-
|
|
6
|
-
export { D as DescribeFilter, d as GRAPH_META_SEGMENT, e as GraphActorOptions, 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, r as GraphPersistSnapshot, 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-
|
|
7
|
-
export { D as DynGet, a as DynamicNodeFn, b as DynamicNodeImpl, c as DynamicNodeOptions, P as PipeOperator, R as ResettableTimer, d as batch, i as core, e as derived, f as dynamicNode, g as effect, h as emitWithBatch, j as isBatching, m as monotonicNs, p as partitionForBatch, k as pipe, l as producer, s as state, w as wallClockNs } from './index-
|
|
8
|
-
import { N as NodeInput, D as DistillBundle, E as Extraction, R as ReactiveListSnapshot, a as ReactiveMapSnapshot } from './index-
|
|
9
|
-
export { A as AdapterHandlers, b as AsyncSourceOpts, B as BackoffPreset, c as BackoffStrategy, d as BatchMessage, e as BridgeMessage, f as BufferedSinkHandle, C as CSVRow, g as CacheEvictionPolicy, h as CacheTier, i as CascadingCache, j as CascadingCacheOptions, k as CheckpointAdapter, l as CheckpointToRedisOptions, m as CheckpointToS3Options, n as CircuitBreaker, o as CircuitBreakerOptions, p as CircuitOpenError, q as CircuitState, r as ClickHouseClientLike, s as ClickHouseInsertClientLike, t as ClickHouseRow, u as CronSchedule, v as DictCheckpointAdapter, w as DistillOptions, x as DrizzleQueryLike, y as ErrorMessage, z as EventTargetLike, F as ExponentialBackoffOptions, G as FSEvent, H as FSEventType, I as FileCheckpointAdapter, J as FileWriterLike, K as FromCSVOptions, L as FromClickHouseWatchOptions, M as FromCronOptions, O as FromDrizzleOptions, P as FromFSWatchOptions, Q as FromGitHookOptions, S as FromHTTPOptions, T as FromKafkaOptions, U as FromKyselyOptions, V as FromMCPOptions, W as FromNATSOptions, X as FromNDJSONOptions, Y as FromOTelOptions, Z as FromPrismaOptions, _ as FromPrometheusOptions, $ as FromPulsarOptions, a0 as FromRabbitMQOptions, a1 as FromRedisStreamOptions, a2 as FromSqliteOptions, a3 as FromStatsDOptions, a4 as FromSyslogOptions, a5 as GitEvent, a6 as GitHookType, a7 as HTTPBundle, a8 as IndexRow, a9 as IndexedDbCheckpointSpec, aa as InitMessage, ab as JitterMode, ac as KafkaConsumerLike, ad as KafkaMessage, ae as KafkaProducerLike, af as KyselyQueryLike, ag as LokiClientLike, ah as LokiStream, ai as MCPClientLike, aj as MemoryCheckpointAdapter, ak as MergeMapOptions, al as MongoCollectionLike, am as NATSClientLike, an as NATSMessage, ao as NATSSubscriptionLike, ap as NS_PER_MS, aq as NS_PER_SEC, ar as OTelBundle, as as OTelLog, at as OTelMetric, au as OTelRegister, av as OTelSpan, aw as PostgresClientLike, ax as PrismaModelLike, ay as PrometheusMetric, az as PubSubHub, aA as PulsarConsumerLike, aB as PulsarMessage, aC as PulsarProducerLike, aD as RabbitMQChannelLike, aE as RabbitMQMessage, aF as ReactiveIndexBundle, aG as ReactiveIndexOptions, aH as ReactiveIndexSnapshot, aI as ReactiveListBundle, aJ as ReactiveListOptions, aK as ReactiveMapBundle, aL as ReactiveMapOptions, aM as ReadyMessage, aN as RedisCheckpointClientLike, aO as RedisClientLike, aP as RedisStreamEntry, aQ as RetryOptions, aR as S3ClientLike, aS as SignalMessage, aT as SinkHandle, aU as SinkTransportError, aV as SqliteCheckpointAdapter, aW as SqliteDbLike, aX as StatsDMetric, aY as StatsDRegister, aZ as StatusValue, a_ as SyslogMessage, a$ as SyslogRegister, b0 as TapObserver, b1 as TempoClientLike, b2 as ThrottleOptions, b3 as TieredStorage, b4 as TieredStorageOptions, b5 as TimeoutError, b6 as ToCSVOptions, b7 as ToClickHouseOptions, b8 as ToFileOptions, b9 as ToKafkaOptions, ba as ToLokiOptions, bb as ToMongoOptions, bc as ToNATSOptions, bd as ToPostgresOptions, be as ToPulsarOptions, bf as ToRabbitMQOptions, bg as ToRedisStreamOptions, bh as ToS3Options, bi as ToSSEOptions, bj as ToSqliteOptions, bk as ToTempoOptions, bl as ToWebSocketOptions, bm as ToWebSocketTransportError, bn as TokenBucket, bo as ValueMessage, bp as VerifiableBundle, bq as VerifiableOptions, br as VerifyValue, bs as WatermarkController, bt as WatermarkOptions, bu as WebSocketLike, bv as WebSocketMessageEventLike, bw as WebSocketRegister, bx as WebhookRegister, by as WithBreakerBundle, bz as WithStatusBundle, bA as WorkerBridge, bB as WorkerBridgeOptions, bC as WorkerSelfHandle, bD as WorkerSelfOptions, bE as WorkerTransport, bF as audit, bG as buffer, bH as bufferCount, bI as bufferTime, bJ as cache, bK as cached, bL as cascadingCache, bM as catchError, bN as checkpointNodeValue, bO as checkpointToRedis, bP as checkpointToS3, bQ as circuitBreaker, bR as combine, bS as combineLatest, bT as concat, bU as concatMap, bV as constant, bW as createTransport, bX as createWatermarkController, bY as debounce, bZ as debounceTime, b_ as decorrelatedJitter, b$ as delay, c0 as deserializeError, c1 as distill, c2 as distinctUntilChanged, c3 as elementAt, c4 as empty, c5 as escapeRegexChar, c6 as exhaustMap, c7 as exponential, c8 as extra, c9 as fallback, ca as fibonacci, cb as filter, cc as find, cd as first, ce as firstValueFrom, cf as flatMap, cg as forEach, ch as fromAny, ci as fromAsyncIter, cj as fromCSV, ck as fromClickHouseWatch, cl as fromCron, cm as fromDrizzle, cn as fromEvent, co as fromFSWatch, cp as fromGitHook, cq as fromHTTP, cr as fromIDBRequest, cs as fromIDBTransaction, ct as fromIter, cu as fromKafka, cv as fromKysely, cw as fromMCP, cx as fromNATS, cy as fromNDJSON, cz as fromOTel, cA as fromPrisma, cB as fromPrometheus, cC as fromPromise, cD as fromPulsar, cE as fromRabbitMQ, cF as fromRedisStream, cG as fromSqlite, cH as fromStatsD, cI as fromSyslog, cJ as fromTimer, cK as fromWebSocket, cL as fromWebhook, cM as gate, cN as globToRegExp, cO as interval, cP as last, cQ as linear, cR as lru, cS as map, cT as matchesAnyPattern, cU as matchesCron, cV as merge, cW as mergeMap, cX as nameToSignal, cY as never, cZ as of, c_ as pairwise, c$ as parseCron, d0 as parsePrometheusText, d1 as parseStatsD, d2 as parseSyslog, d3 as pausable, d4 as pubsub, d5 as race, d6 as rateLimiter, d7 as reactiveIndex, d8 as reactiveList, d9 as reactiveMap, da as reduce, db as repeat, dc as replay, dd as rescue, de as resolveBackoffPreset, df as restoreGraphCheckpoint, dg as restoreGraphCheckpointIndexedDb, dh as retry, di as sample, dj as saveGraphCheckpoint, dk as saveGraphCheckpointIndexedDb, dl as scan, dm as serializeError, dn as share, dp as shareReplay, dq as signalToName, dr as skip, ds as startWith, dt as switchMap, du as take, dv as takeUntil, dw as takeWhile, dx as tap, dy as throttle, dz as throttleTime, dA as throwError, dB as tieredStorage, dC as timeout, dD as toArray, dE as toCSV, dF as toClickHouse, dG as toFile, dH as toKafka, dI as toLoki, dJ as toMongo, dK as toNATS, dL as toPostgres, dM as toPulsar, dN as toRabbitMQ, dO as toRedisStream, dP as toS3, dQ as toSSE, dR as toSqlite, dS as toTempo, dT as toWebSocket, dU as tokenBucket, dV as tokenTracker, dW as verifiable, dX as window, dY as windowCount, dZ as windowTime, d_ as withBreaker, d$ as withLatestFrom, e0 as withMaxAttempts, e1 as withStatus, e2 as workerBridge, e3 as workerSelf, e4 as zip } from './index-
|
|
10
|
-
export { D as DeltaCheckpoint, E as EvictedSubgraphInfo, a as EvictionPolicy, G as GraphCodec, J as JsonCodec, L as LazyGraphCodec, W as WALEntry, c as createDagCborCodec, b as createDagCborZstdCodec, i as graph, n as negotiateCodec, r as replayWAL } from './index-
|
|
11
|
-
import { R as ReactiveLogSnapshot } from './reactive-log-
|
|
12
|
-
export { a as ReactiveLogBundle, b as ReactiveLogOptions, l as logSlice, o as observeGraph$, c as observeNode$, r as reactiveLog, t as toMessages$, d as toObservable } from './reactive-log-
|
|
13
|
-
import { M as MeasurementAdapter, i as index$b } from './index-
|
|
5
|
+
import { G as Graph, a as GraphOptions, b as GraphAutoCheckpointHandle, A as AutoCheckpointAdapter, c as GraphAutoCheckpointOptions } from './graph-DqTICAY2.cjs';
|
|
6
|
+
export { D as DescribeFilter, d as GRAPH_META_SEGMENT, e as GraphActorOptions, 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, r as GraphPersistSnapshot, 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';
|
|
7
|
+
export { D as DynGet, a as DynamicNodeFn, b as DynamicNodeImpl, c as DynamicNodeOptions, P as PipeOperator, R as ResettableTimer, d as batch, i as core, e as derived, f as dynamicNode, g as effect, h as emitWithBatch, j as isBatching, m as monotonicNs, p as partitionForBatch, k as pipe, l as producer, s as state, w as wallClockNs } from './index-BYEgosAX.cjs';
|
|
8
|
+
import { N as NodeInput, D as DistillBundle, E as Extraction, R as ReactiveListSnapshot, a as ReactiveMapSnapshot } from './index-BP1t_38S.cjs';
|
|
9
|
+
export { A as AdapterHandlers, b as AsyncSourceOpts, B as BackoffPreset, c as BackoffStrategy, d as BatchMessage, e as BridgeMessage, f as BufferedSinkHandle, C as CSVRow, g as CacheEvictionPolicy, h as CacheTier, i as CascadingCache, j as CascadingCacheOptions, k as CheckpointAdapter, l as CheckpointToRedisOptions, m as CheckpointToS3Options, n as CircuitBreaker, o as CircuitBreakerOptions, p as CircuitOpenError, q as CircuitState, r as ClickHouseClientLike, s as ClickHouseInsertClientLike, t as ClickHouseRow, u as CronSchedule, v as DictCheckpointAdapter, w as DistillOptions, x as DrizzleQueryLike, y as ErrorMessage, z as EventTargetLike, F as ExponentialBackoffOptions, G as FSEvent, H as FSEventType, I as FileCheckpointAdapter, J as FileWriterLike, K as FromCSVOptions, L as FromClickHouseWatchOptions, M as FromCronOptions, O as FromDrizzleOptions, P as FromFSWatchOptions, Q as FromGitHookOptions, S as FromHTTPOptions, T as FromKafkaOptions, U as FromKyselyOptions, V as FromMCPOptions, W as FromNATSOptions, X as FromNDJSONOptions, Y as FromOTelOptions, Z as FromPrismaOptions, _ as FromPrometheusOptions, $ as FromPulsarOptions, a0 as FromRabbitMQOptions, a1 as FromRedisStreamOptions, a2 as FromSqliteOptions, a3 as FromStatsDOptions, a4 as FromSyslogOptions, a5 as GitEvent, a6 as GitHookType, a7 as HTTPBundle, a8 as IndexRow, a9 as IndexedDbCheckpointSpec, aa as InitMessage, ab as JitterMode, ac as KafkaConsumerLike, ad as KafkaMessage, ae as KafkaProducerLike, af as KyselyQueryLike, ag as LokiClientLike, ah as LokiStream, ai as MCPClientLike, aj as MemoryCheckpointAdapter, ak as MergeMapOptions, al as MongoCollectionLike, am as NATSClientLike, an as NATSMessage, ao as NATSSubscriptionLike, ap as NS_PER_MS, aq as NS_PER_SEC, ar as OTelBundle, as as OTelLog, at as OTelMetric, au as OTelRegister, av as OTelSpan, aw as PostgresClientLike, ax as PrismaModelLike, ay as PrometheusMetric, az as PubSubHub, aA as PulsarConsumerLike, aB as PulsarMessage, aC as PulsarProducerLike, aD as RabbitMQChannelLike, aE as RabbitMQMessage, aF as ReactiveIndexBundle, aG as ReactiveIndexOptions, aH as ReactiveIndexSnapshot, aI as ReactiveListBundle, aJ as ReactiveListOptions, aK as ReactiveMapBundle, aL as ReactiveMapOptions, aM as ReadyMessage, aN as RedisCheckpointClientLike, aO as RedisClientLike, aP as RedisStreamEntry, aQ as RetryOptions, aR as S3ClientLike, aS as SignalMessage, aT as SinkHandle, aU as SinkTransportError, aV as SqliteCheckpointAdapter, aW as SqliteDbLike, aX as StatsDMetric, aY as StatsDRegister, aZ as StatusValue, a_ as SyslogMessage, a$ as SyslogRegister, b0 as TapObserver, b1 as TempoClientLike, b2 as ThrottleOptions, b3 as TieredStorage, b4 as TieredStorageOptions, b5 as TimeoutError, b6 as ToCSVOptions, b7 as ToClickHouseOptions, b8 as ToFileOptions, b9 as ToKafkaOptions, ba as ToLokiOptions, bb as ToMongoOptions, bc as ToNATSOptions, bd as ToPostgresOptions, be as ToPulsarOptions, bf as ToRabbitMQOptions, bg as ToRedisStreamOptions, bh as ToS3Options, bi as ToSSEOptions, bj as ToSqliteOptions, bk as ToTempoOptions, bl as ToWebSocketOptions, bm as ToWebSocketTransportError, bn as TokenBucket, bo as ValueMessage, bp as VerifiableBundle, bq as VerifiableOptions, br as VerifyValue, bs as WatermarkController, bt as WatermarkOptions, bu as WebSocketLike, bv as WebSocketMessageEventLike, bw as WebSocketRegister, bx as WebhookRegister, by as WithBreakerBundle, bz as WithStatusBundle, bA as WorkerBridge, bB as WorkerBridgeOptions, bC as WorkerSelfHandle, bD as WorkerSelfOptions, bE as WorkerTransport, bF as audit, bG as buffer, bH as bufferCount, bI as bufferTime, bJ as cache, bK as cached, bL as cascadingCache, bM as catchError, bN as checkpointNodeValue, bO as checkpointToRedis, bP as checkpointToS3, bQ as circuitBreaker, bR as combine, bS as combineLatest, bT as concat, bU as concatMap, bV as constant, bW as createTransport, bX as createWatermarkController, bY as debounce, bZ as debounceTime, b_ as decorrelatedJitter, b$ as delay, c0 as deserializeError, c1 as distill, c2 as distinctUntilChanged, c3 as elementAt, c4 as empty, c5 as escapeRegexChar, c6 as exhaustMap, c7 as exponential, c8 as extra, c9 as fallback, ca as fibonacci, cb as filter, cc as find, cd as first, ce as firstValueFrom, cf as flatMap, cg as forEach, ch as fromAny, ci as fromAsyncIter, cj as fromCSV, ck as fromClickHouseWatch, cl as fromCron, cm as fromDrizzle, cn as fromEvent, co as fromFSWatch, cp as fromGitHook, cq as fromHTTP, cr as fromIDBRequest, cs as fromIDBTransaction, ct as fromIter, cu as fromKafka, cv as fromKysely, cw as fromMCP, cx as fromNATS, cy as fromNDJSON, cz as fromOTel, cA as fromPrisma, cB as fromPrometheus, cC as fromPromise, cD as fromPulsar, cE as fromRabbitMQ, cF as fromRedisStream, cG as fromSqlite, cH as fromStatsD, cI as fromSyslog, cJ as fromTimer, cK as fromWebSocket, cL as fromWebhook, cM as gate, cN as globToRegExp, cO as interval, cP as last, cQ as linear, cR as lru, cS as map, cT as matchesAnyPattern, cU as matchesCron, cV as merge, cW as mergeMap, cX as nameToSignal, cY as never, cZ as of, c_ as pairwise, c$ as parseCron, d0 as parsePrometheusText, d1 as parseStatsD, d2 as parseSyslog, d3 as pausable, d4 as pubsub, d5 as race, d6 as rateLimiter, d7 as reactiveIndex, d8 as reactiveList, d9 as reactiveMap, da as reduce, db as repeat, dc as replay, dd as rescue, de as resolveBackoffPreset, df as restoreGraphCheckpoint, dg as restoreGraphCheckpointIndexedDb, dh as retry, di as sample, dj as saveGraphCheckpoint, dk as saveGraphCheckpointIndexedDb, dl as scan, dm as serializeError, dn as share, dp as shareReplay, dq as signalToName, dr as skip, ds as startWith, dt as switchMap, du as take, dv as takeUntil, dw as takeWhile, dx as tap, dy as throttle, dz as throttleTime, dA as throwError, dB as tieredStorage, dC as timeout, dD as toArray, dE as toCSV, dF as toClickHouse, dG as toFile, dH as toKafka, dI as toLoki, dJ as toMongo, dK as toNATS, dL as toPostgres, dM as toPulsar, dN as toRabbitMQ, dO as toRedisStream, dP as toS3, dQ as toSSE, dR as toSqlite, dS as toTempo, dT as toWebSocket, dU as tokenBucket, dV as tokenTracker, dW as verifiable, dX as window, dY as windowCount, dZ as windowTime, d_ as withBreaker, d$ as withLatestFrom, e0 as withMaxAttempts, e1 as withStatus, e2 as workerBridge, e3 as workerSelf, e4 as zip } from './index-BP1t_38S.cjs';
|
|
10
|
+
export { D as DeltaCheckpoint, E as EvictedSubgraphInfo, a as EvictionPolicy, G as GraphCodec, J as JsonCodec, L as LazyGraphCodec, W as WALEntry, c as createDagCborCodec, b as createDagCborZstdCodec, i as graph, n as negotiateCodec, r as replayWAL } from './index-DbwgQ4Cw.cjs';
|
|
11
|
+
import { R as ReactiveLogSnapshot } from './reactive-log-BfX6bOSZ.cjs';
|
|
12
|
+
export { a as ReactiveLogBundle, b as ReactiveLogOptions, l as logSlice, o as observeGraph$, c as observeNode$, r as reactiveLog, t as toMessages$, d as toObservable } from './reactive-log-BfX6bOSZ.cjs';
|
|
13
|
+
import { M as MeasurementAdapter, i as index$b } from './index-3U0WxdD-.cjs';
|
|
14
14
|
import '@nestjs/common';
|
|
15
15
|
import '@nestjs/core';
|
|
16
16
|
import 'rxjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { N as Node, A as Actor, a as NodeOptions, b as NodeActions, c as NodeFn } from './meta-BJEU8fYz.js';
|
|
2
2
|
export { 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, k as Messages, l as NodeDescribeKind, m as NodeGuard, n as NodeSink, o as NodeStatus, p as NodeTransportOptions, q as NodeVersionInfo, O as OnMessageHandler, P as PAUSE, r as PolicyAllow, s as PolicyDeny, t as PolicyRuleData, R as RESOLVED, u as RESUME, S as SubscribeHints, 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';
|
|
3
|
-
import { i as index$a, c as cqrs } from './index-
|
|
3
|
+
import { i as index$a, c as cqrs } from './index-DLO8wnYU.js';
|
|
4
4
|
import { Ref, WatchSource } from 'vue';
|
|
5
|
-
import { G as Graph, a as GraphOptions, b as GraphAutoCheckpointHandle, A as AutoCheckpointAdapter, c as GraphAutoCheckpointOptions } from './graph-
|
|
6
|
-
export { D as DescribeFilter, d as GRAPH_META_SEGMENT, e as GraphActorOptions, 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, r as GraphPersistSnapshot, 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-
|
|
7
|
-
export { D as DynGet, a as DynamicNodeFn, b as DynamicNodeImpl, c as DynamicNodeOptions, P as PipeOperator, R as ResettableTimer, d as batch, i as core, e as derived, f as dynamicNode, g as effect, h as emitWithBatch, j as isBatching, m as monotonicNs, p as partitionForBatch, k as pipe, l as producer, s as state, w as wallClockNs } from './index-
|
|
8
|
-
import { N as NodeInput, D as DistillBundle, E as Extraction, R as ReactiveListSnapshot, a as ReactiveMapSnapshot } from './index-
|
|
9
|
-
export { A as AdapterHandlers, b as AsyncSourceOpts, B as BackoffPreset, c as BackoffStrategy, d as BatchMessage, e as BridgeMessage, f as BufferedSinkHandle, C as CSVRow, g as CacheEvictionPolicy, h as CacheTier, i as CascadingCache, j as CascadingCacheOptions, k as CheckpointAdapter, l as CheckpointToRedisOptions, m as CheckpointToS3Options, n as CircuitBreaker, o as CircuitBreakerOptions, p as CircuitOpenError, q as CircuitState, r as ClickHouseClientLike, s as ClickHouseInsertClientLike, t as ClickHouseRow, u as CronSchedule, v as DictCheckpointAdapter, w as DistillOptions, x as DrizzleQueryLike, y as ErrorMessage, z as EventTargetLike, F as ExponentialBackoffOptions, G as FSEvent, H as FSEventType, I as FileCheckpointAdapter, J as FileWriterLike, K as FromCSVOptions, L as FromClickHouseWatchOptions, M as FromCronOptions, O as FromDrizzleOptions, P as FromFSWatchOptions, Q as FromGitHookOptions, S as FromHTTPOptions, T as FromKafkaOptions, U as FromKyselyOptions, V as FromMCPOptions, W as FromNATSOptions, X as FromNDJSONOptions, Y as FromOTelOptions, Z as FromPrismaOptions, _ as FromPrometheusOptions, $ as FromPulsarOptions, a0 as FromRabbitMQOptions, a1 as FromRedisStreamOptions, a2 as FromSqliteOptions, a3 as FromStatsDOptions, a4 as FromSyslogOptions, a5 as GitEvent, a6 as GitHookType, a7 as HTTPBundle, a8 as IndexRow, a9 as IndexedDbCheckpointSpec, aa as InitMessage, ab as JitterMode, ac as KafkaConsumerLike, ad as KafkaMessage, ae as KafkaProducerLike, af as KyselyQueryLike, ag as LokiClientLike, ah as LokiStream, ai as MCPClientLike, aj as MemoryCheckpointAdapter, ak as MergeMapOptions, al as MongoCollectionLike, am as NATSClientLike, an as NATSMessage, ao as NATSSubscriptionLike, ap as NS_PER_MS, aq as NS_PER_SEC, ar as OTelBundle, as as OTelLog, at as OTelMetric, au as OTelRegister, av as OTelSpan, aw as PostgresClientLike, ax as PrismaModelLike, ay as PrometheusMetric, az as PubSubHub, aA as PulsarConsumerLike, aB as PulsarMessage, aC as PulsarProducerLike, aD as RabbitMQChannelLike, aE as RabbitMQMessage, aF as ReactiveIndexBundle, aG as ReactiveIndexOptions, aH as ReactiveIndexSnapshot, aI as ReactiveListBundle, aJ as ReactiveListOptions, aK as ReactiveMapBundle, aL as ReactiveMapOptions, aM as ReadyMessage, aN as RedisCheckpointClientLike, aO as RedisClientLike, aP as RedisStreamEntry, aQ as RetryOptions, aR as S3ClientLike, aS as SignalMessage, aT as SinkHandle, aU as SinkTransportError, aV as SqliteCheckpointAdapter, aW as SqliteDbLike, aX as StatsDMetric, aY as StatsDRegister, aZ as StatusValue, a_ as SyslogMessage, a$ as SyslogRegister, b0 as TapObserver, b1 as TempoClientLike, b2 as ThrottleOptions, b3 as TieredStorage, b4 as TieredStorageOptions, b5 as TimeoutError, b6 as ToCSVOptions, b7 as ToClickHouseOptions, b8 as ToFileOptions, b9 as ToKafkaOptions, ba as ToLokiOptions, bb as ToMongoOptions, bc as ToNATSOptions, bd as ToPostgresOptions, be as ToPulsarOptions, bf as ToRabbitMQOptions, bg as ToRedisStreamOptions, bh as ToS3Options, bi as ToSSEOptions, bj as ToSqliteOptions, bk as ToTempoOptions, bl as ToWebSocketOptions, bm as ToWebSocketTransportError, bn as TokenBucket, bo as ValueMessage, bp as VerifiableBundle, bq as VerifiableOptions, br as VerifyValue, bs as WatermarkController, bt as WatermarkOptions, bu as WebSocketLike, bv as WebSocketMessageEventLike, bw as WebSocketRegister, bx as WebhookRegister, by as WithBreakerBundle, bz as WithStatusBundle, bA as WorkerBridge, bB as WorkerBridgeOptions, bC as WorkerSelfHandle, bD as WorkerSelfOptions, bE as WorkerTransport, bF as audit, bG as buffer, bH as bufferCount, bI as bufferTime, bJ as cache, bK as cached, bL as cascadingCache, bM as catchError, bN as checkpointNodeValue, bO as checkpointToRedis, bP as checkpointToS3, bQ as circuitBreaker, bR as combine, bS as combineLatest, bT as concat, bU as concatMap, bV as constant, bW as createTransport, bX as createWatermarkController, bY as debounce, bZ as debounceTime, b_ as decorrelatedJitter, b$ as delay, c0 as deserializeError, c1 as distill, c2 as distinctUntilChanged, c3 as elementAt, c4 as empty, c5 as escapeRegexChar, c6 as exhaustMap, c7 as exponential, c8 as extra, c9 as fallback, ca as fibonacci, cb as filter, cc as find, cd as first, ce as firstValueFrom, cf as flatMap, cg as forEach, ch as fromAny, ci as fromAsyncIter, cj as fromCSV, ck as fromClickHouseWatch, cl as fromCron, cm as fromDrizzle, cn as fromEvent, co as fromFSWatch, cp as fromGitHook, cq as fromHTTP, cr as fromIDBRequest, cs as fromIDBTransaction, ct as fromIter, cu as fromKafka, cv as fromKysely, cw as fromMCP, cx as fromNATS, cy as fromNDJSON, cz as fromOTel, cA as fromPrisma, cB as fromPrometheus, cC as fromPromise, cD as fromPulsar, cE as fromRabbitMQ, cF as fromRedisStream, cG as fromSqlite, cH as fromStatsD, cI as fromSyslog, cJ as fromTimer, cK as fromWebSocket, cL as fromWebhook, cM as gate, cN as globToRegExp, cO as interval, cP as last, cQ as linear, cR as lru, cS as map, cT as matchesAnyPattern, cU as matchesCron, cV as merge, cW as mergeMap, cX as nameToSignal, cY as never, cZ as of, c_ as pairwise, c$ as parseCron, d0 as parsePrometheusText, d1 as parseStatsD, d2 as parseSyslog, d3 as pausable, d4 as pubsub, d5 as race, d6 as rateLimiter, d7 as reactiveIndex, d8 as reactiveList, d9 as reactiveMap, da as reduce, db as repeat, dc as replay, dd as rescue, de as resolveBackoffPreset, df as restoreGraphCheckpoint, dg as restoreGraphCheckpointIndexedDb, dh as retry, di as sample, dj as saveGraphCheckpoint, dk as saveGraphCheckpointIndexedDb, dl as scan, dm as serializeError, dn as share, dp as shareReplay, dq as signalToName, dr as skip, ds as startWith, dt as switchMap, du as take, dv as takeUntil, dw as takeWhile, dx as tap, dy as throttle, dz as throttleTime, dA as throwError, dB as tieredStorage, dC as timeout, dD as toArray, dE as toCSV, dF as toClickHouse, dG as toFile, dH as toKafka, dI as toLoki, dJ as toMongo, dK as toNATS, dL as toPostgres, dM as toPulsar, dN as toRabbitMQ, dO as toRedisStream, dP as toS3, dQ as toSSE, dR as toSqlite, dS as toTempo, dT as toWebSocket, dU as tokenBucket, dV as tokenTracker, dW as verifiable, dX as window, dY as windowCount, dZ as windowTime, d_ as withBreaker, d$ as withLatestFrom, e0 as withMaxAttempts, e1 as withStatus, e2 as workerBridge, e3 as workerSelf, e4 as zip } from './index-
|
|
10
|
-
export { D as DeltaCheckpoint, E as EvictedSubgraphInfo, a as EvictionPolicy, G as GraphCodec, J as JsonCodec, L as LazyGraphCodec, W as WALEntry, c as createDagCborCodec, b as createDagCborZstdCodec, i as graph, n as negotiateCodec, r as replayWAL } from './index-
|
|
11
|
-
import { R as ReactiveLogSnapshot } from './reactive-log-
|
|
12
|
-
export { a as ReactiveLogBundle, b as ReactiveLogOptions, l as logSlice, o as observeGraph$, c as observeNode$, r as reactiveLog, t as toMessages$, d as toObservable } from './reactive-log-
|
|
13
|
-
import { M as MeasurementAdapter, i as index$b } from './index-
|
|
5
|
+
import { G as Graph, a as GraphOptions, b as GraphAutoCheckpointHandle, A as AutoCheckpointAdapter, c as GraphAutoCheckpointOptions } from './graph-X9uwnD_z.js';
|
|
6
|
+
export { D as DescribeFilter, d as GRAPH_META_SEGMENT, e as GraphActorOptions, 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, r as GraphPersistSnapshot, 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';
|
|
7
|
+
export { D as DynGet, a as DynamicNodeFn, b as DynamicNodeImpl, c as DynamicNodeOptions, P as PipeOperator, R as ResettableTimer, d as batch, i as core, e as derived, f as dynamicNode, g as effect, h as emitWithBatch, j as isBatching, m as monotonicNs, p as partitionForBatch, k as pipe, l as producer, s as state, w as wallClockNs } from './index-BVG5pjin.js';
|
|
8
|
+
import { N as NodeInput, D as DistillBundle, E as Extraction, R as ReactiveListSnapshot, a as ReactiveMapSnapshot } from './index-a5gHmH5b.js';
|
|
9
|
+
export { A as AdapterHandlers, b as AsyncSourceOpts, B as BackoffPreset, c as BackoffStrategy, d as BatchMessage, e as BridgeMessage, f as BufferedSinkHandle, C as CSVRow, g as CacheEvictionPolicy, h as CacheTier, i as CascadingCache, j as CascadingCacheOptions, k as CheckpointAdapter, l as CheckpointToRedisOptions, m as CheckpointToS3Options, n as CircuitBreaker, o as CircuitBreakerOptions, p as CircuitOpenError, q as CircuitState, r as ClickHouseClientLike, s as ClickHouseInsertClientLike, t as ClickHouseRow, u as CronSchedule, v as DictCheckpointAdapter, w as DistillOptions, x as DrizzleQueryLike, y as ErrorMessage, z as EventTargetLike, F as ExponentialBackoffOptions, G as FSEvent, H as FSEventType, I as FileCheckpointAdapter, J as FileWriterLike, K as FromCSVOptions, L as FromClickHouseWatchOptions, M as FromCronOptions, O as FromDrizzleOptions, P as FromFSWatchOptions, Q as FromGitHookOptions, S as FromHTTPOptions, T as FromKafkaOptions, U as FromKyselyOptions, V as FromMCPOptions, W as FromNATSOptions, X as FromNDJSONOptions, Y as FromOTelOptions, Z as FromPrismaOptions, _ as FromPrometheusOptions, $ as FromPulsarOptions, a0 as FromRabbitMQOptions, a1 as FromRedisStreamOptions, a2 as FromSqliteOptions, a3 as FromStatsDOptions, a4 as FromSyslogOptions, a5 as GitEvent, a6 as GitHookType, a7 as HTTPBundle, a8 as IndexRow, a9 as IndexedDbCheckpointSpec, aa as InitMessage, ab as JitterMode, ac as KafkaConsumerLike, ad as KafkaMessage, ae as KafkaProducerLike, af as KyselyQueryLike, ag as LokiClientLike, ah as LokiStream, ai as MCPClientLike, aj as MemoryCheckpointAdapter, ak as MergeMapOptions, al as MongoCollectionLike, am as NATSClientLike, an as NATSMessage, ao as NATSSubscriptionLike, ap as NS_PER_MS, aq as NS_PER_SEC, ar as OTelBundle, as as OTelLog, at as OTelMetric, au as OTelRegister, av as OTelSpan, aw as PostgresClientLike, ax as PrismaModelLike, ay as PrometheusMetric, az as PubSubHub, aA as PulsarConsumerLike, aB as PulsarMessage, aC as PulsarProducerLike, aD as RabbitMQChannelLike, aE as RabbitMQMessage, aF as ReactiveIndexBundle, aG as ReactiveIndexOptions, aH as ReactiveIndexSnapshot, aI as ReactiveListBundle, aJ as ReactiveListOptions, aK as ReactiveMapBundle, aL as ReactiveMapOptions, aM as ReadyMessage, aN as RedisCheckpointClientLike, aO as RedisClientLike, aP as RedisStreamEntry, aQ as RetryOptions, aR as S3ClientLike, aS as SignalMessage, aT as SinkHandle, aU as SinkTransportError, aV as SqliteCheckpointAdapter, aW as SqliteDbLike, aX as StatsDMetric, aY as StatsDRegister, aZ as StatusValue, a_ as SyslogMessage, a$ as SyslogRegister, b0 as TapObserver, b1 as TempoClientLike, b2 as ThrottleOptions, b3 as TieredStorage, b4 as TieredStorageOptions, b5 as TimeoutError, b6 as ToCSVOptions, b7 as ToClickHouseOptions, b8 as ToFileOptions, b9 as ToKafkaOptions, ba as ToLokiOptions, bb as ToMongoOptions, bc as ToNATSOptions, bd as ToPostgresOptions, be as ToPulsarOptions, bf as ToRabbitMQOptions, bg as ToRedisStreamOptions, bh as ToS3Options, bi as ToSSEOptions, bj as ToSqliteOptions, bk as ToTempoOptions, bl as ToWebSocketOptions, bm as ToWebSocketTransportError, bn as TokenBucket, bo as ValueMessage, bp as VerifiableBundle, bq as VerifiableOptions, br as VerifyValue, bs as WatermarkController, bt as WatermarkOptions, bu as WebSocketLike, bv as WebSocketMessageEventLike, bw as WebSocketRegister, bx as WebhookRegister, by as WithBreakerBundle, bz as WithStatusBundle, bA as WorkerBridge, bB as WorkerBridgeOptions, bC as WorkerSelfHandle, bD as WorkerSelfOptions, bE as WorkerTransport, bF as audit, bG as buffer, bH as bufferCount, bI as bufferTime, bJ as cache, bK as cached, bL as cascadingCache, bM as catchError, bN as checkpointNodeValue, bO as checkpointToRedis, bP as checkpointToS3, bQ as circuitBreaker, bR as combine, bS as combineLatest, bT as concat, bU as concatMap, bV as constant, bW as createTransport, bX as createWatermarkController, bY as debounce, bZ as debounceTime, b_ as decorrelatedJitter, b$ as delay, c0 as deserializeError, c1 as distill, c2 as distinctUntilChanged, c3 as elementAt, c4 as empty, c5 as escapeRegexChar, c6 as exhaustMap, c7 as exponential, c8 as extra, c9 as fallback, ca as fibonacci, cb as filter, cc as find, cd as first, ce as firstValueFrom, cf as flatMap, cg as forEach, ch as fromAny, ci as fromAsyncIter, cj as fromCSV, ck as fromClickHouseWatch, cl as fromCron, cm as fromDrizzle, cn as fromEvent, co as fromFSWatch, cp as fromGitHook, cq as fromHTTP, cr as fromIDBRequest, cs as fromIDBTransaction, ct as fromIter, cu as fromKafka, cv as fromKysely, cw as fromMCP, cx as fromNATS, cy as fromNDJSON, cz as fromOTel, cA as fromPrisma, cB as fromPrometheus, cC as fromPromise, cD as fromPulsar, cE as fromRabbitMQ, cF as fromRedisStream, cG as fromSqlite, cH as fromStatsD, cI as fromSyslog, cJ as fromTimer, cK as fromWebSocket, cL as fromWebhook, cM as gate, cN as globToRegExp, cO as interval, cP as last, cQ as linear, cR as lru, cS as map, cT as matchesAnyPattern, cU as matchesCron, cV as merge, cW as mergeMap, cX as nameToSignal, cY as never, cZ as of, c_ as pairwise, c$ as parseCron, d0 as parsePrometheusText, d1 as parseStatsD, d2 as parseSyslog, d3 as pausable, d4 as pubsub, d5 as race, d6 as rateLimiter, d7 as reactiveIndex, d8 as reactiveList, d9 as reactiveMap, da as reduce, db as repeat, dc as replay, dd as rescue, de as resolveBackoffPreset, df as restoreGraphCheckpoint, dg as restoreGraphCheckpointIndexedDb, dh as retry, di as sample, dj as saveGraphCheckpoint, dk as saveGraphCheckpointIndexedDb, dl as scan, dm as serializeError, dn as share, dp as shareReplay, dq as signalToName, dr as skip, ds as startWith, dt as switchMap, du as take, dv as takeUntil, dw as takeWhile, dx as tap, dy as throttle, dz as throttleTime, dA as throwError, dB as tieredStorage, dC as timeout, dD as toArray, dE as toCSV, dF as toClickHouse, dG as toFile, dH as toKafka, dI as toLoki, dJ as toMongo, dK as toNATS, dL as toPostgres, dM as toPulsar, dN as toRabbitMQ, dO as toRedisStream, dP as toS3, dQ as toSSE, dR as toSqlite, dS as toTempo, dT as toWebSocket, dU as tokenBucket, dV as tokenTracker, dW as verifiable, dX as window, dY as windowCount, dZ as windowTime, d_ as withBreaker, d$ as withLatestFrom, e0 as withMaxAttempts, e1 as withStatus, e2 as workerBridge, e3 as workerSelf, e4 as zip } from './index-a5gHmH5b.js';
|
|
10
|
+
export { D as DeltaCheckpoint, E as EvictedSubgraphInfo, a as EvictionPolicy, G as GraphCodec, J as JsonCodec, L as LazyGraphCodec, W as WALEntry, c as createDagCborCodec, b as createDagCborZstdCodec, i as graph, n as negotiateCodec, r as replayWAL } from './index-BPCeYDS4.js';
|
|
11
|
+
import { R as ReactiveLogSnapshot } from './reactive-log-RhgIog2Z.js';
|
|
12
|
+
export { a as ReactiveLogBundle, b as ReactiveLogOptions, l as logSlice, o as observeGraph$, c as observeNode$, r as reactiveLog, t as toMessages$, d as toObservable } from './reactive-log-RhgIog2Z.js';
|
|
13
|
+
import { M as MeasurementAdapter, i as index$b } from './index-DMv1Etbi.js';
|
|
14
14
|
import '@nestjs/common';
|
|
15
15
|
import '@nestjs/core';
|
|
16
16
|
import 'rxjs';
|
package/dist/index.js
CHANGED
|
@@ -137,14 +137,22 @@ import {
|
|
|
137
137
|
workerBridge,
|
|
138
138
|
workerSelf,
|
|
139
139
|
zip
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-TZLX4KIT.js";
|
|
141
141
|
import {
|
|
142
142
|
cqrs_exports,
|
|
143
143
|
nestjs_exports
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-UCW3VWMN.js";
|
|
145
145
|
import {
|
|
146
146
|
core_exports
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-E7OH6ZAZ.js";
|
|
148
|
+
import {
|
|
149
|
+
JsonCodec,
|
|
150
|
+
createDagCborCodec,
|
|
151
|
+
createDagCborZstdCodec,
|
|
152
|
+
graph_exports,
|
|
153
|
+
negotiateCodec,
|
|
154
|
+
replayWAL
|
|
155
|
+
} from "./chunk-A2AJJOSJ.js";
|
|
148
156
|
import {
|
|
149
157
|
cached,
|
|
150
158
|
createWatermarkController,
|
|
@@ -177,33 +185,25 @@ import {
|
|
|
177
185
|
toArray,
|
|
178
186
|
toMessages$,
|
|
179
187
|
toObservable
|
|
180
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-YWTP2XRJ.js";
|
|
181
189
|
import {
|
|
182
190
|
ResettableTimer
|
|
183
191
|
} from "./chunk-WZ2Z2CRV.js";
|
|
184
|
-
import {
|
|
185
|
-
JsonCodec,
|
|
186
|
-
createDagCborCodec,
|
|
187
|
-
createDagCborZstdCodec,
|
|
188
|
-
graph_exports,
|
|
189
|
-
negotiateCodec,
|
|
190
|
-
replayWAL
|
|
191
|
-
} from "./chunk-L4J2K2RT.js";
|
|
192
192
|
import {
|
|
193
193
|
analyzeAndMeasure,
|
|
194
194
|
computeLineBreaks,
|
|
195
195
|
reactive_layout_exports
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-XCZPGOVP.js";
|
|
197
197
|
import {
|
|
198
198
|
GRAPH_META_SEGMENT,
|
|
199
199
|
Graph,
|
|
200
200
|
reachable
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-WYI7YW54.js";
|
|
202
202
|
import {
|
|
203
203
|
describeNode,
|
|
204
204
|
metaSnapshot,
|
|
205
205
|
resolveDescribeFields
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-LR2CLSEF.js";
|
|
207
207
|
import {
|
|
208
208
|
COMPLETE,
|
|
209
209
|
DATA,
|
|
@@ -245,7 +245,7 @@ import {
|
|
|
245
245
|
propagatesToMeta,
|
|
246
246
|
state,
|
|
247
247
|
wallClockNs
|
|
248
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-QTZSBQGJ.js";
|
|
249
249
|
|
|
250
250
|
// src/compat/index.ts
|
|
251
251
|
var compat_exports = {};
|
|
@@ -547,6 +547,7 @@ function advanceVersion(info, newValue, hashFn) {
|
|
|
547
547
|
}
|
|
548
548
|
|
|
549
549
|
// src/core/node.ts
|
|
550
|
+
var NO_VALUE = /* @__PURE__ */ Symbol.for("graphrefly/NO_VALUE");
|
|
550
551
|
function createIntBitSet() {
|
|
551
552
|
let bits = 0;
|
|
552
553
|
return {
|
|
@@ -647,7 +648,6 @@ var NodeImpl = class {
|
|
|
647
648
|
_producerStarted = false;
|
|
648
649
|
_connecting = false;
|
|
649
650
|
_manualEmitUsed = false;
|
|
650
|
-
_hasEmittedData = false;
|
|
651
651
|
_sinkCount = 0;
|
|
652
652
|
_singleDepSinkCount = 0;
|
|
653
653
|
// --- Object/collection state ---
|
|
@@ -677,10 +677,10 @@ var NodeImpl = class {
|
|
|
677
677
|
this._hasDeps = deps.length > 0;
|
|
678
678
|
this._autoComplete = opts.completeWhenDepsComplete ?? true;
|
|
679
679
|
this._isSingleDep = deps.length === 1 && fn != null;
|
|
680
|
-
this._cached = opts.initial;
|
|
680
|
+
this._cached = "initial" in opts ? opts.initial : NO_VALUE;
|
|
681
681
|
this._status = this._hasDeps ? "disconnected" : "settled";
|
|
682
682
|
this._hashFn = opts.versioningHash ?? defaultHash;
|
|
683
|
-
this._versioning = opts.versioning != null ? createVersioning(opts.versioning, this._cached, {
|
|
683
|
+
this._versioning = opts.versioning != null ? createVersioning(opts.versioning, this._cached === NO_VALUE ? void 0 : this._cached, {
|
|
684
684
|
id: opts.versioningId,
|
|
685
685
|
hash: this._hashFn
|
|
686
686
|
}) : void 0;
|
|
@@ -764,10 +764,14 @@ var NodeImpl = class {
|
|
|
764
764
|
_applyVersioning(level, opts) {
|
|
765
765
|
if (this._versioning != null) return;
|
|
766
766
|
this._hashFn = opts?.hash ?? this._hashFn;
|
|
767
|
-
this._versioning = createVersioning(
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
767
|
+
this._versioning = createVersioning(
|
|
768
|
+
level,
|
|
769
|
+
this._cached === NO_VALUE ? void 0 : this._cached,
|
|
770
|
+
{
|
|
771
|
+
id: opts?.id,
|
|
772
|
+
hash: this._hashFn
|
|
773
|
+
}
|
|
774
|
+
);
|
|
771
775
|
}
|
|
772
776
|
hasGuard() {
|
|
773
777
|
return this._guard != null;
|
|
@@ -777,7 +781,7 @@ var NodeImpl = class {
|
|
|
777
781
|
return this._guard(normalizeActor(actor), "observe");
|
|
778
782
|
}
|
|
779
783
|
get() {
|
|
780
|
-
return this._cached;
|
|
784
|
+
return this._cached === NO_VALUE ? void 0 : this._cached;
|
|
781
785
|
}
|
|
782
786
|
down(messages, options) {
|
|
783
787
|
if (messages.length === 0) return;
|
|
@@ -834,6 +838,7 @@ var NodeImpl = class {
|
|
|
834
838
|
}
|
|
835
839
|
if (this._terminal && this._opts.resubscribable) {
|
|
836
840
|
this._terminal = false;
|
|
841
|
+
this._cached = NO_VALUE;
|
|
837
842
|
this._status = this._hasDeps ? "disconnected" : "settled";
|
|
838
843
|
this._opts.onResubscribe?.();
|
|
839
844
|
}
|
|
@@ -933,8 +938,7 @@ var NodeImpl = class {
|
|
|
933
938
|
const cleanupFn = this._cleanup;
|
|
934
939
|
this._cleanup = void 0;
|
|
935
940
|
cleanupFn?.();
|
|
936
|
-
this._cached =
|
|
937
|
-
this._hasEmittedData = false;
|
|
941
|
+
this._cached = NO_VALUE;
|
|
938
942
|
this._lastDepValues = void 0;
|
|
939
943
|
}
|
|
940
944
|
this._status = statusAfterMessage(this._status, m);
|
|
@@ -943,8 +947,7 @@ var NodeImpl = class {
|
|
|
943
947
|
}
|
|
944
948
|
if (t === TEARDOWN) {
|
|
945
949
|
if (this._opts.resetOnTeardown) {
|
|
946
|
-
this._cached =
|
|
947
|
-
this._hasEmittedData = false;
|
|
950
|
+
this._cached = NO_VALUE;
|
|
948
951
|
}
|
|
949
952
|
const teardownCleanup = this._cleanup;
|
|
950
953
|
this._cleanup = void 0;
|
|
@@ -977,14 +980,13 @@ var NodeImpl = class {
|
|
|
977
980
|
const wasDirty = this._status === "dirty";
|
|
978
981
|
let unchanged;
|
|
979
982
|
try {
|
|
980
|
-
unchanged = this.
|
|
983
|
+
unchanged = this._cached !== NO_VALUE && this._equals(this._cached, value);
|
|
981
984
|
} catch (eqErr) {
|
|
982
985
|
const eqMsg = eqErr instanceof Error ? eqErr.message : String(eqErr);
|
|
983
986
|
const wrapped = new Error(`Node "${this.name}": equals threw: ${eqMsg}`, { cause: eqErr });
|
|
984
987
|
this._downInternal([[ERROR, wrapped]]);
|
|
985
988
|
return;
|
|
986
989
|
}
|
|
987
|
-
this._hasEmittedData = true;
|
|
988
990
|
if (unchanged) {
|
|
989
991
|
this._downInternal(wasDirty ? [[RESOLVED]] : [[DIRTY], [RESOLVED]]);
|
|
990
992
|
return;
|
|
@@ -1213,7 +1215,7 @@ var DynamicNodeImpl = class {
|
|
|
1213
1215
|
_actions;
|
|
1214
1216
|
_boundEmitToSinks;
|
|
1215
1217
|
// Mutable state
|
|
1216
|
-
_cached;
|
|
1218
|
+
_cached = NO_VALUE;
|
|
1217
1219
|
_status = "disconnected";
|
|
1218
1220
|
_terminal = false;
|
|
1219
1221
|
_connected = false;
|
|
@@ -1307,7 +1309,7 @@ var DynamicNodeImpl = class {
|
|
|
1307
1309
|
return this._guard(normalizeActor(actor), "observe");
|
|
1308
1310
|
}
|
|
1309
1311
|
get() {
|
|
1310
|
-
return this._cached;
|
|
1312
|
+
return this._cached === NO_VALUE ? void 0 : this._cached;
|
|
1311
1313
|
}
|
|
1312
1314
|
down(messages, options) {
|
|
1313
1315
|
if (messages.length === 0) return;
|
|
@@ -1365,6 +1367,7 @@ var DynamicNodeImpl = class {
|
|
|
1365
1367
|
}
|
|
1366
1368
|
if (this._terminal && this._resubscribable) {
|
|
1367
1369
|
this._terminal = false;
|
|
1370
|
+
this._cached = NO_VALUE;
|
|
1368
1371
|
this._status = "disconnected";
|
|
1369
1372
|
this._onResubscribe?.();
|
|
1370
1373
|
}
|
|
@@ -1442,10 +1445,13 @@ var DynamicNodeImpl = class {
|
|
|
1442
1445
|
const t = m[0];
|
|
1443
1446
|
if (t === DATA) this._cached = m[1];
|
|
1444
1447
|
if (t === INVALIDATE) {
|
|
1445
|
-
this._cached =
|
|
1448
|
+
this._cached = NO_VALUE;
|
|
1449
|
+
this._status = "dirty";
|
|
1446
1450
|
}
|
|
1447
|
-
if (t === DATA
|
|
1451
|
+
if (t === DATA) {
|
|
1448
1452
|
this._status = "settled";
|
|
1453
|
+
} else if (t === RESOLVED) {
|
|
1454
|
+
this._status = "resolved";
|
|
1449
1455
|
} else if (t === DIRTY) {
|
|
1450
1456
|
this._status = "dirty";
|
|
1451
1457
|
} else if (t === COMPLETE) {
|
|
@@ -1456,7 +1462,7 @@ var DynamicNodeImpl = class {
|
|
|
1456
1462
|
this._terminal = true;
|
|
1457
1463
|
}
|
|
1458
1464
|
if (t === TEARDOWN) {
|
|
1459
|
-
if (this._resetOnTeardown) this._cached =
|
|
1465
|
+
if (this._resetOnTeardown) this._cached = NO_VALUE;
|
|
1460
1466
|
try {
|
|
1461
1467
|
this._propagateToMeta(t);
|
|
1462
1468
|
} finally {
|
|
@@ -1479,7 +1485,15 @@ var DynamicNodeImpl = class {
|
|
|
1479
1485
|
}
|
|
1480
1486
|
_emitAutoValue(value) {
|
|
1481
1487
|
const wasDirty = this._status === "dirty";
|
|
1482
|
-
|
|
1488
|
+
let unchanged;
|
|
1489
|
+
try {
|
|
1490
|
+
unchanged = this._cached !== NO_VALUE && this._equals(this._cached, value);
|
|
1491
|
+
} catch (eqErr) {
|
|
1492
|
+
const eqMsg = eqErr instanceof Error ? eqErr.message : String(eqErr);
|
|
1493
|
+
const wrapped = new Error(`Node "${this.name}": equals threw: ${eqMsg}`, { cause: eqErr });
|
|
1494
|
+
this._downInternal([[ERROR, wrapped]]);
|
|
1495
|
+
return;
|
|
1496
|
+
}
|
|
1483
1497
|
if (unchanged) {
|
|
1484
1498
|
this._downInternal(wasDirty ? [[RESOLVED]] : [[DIRTY], [RESOLVED]]);
|
|
1485
1499
|
return;
|
|
@@ -3299,20 +3313,28 @@ var Graph = class _Graph {
|
|
|
3299
3313
|
return g;
|
|
3300
3314
|
}
|
|
3301
3315
|
/**
|
|
3302
|
-
* Plain snapshot with **recursively sorted object keys** for deterministic serialization (§3.8).
|
|
3316
|
+
* Plain snapshot object with **recursively sorted object keys** for deterministic serialization (§3.8).
|
|
3303
3317
|
*
|
|
3304
3318
|
* @remarks
|
|
3305
|
-
* ECMAScript `JSON.stringify(graph)` invokes this method; it must return a plain object, not an
|
|
3306
|
-
* already-stringified JSON string (otherwise the graph would be double-encoded).
|
|
3307
3319
|
* For a single UTF-8 string with a trailing newline (convenient for git), use {@link Graph.toJSONString}.
|
|
3308
3320
|
*
|
|
3309
3321
|
* @returns Same object as {@link Graph.snapshot}.
|
|
3310
3322
|
*/
|
|
3311
|
-
|
|
3323
|
+
toObject() {
|
|
3312
3324
|
return this.snapshot();
|
|
3313
3325
|
}
|
|
3314
3326
|
/**
|
|
3315
|
-
*
|
|
3327
|
+
* ECMAScript `JSON.stringify` hook — delegates to {@link Graph.toObject}.
|
|
3328
|
+
*
|
|
3329
|
+
* @remarks
|
|
3330
|
+
* Must return a plain object (not a string) so `JSON.stringify(graph)` works correctly
|
|
3331
|
+
* without double-encoding.
|
|
3332
|
+
*/
|
|
3333
|
+
toJSON() {
|
|
3334
|
+
return this.toObject();
|
|
3335
|
+
}
|
|
3336
|
+
/**
|
|
3337
|
+
* Deterministic JSON **text**: `JSON.stringify` of {@link Graph.toObject} plus a trailing newline (§3.8).
|
|
3316
3338
|
*
|
|
3317
3339
|
* @returns Stable string suitable for diffs.
|
|
3318
3340
|
*/
|