aboutsummaryrefslogtreecommitdiff
path: root/common/src/Common/Model/SignInForm.hs
blob: 2b8c955610592d6febede31424fdb8155f6aa638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Common.Model.SignInForm
  ( SignInForm(..)
  ) where

import           Data.Aeson   (FromJSON, ToJSON)
import           Data.Text    (Text)
import           GHC.Generics (Generic)

data SignInForm = SignInForm
  { _signIn_email :: Text
  } deriving (Show, Generic)

instance FromJSON SignInForm
instance ToJSON SignInForm