|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
A mutation (spec 5 §5). More...
#include <document.hpp>
Public Attributes | |
| std::string | name |
| The name. | |
| std::string | path |
| The declaration's JSON Pointer. | |
| std::string | model |
| The model alias it goes through. | |
| std::string | action |
| The action id it runs. | |
| ExprPtr | body |
| The body; nullptr sends an empty object. | |
| Concurrency | concurrency = Concurrency::Exclusive |
| What a run does while another is in flight. | |
| ExprPtr | serialKey |
| The queue key of serial runs. | |
| std::optional< OptimisticDecl > | optimistic |
| The row a run predicts before its reply. | |
| Commands | onSuccess |
| Commands run after a success. | |
| Commands | onError |
| Commands run after a failure. | |
| bool | offlineQueue = false |
| Whether a run that cannot reach the server is queued offline. | |
A mutation (spec 5 §5).
Definition at line 307 of file document.hpp.
| std::string morph::ui::MutationDecl::name |
The name.
Definition at line 309 of file document.hpp.
| std::string morph::ui::MutationDecl::path |
The declaration's JSON Pointer.
Definition at line 311 of file document.hpp.
| std::string morph::ui::MutationDecl::model |
The model alias it goes through.
Definition at line 313 of file document.hpp.
| std::string morph::ui::MutationDecl::action |
The action id it runs.
Definition at line 315 of file document.hpp.
| ExprPtr morph::ui::MutationDecl::body |
The body; nullptr sends an empty object.
Definition at line 317 of file document.hpp.
| Concurrency morph::ui::MutationDecl::concurrency = Concurrency::Exclusive |
What a run does while another is in flight.
Definition at line 319 of file document.hpp.
| ExprPtr morph::ui::MutationDecl::serialKey |
The queue key of serial runs.
Definition at line 321 of file document.hpp.
| std::optional<OptimisticDecl> morph::ui::MutationDecl::optimistic |
The row a run predicts before its reply.
Definition at line 323 of file document.hpp.
| Commands morph::ui::MutationDecl::onSuccess |
Commands run after a success.
Definition at line 325 of file document.hpp.
| Commands morph::ui::MutationDecl::onError |
Commands run after a failure.
Definition at line 327 of file document.hpp.
| bool morph::ui::MutationDecl::offlineQueue = false |
Whether a run that cannot reach the server is queued offline.
Definition at line 329 of file document.hpp.