@bimetal/tree-data
v0.39.0
Published
Tree-domain event-sourcing: Tree-as-Aggregate (a hierarchy of nodes is ONE aggregate with hard invariants — structural consistency, acyclic move/reparent, a prototype-safe node pool). Commands/events, treeAggregate, treeProjection, createTreeStore. Built
Maintainers
Readme
@bimetal/tree-data
Tree-domain event sourcing — the data layer (aggregate + projection + store)
of the @bimetal/tree component family. This package has no UI;
the UI lives in @bimetal/tree-*-components.
Tree-as-Aggregate: a hierarchy of nodes is ONE aggregate with hard
invariants — structural consistency, acyclic move/reparent, and a
prototype-safe node pool (a node id may legitimately be __proto__).
Installation
npm install @bimetal/tree-dataWhat's Inside
Commands and domain events, treeAggregate,
treeProjection and createTreeStore — built on
@bimetal/event-sourcing.
