dixi-0.6: A wiki implemented with a firm theoretical foundation.

Safe HaskellNone
LanguageHaskell2010

Dixi.Markup

Documentation

link :: (IsElem endpoint Dixi, HasLink endpoint) => Proxy endpoint -> MkLink endpoint 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

diffUrl :: Proxy (Capture "page" Key :> ("history" :> ("diff" :> Get `[HTML, JSON]` DiffPage))) Source

historyUrl :: Proxy (Capture "page" Key :> ("history" :> Get `[HTML, JSON]` History)) Source

revertUrl :: Proxy (Capture "page" Key :> ("history" :> ("revert" :> (ReqBody `[FormUrlEncoded, JSON]` RevReq :> Post `[HTML, JSON]` PrettyPage)))) Source

unlast :: a -> Last a -> a Source