Documentation / @etherfold/processor-entities / ReadSurface
Type Alias: ReadSurface<S, D> ​
ReadSurface<
S,D> ={ readonly [E in D[number] as E["name"]]: EntityReads<S, E> & CollectionsOf<S, D, E> }
Defined in: packages/state-store/dist/read-surface.d.ts:145
The declared entities, each with its four reads, keyed by the declared name, and a parent with a collection per declared child beside them.
Type Parameters ​
S ​
S extends StateStore
D ​
D extends readonly EntityDeclaration[]