Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ComponentInvalid(val component: Component, val pageId: String, val fieldPositionId: String, val messages: List<String> = emptyList(), val rowValidites: List<RowValidity>? = null, val reasons: List<String>) : ComponentValidity, Invalid
Link copied to clipboard
data class ComponentValid(val component: Component, val pageId: String, val fieldPositionId: String, val messages: List<String> = emptyList(), val rowValidites: List<RowValidity>? = null, val reasons: List<String> = emptyList()) : ComponentValidity, Valid
Link copied to clipboard
Represents the validity state of a single component/field.
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
data class RowInvalid(val rowId: String, val cellsValidity: List<CellValidity>, val schemaId: String) : RowValidity, Invalid
Link copied to clipboard
data class RowValid(val rowId: String, val cellsValidity: List<CellValidity>, val schemaId: String) : RowValidity, Valid
Link copied to clipboard
Link copied to clipboard
interface ValidateEditor
Validation contract for editors exposing validity via state. Implementations should re-validate when data or visibility changes.
Link copied to clipboard