Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
type TermSummaryAPI = "definitions" :> ("terms" :> ("by-hash" :> (Capture "hash" Referent :> ("summary" :> (QueryParam "name" Name :> (QueryParam "relativeTo" Path :> (QueryParam "renderWidth" Width :> APIGet TermSummary))))))) Source #
serveTermSummary :: Codebase IO Symbol Ann -> Referent -> Maybe Name -> Either ShortCausalHash CausalHash -> Maybe Path -> Maybe Width -> Backend IO TermSummary Source #
data TermSummary Source #
Instances
type TypeSummaryAPI = "definitions" :> ("types" :> ("by-hash" :> (Capture "hash" Reference :> ("summary" :> (QueryParam "name" Name :> (QueryParam "relativeTo" Path :> (QueryParam "renderWidth" Width :> APIGet TypeSummary))))))) Source #
serveTypeSummary :: Codebase IO Symbol Ann -> Reference -> Maybe Name -> Either ShortCausalHash CausalHash -> Maybe Path -> Maybe Width -> Backend IO TypeSummary Source #
data TypeSummary Source #