Skip to content

Commit

Permalink
exports
Browse files Browse the repository at this point in the history
  • Loading branch information
nitinprakash96 committed Aug 25, 2024
1 parent 816cc90 commit dca8ac2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
14 changes: 13 additions & 1 deletion azure-email/Azure/Email.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeOperators #-}

module Azure.Email where
module Azure.Email (sendEmail, sendEmailEither) where

import Azure.Types (AzureEmailRequest (..))
import Crypto.Hash.SHA256 (hash, hmac)
Expand All @@ -20,6 +20,18 @@ import qualified Data.ByteString.Base64 as B64
import qualified Data.ByteString.Char8 as C8
import qualified Data.Text as Text

sendEmail ::
MonadIO m =>
Text ->
m ()
sendEmail apiSecret = undefined

sendEmailEither ::
MonadIO m =>
Text ->
m (Either Text ())
sendEmailEither apiSecret = undefined

type SendEmailApi =
"emails:send"
:> QueryParam' '[Required, Strict] "api-version" Text
Expand Down
1 change: 0 additions & 1 deletion azure-email/azure-email.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ library
, base64-bytestring
, bytestring
, cryptohash-sha256
, http-client
, http-client-tls
, servant
, servant-client
Expand Down

0 comments on commit dca8ac2

Please sign in to comment.