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

Hasura.RQL.Types.Webhook.Transform.Headers

Synopsis

Documentation

newtype Headers Source #

The actual header data we are transforming..

This newtype is necessary because otherwise we end up with an orphan instance.

Constructors

Headers [Header] 

Instances

Instances details
Transform Headers Source # 
Instance details

Defined in Hasura.RQL.DDL.Webhook.Transform.Headers

FromJSON (TransformFn Headers) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

ToJSON (TransformFn Headers) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

Generic (TransformFn Headers) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

Associated Types

type Rep (TransformFn Headers) :: Type -> Type #

Show (TransformFn Headers) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

NFData (TransformFn Headers) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

Methods

rnf :: TransformFn Headers -> () #

Eq (TransformFn Headers) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

newtype TransformCtx Headers Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

newtype TransformFn Headers Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

type Rep (TransformFn Headers) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

type Rep (TransformFn Headers) = D1 ('MetaData "TransformFn" "Hasura.RQL.Types.Webhook.Transform.Headers" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "HeadersTransformFn_" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HeadersTransformFn)))

newtype HeadersTransformFn Source #

The defunctionalized transformation on Headers

Constructors

AddReplaceOrRemove AddReplaceOrRemoveFields

Add or replace matching Headers.

Instances

Instances details
FromJSON HeadersTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

ToJSON HeadersTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

HasCodec HeadersTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

Generic HeadersTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

Associated Types

type Rep HeadersTransformFn :: Type -> Type #

Show HeadersTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

NFData HeadersTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

Methods

rnf :: HeadersTransformFn -> () #

Eq HeadersTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

type Rep HeadersTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

type Rep HeadersTransformFn = D1 ('MetaData "HeadersTransformFn" "Hasura.RQL.Types.Webhook.Transform.Headers" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "AddReplaceOrRemove" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AddReplaceOrRemoveFields)))

data AddReplaceOrRemoveFields Source #

The user can supply a set of header keys to be filtered from the request and a set of headers to be added to the request.

Constructors

AddReplaceOrRemoveFields 

Fields

Instances

Instances details
FromJSON AddReplaceOrRemoveFields Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

ToJSON AddReplaceOrRemoveFields Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

HasCodec AddReplaceOrRemoveFields Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

Generic AddReplaceOrRemoveFields Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

Associated Types

type Rep AddReplaceOrRemoveFields :: Type -> Type #

Show AddReplaceOrRemoveFields Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

NFData AddReplaceOrRemoveFields Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

Eq AddReplaceOrRemoveFields Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

Ord AddReplaceOrRemoveFields Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

type Rep AddReplaceOrRemoveFields Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Headers

type Rep AddReplaceOrRemoveFields = D1 ('MetaData "AddReplaceOrRemoveFields" "Hasura.RQL.Types.Webhook.Transform.Headers" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "AddReplaceOrRemoveFields" 'PrefixI 'True) (S1 ('MetaSel ('Just "addOrReplaceHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [(CI Text, UnescapedTemplate)]) :*: S1 ('MetaSel ('Just "removeHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CI Text])))