[sso-153] Create backend API for agency settings page (#5614)

Co-authored-by: Vladimir Kalnitsky <klntsky@typeable.io>
This commit is contained in:
Uladzimir Stsepchanka 2021-01-11 14:24:34 +03:00 committed by GitHub
parent f517d44710
commit 25decbcf85
2 changed files with 4 additions and 2 deletions

View File

@ -16,6 +16,7 @@ library
deepseq,
QuickCheck,
hashable,
http-api-data,
lens,
postgresql-simple,
openapi3,

View File

@ -22,13 +22,14 @@ import Database.PostgreSQL.Simple.FromField (FromField)
import Database.PostgreSQL.Simple.ToField (ToField)
import GHC.Generics (Generic)
import Test.QuickCheck
import Web.HttpApiData
import Yesod.Core (PathPiece(..))
newtype Id t = Id { unId :: UUID }
deriving
( Eq, Ord, Generic, Read, Show, Data, ToField, FromField, PathPiece, FromJSON
, ToJSON, NFData, Hashable, FromJSONKey, ToJSONKey, ToSchema)
, ToJSON, NFData, Hashable, FromJSONKey, ToJSONKey, ToSchema
, FromHttpApiData, ToHttpApiData )
type role Id nominal