API reference > @kontsedal/olas-entities
olas-entities package
Functions
Function | Description |
|---|---|
Declare an entity type. Idiom: include a discriminating field check inside | |
Build the entity-normalization plugin: ts Lifecycle: - On every cache write, the plugin walks the written data and finds every subtree value that a registered entity claims via |
Variables
Variable | Description |
|---|---|
The plugin's name — and the | |
The scope |
Type Aliases
Type Alias | Description |
|---|---|
Options for | |
Public, frozen view of a binding — for | |
Module-scoped descriptor for an entity type. Define one per entity class (
The phantom type slot lets | |
What | |
One root's normalized entity store — the service Per-entity ops are typed by the |