FormRowKey
object FormRowKeyValidation, allocation, and access operations for FormRowKey.
Defined by scalive.FormRowKey. View source (scalive/api/src/scalive/forms/FormAddress.scala:91-123)
Extension methods1
value
extension def value[Group](key: FormAddress$package.FormRowKey[Group]): StringReturns the validated wire representation.
Defined by scalive.FormRowKey.value. View source (scalive/api/src/scalive/forms/FormAddress.scala:122-122)
Methods2
from
def from[Group](value: String): Either[FormRowKey.Error, FormAddress$package.FormRowKey[Group]]Validates an external key using the bounded alphanumeric, underscore, and hyphen grammar.
Defined by scalive.FormRowKey.from. View source (scalive/api/src/scalive/forms/FormAddress.scala:108-114)
random
def random[Group]: zio.package.UIO[FormAddress$package.FormRowKey[Group]]Allocates a UUID-based key suitable for a new client-side row.
Defined by scalive.FormRowKey.random. View source (scalive/api/src/scalive/forms/FormAddress.scala:117-118)
Values1
MaxLength
val MaxLength: IntMaximum accepted key length in UTF-16 code units.
Defined by scalive.FormRowKey.MaxLength. View source (scalive/api/src/scalive/forms/FormAddress.scala:93-93)