Remote / API

foldkit-remote-domain

Namespaces

DomainRemoteA Domain Api as Remote's authority: layer answers RemoteClient from the Api's client, through Views bound to Entities (view) and commands bound to mutations…

Values

ReceiptWhat a Domain command answers besides its reply: the stream it appended to and how many events that stream now holds.

Interfaces

CommandBindingA command bound to the mutation it lands.
FailA Rejection answered as a RemoteMutationError with no refusal: a message, nothing to match on.
ForbidA Rejection answered as RemoteForbidden: who asks may not, with their reason when given.
LayerConfigHow DomainRemote.layer answers Remote.
QueryBindingA Remote query bound to the Domain Query that answers it.
QueryConfigWhat DomainRemote.query takes besides the Remote query, the Api and the Domain Query's name.
RefuseA Rejection answered as the mutation's own Refusal.
UnauthenticatedA Rejection answered as RemoteUnauthenticated: nobody is signed in, with a reason when given.
ViewBindingA View bound to the Entity whose rows it serves.
ViewConfigWhat DomainRemote.view takes besides the Entity, the Api and the View's name.

Types

AnyApiAny Domain Api, by the parts the adapter reads.
AnyListQueryA Remote query whose result is a list of one Entity's rows.
CommandConfigWhat DomainRemote.command takes besides the mutation, the Api and the command's name.
DeniedOfWhat the middleware of the Api's commands and Views fail a request with.
OutcomeHow one Rejection reaches Remote.
RevisionKeyThe Entity fields stored as a number, which alone can order two snapshots.