self-assert
    Preparing search index...

      self-assert

      Documents

      Getting Started

      Draft assistants

      Related to the creation of drafts.

      DraftAssistant

      Provides an assistant to guide the completion of a model.

      FieldDraftAssistant

      An assistant designed to manage a single field or a simple piece of data within a larger form or model.

      SectionDraftAssistant

      Assists in the creation of complex models by coordinating multiple inner DraftAssistant.

      IntegerDraftAssistant

      Provides an assistant for the completion of an integer field, represented by a string.

      DateDraftAssistant

      Assists in the completion of a date field in format YYYY-MM-DD.

      PublisherEvents

      Events emitted by a DraftPublisher.

      DraftPublisher

      Observes changes to a DraftAssistant by emitting structured events.

      DraftViewer

      Changes to a draft can be observed by viewers.

      Rules

      Related to the definition of business rules and their evaluation.

      Assertion

      Represents a validation rule in the problem domain.

      Inquiry

      Represents a rule that needs to be evaluated asynchronously.

      Rule

      Represents a validation rule in the problem domain.

      RuleLabel

      Describes an assertion by its id and description.

      RulesBroken

      Provides a way to handle multiple failed rules, by their labels.

      Ruleset

      Runs all assertions and throws an error if any has failed. The failed assertions are included in the error.

      RuleEvaluation

      Represents the evaluation of a rule on a given value.

      LabelId
      LabeledRule

      Describes an assertion by its id and description.

      CollectableRule

      Describes an assertion by its id and description.

      Requirements

      A collection of common assertion requirements.

      Others

      RuleLabelAsJson
      RulesBrokenAsJson
      MaybeAsync
      RuleRequirement
      SelfContainedRule
      SelfContainedRules
      SelfContainedAssertion
      ValueParam
      SelfContainedAssertions
      Predicate
      CreationClosure
      AssistantsIn

      Maps an array of models to the assistants that handle them.

      ModelFromContainer

      Describes how to get a model from another that serves as a container.