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

Hasura.Server.Types

Synopsis

Documentation

newtype DbUid Source #

A uuid of a source database.

Constructors

DbUid 

Fields

Instances

Instances details
FromJSON DbUid Source # 
Instance details

Defined in Hasura.Server.Types

ToJSON DbUid Source # 
Instance details

Defined in Hasura.Server.Types

Show DbUid Source # 
Instance details

Defined in Hasura.Server.Types

Methods

showsPrec :: Int -> DbUid -> ShowS #

show :: DbUid -> String #

showList :: [DbUid] -> ShowS #

Eq DbUid Source # 
Instance details

Defined in Hasura.Server.Types

Methods

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

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

newtype DbVersion Source #

Constructors

DbVersion Text 

Instances

Instances details
ToJSON DbVersion Source # 
Instance details

Defined in Hasura.Server.Types

Show DbVersion Source # 
Instance details

Defined in Hasura.Server.Types

Eq DbVersion Source # 
Instance details

Defined in Hasura.Server.Types

newtype PGVersion Source #

Constructors

PGVersion Int 

Instances

Instances details
ToJSON PGVersion Source # 
Instance details

Defined in Hasura.Server.Types

Show PGVersion Source # 
Instance details

Defined in Hasura.Server.Types

Eq PGVersion Source # 
Instance details

Defined in Hasura.Server.Types

newtype InstanceId Source #

A UUID for each running instance of graphql-engine, generated fresh each time graphql-engine starts up

Constructors

InstanceId 

Fields

data ExperimentalFeature Source #

Instances

Instances details
FromJSON ExperimentalFeature Source # 
Instance details

Defined in Hasura.Server.Types

ToJSON ExperimentalFeature Source # 
Instance details

Defined in Hasura.Server.Types

Bounded ExperimentalFeature Source # 
Instance details

Defined in Hasura.Server.Types

Enum ExperimentalFeature Source # 
Instance details

Defined in Hasura.Server.Types

Generic ExperimentalFeature Source # 
Instance details

Defined in Hasura.Server.Types

Associated Types

type Rep ExperimentalFeature :: Type -> Type #

Show ExperimentalFeature Source # 
Instance details

Defined in Hasura.Server.Types

Eq ExperimentalFeature Source # 
Instance details

Defined in Hasura.Server.Types

Hashable ExperimentalFeature Source # 
Instance details

Defined in Hasura.Server.Types

FromEnv (HashSet ExperimentalFeature) Source # 
Instance details

Defined in Hasura.Server.Init.Env

type Rep ExperimentalFeature Source # 
Instance details

Defined in Hasura.Server.Types

