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

Hasura.Server.Types

Synopsis

Documentation

newtype RequestId Source #

Constructors

RequestId 

Fields

Instances

Instances details
Eq RequestId Source # 
Instance details

Defined in Hasura.Server.Types

Show RequestId Source # 
Instance details

Defined in Hasura.Server.Types

Hashable RequestId Source # 
Instance details

Defined in Hasura.Server.Types

FromJSON RequestId Source # 
Instance details

Defined in Hasura.Server.Types

Methods

parseJSON :: Value -> Parser RequestId

parseJSONList :: Value -> Parser [RequestId]

ToJSON RequestId Source # 
Instance details

Defined in Hasura.Server.Types

Methods

toJSON :: RequestId -> Value

toEncoding :: RequestId -> Encoding

toJSONList :: [RequestId] -> Value

toEncodingList :: [RequestId] -> Encoding

getRequestId :: MonadIO m => [Header] -> m (RequestId, [Header]) Source #

newtype DbUid Source #

A uuid of a source database.

Constructors

DbUid 

Fields

Instances

Instances details
Eq DbUid Source # 
Instance details

Defined in Hasura.Server.Types

Methods

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

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

Show DbUid Source # 
Instance details

Defined in Hasura.Server.Types

Methods

showsPrec :: Int -> DbUid -> ShowS #

show :: DbUid -> String #

showList :: [DbUid] -> ShowS #

FromJSON DbUid Source # 
Instance details

Defined in Hasura.Server.Types

Methods

parseJSON :: Value -> Parser DbUid

parseJSONList :: Value -> Parser [DbUid]

ToJSON DbUid Source # 
Instance details

Defined in Hasura.Server.Types

Methods

toJSON :: DbUid -> Value

toEncoding :: DbUid -> Encoding

toJSONList :: [DbUid] -> Value

toEncodingList :: [DbUid] -> Encoding

newtype DbVersion Source #

Constructors

DbVersion 

Fields

Instances

Instances details
Eq DbVersion Source # 
Instance details

Defined in Hasura.Server.Types

Show DbVersion Source # 
Instance details

Defined in Hasura.Server.Types

ToJSON DbVersion Source # 
Instance details

Defined in Hasura.Server.Types

Methods

toJSON :: DbVersion -> Value

toEncoding :: DbVersion -> Encoding

toJSONList :: [DbVersion] -> Value

toEncodingList :: [DbVersion] -> Encoding

newtype PGVersion Source #

Constructors

PGVersion 

Fields

Instances

Instances details
Eq PGVersion Source # 
Instance details

Defined in Hasura.Server.Types

Show PGVersion Source # 
Instance details

Defined in Hasura.Server.Types

ToJSON PGVersion Source # 
Instance details

Defined in Hasura.Server.Types

Methods

toJSON :: PGVersion -> Value

toEncoding :: PGVersion -> Encoding

toJSONList :: [PGVersion] -> Value

toEncodingList :: [PGVersion] -> Encoding

newtype MetadataDbId Source #

A uuid of the postgres metadata db.

Constructors

MetadataDbId 

Fields

Instances

Instances details
Eq MetadataDbId Source # 
Instance details

Defined in Hasura.Server.Types

Show MetadataDbId Source # 
Instance details

Defined in Hasura.Server.Types

FromJSON MetadataDbId Source # 
Instance details

Defined in Hasura.Server.Types

Methods

parseJSON :: Value -> Parser MetadataDbId

parseJSONList :: Value -> Parser [MetadataDbId]

ToJSON MetadataDbId Source # 
Instance details

Defined in Hasura.Server.Types

Methods

toJSON :: MetadataDbId -> Value

toEncoding :: MetadataDbId -> Encoding

toJSONList :: [MetadataDbId] -> Value

toEncodingList :: [MetadataDbId] -> Encoding

FromCol MetadataDbId Source # 
Instance details

Defined in Hasura.Server.Types

ToPrepArg MetadataDbId Source # 
Instance details

Defined in Hasura.Server.Types

Methods

