graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.Backends.DataConnector.Adapter.Types

Documentation

data ConnSourceConfig Source #

Constructors

ConnSourceConfig 

Fields

  • value :: Config

    An arbitrary JSON payload to be passed to the agent in a header. HGE validates this against the OpenAPI Spec provided by the agent.

  • template :: Maybe Text

    Kriti Template for transforming the supplied Config value.

  • timeout :: Maybe SourceTimeout

    Timeout setting for HTTP requests to the agent. -- TODO: verify with lyndon

Instances

Instances details
Eq ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Ord ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Show ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Generic ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep ConnSourceConfig :: Type -> Type #

NFData ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: ConnSourceConfig -> () #

HasCodec ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Hashable ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

FromJSON ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

parseJSON :: Value -> Parser ConnSourceConfig

parseJSONList :: Value -> Parser [ConnSourceConfig]

ToJSON ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Cacheable ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep ConnSourceConfig Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep ConnSourceConfig = D1 ('MetaData "ConnSourceConfig" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ConnSourceConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Config) :*: (S1 ('MetaSel ('Just "template") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceTimeout)))))

data SourceTimeout Source #

Instances

Instances details
Eq SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Ord SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Show SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Generic SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep SourceTimeout :: Type -> Type #

NFData SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: SourceTimeout -> () #

Hashable SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

FromJSON SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

parseJSON :: Value -> Parser SourceTimeout

parseJSONList :: Value -> Parser [SourceTimeout]

ToJSON SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

toJSON :: SourceTimeout -> Value

toEncoding :: SourceTimeout -> Encoding

toJSONList :: [SourceTimeout] -> Value

toEncodingList :: [SourceTimeout] -> Encoding

type Rep SourceTimeout Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep SourceTimeout = D1 ('MetaData "SourceTimeout" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "SourceTimeoutSeconds" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: (C1 ('MetaCons "SourceTimeoutMilliseconds" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: C1 ('MetaCons "SourceTimeoutMicroseconds" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newtype DataConnectorName Source #

Instances

Instances details
Eq DataConnectorName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Ord DataConnectorName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Show DataConnectorName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Generic DataConnectorName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep DataConnectorName :: Type -> Type #

NFData DataConnectorName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

rnf :: DataConnectorName -> () #

Hashable DataConnectorName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

FromJSONKey DataConnectorName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

fromJSONKey :: FromJSONKeyFunction DataConnectorName

fromJSONKeyList :: FromJSONKeyFunction [DataConnectorName]

FromJSON DataConnectorName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

parseJSON :: Value -> Parser DataConnectorName

parseJSONList :: Value -> Parser [DataConnectorName]

ToJSONKey DataConnectorName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

toJSONKey :: ToJSONKeyFunction DataConnectorName

toJSONKeyList :: ToJSONKeyFunction [DataConnectorName]

ToJSON DataConnectorName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

ToTxt DataConnectorName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

toTxt :: DataConnectorName -> Text Source #

Cacheable DataConnectorName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

From DataConnectorName NonEmptyText Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep DataConnectorName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep DataConnectorName = D1 ('MetaData "DataConnectorName" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "DataConnectorName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unDataConnectorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NonEmptyText)))

data DataConnectorOptions Source #

Constructors

DataConnectorOptions 

Fields

Instances

Instances details
Eq DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Ord DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Show DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Generic DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep DataConnectorOptions :: Type -> Type #

FromJSON DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

parseJSON :: Value -> Parser DataConnectorOptions

parseJSONList :: Value -> Parser [DataConnectorOptions]

ToJSON DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Cacheable DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep DataConnectorOptions Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep DataConnectorOptions = D1 ('MetaData "DataConnectorOptions" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "DataConnectorOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dcoUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BaseUrl)))

data CountType Source #

Instances

Instances details
Eq CountType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Data CountType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

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

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

toConstr :: CountType -> Constr #

dataTypeOf :: CountType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord CountType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Show CountType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Generic CountType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Associated Types

type Rep CountType :: Type -> Type #

type Rep CountType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

type Rep CountType = D1 ('MetaData "CountType" "Hasura.Backends.DataConnector.Adapter.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "StarCount" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ColumnCount" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Name))) :+: C1 ('MetaCons "ColumnDistinctCount" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Name)))))