InputSchema

works.iterative.ui.components.laminar.forms.InputSchema
See theInputSchema companion trait
object InputSchema

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

enum InputType

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object email extends InputSchema[Email]

Attributes

Supertypes
trait InputSchema[Email]
class Object
trait Matchable
class Any
Self type
email.type
object integer extends InputSchema[Int]

Attributes

Supertypes
trait InputSchema[Int]
class Object
trait Matchable
class Any
Self type
integer.type
object plainMultiLine extends InputSchema[PlainMultiLine]

Attributes

Supertypes
trait InputSchema[PlainMultiLine]
class Object
trait Matchable
class Any
Self type
object plainOneLine extends InputSchema[PlainOneLine]

Attributes

Supertypes
trait InputSchema[PlainOneLine]
class Object
trait Matchable
class Any
Self type
object string extends InputSchema[String]

Attributes

Supertypes
trait InputSchema[String]
class Object
trait Matchable
class Any
Self type
string.type

Value members

Concrete methods

def apply[A](encodeF: A => String, decodeF: String => Validated[A]): InputSchema[A]

Givens

Givens

given email: email
given integer: integer
given optionalInputCodec[A](using codec: InputSchema[A]): optionalInputCodec[A]
given string: string
given validatedStringToInputCodec[A]: Conversion[ValidatedStringFactory[A], InputSchema[A]]
given withValidatedStringFactory[A](using factory: ValidatedStringFactory[A]): InputSchema[A]