@graphrefly/graphrefly 0.23.0 → 0.24.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-NZMBRXQV.js → chunk-5DJTTKX3.js} +11 -13
- package/dist/chunk-5DJTTKX3.js.map +1 -0
- package/dist/{chunk-XTLYW4FR.js → chunk-5WGT55R4.js} +4 -4
- package/dist/{chunk-CWYPA63G.js → chunk-AOCBDH4T.js} +2 -2
- package/dist/{chunk-HVBX5KIW.js → chunk-H4RVA4VE.js} +2 -2
- package/dist/{chunk-32N5A454.js → chunk-HWPIFSW2.js} +2 -2
- package/dist/chunk-HWPIFSW2.js.map +1 -0
- package/dist/{chunk-PNUZM7PC.js → chunk-IPLKX3L2.js} +6 -6
- package/dist/{chunk-2GQLMQVJ.js → chunk-MW4VAKAO.js} +3 -3
- package/dist/{chunk-JFONSPNF.js → chunk-PY4XCDLR.js} +2 -2
- package/dist/{chunk-263BEJJO.js → chunk-QOWVNWOC.js} +3 -3
- package/dist/{chunk-PX6PDUJ5.js → chunk-TDEXAMGO.js} +4 -4
- package/dist/{chunk-PX6PDUJ5.js.map → chunk-TDEXAMGO.js.map} +1 -1
- package/dist/{chunk-XRFJJ2IU.js → chunk-XOFWRC73.js} +3 -3
- package/dist/compat/nestjs/index.cjs +10 -12
- package/dist/compat/nestjs/index.cjs.map +1 -1
- package/dist/compat/nestjs/index.d.cts +6 -6
- package/dist/compat/nestjs/index.d.ts +6 -6
- package/dist/compat/nestjs/index.js +9 -9
- package/dist/core/index.cjs +10 -12
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.ts +3 -3
- package/dist/core/index.js +3 -3
- package/dist/extra/index.cjs +10 -12
- 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 +4 -4
- package/dist/graph/index.cjs +10 -12
- package/dist/graph/index.cjs.map +1 -1
- package/dist/graph/index.d.cts +5 -5
- package/dist/graph/index.d.ts +5 -5
- package/dist/graph/index.js +4 -4
- package/dist/{graph-CEO2FkLY.d.ts → graph-B6NFqv3z.d.ts} +3 -3
- package/dist/{graph-BtdSRHUc.d.cts → graph-D-3JIQme.d.cts} +3 -3
- package/dist/{index-B0tfuXwV.d.cts → index-1z8vRTCt.d.cts} +3 -3
- package/dist/{index-BFGjXbiP.d.cts → index-AMWewNDe.d.cts} +2 -2
- package/dist/{index-BUj3ASVe.d.cts → index-BJB7t9gg.d.cts} +10 -24
- package/dist/{index-RXN94sHK.d.ts → index-BysCTzJz.d.ts} +3 -3
- package/dist/{index-DSPc5rkv.d.ts → index-C-TXEa7C.d.ts} +10 -24
- package/dist/{index-CkElcUY6.d.ts → index-CYkjxu3s.d.ts} +2 -2
- package/dist/{index-jEtF4N7L.d.ts → index-D7XgsUt7.d.ts} +2 -2
- package/dist/{index-DgscL7v0.d.ts → index-DiobMNwE.d.ts} +3 -3
- package/dist/{index-BPlWVAKY.d.cts → index-J7Kc0oIQ.d.cts} +3 -3
- package/dist/{index-C59uSJAH.d.cts → index-b5BYtczN.d.cts} +2 -2
- package/dist/index.cjs +20 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -15
- package/dist/index.d.ts +15 -15
- package/dist/index.js +21 -31
- package/dist/index.js.map +1 -1
- package/dist/{meta-3QjzotRv.d.ts → meta-CnkLA_43.d.ts} +1 -1
- package/dist/{meta-B-Lbs4-O.d.cts → meta-DWbkoq1s.d.cts} +1 -1
- package/dist/{node-C7PD3sn9.d.cts → node-B-f-Lu-k.d.cts} +15 -13
- package/dist/{node-C7PD3sn9.d.ts → node-B-f-Lu-k.d.ts} +15 -13
- package/dist/{observable-axpzv1K2.d.cts → observable-DBnrwcar.d.cts} +1 -1
- package/dist/{observable-EyO-moQY.d.ts → observable-uP-wy_uK.d.ts} +1 -1
- package/dist/patterns/reactive-layout/index.cjs +10 -12
- package/dist/patterns/reactive-layout/index.cjs.map +1 -1
- package/dist/patterns/reactive-layout/index.d.cts +5 -5
- package/dist/patterns/reactive-layout/index.d.ts +5 -5
- package/dist/patterns/reactive-layout/index.js +6 -6
- package/dist/{storage-DIgAr7M_.d.cts → storage-BuTdpCI1.d.cts} +1 -1
- package/dist/{storage-CHT5WE9m.d.ts → storage-F2X1U1x0.d.ts} +1 -1
- package/package.json +2 -2
- package/dist/chunk-32N5A454.js.map +0 -1
- package/dist/chunk-NZMBRXQV.js.map +0 -1
- /package/dist/{chunk-XTLYW4FR.js.map → chunk-5WGT55R4.js.map} +0 -0
- /package/dist/{chunk-CWYPA63G.js.map → chunk-AOCBDH4T.js.map} +0 -0
- /package/dist/{chunk-HVBX5KIW.js.map → chunk-H4RVA4VE.js.map} +0 -0
- /package/dist/{chunk-PNUZM7PC.js.map → chunk-IPLKX3L2.js.map} +0 -0
- /package/dist/{chunk-2GQLMQVJ.js.map → chunk-MW4VAKAO.js.map} +0 -0
- /package/dist/{chunk-JFONSPNF.js.map → chunk-PY4XCDLR.js.map} +0 -0
- /package/dist/{chunk-263BEJJO.js.map → chunk-QOWVNWOC.js.map} +0 -0
- /package/dist/{chunk-XRFJJ2IU.js.map → chunk-XOFWRC73.js.map} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { T as ToObservableOptions, t as toObservable } from '../../observable-
|
|
2
|
-
export { A as ACTOR_KEY, a as ActorExtractor, C as COMMAND_HANDLERS, b as CQRS_EVENT_HANDLERS, d as CRON_HANDLERS, e as CommandHandler, f as CommandHandlerMeta, E as EVENT_HANDLERS, g as EventHandler, h as EventHandlerMeta, G as GRAPHREFLY_REQUEST_GRAPH, j as GRAPHREFLY_ROOT_GRAPH, k as GraphCron, l as GraphCronMeta, m as GraphInterval, n as GraphIntervalMeta, o as GraphReflyCqrsOptions, p as GraphReflyEventExplorer, q as GraphReflyFeatureOptions, r as GraphReflyGuard, s as GraphReflyGuardImpl, t as GraphReflyModule, u as GraphReflyRootOptions, I as INTERVAL_HANDLERS, v as InjectCqrsGraph, w as InjectGraph, x as InjectNode, O as ObserveGateway, y as ObserveGatewayOptions, z as ObserveSSEOptions, B as ObserveSubscriptionOptions, D as ObserveWsCommand, F as ObserveWsMessage, H as OnGraphEvent, J as OnGraphEventMeta, Q as QUERY_HANDLERS, K as QueryHandler, L as QueryHandlerMeta, S as SAGA_HANDLERS, M as SagaHandler, N as SagaHandlerMeta, P as fromHeader, R as fromJwtPayload, T as getActor, U as getGraphToken, V as getNodeToken, W as observeSSE, X as observeSubscription } from '../../index-
|
|
1
|
+
export { T as ToObservableOptions, t as toObservable } from '../../observable-DBnrwcar.cjs';
|
|
2
|
+
export { A as ACTOR_KEY, a as ActorExtractor, C as COMMAND_HANDLERS, b as CQRS_EVENT_HANDLERS, d as CRON_HANDLERS, e as CommandHandler, f as CommandHandlerMeta, E as EVENT_HANDLERS, g as EventHandler, h as EventHandlerMeta, G as GRAPHREFLY_REQUEST_GRAPH, j as GRAPHREFLY_ROOT_GRAPH, k as GraphCron, l as GraphCronMeta, m as GraphInterval, n as GraphIntervalMeta, o as GraphReflyCqrsOptions, p as GraphReflyEventExplorer, q as GraphReflyFeatureOptions, r as GraphReflyGuard, s as GraphReflyGuardImpl, t as GraphReflyModule, u as GraphReflyRootOptions, I as INTERVAL_HANDLERS, v as InjectCqrsGraph, w as InjectGraph, x as InjectNode, O as ObserveGateway, y as ObserveGatewayOptions, z as ObserveSSEOptions, B as ObserveSubscriptionOptions, D as ObserveWsCommand, F as ObserveWsMessage, H as OnGraphEvent, J as OnGraphEventMeta, Q as QUERY_HANDLERS, K as QueryHandler, L as QueryHandlerMeta, S as SAGA_HANDLERS, M as SagaHandler, N as SagaHandlerMeta, P as fromHeader, R as fromJwtPayload, T as getActor, U as getGraphToken, V as getNodeToken, W as observeSSE, X as observeSubscription } from '../../index-J7Kc0oIQ.cjs';
|
|
3
3
|
import 'rxjs';
|
|
4
|
-
import '../../node-
|
|
4
|
+
import '../../node-B-f-Lu-k.cjs';
|
|
5
5
|
import '@nestjs/common';
|
|
6
6
|
import '@nestjs/core';
|
|
7
|
-
import '../../graph-
|
|
8
|
-
import '../../meta-
|
|
9
|
-
import '../../storage-
|
|
7
|
+
import '../../graph-D-3JIQme.cjs';
|
|
8
|
+
import '../../meta-DWbkoq1s.cjs';
|
|
9
|
+
import '../../storage-BuTdpCI1.cjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { T as ToObservableOptions, t as toObservable } from '../../observable-
|
|
2
|
-
export { A as ACTOR_KEY, a as ActorExtractor, C as COMMAND_HANDLERS, b as CQRS_EVENT_HANDLERS, d as CRON_HANDLERS, e as CommandHandler, f as CommandHandlerMeta, E as EVENT_HANDLERS, g as EventHandler, h as EventHandlerMeta, G as GRAPHREFLY_REQUEST_GRAPH, j as GRAPHREFLY_ROOT_GRAPH, k as GraphCron, l as GraphCronMeta, m as GraphInterval, n as GraphIntervalMeta, o as GraphReflyCqrsOptions, p as GraphReflyEventExplorer, q as GraphReflyFeatureOptions, r as GraphReflyGuard, s as GraphReflyGuardImpl, t as GraphReflyModule, u as GraphReflyRootOptions, I as INTERVAL_HANDLERS, v as InjectCqrsGraph, w as InjectGraph, x as InjectNode, O as ObserveGateway, y as ObserveGatewayOptions, z as ObserveSSEOptions, B as ObserveSubscriptionOptions, D as ObserveWsCommand, F as ObserveWsMessage, H as OnGraphEvent, J as OnGraphEventMeta, Q as QUERY_HANDLERS, K as QueryHandler, L as QueryHandlerMeta, S as SAGA_HANDLERS, M as SagaHandler, N as SagaHandlerMeta, P as fromHeader, R as fromJwtPayload, T as getActor, U as getGraphToken, V as getNodeToken, W as observeSSE, X as observeSubscription } from '../../index-
|
|
1
|
+
export { T as ToObservableOptions, t as toObservable } from '../../observable-uP-wy_uK.js';
|
|
2
|
+
export { A as ACTOR_KEY, a as ActorExtractor, C as COMMAND_HANDLERS, b as CQRS_EVENT_HANDLERS, d as CRON_HANDLERS, e as CommandHandler, f as CommandHandlerMeta, E as EVENT_HANDLERS, g as EventHandler, h as EventHandlerMeta, G as GRAPHREFLY_REQUEST_GRAPH, j as GRAPHREFLY_ROOT_GRAPH, k as GraphCron, l as GraphCronMeta, m as GraphInterval, n as GraphIntervalMeta, o as GraphReflyCqrsOptions, p as GraphReflyEventExplorer, q as GraphReflyFeatureOptions, r as GraphReflyGuard, s as GraphReflyGuardImpl, t as GraphReflyModule, u as GraphReflyRootOptions, I as INTERVAL_HANDLERS, v as InjectCqrsGraph, w as InjectGraph, x as InjectNode, O as ObserveGateway, y as ObserveGatewayOptions, z as ObserveSSEOptions, B as ObserveSubscriptionOptions, D as ObserveWsCommand, F as ObserveWsMessage, H as OnGraphEvent, J as OnGraphEventMeta, Q as QUERY_HANDLERS, K as QueryHandler, L as QueryHandlerMeta, S as SAGA_HANDLERS, M as SagaHandler, N as SagaHandlerMeta, P as fromHeader, R as fromJwtPayload, T as getActor, U as getGraphToken, V as getNodeToken, W as observeSSE, X as observeSubscription } from '../../index-DiobMNwE.js';
|
|
3
3
|
import 'rxjs';
|
|
4
|
-
import '../../node-
|
|
4
|
+
import '../../node-B-f-Lu-k.js';
|
|
5
5
|
import '@nestjs/common';
|
|
6
6
|
import '@nestjs/core';
|
|
7
|
-
import '../../graph-
|
|
8
|
-
import '../../meta-
|
|
9
|
-
import '../../storage-
|
|
7
|
+
import '../../graph-B6NFqv3z.js';
|
|
8
|
+
import '../../meta-CnkLA_43.js';
|
|
9
|
+
import '../../storage-F2X1U1x0.js';
|
|
@@ -31,18 +31,18 @@ import {
|
|
|
31
31
|
getNodeToken,
|
|
32
32
|
observeSSE,
|
|
33
33
|
observeSubscription
|
|
34
|
-
} from "../../chunk-
|
|
35
|
-
import "../../chunk-
|
|
34
|
+
} from "../../chunk-IPLKX3L2.js";
|
|
35
|
+
import "../../chunk-QOWVNWOC.js";
|
|
36
36
|
import {
|
|
37
37
|
toObservable
|
|
38
|
-
} from "../../chunk-
|
|
39
|
-
import "../../chunk-
|
|
40
|
-
import "../../chunk-
|
|
41
|
-
import "../../chunk-
|
|
42
|
-
import "../../chunk-
|
|
43
|
-
import "../../chunk-
|
|
38
|
+
} from "../../chunk-PY4XCDLR.js";
|
|
39
|
+
import "../../chunk-MW4VAKAO.js";
|
|
40
|
+
import "../../chunk-HWPIFSW2.js";
|
|
41
|
+
import "../../chunk-AOCBDH4T.js";
|
|
42
|
+
import "../../chunk-XOFWRC73.js";
|
|
43
|
+
import "../../chunk-H4RVA4VE.js";
|
|
44
44
|
import "../../chunk-7TAQJHQV.js";
|
|
45
|
-
import "../../chunk-
|
|
45
|
+
import "../../chunk-5DJTTKX3.js";
|
|
46
46
|
export {
|
|
47
47
|
ACTOR_KEY,
|
|
48
48
|
COMMAND_HANDLERS,
|
package/dist/core/index.cjs
CHANGED
|
@@ -1721,37 +1721,35 @@ var NodeImpl = class _NodeImpl {
|
|
|
1721
1721
|
// --- Emit pipeline ---
|
|
1722
1722
|
/**
|
|
1723
1723
|
* @internal The unified dispatch waist — one call = one wave.
|
|
1724
|
+
* See `GRAPHREFLY-SPEC.md` §1.3.1 for protocol context — the stages
|
|
1725
|
+
* below are the implementation order.
|
|
1724
1726
|
*
|
|
1725
1727
|
* Pipeline stages, in order:
|
|
1726
1728
|
*
|
|
1727
|
-
* 1.
|
|
1728
|
-
* 2. Terminal filter — post-COMPLETE/ERROR only TEARDOWN/INVALIDATE
|
|
1729
|
+
* 1. Terminal filter — post-COMPLETE/ERROR only TEARDOWN/INVALIDATE
|
|
1729
1730
|
* still propagate so graph teardown and cache-clear still work.
|
|
1730
|
-
*
|
|
1731
|
+
* 2. Tier sort (stable) — the batch can be in any order when it
|
|
1731
1732
|
* arrives; the walker downstream (`downWithBatch`) assumes
|
|
1732
1733
|
* ascending tier monotone, and so does `_updateState`'s tier-3
|
|
1733
1734
|
* slice walk. This is the single source of truth for ordering.
|
|
1734
|
-
*
|
|
1735
|
+
* 3. Synthetic DIRTY prefix — if a tier-3 payload is present, no
|
|
1735
1736
|
* DIRTY is already in the batch, and the node isn't already in
|
|
1736
1737
|
* `"dirty"` status, prepend `[DIRTY]` after any tier-0 START
|
|
1737
1738
|
* entries. Guarantees spec §1.3.1 (DIRTY precedes DATA within
|
|
1738
1739
|
* the same batch) uniformly across every entry point.
|
|
1739
|
-
*
|
|
1740
|
+
* 4. PAUSE/RESUME lock bookkeeping (C0) — update `_pauseLocks`,
|
|
1740
1741
|
* derive `_paused`, filter unknown-lockId RESUME, replay
|
|
1741
1742
|
* bufferAll buffer on final lock release.
|
|
1742
|
-
*
|
|
1743
|
+
* 5. Meta TEARDOWN fan-out — notify meta children before
|
|
1743
1744
|
* `_updateState`'s TEARDOWN branch calls `_deactivate`. Hoisted
|
|
1744
1745
|
* out of the walk to keep `_updateState` re-entrance-free.
|
|
1745
|
-
*
|
|
1746
|
+
* 6. `_updateState` — walk the batch in tier order, advancing
|
|
1746
1747
|
* `_cached` / `_status` / `_versioning` and running equals
|
|
1747
1748
|
* substitution on tier-3 DATA (§3.5.1). Returns
|
|
1748
1749
|
* `{finalMessages, equalsError?}`.
|
|
1749
|
-
*
|
|
1750
|
+
* 7. `downWithBatch` dispatch (or bufferAll capture if paused with
|
|
1750
1751
|
* `pausable: "resumeAll"`).
|
|
1751
|
-
*
|
|
1752
|
-
*
|
|
1753
|
-
* `node.down` / `node.emit` / `actions.down` / `actions.emit` all
|
|
1754
|
-
* converge here — the unified `_emit` waist (spec §1.3.1).
|
|
1752
|
+
* 8. Recursive ERROR emission if equals threw mid-walk.
|
|
1755
1753
|
*/
|
|
1756
1754
|
_emit(messages) {
|
|
1757
1755
|
if (messages.length === 0) return;
|