Remote / API
foldkit-remote-domain
Namespaces
DomainRemote | A 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
Receipt | What a Domain command answers besides its reply: the stream it appended to and how many events that stream now holds. |
Interfaces
CommandBinding | A command bound to the mutation it lands. |
Fail | A Rejection answered as a RemoteMutationError with no refusal: a message, nothing to match on. |
Forbid | A Rejection answered as RemoteForbidden: who asks may not, with their reason when given. |
LayerConfig | How DomainRemote.layer answers Remote. |
QueryBinding | A Remote query bound to the Domain Query that answers it. |
QueryConfig | What DomainRemote.query takes besides the Remote query, the Api and the Domain Query's name. |
Refuse | A Rejection answered as the mutation's own Refusal. |
Unauthenticated | A Rejection answered as RemoteUnauthenticated: nobody is signed in, with a reason when given. |
ViewBinding | A View bound to the Entity whose rows it serves. |
ViewConfig | What DomainRemote.view takes besides the Entity, the Api and the View's name. |
Types
AnyApi | Any Domain Api, by the parts the adapter reads. |
AnyListQuery | A Remote query whose result is a list of one Entity's rows. |
CommandConfig | What DomainRemote.command takes besides the mutation, the Api and the command's name. |
DeniedOf | What the middleware of the Api's commands and Views fail a request with. |
Outcome | How one Rejection reaches Remote. |
RevisionKey | The Entity fields stored as a number, which alone can order two snapshots. |