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

Hasura.RQL.Types.ApiLimit

Synopsis

Documentation

data ApiLimit Source #

Instances

Instances details
FromJSON ApiLimit Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

ToJSON ApiLimit Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

HasCodec ApiLimit Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Generic ApiLimit Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Associated Types

type Rep ApiLimit :: Type -> Type #

Methods

from :: ApiLimit -> Rep ApiLimit x #

to :: Rep ApiLimit x -> ApiLimit #

Show ApiLimit Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Eq ApiLimit Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

type Rep ApiLimit Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

data Limit a Source #

Constructors

Limit 

Fields

Instances

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

Defined in Hasura.RQL.Types.ApiLimit

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

Defined in Hasura.RQL.Types.ApiLimit

(HasCodec a, Typeable a) => HasCodec (Limit a) Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Generic (Limit a) Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Associated Types

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

Methods

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

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

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

Defined in Hasura.RQL.Types.ApiLimit

Methods

showsPrec :: Int -> Limit a -> ShowS #

show :: Limit a -> String #

showList :: [Limit a] -> ShowS #

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

Defined in Hasura.RQL.Types.ApiLimit

Methods

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

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

type Rep (Limit a) Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

type Rep (Limit a) = D1 ('MetaData "Limit" "Hasura.RQL.Types.ApiLimit" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "Limit" 'PrefixI 'True) (S1 ('MetaSel ('Just "_lGlobal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a) :*: S1 ('MetaSel ('Just "_lPerRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Map RoleName a))))

data RateLimitConfig Source #

Instances

Instances details
FromJSON RateLimitConfig Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

ToJSON RateLimitConfig Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

HasCodec RateLimitConfig Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Generic RateLimitConfig Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Associated Types

type Rep RateLimitConfig :: Type -> Type #

Show RateLimitConfig Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Eq RateLimitConfig Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

type Rep RateLimitConfig Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

type Rep RateLimitConfig = D1 ('MetaData "RateLimitConfig" "Hasura.RQL.Types.ApiLimit" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "RateLimitConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "_rlcMaxReqsPerMin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "_rlcUniqueParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UniqueParamConfig))))

data UniqueParamConfig Source #

The unique key using which an authenticated client can be identified

Constructors

UPCSessionVar [Text]

it can be a list of session variable (like session var in UserInfo)

UPCIpAddress

or it can be an IP address

Instances

Instances details
FromJSON UniqueParamConfig Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

ToJSON UniqueParamConfig Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

HasCodec UniqueParamConfig Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Generic UniqueParamConfig Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Associated Types

type Rep UniqueParamConfig :: Type -> Type #

Show UniqueParamConfig Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Eq UniqueParamConfig Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

type Rep UniqueParamConfig Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

type Rep UniqueParamConfig = D1 ('MetaData "UniqueParamConfig" "Hasura.RQL.Types.ApiLimit" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "UPCSessionVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])) :+: C1 ('MetaCons "UPCIpAddress" 'PrefixI 'False) (U1 :: Type -> Type))

newtype MaxDepth Source #

Constructors

MaxDepth 

Fields

Instances

Instances details
FromJSON MaxDepth Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

ToJSON MaxDepth Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

HasCodec MaxDepth Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Generic MaxDepth Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Associated Types

type Rep MaxDepth :: Type -> Type #

Methods

from :: MaxDepth -> Rep MaxDepth x #

to :: Rep MaxDepth x -> MaxDepth #

Show MaxDepth Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Eq MaxDepth Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Ord MaxDepth Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

type Rep MaxDepth Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

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

newtype MaxNodes Source #

Constructors

MaxNodes 

Fields

Instances

Instances details
FromJSON MaxNodes Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

ToJSON MaxNodes Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

HasCodec MaxNodes Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Generic MaxNodes Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Associated Types

type Rep MaxNodes :: Type -> Type #

Methods

from :: MaxNodes -> Rep MaxNodes x #

to :: Rep MaxNodes x -> MaxNodes #

Show MaxNodes Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Eq MaxNodes Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Ord MaxNodes Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

type Rep MaxNodes Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

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

newtype MaxTime Source #

Constructors

MaxTime 

Fields

Instances

Instances details
FromJSON MaxTime Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

ToJSON MaxTime Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

HasCodec MaxTime Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Generic MaxTime Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Associated Types

type Rep MaxTime :: Type -> Type #

Methods

from :: MaxTime -> Rep MaxTime x #

to :: Rep MaxTime x -> MaxTime #

Show MaxTime Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Eq MaxTime Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Methods

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

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

Ord MaxTime Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

ToTxt MaxTime Source #

Defers to the (illegal) DiffTime Show instance.

>>> toTxt (MaxTime 2.5)
"2.5s"
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Methods

toTxt :: MaxTime -> Text Source #

type Rep MaxTime Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

type Rep MaxTime = D1 ('MetaData "MaxTime" "Hasura.RQL.Types.ApiLimit" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "MaxTime" 'PrefixI 'True) (S1 ('MetaSel ('Just "unMaxTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Seconds)))

newtype MaxBatchSize Source #

Constructors

MaxBatchSize 

Fields

Instances

Instances details
FromJSON MaxBatchSize Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

ToJSON MaxBatchSize Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

HasCodec MaxBatchSize Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Generic MaxBatchSize Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Associated Types

type Rep MaxBatchSize :: Type -> Type #

Show MaxBatchSize Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Eq MaxBatchSize Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Ord MaxBatchSize Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

type Rep MaxBatchSize Source # 
Instance details

Defined in Hasura.RQL.Types.ApiLimit

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