module Summoner.ProjectData
       ( ProjectData (..)
       , CustomPrelude (..)
       ) where
import Summoner.GhcVer (GhcVer)
import Summoner.License (License, LicenseName)
data CustomPrelude = Prelude
    { cpPackage :: Text
    , cpModule  :: Text
    } deriving (Show, Eq)
data ProjectData = ProjectData
    { repo           :: Text   
    , owner          :: Text   
    , description    :: Text   
    , nm             :: Text   
    , email          :: Text   
    , year           :: Text   
    , category       :: Text   
    , licenseName    :: LicenseName 
    , licenseText    :: License 
    , github         :: Bool   
    , travis         :: Bool   
    , appVey         :: Bool   
    , isLib          :: Bool   
    , isExe          :: Bool   
    , test           :: Bool   
    , bench          :: Bool   
    , testedVersions :: [GhcVer]  
    , base           :: Text 
    , prelude        :: Maybe CustomPrelude  
    , extensions     :: [Text] 
    , warnings       :: [Text] 
    , cabal          :: Bool
    , stack          :: Bool
    , stylish        :: Maybe Text 
    , contributing   :: Maybe Text 
    } deriving (Show)