Module

Payload.Spec

Package
purescript-payload
Repository
hoodunit/purescript-payload

#Spec Source

data Spec apiSpec

Constructors

#Routes Source

data Routes (path :: Symbol) routesSpec

Constructors

#Route Source

data Route (m :: Symbol) (p :: Symbol) spec

Constructors

#Guards Source

data Guards (g :: GuardList)

Constructors

#GET Source

type GET = Route "GET"

#HEAD Source

type HEAD = Route "HEAD"

#POST Source

type POST = Route "POST"

#PUT Source

type PUT = Route "PUT"

#DELETE Source

type DELETE = Route "DELETE"

#GuardList Source

data GuardList :: Type

#GNil Source

data GNil :: GuardList

#type (:) Source

Operator alias for Payload.Spec.GCons (right-associative / precedence 1)

#Nil Source

type Nil = GNil