type Rep ExperimentalFeature = D1 ('MetaData "ExperimentalFeature" "Hasura.Server.Types" "graphql-engine-1.0.0-inplace" 'False) (((C1 ('MetaCons "EFInheritedRoles" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EFOptimizePermissionFilters" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "EFNamingConventions" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EFStreamingSubscriptions" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EFApolloFederation" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "EFHideUpdateManyFields" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EFBigQueryStringNumericInput" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EFHideAggregationPredicates" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "EFHideStreamFields" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EFGroupByAggregations" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EFDisablePostgresArrays" 'PrefixI 'False) (U1 :: Type -> Type)))))

data ReadOnlyMode Source #

See Note [ReadOnly Mode]

Instances

Instances details
Show ReadOnlyMode Source # 
Instance details

Defined in Hasura.Server.Types

Eq ReadOnlyMode Source # 
Instance details

Defined in Hasura.Server.Types

data EventingMode Source #

EventingMode decides whether the eventing subsystem should be enabled or disabled. EventDisabled mode disables Event Triggers, Async Actions, Scheduled Events and source catalaog migrations. This is an internal feature and will not be exposed to users.

Instances

Instances details
Show EventingMode Source # 
Instance details

Defined in Hasura.Server.Types

Eq EventingMode Source # 
Instance details

Defined in Hasura.Server.Types

data ApolloFederationStatus Source #

Whether or not to enable apollo federation fields.

Instances

Instances details
FromJSON ApolloFederationStatus Source # 
Instance details

Defined in Hasura.Server.Types

ToJSON ApolloFederationStatus Source # 
Instance details

Defined in Hasura.Server.Types

Generic ApolloFederationStatus Source # 
Instance details

Defined in Hasura.Server.Types

Associated Types

type Rep ApolloFederationStatus :: Type -> Type #

Show ApolloFederationStatus Source # 
Instance details

Defined in Hasura.Server.Types

NFData ApolloFederationStatus Source # 
Instance details

Defined in Hasura.Server.Types

Methods

rnf :: ApolloFederationStatus -> () #

Eq ApolloFederationStatus Source # 
Instance details

Defined in Hasura.Server.Types

Ord ApolloFederationStatus Source # 
Instance details

Defined in Hasura.Server.Types

FromEnv ApolloFederationStatus Source # 
Instance details

Defined in Hasura.Server.Init.Env

Hashable ApolloFederationStatus Source # 
Instance details

Defined in Hasura.Server.Types

type Rep ApolloFederationStatus Source # 
Instance details

Defined in Hasura.Server.Types

type Rep ApolloFederationStatus = D1 ('MetaData "ApolloFederationStatus" "Hasura.Server.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ApolloFederationEnabled" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ApolloFederationDisabled" 'PrefixI 'False) (U1 :: Type -> Type))

data GranularPrometheusMetricsState Source #

Whether or not to enable granular metrics for Prometheus.

GranularMetricsOn will enable the dynamic labels for the metrics. GranularMetricsOff will disable the dynamic labels for the metrics.

  • *Warning**: Enabling dynamic labels for Prometheus metrics can cause cardinality issues and can cause memory usage to increase.

data CloseWebsocketsOnMetadataChangeStatus Source #

Whether or not to close websocket connections on metadata change.

Constructors

CWMCEnabled 
CWMCDisabled 

Instances

Instances details
FromJSON CloseWebsocketsOnMetadataChangeStatus Source # 
Instance details

Defined in Hasura.Server.Types

ToJSON CloseWebsocketsOnMetadataChangeStatus Source # 
Instance details

Defined in Hasura.Server.Types

Generic CloseWebsocketsOnMetadataChangeStatus Source # 
Instance details

Defined in Hasura.Server.Types

Show CloseWebsocketsOnMetadataChangeStatus Source # 
Instance details

Defined in Hasura.Server.Types

NFData CloseWebsocketsOnMetadataChangeStatus Source # 
Instance details

Defined in Hasura.Server.Types

Eq CloseWebsocketsOnMetadataChangeStatus Source # 
Instance details

Defined in Hasura.Server.Types

Ord CloseWebsocketsOnMetadataChangeStatus Source # 
Instance details

Defined in Hasura.Server.Types

FromEnv CloseWebsocketsOnMetadataChangeStatus Source # 
Instance details

Defined in Hasura.Server.Init.Env

Hashable CloseWebsocketsOnMetadataChangeStatus Source # 
Instance details

Defined in Hasura.Server.Types

type Rep CloseWebsocketsOnMetadataChangeStatus Source # 
Instance details

Defined in Hasura.Server.Types

type Rep CloseWebsocketsOnMetadataChangeStatus = D1 ('MetaData "CloseWebsocketsOnMetadataChangeStatus" "Hasura.Server.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "CWMCEnabled" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CWMCDisabled" 'PrefixI 'False) (U1 :: Type -> Type))

class Monad m => MonadGetPolicies m where Source #

Instances

Instances details
MonadGetPolicies AppM Source # 
Instance details

Defined in Hasura.App

MonadGetPolicies m => MonadGetPolicies (CacheRWT m) Source # 
Instance details

Defined in Hasura.RQL.DDL.Schema.Cache

MonadGetPolicies m => MonadGetPolicies (MetadataT m) Source # 
Instance details

Defined in Hasura.RQL.Types.SchemaCache.Build

MonadGetPolicies m => MonadGetPolicies (Handler m) Source # 
Instance details

Defined in Hasura.Server.App

MonadGetPolicies m => MonadGetPolicies (TraceT m) Source # 
Instance details

Defined in Hasura.Tracing.Monad

MonadGetPolicies m => MonadGetPolicies (ExceptT e m) Source # 
Instance details

Defined in Hasura.Server.Types

MonadGetPolicies m => MonadGetPolicies (ReaderT r m) Source # 
Instance details

Defined in Hasura.Server.Types

MonadGetPolicies m => MonadGetPolicies (StateT w m) Source # 
Instance details

Defined in Hasura.Server.Types