Module

Payload.Routable

Package
purescript-payload
Repository
hoodunit/purescript-payload

#Routable Source

class Routable routesSpec guardsSpec handlers guards | routesSpec guardsSpec -> handlers, guardsSpec -> guards where

Members

Instances

#RoutableList Source

class RoutableList (routesSpecList :: RowList) (basePath :: Symbol) (baseParams :: Row Type) (baseGuards :: GuardList) (guardsSpec :: Row Type) handlers guards | routesSpecList guardsSpec -> handlers, guardsSpec -> guards where

Members

Instances

#DefaultParentRoute Source

type DefaultParentRoute = (guards :: Guards GNil, params :: Record ())

#HandlerEntry Source

type HandlerEntry = { handler :: RequestUrl -> Request -> Response -> Aff Outcome, route :: List Segment }