constellation-hs/src/Types.md

309 B

{-# LANGUAGE DeriveGeneric #-}

module Types where

import Data.Aeson
import GHC.Generics
import Prelude hiding (id)

App

1:1 with a Heroku app.

data App = App
         { id :: String
         } deriving (Generic, Eq, Show, Read)

instance ToJSON App
instance FromJSON App