@bimetal/list-data
v0.42.0
Published
List-domain event-sourcing: List-as-Aggregate (an ordered collection of rich items — label + optional description/value/disabled/badge/icon — is ONE aggregate with a prototype-safe item pool, batch move/remove + UpdateItem under a strict field allowlist a
Maintainers
Readme
@bimetal/list-data
List-domain event sourcing — the data layer (aggregate + projection + store)
of the @bimetal/list component family. This package has no UI;
the UI lives in @bimetal/list-*-components.
List-as-Aggregate: an ordered collection of rich items (label plus optional description, value, badge, icon, disabled) is ONE aggregate over a prototype-safe item pool.
Batch MoveItems/RemoveItems and an UpdateItem under a strict field
allowlist are each a single command — and therefore a single undo step.
Installation
npm install @bimetal/list-dataWhat's Inside
Commands and domain events, listAggregate,
listProjection and createListStore — built on
@bimetal/event-sourcing.
