ViewBinding.entity
property · packages/remote-domain/src/adapter/binding.ts:105
readonly entity: ERemote / foldkit-remote-domain
interface · packages/remote-domain/src/adapter/binding.ts:104
interface ViewBinding<
E extends AnyEntity = AnyEntity,
A extends AnyApi = AnyApi,
> {
readonly entity: E
readonly api: A
readonly view: ViewNameOf<A>
readonly revision: RevisionKey<E>
readonly rejections: ReadonlyArray<Domain.Rejection.Any>
}A View bound to the Entity whose rows it serves.
ViewBinding.entityproperty · packages/remote-domain/src/adapter/binding.ts:105
readonly entity: EViewBinding.apiproperty · packages/remote-domain/src/adapter/binding.ts:106
readonly api: AViewBinding.viewproperty · packages/remote-domain/src/adapter/binding.ts:107
readonly view: ViewNameOf<A>ViewBinding.revisionproperty · packages/remote-domain/src/adapter/binding.ts:109
readonly revision: RevisionKey<E>The field every event moves: the order of two snapshots of one key.
ViewBinding.rejectionsproperty · packages/remote-domain/src/adapter/binding.ts:111
readonly rejections: ReadonlyArray<Domain.Rejection.Any>What the View's validate refuses a read with: the row is absent to who asks.