Package-level declarations
Types
Link copied to clipboard
data class ComponentInvalid(val component: Component, val pageId: String, val messages: List<String>) : ComponentValidity, Invalid
Link copied to clipboard
data class ComponentValid(val component: Component, val pageId: String, val messages: List<String>) : ComponentValidity, Valid
Link copied to clipboard
Link copied to clipboard
interface ComponentValidityState
Link copied to clipboard
data class FieldsInvalid(val fields: List<ComponentValidity>, val invalidFields: List<ComponentInvalid>, val validFields: List<ComponentValid>) : FieldsValidity, Invalid
Represents the validation state of multiple fields, segregating them into invalid and valid groups.
Link copied to clipboard
Represents a collection of component validity states where all components are required to be valid.
Link copied to clipboard
Represents the validity of multiple fields, each represented by a ComponentValidity instance. This sealed interface combines the functionalities of Validity and Mappable, allowing for validation status tracking of grouped components and their serialized representation as map or JSON.
Link copied to clipboard
interface ValidateEditor
Validation contract for editors exposing validity via state. Implementations should re-validate when data or visibility changes.