Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
renderTitle :: Text -> Text Source
prettyUrl :: Proxy (Capture "page" Key :> ("history" :> (Capture "version" Version :> Get `[HTML, JSON]` PrettyPage))) Source
rawUrl :: Proxy (Capture "page" Key :> ("history" :> (Capture "version" Version :> ("raw" :> Get `[HTML, JSON]` RawPage)))) Source
amendUrl :: Proxy (Capture "page" Key :> ("history" :> (Capture "version" Version :> (ReqBody `[FormUrlEncoded, JSON]` NewBody :> Post `[HTML, JSON]` PrettyPage)))) Source
diffUrl :: Proxy (Capture "page" Key :> ("history" :> ("diff" :> Get `[HTML, JSON]` DiffPage))) Source
revertUrl :: Proxy (Capture "page" Key :> ("history" :> ("revert" :> (ReqBody `[FormUrlEncoded, JSON]` RevReq :> Post `[HTML, JSON]` PrettyPage)))) Source
dixiError :: Html -> DixiError -> ByteString Source
pageHeader :: Key -> Text -> Html Source