toPrepVal :: MetadataDbId -> PrepArg

newtype InstanceId Source #

Constructors

InstanceId 

Fields

Instances

Instances details
Eq InstanceId Source # 
Instance details

Defined in Hasura.Server.Types

Show InstanceId Source # 
Instance details

Defined in Hasura.Server.Types

FromJSON InstanceId Source # 
Instance details

Defined in Hasura.Server.Types

Methods

parseJSON :: Value -> Parser InstanceId

parseJSONList :: Value -> Parser [InstanceId]

ToJSON InstanceId Source # 
Instance details

Defined in Hasura.Server.Types

Methods

toJSON :: InstanceId -> Value

toEncoding :: InstanceId -> Encoding

toJSONList :: [InstanceId] -> Value

toEncodingList :: [InstanceId] -> Encoding

FromCol InstanceId Source # 
Instance details

Defined in Hasura.Server.Types

ToPrepArg InstanceId Source # 
Instance details

Defined in Hasura.Server.Types

Methods

toPrepVal :: InstanceId -> PrepArg

data ExperimentalFeature Source #

Instances

Instances details
Eq ExperimentalFeature Source # 
Instance details

Defined in Hasura.Server.Types

Show 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 #

Hashable ExperimentalFeature Source # 
Instance details

Defined in Hasura.Server.Types

FromJSON ExperimentalFeature Source # 
Instance details

Defined in Hasura.Server.Types

Methods

parseJSON :: Value -> Parser ExperimentalFeature

parseJSONList :: Value -> Parser [ExperimentalFeature]

ToJSON 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))))

data MaintenanceMode a Source #

Instances

Instances details
Eq a => Eq (MaintenanceMode a) Source # 
Instance details

Defined in Hasura.Server.Types

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

Defined in Hasura.Server.Types

FromJSON (MaintenanceMode ()) Source # 
Instance details

Defined in Hasura.Server.Types

Methods

parseJSON :: Value -> Parser (MaintenanceMode ())

parseJSONList :: Value -> Parser [MaintenanceMode ()]

ToJSON (MaintenanceMode ()) Source # 
Instance details

Defined in Hasura.Server.Types

Methods

toJSON :: MaintenanceMode () -> Value

toEncoding :: MaintenanceMode () -> Encoding

toJSONList :: [MaintenanceMode ()] -> Value

toEncodingList :: [MaintenanceMode ()] -> Encoding

FromEnv (MaintenanceMode ()) Source # 
Instance details

Defined in Hasura.Server.Init.Env

data ReadOnlyMode Source #

See Note [ReadOnly Mode]

Instances

Instances details
Eq ReadOnlyMode Source # 
Instance details

Defined in Hasura.Server.Types

Show 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
Eq EventingMode Source # 
Instance details

Defined in Hasura.Server.Types

Show EventingMode Source # 
Instance details

Defined in Hasura.Server.Types

class Monad m => HasServerConfigCtx m where Source #

Instances

Instances details
HasServerConfigCtx CacheBuild Source # 
Instance details

Defined in Hasura.RQL.DDL.Schema.Cache.Common

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

Defined in Hasura.RQL.Types.SchemaCache.Build

HasServerConfigCtx m => HasServerConfigCtx (MetadataStorageT m) Source # 
Instance details

Defined in Hasura.Metadata.Class

Monad m => HasServerConfigCtx (RunT m) Source # 
Instance details

Defined in Hasura.RQL.Types.Run

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

Defined in Hasura.RQL.DDL.Schema.Cache

HasServerConfigCtx m => HasServerConfigCtx (PGMetadataStorageAppT m) Source # 
Instance details

Defined in Hasura.App

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

Defined in Hasura.Server.Types

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

Defined in Hasura.Server.Types

HasServerConfigCtx m => HasServerConfigCtx (StateT s m) Source # 
Instance details

Defined in Hasura.Server.Types

HasServerConfigCtx m => HasServerConfigCtx (TableCacheRT b m) Source # 
Instance details

Defined in Hasura.RQL.Types.SchemaCache