Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
handleGetUser :: ScottyT AppM () Source #
getUser :: AcquireUser m => AuthedUser -> m (Either AccountError UserAuth) Source #
class Monad m => AcquireUser m where Source #
findUserById :: UserID -> m (Either AccountError UserInfo) Source #
Instances
(Monad m, MonadUnliftIO m, MonadDB m) => AcquireUser m Source # | |
Defined in Conduit.Features.Account.User.GetUser findUserById :: UserID -> m (Either AccountError UserInfo) Source # |
Instances
ToJSON UserInfo Source # | |
Generic UserInfo Source # | |
type Rep UserInfo Source # | |
Defined in Conduit.Features.Account.User.GetUser type Rep UserInfo = D1 ('MetaData "UserInfo" "Conduit.Features.Account.User.GetUser" "realworld-hs-0.1.0.0-inplace" 'False) (C1 ('MetaCons "UserInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "email") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "bio") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "image") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |