Skip to content

Documentation / @etherfold/processor-entities / EntityIdOf

Type Alias: EntityIdOf<E> ​

EntityIdOf<E> = { [K in IdColumnsOf<E>[number]]: string | number }

Defined in: packages/state-store/dist/declarations.d.ts:110

A business key of a declared entity: every id column, and no others.

string | number per column, because the stringification is the seam's job and a caller should not have to do it to pass an epoch.

Type Parameters ​

E ​

E extends EntityDeclaration