Module

Jarilo.Junction

Package
purescript-jarilo
Repository
bklaric/purescript-jarilo

#Junction Source

data Junction :: Type

#NamedRoute Source

data NamedRoute :: Symbol -> Route -> Junction

Instances

#type (:=) Source

Operator alias for Jarilo.Junction.NamedRoute (right-associative / precedence 9)

#Junction Source

data Junction :: Junction -> Junction -> Junction

Instances

#type (:<|>) Source

Operator alias for Jarilo.Junction.Junction (right-associative / precedence 8)

#JunctionProxy Source

data JunctionProxy (junction :: Junction)

Constructors

#JunctionRouter Source

class JunctionRouter (junction :: Junction) (start :: Row Type) (end :: Row Type) (records :: Row Type) | junction -> start end records where

Members

Instances

#router Source

router :: forall results errors junction. JunctionRouter junction () errors results => JunctionProxy junction -> Either CustomMethod Method -> List PathSegment -> QueryPairs Key Value -> Either (Record errors) (Variant results)