graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.RQL.Types.Common

Synopsis

Documentation

newtype RelName Source #

Constructors

RelName 

Instances

Instances details
FromJSON RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

FromJSONKey RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSONKey RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

HasCodec RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep RelName :: Type -> Type #

Methods

from :: RelName -> Rep RelName x #

to :: Rep RelName x -> RelName #

Show RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: RelName -> () #

Eq RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

(==) :: RelName -> RelName -> Bool #

(/=) :: RelName -> RelName -> Bool #

Ord RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

IsIdentifier RelName Source # 
Instance details

Defined in Hasura.Backends.Postgres.SQL.Types

Hashable RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToTxt RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

toTxt :: RelName -> Text Source #

FromCol RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToPrepArg RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep RelName = D1 ('MetaData "RelName" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "RelName" 'PrefixI 'True) (S1 ('MetaSel ('Just "getRelTxt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NonEmptyText)))

data RelType Source #

Constructors

ObjRel 
ArrRel 

Instances

Instances details
FromJSON RelType Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON RelType Source # 
Instance details

Defined in Hasura.RQL.Types.Common

HasCodec RelType Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Data RelType Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RelType -> c RelType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RelType #

toConstr :: RelType -> Constr #

dataTypeOf :: RelType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RelType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RelType) #

gmapT :: (forall b. Data b => b -> b) -> RelType -> RelType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RelType -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RelType -> r #

gmapQ :: (forall d. Data d => d -> u) -> RelType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RelType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RelType -> m RelType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RelType -> m RelType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RelType -> m RelType #

Generic RelType Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep RelType :: Type -> Type #

Methods

from :: RelType -> Rep RelType x #

to :: Rep RelType x -> RelType #

Show RelType Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData RelType Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: RelType -> () #

Eq RelType Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

(==) :: RelType -> RelType -> Bool #

(/=) :: RelType -> RelType -> Bool #

Ord RelType Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Hashable RelType Source # 
Instance details

Defined in Hasura.RQL.Types.Common

FromCol RelType Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep RelType Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep RelType = D1 ('MetaData "RelType" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ObjRel" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ArrRel" 'PrefixI 'False) (U1 :: Type -> Type))

data JsonAggSelect Source #

Instances

Instances details
ToJSON JsonAggSelect Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic JsonAggSelect Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep JsonAggSelect :: Type -> Type #

Show JsonAggSelect Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Eq JsonAggSelect Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Hashable JsonAggSelect Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep JsonAggSelect Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep JsonAggSelect = D1 ('MetaData "JsonAggSelect" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "JASMultipleRows" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "JASSingleObject" 'PrefixI 'False) (U1 :: Type -> Type))

data InsertOrder Source #

Constructors

BeforeParent 
AfterParent 

Instances

Instances details
FromJSON InsertOrder Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON InsertOrder Source # 
Instance details

Defined in Hasura.RQL.Types.Common

HasCodec InsertOrder Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic InsertOrder Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep InsertOrder :: Type -> Type #

Show InsertOrder Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData InsertOrder Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: InsertOrder -> () #

Eq InsertOrder Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Ord InsertOrder Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Hashable InsertOrder Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep InsertOrder Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep InsertOrder = D1 ('MetaData "InsertOrder" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "BeforeParent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AfterParent" 'PrefixI 'False) (U1 :: Type -> Type))

newtype OID Source #

Constructors

OID 

Fields

Instances

Instances details
FromJSON OID Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON OID Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Show OID Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

showsPrec :: Int -> OID -> ShowS #

show :: OID -> String #

showList :: [OID] -> ShowS #

NFData OID Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: OID -> () #

Eq OID Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

(==) :: OID -> OID -> Bool #

(/=) :: OID -> OID -> Bool #

Hashable OID Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

hashWithSalt :: Int -> OID -> Int Source #

hash :: OID -> Int Source #

FromCol OID Source # 
Instance details

Defined in Hasura.RQL.Types.Common

newtype FieldName Source #

Constructors

FieldName 

Instances

Instances details
FromJSON FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

FromJSONKey FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSONKey FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

HasCodec FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Data FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FieldName -> c FieldName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FieldName #

toConstr :: FieldName -> Constr #

dataTypeOf :: FieldName -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FieldName) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FieldName) #

gmapT :: (forall b. Data b => b -> b) -> FieldName -> FieldName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FieldName -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FieldName -> r #

gmapQ :: (forall d. Data d => d -> u) -> FieldName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FieldName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FieldName -> m FieldName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FieldName -> m FieldName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FieldName -> m FieldName #

IsString FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Semigroup FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep FieldName :: Type -> Type #

Show FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: FieldName -> () #

Eq FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Ord FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

IsIdentifier FieldName Source # 
Instance details

Defined in Hasura.Backends.Postgres.SQL.Types

Hashable FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToTxt FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

toTxt :: FieldName -> Text Source #

type Rep FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep FieldName = D1 ('MetaData "FieldName" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "FieldName" 'PrefixI 'True) (S1 ('MetaSel ('Just "getFieldNameTxt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

type Fields a = [(FieldName, a)] Source #

class ToAesonPairs a where Source #

Methods

toAesonPairs :: KeyValue v => a -> [v] Source #

Instances

Instances details
ToJSON a => ToAesonPairs (RelDef a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

toAesonPairs :: KeyValue v => RelDef a -> [v] Source #

Backend b => ToAesonPairs (PermDef b perm) Source # 
Instance details

Defined in Hasura.RQL.Types.Permission

Methods

toAesonPairs :: KeyValue v => PermDef b perm -> [v] Source #

data SourceName Source #

Instances

Instances details
FromJSON SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

FromJSONKey SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSONKey SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

HasCodec SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep SourceName :: Type -> Type #

Show SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: SourceName -> () #

Eq SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Ord SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Hashable SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToErrorValue SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToTxt SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToEngineLog (SourceName, SourceCatalogMigrationState) Hasura Source # 
Instance details

Defined in Hasura.Server.Migrate.Version

type Rep SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep SourceName = D1 ('MetaData "SourceName" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "SNDefault" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SNName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NonEmptyText)))

data InpValInfo Source #

Instances

Instances details
Generic InpValInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep InpValInfo :: Type -> Type #

Show InpValInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Eq InpValInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Lift InpValInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

lift :: Quote m => InpValInfo -> m Exp #

liftTyped :: forall (m :: Type -> Type). Quote m => InpValInfo -> Code m InpValInfo #

type Rep InpValInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep InpValInfo = D1 ('MetaData "InpValInfo" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "InpValInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_iviDesc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Description)) :*: S1 ('MetaSel ('Just "_iviName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Name)) :*: (S1 ('MetaSel ('Just "_iviDefVal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Value Void))) :*: S1 ('MetaSel ('Just "_iviType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GType))))

newtype SystemDefined Source #

Constructors

SystemDefined 

Instances

Instances details
FromJSON SystemDefined Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON SystemDefined Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic SystemDefined Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep SystemDefined :: Type -> Type #

Show SystemDefined Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData SystemDefined Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: SystemDefined -> () #

Eq SystemDefined Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToPrepArg SystemDefined Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep SystemDefined Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep SystemDefined = D1 ('MetaData "SystemDefined" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "SystemDefined" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSystemDefined") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))

newtype ResolvedWebhook Source #

Constructors

ResolvedWebhook 

Instances

Instances details
FromJSON ResolvedWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON ResolvedWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic ResolvedWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep ResolvedWebhook :: Type -> Type #

Show ResolvedWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData ResolvedWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: ResolvedWebhook -> () #

Eq ResolvedWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Hashable ResolvedWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToTxt ResolvedWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep ResolvedWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep ResolvedWebhook = D1 ('MetaData "ResolvedWebhook" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "ResolvedWebhook" 'PrefixI 'True) (S1 ('MetaSel ('Just "unResolvedWebhook") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype InputWebhook Source #

Constructors

InputWebhook 

Instances

Instances details
FromJSON InputWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON InputWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

HasCodec InputWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic InputWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep InputWebhook :: Type -> Type #

Show InputWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData InputWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: InputWebhook -> () #

Eq InputWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Hashable InputWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

FromCol InputWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep InputWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep InputWebhook = D1 ('MetaData "InputWebhook" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "InputWebhook" 'PrefixI 'True) (S1 ('MetaSel ('Just "unInputWebhook") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Template)))

newtype Timeout Source #

Constructors

Timeout 

Fields

Instances

Instances details
FromJSON Timeout Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON Timeout Source # 
Instance details

Defined in Hasura.RQL.Types.Common

HasCodec Timeout Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic Timeout Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep Timeout :: Type -> Type #

Methods

from :: Timeout -> Rep Timeout x #

to :: Rep Timeout x -> Timeout #

Show Timeout Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData Timeout Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: Timeout -> () #

Eq Timeout Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

(==) :: Timeout -> Timeout -> Bool #

(/=) :: Timeout -> Timeout -> Bool #

type Rep Timeout Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep Timeout = D1 ('MetaData "Timeout" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "Timeout" 'PrefixI 'True) (S1 ('MetaSel ('Just "unTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data PGConnectionParams Source #

Instances

Instances details
FromJSON PGConnectionParams Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON PGConnectionParams Source # 
Instance details

Defined in Hasura.RQL.Types.Common

HasCodec PGConnectionParams Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic PGConnectionParams Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep PGConnectionParams :: Type -> Type #

Show PGConnectionParams Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData PGConnectionParams Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: PGConnectionParams -> () #

Eq PGConnectionParams Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Hashable PGConnectionParams Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep PGConnectionParams Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep PGConnectionParams = D1 ('MetaData "PGConnectionParams" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "PGConnectionParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_pgcpHost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_pgcpUsername") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_pgcpPassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_pgcpPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "_pgcpDatabase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

data UrlConf Source #

Constructors

UrlValue InputWebhook

the database connection string

UrlFromEnv Text

the name of environment variable containing the connection string

UrlFromParams PGConnectionParams

the minimum required `connection parameters` to construct a valid connection string

Instances

Instances details
FromJSON UrlConf Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON UrlConf Source # 
Instance details

Defined in Hasura.RQL.Types.Common

HasCodec UrlConf Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic UrlConf Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep UrlConf :: Type -> Type #

Methods

from :: UrlConf -> Rep UrlConf x #

to :: Rep UrlConf x -> UrlConf #

Show UrlConf Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData UrlConf Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: UrlConf -> () #

Eq UrlConf Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

(==) :: UrlConf -> UrlConf -> Bool #

(/=) :: UrlConf -> UrlConf -> Bool #

Hashable UrlConf Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep UrlConf Source # 
Instance details

Defined in Hasura.RQL.Types.Common

getPGConnectionStringFromParams :: PGConnectionParams -> String Source #

Construct a Postgres connection URI as a String from PGConnectionParams.

NOTE: This function takes care to properly escape all URI components, as Postgres requires that a connection URI is percent-encoded if it includes symbols with "special meaning".

See the libpq documentation for details: https://www.postgresql.org/docs/13/libpq-connect.html#id-1.7.3.8.3.6

data MetricsConfig Source #

Various user-controlled configuration for metrics used by Pro

Constructors

MetricsConfig 

Fields

Instances

Instances details
FromJSON MetricsConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON MetricsConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

HasCodec MetricsConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic MetricsConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep MetricsConfig :: Type -> Type #

Show MetricsConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Eq MetricsConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep MetricsConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep MetricsConfig = D1 ('MetaData "MetricsConfig" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "MetricsConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "_mcAnalyzeQueryVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_mcAnalyzeResponseBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

data Comment Source #

Constructors

Automatic

Automatically generate a comment (derive it from DB comments, or a sensible default describing the source of the data)

Explicit (Maybe NonEmptyText)

The user's explicitly provided comment, or explicitly no comment (ie. leave it blank, do not autogenerate one)

Instances

Instances details
FromJSON Comment Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON Comment Source # 
Instance details

Defined in Hasura.RQL.Types.Common

HasCodec Comment Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic Comment Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep Comment :: Type -> Type #

Methods

from :: Comment -> Rep Comment x #

to :: Rep Comment x -> Comment #

Show Comment Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData Comment Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: Comment -> () #

Eq Comment Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

(==) :: Comment -> Comment -> Bool #

(/=) :: Comment -> Comment -> Bool #

Hashable Comment Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep Comment Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep Comment = D1 ('MetaData "Comment" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "Automatic" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Explicit" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NonEmptyText))))

data EnvRecord a Source #

We use the following type, after we resolve the env var. | This will store both the env var name and the resolved value.

Constructors

EnvRecord 

Fields

Instances

Instances details
FromJSON a => FromJSON (EnvRecord a) Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON a => ToJSON (EnvRecord a) Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic (EnvRecord a) Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep (EnvRecord a) :: Type -> Type #

Methods

from :: EnvRecord a -> Rep (EnvRecord a) x #

to :: Rep (EnvRecord a) x -> EnvRecord a #

Show a => Show (EnvRecord a) Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData a => NFData (EnvRecord a) Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: EnvRecord a -> () #

Eq a => Eq (EnvRecord a) Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

(==) :: EnvRecord a -> EnvRecord a -> Bool #

(/=) :: EnvRecord a -> EnvRecord a -> Bool #

Hashable a => Hashable (EnvRecord a) Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep (EnvRecord a) Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep (EnvRecord a) = D1 ('MetaData "EnvRecord" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "EnvRecord" 'PrefixI 'True) (S1 ('MetaSel ('Just "_envVarName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_envVarValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a)))

data ApolloFederationVersion Source #

Constructors

V1 

Instances

Instances details
FromJSON ApolloFederationVersion Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON ApolloFederationVersion Source # 
Instance details

Defined in Hasura.RQL.Types.Common

HasCodec ApolloFederationVersion Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic ApolloFederationVersion Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep ApolloFederationVersion :: Type -> Type #

Show ApolloFederationVersion Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData ApolloFederationVersion Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: ApolloFederationVersion -> () #

Eq ApolloFederationVersion Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep ApolloFederationVersion Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep ApolloFederationVersion = D1 ('MetaData "ApolloFederationVersion" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "V1" 'PrefixI 'False) (U1 :: Type -> Type))

data ApolloFederationConfig Source #

Instances

Instances details
FromJSON ApolloFederationConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON ApolloFederationConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

HasCodec ApolloFederationConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic ApolloFederationConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep ApolloFederationConfig :: Type -> Type #

Show ApolloFederationConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData ApolloFederationConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: ApolloFederationConfig -> () #

Eq ApolloFederationConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep ApolloFederationConfig Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep ApolloFederationConfig = D1 ('MetaData "ApolloFederationConfig" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ApolloFederationConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "enable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ApolloFederationVersion)))

data TriggerOnReplication Source #

Type to indicate if the SQL trigger should be enabled when data is inserted into a table through replication.

Instances

Instances details
FromJSON TriggerOnReplication Source # 
Instance details

Defined in Hasura.RQL.Types.Common

ToJSON TriggerOnReplication Source # 
Instance details

Defined in Hasura.RQL.Types.Common

HasCodec TriggerOnReplication Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic TriggerOnReplication Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep TriggerOnReplication :: Type -> Type #

Show TriggerOnReplication Source # 
Instance details

Defined in Hasura.RQL.Types.Common

NFData TriggerOnReplication Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

rnf :: TriggerOnReplication -> () #

Eq TriggerOnReplication Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep TriggerOnReplication Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep TriggerOnReplication = D1 ('MetaData "TriggerOnReplication" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "TOREnableTrigger" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TORDisableTrigger" 'PrefixI 'False) (U1 :: Type -> Type))

data RemoteRelationshipG definition Source #

Metadata representation of a generic remote relationship, regardless of the source: all sources use this same agnostic definition. The internal definition field is where we differentiate between different targets.

TODO: This needs to be moved to an appropriate module, maybe something like Hasura.RemoteRelationships.Metadata.

Constructors

RemoteRelationship 

Fields

Instances

Instances details
FromJSON RemoteRelationship Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Remote

HasCodec RemoteRelationship Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Remote

ToJSON definition => ToJSON (RemoteRelationshipG definition) Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Generic (RemoteRelationshipG definition) Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Associated Types

type Rep (RemoteRelationshipG definition) :: Type -> Type #

Methods

from :: RemoteRelationshipG definition -> Rep (RemoteRelationshipG definition) x #

to :: Rep (RemoteRelationshipG definition) x -> RemoteRelationshipG definition #

Show definition => Show (RemoteRelationshipG definition) Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

showsPrec :: Int -> RemoteRelationshipG definition -> ShowS #

show :: RemoteRelationshipG definition -> String #

showList :: [RemoteRelationshipG definition] -> ShowS #

Eq definition => Eq (RemoteRelationshipG definition) Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

(==) :: RemoteRelationshipG definition -> RemoteRelationshipG definition -> Bool #

(/=) :: RemoteRelationshipG definition -> RemoteRelationshipG definition -> Bool #

type Rep (RemoteRelationshipG definition) Source # 
Instance details

Defined in Hasura.RQL.Types.Common

type Rep (RemoteRelationshipG definition) = D1 ('MetaData "RemoteRelationshipG" "Hasura.RQL.Types.Common" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "RemoteRelationship" 'PrefixI 'True) (S1 ('MetaSel ('Just "_rrName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RelName) :*: S1 ('MetaSel ('Just "_rrDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 definition)))

remoteRelationshipCodec :: forall definition. Typeable definition => JSONCodec definition -> JSONCodec (RemoteRelationshipG definition) Source #