aboutsummaryrefslogtreecommitdiff
path: root/common/src/Common/Model/SignIn.hs
blob: f4da97f397c0fe91e0e1d43c707d44622da1df4b (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