]> Git — Sourcephile - gargantext.git/blob - src/Gargantext/Database/Schema/Prelude.hs
update servant-job: Flat
[gargantext.git] / src / Gargantext / Database / Schema / Prelude.hs
1 {-|
2 Module : Gargantext.Database.Prelude
3 Description :
4 Copyright : (c) CNRS, 2017-Present
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
8 Portability : POSIX
9 -}
10
11
12 {-# LANGUAGE NoImplicitPrelude #-}
13
14 module Gargantext.Database.Schema.Prelude
15 ( module Control.Arrow
16 , module Control.Lens.TH
17 , module Data.Aeson.TH
18 , module Data.Profunctor.Product.TH
19 , module Data.Swagger
20 , module Database.PostgreSQL.Simple.FromField
21 , module Database.PostgreSQL.Simple.FromRow
22 , module Database.PostgreSQL.Simple.SqlQQ
23 , module Database.PostgreSQL.Simple.ToField
24 , module Database.PostgreSQL.Simple.ToRow
25 , module Database.PostgreSQL.Simple.Types
26 , module GHC.Generics
27 , module Gargantext.Core.Utils.Prefix
28 , module Opaleye
29 , module Opaleye.Internal.QueryArr
30 , module Test.QuickCheck.Arbitrary
31 )
32 where
33
34 import Control.Arrow (returnA)
35 import Control.Lens.TH (makeLenses, makeLensesWith, abbreviatedFields)
36 import Data.Aeson.TH (deriveJSON)
37 import Data.Profunctor.Product.TH (makeAdaptorAndInstance)
38 import Data.Swagger hiding (required, in_)
39 import GHC.Generics (Generic)
40 import Gargantext.Core.Utils.Prefix (unPrefix, unPrefixSwagger)
41 import Opaleye hiding (FromField)
42 import Opaleye.Internal.QueryArr (Query)
43 import Test.QuickCheck.Arbitrary
44
45 import Database.PostgreSQL.Simple.FromField (FromField, fromField)
46 import Database.PostgreSQL.Simple.FromRow (FromRow, fromRow, field)
47 import Database.PostgreSQL.Simple.SqlQQ (sql)
48 import Database.PostgreSQL.Simple.ToField (toField, ToField)
49 import Database.PostgreSQL.Simple.ToRow (toRow)
50 import Database.PostgreSQL.Simple.Types (Values(..), QualifiedIdentifier(..))
51