Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Servant.Hateoas.Combinator.Title
Documentation
data Title (sym :: Symbol) Source #
Combinator similar to Summary
and Description
but for the human readable title of the resource a RelationLink
refers to.
Instances
HasLink b => HasLink (Title sym :> b :: Type) Source # | |
HasHandler api => HasHandler (Title desc :> api :: Type) Source # | |
(KnownSymbol title, RightLink api) => HasRelationLink (Title title :> api :: Type) Source # | |
Defined in Servant.Hateoas.Combinator.Title Methods toRelationLink :: Proxy (Title title :> api) -> MkLink (Title title :> api) RelationLink Source # | |
(KnownSymbol title, HasTemplatedLink api) => HasTemplatedLink (Title title :> api :: Type) Source # | |
Defined in Servant.Hateoas.Combinator.Title Methods toTemplatedLink :: Proxy (Title title :> api) -> RelationLink Source # | |
HasServer api ctx => HasServer (Title desc :> api :: Type) ctx Source # | |
Defined in Servant.Hateoas.Combinator.Title | |
type MkLink (Title sym :> b :: Type) link Source # | |
type ServerT (Title desc :> api :: Type) m Source # | |