aboutsummaryrefslogtreecommitdiff
path: root/common/src/Common/Model/SignIn.hs
blob: baccd886799530e11a7b7a90598e930af1b04f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{-# LANGUAGE DeriveGeneric #-}

module Common.Model.SignIn
  ( SignIn(..)
  ) where

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

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

instance FromJSON SignIn
instance ToJSON SignIn