@graphrefly/graphrefly 0.23.0 → 0.25.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.
Files changed (78) hide show
  1. package/dist/{chunk-NZMBRXQV.js → chunk-5DJTTKX3.js} +11 -13
  2. package/dist/chunk-5DJTTKX3.js.map +1 -0
  3. package/dist/{chunk-PNUZM7PC.js → chunk-EVR6UFUV.js} +6 -6
  4. package/dist/{chunk-HVBX5KIW.js → chunk-H4RVA4VE.js} +2 -2
  5. package/dist/{chunk-32N5A454.js → chunk-HWPIFSW2.js} +2 -2
  6. package/dist/chunk-HWPIFSW2.js.map +1 -0
  7. package/dist/{chunk-XTLYW4FR.js → chunk-IAHGTNOZ.js} +6 -4
  8. package/dist/{chunk-XTLYW4FR.js.map → chunk-IAHGTNOZ.js.map} +1 -1
  9. package/dist/{chunk-CWYPA63G.js → chunk-L2GLW2U7.js} +69 -2
  10. package/dist/chunk-L2GLW2U7.js.map +1 -0
  11. package/dist/{chunk-2GQLMQVJ.js → chunk-MW4VAKAO.js} +3 -3
  12. package/dist/{chunk-JFONSPNF.js → chunk-PY4XCDLR.js} +2 -2
  13. package/dist/{chunk-263BEJJO.js → chunk-QOWVNWOC.js} +3 -3
  14. package/dist/{chunk-PX6PDUJ5.js → chunk-TKE3JGOH.js} +491 -19
  15. package/dist/chunk-TKE3JGOH.js.map +1 -0
  16. package/dist/{chunk-XRFJJ2IU.js → chunk-XOFWRC73.js} +3 -3
  17. package/dist/compat/nestjs/index.cjs +10 -12
  18. package/dist/compat/nestjs/index.cjs.map +1 -1
  19. package/dist/compat/nestjs/index.d.cts +6 -6
  20. package/dist/compat/nestjs/index.d.ts +6 -6
  21. package/dist/compat/nestjs/index.js +9 -9
  22. package/dist/core/index.cjs +10 -12
  23. package/dist/core/index.cjs.map +1 -1
  24. package/dist/core/index.d.cts +3 -3
  25. package/dist/core/index.d.ts +3 -3
  26. package/dist/core/index.js +3 -3
  27. package/dist/extra/index.cjs +78 -12
  28. package/dist/extra/index.cjs.map +1 -1
  29. package/dist/extra/index.d.cts +4 -4
  30. package/dist/extra/index.d.ts +4 -4
  31. package/dist/extra/index.js +6 -4
  32. package/dist/graph/index.cjs +10 -12
  33. package/dist/graph/index.cjs.map +1 -1
  34. package/dist/graph/index.d.cts +5 -5
  35. package/dist/graph/index.d.ts +5 -5
  36. package/dist/graph/index.js +4 -4
  37. package/dist/{graph-CEO2FkLY.d.ts → graph-B6NFqv3z.d.ts} +3 -3
  38. package/dist/{graph-BtdSRHUc.d.cts → graph-D-3JIQme.d.cts} +3 -3
  39. package/dist/{index-BFGjXbiP.d.cts → index-AMWewNDe.d.cts} +2 -2
  40. package/dist/{index-BUj3ASVe.d.cts → index-BJB7t9gg.d.cts} +10 -24
  41. package/dist/{index-DSPc5rkv.d.ts → index-C-TXEa7C.d.ts} +10 -24
  42. package/dist/{index-CkElcUY6.d.ts → index-CYkjxu3s.d.ts} +2 -2
  43. package/dist/{index-B0tfuXwV.d.cts → index-Ch0IpIO0.d.cts} +32 -5
  44. package/dist/{index-C59uSJAH.d.cts → index-DKE1EATr.d.cts} +224 -4
  45. package/dist/{index-DgscL7v0.d.ts → index-DiobMNwE.d.ts} +3 -3
  46. package/dist/{index-RXN94sHK.d.ts → index-Ds23Wvou.d.ts} +32 -5
  47. package/dist/{index-BPlWVAKY.d.cts → index-J7Kc0oIQ.d.cts} +3 -3
  48. package/dist/{index-jEtF4N7L.d.ts → index-OXImXMq6.d.ts} +224 -4
  49. package/dist/index.cjs +570 -47
  50. package/dist/index.cjs.map +1 -1
  51. package/dist/index.d.cts +15 -15
  52. package/dist/index.d.ts +15 -15
  53. package/dist/index.js +23 -31
  54. package/dist/index.js.map +1 -1
  55. package/dist/{meta-3QjzotRv.d.ts → meta-CnkLA_43.d.ts} +1 -1
  56. package/dist/{meta-B-Lbs4-O.d.cts → meta-DWbkoq1s.d.cts} +1 -1
  57. package/dist/{node-C7PD3sn9.d.cts → node-B-f-Lu-k.d.cts} +15 -13
  58. package/dist/{node-C7PD3sn9.d.ts → node-B-f-Lu-k.d.ts} +15 -13
  59. package/dist/{observable-axpzv1K2.d.cts → observable-DBnrwcar.d.cts} +1 -1
  60. package/dist/{observable-EyO-moQY.d.ts → observable-uP-wy_uK.d.ts} +1 -1
  61. package/dist/patterns/reactive-layout/index.cjs +498 -28
  62. package/dist/patterns/reactive-layout/index.cjs.map +1 -1
  63. package/dist/patterns/reactive-layout/index.d.cts +5 -5
  64. package/dist/patterns/reactive-layout/index.d.ts +5 -5
  65. package/dist/patterns/reactive-layout/index.js +20 -8
  66. package/dist/{storage-DIgAr7M_.d.cts → storage-BuTdpCI1.d.cts} +1 -1
  67. package/dist/{storage-CHT5WE9m.d.ts → storage-F2X1U1x0.d.ts} +1 -1
  68. package/package.json +2 -2
  69. package/dist/chunk-32N5A454.js.map +0 -1
  70. package/dist/chunk-CWYPA63G.js.map +0 -1
  71. package/dist/chunk-NZMBRXQV.js.map +0 -1
  72. package/dist/chunk-PX6PDUJ5.js.map +0 -1
  73. /package/dist/{chunk-PNUZM7PC.js.map → chunk-EVR6UFUV.js.map} +0 -0
  74. /package/dist/{chunk-HVBX5KIW.js.map → chunk-H4RVA4VE.js.map} +0 -0
  75. /package/dist/{chunk-2GQLMQVJ.js.map → chunk-MW4VAKAO.js.map} +0 -0
  76. /package/dist/{chunk-JFONSPNF.js.map → chunk-PY4XCDLR.js.map} +0 -0
  77. /package/dist/{chunk-263BEJJO.js.map → chunk-QOWVNWOC.js.map} +0 -0
  78. /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-axpzv1K2.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-BPlWVAKY.cjs';
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-C7PD3sn9.cjs';
4
+ import '../../node-B-f-Lu-k.cjs';
5
5
  import '@nestjs/common';
