Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
handleArticleCreation :: ScottyT AppM () Source #
createArticle :: (CreateArticle m, AquireArticle m, AcquireProfile m) => CreateArticleAction -> UserID -> m (Either ArticleError OneArticle) Source #
class Monad m => CreateArticle m where Source #
insertArticle :: ArticleInfo -> m (Either ArticleError ArticleID) Source #
Instances
(Monad m, MonadDB m, MonadUnliftIO m) => CreateArticle m Source # | |
Defined in Conduit.Features.Articles.Articles.CreateArticle insertArticle :: ArticleInfo -> m (Either ArticleError ArticleID) Source # |
data ArticleInfo Source #