Related to the creation of drafts.
Provides an assistant to guide the completion of a model.
An assistant designed to manage a single field or a simple piece of data within a larger form or model.
Assists in the creation of complex models by coordinating multiple inner DraftAssistant
.
Provides an assistant for the completion of an integer field, represented by a string.
Assists in the completion of a date field in format YYYY-MM-DD
.
Events emitted by a DraftPublisher.
Observes changes to a DraftAssistant by emitting structured events.
Changes to a draft can be observed by viewers.
Related to the definition of business rules and their evaluation.
Represents a validation rule in the problem domain.
Represents a rule that needs to be evaluated asynchronously.
Represents a validation rule in the problem domain.
Describes an assertion by its id and description.
Provides a way to handle multiple failed rules, by their labels.
Runs all assertions and throws an error if any has failed. The failed assertions are included in the error.
Represents the evaluation of a rule on a given value.
Describes an assertion by its id and description.
Describes an assertion by its id and description.
A collection of common assertion requirements.
Maps an array of models to the assistants that handle them.
Describes how to get a model from another that serves as a container.