6
6
  import '@nestjs/core';
7
- import '../../graph-BtdSRHUc.cjs';
8
- import '../../meta-B-Lbs4-O.cjs';
9
- import '../../storage-DIgAr7M_.cjs';
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-EyO-moQY.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-DgscL7v0.js';
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-C7PD3sn9.js';
4
+ import '../../node-B-f-Lu-k.js';
5
5
  import '@nestjs/common';
6
6
  import '@nestjs/core';
7
- import '../../graph-CEO2FkLY.js';
8
- import '../../meta-3QjzotRv.js';
9
- import '../../storage-CHT5WE9m.js';
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-PNUZM7PC.js";
35
- import "../../chunk-263BEJJO.js";
34
+ } from "../../chunk-EVR6UFUV.js";
35
+ import "../../chunk-QOWVNWOC.js";
36
36
  import {
37
37
  toObservable
38
- } from "../../chunk-JFONSPNF.js";
39
- import "../../chunk-2GQLMQVJ.js";
40
- import "../../chunk-32N5A454.js";
41
- import "../../chunk-CWYPA63G.js";
42
- import "../../chunk-XRFJJ2IU.js";
43
- import "../../chunk-HVBX5KIW.js";
38
+ } from "../../chunk-PY4XCDLR.js";
39
+ import "../../chunk-MW4VAKAO.js";
40
+ import "../../chunk-HWPIFSW2.js";
41
+ import "../../chunk-L2GLW2U7.js";
42
+ import "../../chunk-XOFWRC73.js";
43
+ import "../../chunk-H4RVA4VE.js";
44
44
  import "../../chunk-7TAQJHQV.js";
45
- import "../../chunk-NZMBRXQV.js";
45
+ import "../../chunk-5DJTTKX3.js";
46
46
  export {
47
47
  ACTOR_KEY,
48
48
  COMMAND_HANDLERS,
@@ -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. Early-return on empty batch.
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
- * 3. Tier sort (stable) — the batch can be in any order when it
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
- * 4. Synthetic DIRTY prefix — if a tier-3 payload is present, no
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
- * 5. PAUSE/RESUME lock bookkeeping (C0) — update `_pauseLocks`,
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
- * 6. Meta TEARDOWN fan-out — notify meta children before
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
- * 7. `_updateState` — walk the batch in tier order, advancing
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
- * 8. `downWithBatch` dispatch (or bufferAll capture if paused with
1750
+ * 7. `downWithBatch` dispatch (or bufferAll capture if paused with
1750
1751
  * `pausable: "resumeAll"`).
1751
- * 9. Recursive ERROR emission if equals threw mid-walk.
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;